/*
Theme Name: Hopstyle
Theme URI: https://hopstyle.ir
Author: OpenAI
Description: فروشگاه فارسی لباس کودک و نوجوان با چینش راست‌چین و پشتیبانی از WooCommerce.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hopstyle
*/
:root{--ink:#202a26;--muted:#68726d;--cream:#f6f4ee;--paper:#fffefa;--green:#234b3a;--lime:#d8e5b7;--line:#e7e7df;--orange:#bd6648}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Tahoma,Arial,sans-serif;direction:rtl}a{color:inherit;text-decoration:none}button{font:inherit}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.topbar{background:var(--green);color:#f5f3e9;font-size:12px;text-align:center;padding:10px}.header{background:var(--paper);border-bottom:1px solid var(--line)}.headrow{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:25px;font-weight:800;letter-spacing:-1px}.brand span{color:var(--orange)}.nav{display:flex;gap:25px;font-size:14px;color:#4d5751}.nav a:hover{color:var(--orange)}.actions{display:flex;align-items:center;gap:12px}.search{border:1px solid var(--line);border-radius:30px;padding:10px 16px;width:210px;background:#faf9f5}.cart{background:var(--green);color:white;border-radius:30px;padding:10px 17px;font-size:13px}.hero{padding:50px 0 38px}.hero-box{background:#e8ecdc;border-radius:20px;min-height:350px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden}.hero-copy{padding:50px 56px;align-self:center}.eyebrow{color:var(--orange);font-size:13px;font-weight:700;letter-spacing:.5px}.hero h1{font-size:43px;line-height:1.45;letter-spacing:-1.5px;margin:10px 0 14px}.hero p{color:#59655e;line-height:2;max-width:470px;font-size:15px}.primary{display:inline-flex;background:var(--green);color:white;padding:13px 24px;border-radius:8px;margin-top:14px;font-size:14px}.hero-art{display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at 53% 47%,#d4b595 0 23%,transparent 24%),linear-gradient(135deg,#d9dfc9,#c5d2b7)}.book-stack{position:relative;width:220px;height:220px;transform:rotate(-7deg)}.book{position:absolute;border-radius:5px 11px 11px 5px;box-shadow:0 18px 28px #35423330}.book.one{width:170px;height:220px;background:#bd6648;right:12px;top:0}.book.two{width:180px;height:210px;background:#f0d8a9;right:38px;top:15px;transform:rotate(9deg)}.book.three{width:165px;height:222px;background:#375c49;right:61px;top:5px;transform:rotate(17deg);display:grid;place-items:center;color:#faf2df;text-align:center;font-size:21px;line-height:1.7}.book.three:after{content:'قصه‌هایی برایA روزهای آرام';white-space:pre}.hero-note{position:absolute;bottom:28px;left:35px;background:#fffdf3;padding:12px 16px;border-radius:12px;font-size:12px;box-shadow:0 8px 24px #34472d18}.section{padding:25px 0 55px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.section h2{font-size:26px;margin:0 0 5px}.section-head p{color:var(--muted);font-size:13px;margin:0}.more{font-size:13px;color:var(--green);font-weight:bold}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:12px;transition:transform .18s,box-shadow .18s}.product:hover{transform:translateY(-4px);box-shadow:0 12px 25px #253d2d12}.cover{height:220px;border-radius:8px;display:grid;place-items:center;text-align:center;padding:20px;color:white;font-size:21px;line-height:1.8;font-weight:bold;position:relative;overflow:hidden}.cover:before{content:'';position:absolute;width:180px;height:180px;border:1px solid #ffffff55;border-radius:50%;top:-75px;left:-48px}.cover:after{content:'';position:absolute;width:130px;height:130px;border:1px solid #ffffff44;border-radius:50%;bottom:-75px;right:-30px}.c1{background:linear-gradient(145deg,#355a47,#1c3a30)}.c2{background:linear-gradient(145deg,#cc8055,#914b37)}.c3{background:linear-gradient(145deg,#849276,#566451)}.c4{background:linear-gradient(145deg,#e0bc79,#ad7846)}.product-tag{position:absolute;top:12px;right:12px;background:#fff9e9;color:#715739;border-radius:20px;padding:5px 9px;font-size:10px}.product h3{font-size:14px;margin:13px 2px 6px}.author{color:var(--muted);font-size:11px;margin:0 2px 12px}.price-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:11px}.price{font-weight:bold;font-size:14px}.price small{font-size:10px;color:var(--muted);font-weight:400}.add{border:1px solid #d4ddd3;background:white;color:var(--green);border-radius:7px;padding:8px 11px;font-size:11px;cursor:pointer}.add:hover{background:var(--green);color:white}.perks{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:10px 0 55px}.perk{background:#eeece3;padding:19px;border-radius:12px;display:flex;gap:13px;align-items:center}.perk-icon{font-size:22px}.perk b{display:block;font-size:13px;margin-bottom:4px}.perk small{color:var(--muted);font-size:11px}.footer{background:var(--green);color:#f4f0e4;padding:30px 0}.footrow{display:flex;justify-content:space-between;align-items:center;font-size:12px}.footer p{color:#d2ddce}.notice{position:fixed;bottom:20px;left:20px;background:#1e3329;color:white;padding:12px 18px;border-radius:9px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.notice.show{opacity:1;transform:none}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;padding:0}.woocommerce ul.products li.product{float:none;width:auto!important;margin:0!important}@media(max-width:800px){.nav{display:none}.hero-box{grid-template-columns:1fr}.hero-copy{padding:35px}.hero h1{font-size:34px}.hero-art{min-height:290px}.grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.search{display:none}.perks{grid-template-columns:1fr}.cover{height:190px}}@media(max-width:430px){.wrap{width:calc(100% - 26px)}.headrow{height:66px}.brand{font-size:20px}.actions{gap:6px}.cart{padding:9px 12px}.hero{padding-top:20px}.hero-copy{padding:28px 22px}.hero h1{font-size:30px}.grid{gap:10px}.product{padding:8px}.cover{height:155px;font-size:17px}.section h2{font-size:21px}}

:root{--ink:#26312d;--cream:#f7f5f0;--green:#285a4b;--orange:#dc806c;--lime:#d5e8d5}.topbar{background:var(--green)}.hero-box{background:#e6eee5}.hero-art{background:radial-gradient(ellipse at 53% 47%,#f4d9c4 0 28%,transparent 29%),linear-gradient(135deg,#d9e6d4,#bfd6c7)}.book-stack{display:none}.style-board{position:relative;width:min(390px,92%);height:260px;display:flex;align-items:center;justify-content:center;gap:10px}.hanger{position:absolute;top:0;right:10px;font-size:11px;letter-spacing:2px;color:#496456;background:#ffffffb8;border-radius:20px;padding:8px 13px}.look-card{height:190px;width:110px;border-radius:60px 60px 18px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 16px 28px #435c4825;transform:rotate(-7deg);padding:10px;color:#fff}.look-card span{font-size:60px}.look-card b{font-size:10px;text-align:center;margin-top:8px}.look-one{background:#d18472}.look-two{height:215px;transform:translateY(10px);background:#739b84}.look-three{background:#6583a1;transform:rotate(7deg)}.product-meta{color:var(--muted);font-size:11px;margin:0 2px 12px}.garment-name{position:relative;z-index:1;background:linear-gradient(transparent,#1c2a2480);width:100%;padding:35px 4px 0}.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.c1{background:linear-gradient(145deg,#658e7b,#31584b)}.c2{background:linear-gradient(145deg,#db947b,#a95249)}.c3{background:linear-gradient(145deg,#8ba891,#536f61)}.c4{background:linear-gradient(145deg,#8197af,#4d607a)}.search-form{margin:0}@media(max-width:430px){.look-card{width:88px;height:160px}.look-two{height:180px}.look-card span{font-size:48px}}

@font-face{font-family:'Estedad';src:url('assets/fonts/Estedad-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}body{font-family:'Estedad',Tahoma,Arial,sans-serif;font-weight:450;letter-spacing:-.15px}button,input{font-family:inherit}.brand{display:inline-flex;align-items:center;gap:.18em;font-size:27px;font-weight:900;letter-spacing:0}.brand span{margin-inline-start:0}.hero h1{font-weight:900;line-height:1.36;letter-spacing:-1.4px}.eyebrow{font-weight:800;letter-spacing:0}.nav{font-weight:650}.section h2{font-weight:850;letter-spacing:-.6px}.product h3{font-weight:750}.cart,.primary,.add{font-weight:700}.price{font-weight:800}.topbar{font-weight:650}@media(max-width:430px){.brand{font-size:23px}.hero h1{letter-spacing:-.8px}}
@font-face{font-family:'Lalezar';src:url('assets/fonts/Lalezar-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.brand,.hero h1,.section h2{font-family:'Lalezar','Estedad',Tahoma,sans-serif;font-weight:400}
.brand{font-size:30px;line-height:1.3}
.hero h1{font-size:48px;line-height:1.35;letter-spacing:0}
.section h2{font-size:30px;letter-spacing:0}
.primary,.cart,.add{font-family:'Estedad',Tahoma,sans-serif}
@media(max-width:800px){.hero h1{font-size:40px}.section h2{font-size:26px}}
@media(max-width:430px){.brand{font-size:26px}.hero h1{font-size:34px}}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}

.hopstyle-size-field{display:grid;gap:8px;margin:18px 0}.hopstyle-size-field label{font-weight:700}.hopstyle-size-field select{width:min(100%,320px);padding:11px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit}.single-product .summary .cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

@media(min-width:801px){
  body{font-size:17px}
  .topbar{font-size:14px}
  .nav{font-size:16px}
  .hero h1{font-size:52px}
  .hero p{font-size:17px}
  .section h2{font-size:32px}
  .product h3{font-size:16px}
  .product-meta,.author{font-size:13px}
  .price{font-size:16px}
  .add,.cart,.primary{font-size:14px}
  .woocommerce-breadcrumb{font-size:14px}
  .woocommerce-result-count,.woocommerce-ordering{font-size:15px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px}
  .woocommerce ul.products li.product .price{font-size:16px}
  .woocommerce ul.products li.product .button{font-size:14px}
  .woocommerce div.product .product_title{font-size:34px}
  .woocommerce div.product .summary{font-size:17px}
  .woocommerce div.product p.price{font-size:24px}
  .hopstyle-size-field{gap:10px;margin:22px 0}
  .hopstyle-size-field label{font-size:18px}
  .hopstyle-size-field select{width:min(100%,360px);min-height:54px;padding:14px 18px;font-size:18px}
  .hopstyle-size-field select option{font-size:17px}
}

/* Keep the trust and payment marks together in the footer. */
.footer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px}
.footer .footrow{flex:0 0 100%}
.footer .enamad-seal,#zarinpal-trust-badge{display:flex;align-items:center;justify-content:center;margin:0 auto}
.footer .enamad-seal img,#zarinpal-trust-badge img{display:block;width:80px;height:auto;max-width:100%}

.hopstyle-contact{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 20px 4px;text-align:center;font-size:14px;line-height:1.9}
.hopstyle-contact a{color:#fffefa;text-decoration:underline;text-underline-offset:3px}
.hopstyle-contact span{color:#d2ddce}
/* Shop layout, typography and Persian numerals */
body,.woocommerce,.woocommerce-page,button,input,select,textarea,.woocommerce button,.woocommerce input,.woocommerce select,.woocommerce textarea{font-family:'Estedad',Tahoma,Arial,sans-serif}
.brand,.hero h1,.section h2{font-family:'Estedad',Tahoma,Arial,sans-serif;font-weight:800}
.woocommerce-shop .woocommerce,.woocommerce-page.archive .woocommerce{width:min(1200px,100%);margin-inline:auto;padding-inline:20px}
.woocommerce ul.products{width:100%;max-width:1160px;margin:24px auto!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;max-width:100%;margin:0!important;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}
.woocommerce ul.products li.product a img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:inherit;font-size:16px;line-height:1.8}
.woocommerce ul.products li.product .price{font-family:inherit;font-size:16px}
.woocommerce ul.products li.product .button{font-family:inherit;align-self:flex-start;margin-top:auto}
@media(max-width:800px){.woocommerce-shop .woocommerce,.woocommerce-page.archive .woocommerce{padding-inline:14px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product{padding:9px}}