/* ===== Store polish: loaded after style.css and BEFORE the chosen theme, so every theme can override it.
   Everything is driven by the same CSS variables as style.css, so all themes stay consistent. ===== */
:root{
  --surface:#fff;
  --hero-bg:linear-gradient(125deg,#0d3b3f 0%,#0f8a80 55%,#14c4b5 100%);
  --hero-btn-bg:#fff; --hero-btn-fg:var(--teal-dark);
  --shadow-lg:0 26px 50px -26px rgba(20,23,28,.38);
}
html{scroll-behavior:smooth}
body{font-size:16px;text-rendering:optimizeLegibility}
::selection{background:var(--teal);color:#fff}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
h1,h2,h3{line-height:1.2}
.container{max-width:1240px}

/* header */
.site-header{box-shadow:0 8px 26px -22px rgba(20,23,28,.45)}
.header-row{padding:14px 20px}
.logo{font-size:1.45rem;letter-spacing:-.03em}
.header-icons a,.header-icons button{transition:transform .15s,color .15s}
.header-icons a:hover{transform:translateY(-1px)}
.cart-count{box-shadow:0 0 0 2px var(--bg)}
.search-form input{padding:12px 18px}
.main-content{padding:30px 20px 10px}

/* buttons */
.btn{letter-spacing:.01em;box-shadow:0 10px 20px -12px var(--teal)}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 24px -12px var(--teal)}
.btn-outline,.btn-danger,.btn-accent{box-shadow:none}
.btn-outline:hover{box-shadow:0 12px 22px -14px var(--teal)}
.btn-mini{border-radius:calc(var(--radius-sm) + 2px);padding:9px 6px;transition:all .15s}

/* hero */
.hero{background:var(--hero-bg);padding:76px 56px;border-radius:calc(var(--radius) + 8px);box-shadow:var(--shadow-lg);isolation:isolate}
.hero::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(540px 280px at 10% -5%,rgba(255,255,255,.16),transparent 62%)}
.hero h1{font-size:clamp(2rem,4.4vw,3.2rem);letter-spacing:-.03em;max-width:640px;line-height:1.1}
.hero p{font-size:1.1rem;max-width:560px;opacity:.9;line-height:1.65}
.hero .btn{background:var(--hero-btn-bg);color:var(--hero-btn-fg);border-color:var(--hero-btn-bg);padding:14px 34px;box-shadow:0 16px 30px -14px rgba(0,0,0,.5)}
.hero .btn:hover{filter:brightness(.96);color:var(--hero-btn-fg);background:var(--hero-btn-bg);border-color:var(--hero-btn-bg)}

/* why shop here strip */
.usp-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:-8px 0 6px}
.usp{display:flex;gap:13px;align-items:center;padding:15px 17px;background:var(--surface);border:1px solid var(--line);border-radius:calc(var(--radius-sm) + 4px);transition:transform .2s,box-shadow .2s}
.usp:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.usp .usp-ico{flex:none;width:44px;height:44px;border-radius:13px;background:var(--teal-light);color:var(--teal-dark);display:flex;align-items:center;justify-content:center}
.usp .usp-ico svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.usp b{display:block;font-size:.92rem;color:var(--ink);line-height:1.25}
.usp span.s{display:block;font-size:.8rem;color:var(--muted);margin-top:2px}

/* section titles */
.section-title{margin:56px 0 24px}
.section-title h2{font-size:1.6rem;position:relative;padding-bottom:12px}
.section-title h2::after{content:'';position:absolute;left:0;bottom:0;width:46px;height:3px;border-radius:3px;background:var(--teal)}
.section-title a{padding:7px 14px;border:1.5px solid var(--line);border-radius:var(--radius-pill);transition:all .15s}
.section-title a:hover{border-color:var(--teal);background:var(--teal-light)}

/* categories */
.cat-card{border-radius:calc(var(--radius-sm) + 4px);transition:transform .25s,box-shadow .25s;background-size:cover}
.cat-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.cat-card.no-image{background:var(--surface);border:1px solid var(--line)}
.cat-card .cat-name{font-size:1.1rem}

/* products */
.product-grid{gap:22px}
.product-card{border-radius:calc(var(--radius-sm) + 4px);background:var(--surface);box-shadow:0 1px 2px rgba(20,23,28,.04);animation:fadeUp .55s both}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.product-card img{transition:transform .6s ease}
.product-card:hover img{transform:scale(1.06)}
.product-card .pc-body{padding:16px}
.product-card h3{line-height:1.35}
.product-card .price{font-size:1.04rem}
.sale-badge{background:linear-gradient(135deg,var(--teal),var(--teal-dark));box-shadow:0 6px 14px -6px rgba(0,0,0,.35)}
.wish-btn{transition:transform .15s,color .15s}
.wish-btn:hover{transform:scale(1.1);color:var(--danger)}
.product-grid .product-card:nth-child(2){animation-delay:.05s}.product-grid .product-card:nth-child(3){animation-delay:.1s}
.product-grid .product-card:nth-child(4){animation-delay:.15s}.product-grid .product-card:nth-child(5){animation-delay:.2s}
.product-grid .product-card:nth-child(n+6){animation-delay:.25s}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* forms and option cards */
.form-card{border-radius:calc(var(--radius) + 2px);box-shadow:var(--shadow);padding:34px;background:var(--surface)}
.form-group input,.form-group select,.form-group textarea,.qty-box input,.filter-bar select,.filter-bar input{border-radius:calc(var(--radius-sm) + 1px);transition:border-color .15s,box-shadow .15s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.search-form input:focus,.filter-bar select:focus,.filter-bar input:focus{border-color:var(--teal);box-shadow:0 0 0 4px var(--teal-light)}
.option-card{border-radius:calc(var(--radius-sm) + 2px);padding:15px 17px;background:var(--surface)}
.option-card.selected{box-shadow:0 0 0 4px var(--teal-light)}
.filter-bar{border-radius:calc(var(--radius-sm) + 4px);background:var(--surface)}

/* tables, alerts, badges */
table{border:1px solid var(--line)}
table tr:hover td{background:var(--bg-soft)}
.alert{border-left-width:4px;border-radius:calc(var(--radius-sm) + 2px)}
.badge{letter-spacing:.02em}

/* product detail, cart */
.product-detail img.main-img{box-shadow:var(--shadow)}
.cart-summary{border-radius:calc(var(--radius) + 2px);background:var(--surface);box-shadow:var(--shadow)}
@media (min-width:900px){.cart-summary{position:sticky;top:96px}}

/* flash sale */
.flash-sale{border-radius:calc(var(--radius) + 4px);box-shadow:var(--shadow-sm)}
.flash-countdown .fc-unit{border-radius:8px;box-shadow:0 6px 12px -6px rgba(0,0,0,.4)}

/* footer */
.site-footer{margin-top:72px;padding-top:52px}
.footer-row{gap:38px;padding-bottom:38px}
.site-footer h4{letter-spacing:.02em;margin-bottom:14px}
.footer-social a{transition:all .15s}
.footer-social a:hover{border-color:var(--teal);color:#fff;background:rgba(255,255,255,.06)}
.copyright{border-top:1px solid rgba(255,255,255,.06)}
.bottom-tabbar{box-shadow:0 -10px 26px -18px rgba(20,23,28,.4)}

@media (max-width:780px){
  .hero{padding:46px 24px}
  .section-title{margin:42px 0 18px}
  .section-title h2{font-size:1.35rem}
  .product-grid{gap:14px}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}html{scroll-behavior:auto}}
