:root { --accent: #ff6b57; --ink: #111; --soft: #f4f4f0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Manrope, Arial, sans-serif; }
body.theme-sage { --accent: #647c66; --soft: #f1f2ec; }
body.theme-violet { --accent: #6655ee; --soft: #f2f0ff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shop-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 90px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #fff; }
.shop-brand { font-size: 28px; font-weight: 800; letter-spacing: .18em; }
.shop-header nav { display: flex; gap: 32px; font-size: 13px; font-weight: 700; }
.cart-button { justify-self: end; padding: 11px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; background: rgba(0,0,0,.18); cursor: pointer; backdrop-filter: blur(10px); }
.cart-button span { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-left: 7px; border-radius: 50%; color: #111; background: #fff; }
.shop-hero { position: relative; min-height: 780px; height: 92vh; color: #fff; background: #111; }
.shop-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.08)); }
.shop-hero > img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.shop-hero-overlay { position: absolute; z-index: 2; left: 8vw; top: 50%; max-width: 700px; transform: translateY(-44%); }
.shop-hero-overlay span, .shop-section-head span, .shop-story > span { font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.shop-hero-overlay h1 { max-width: 750px; margin: 18px 0; font-size: clamp(48px, 7vw, 94px); line-height: .98; letter-spacing: -.06em; }
.shop-hero-overlay p { max-width: 560px; color: rgba(255,255,255,.82); font-size: 18px; }
.shop-hero-overlay a, .shop-story a { display: inline-flex; margin-top: 22px; padding: 15px 22px; border-radius: 999px; color: #fff; background: var(--accent); font-weight: 800; }
.shop-benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e7e7e7; }
.shop-benefits div { padding: 25px; text-align: center; }
.shop-benefits div + div { border-left: 1px solid #e7e7e7; }
.shop-benefits strong, .shop-benefits span { display: block; }
.shop-benefits span { margin-top: 3px; color: #777; font-size: 12px; }
.products-section { padding: 110px 5vw; }
.shop-section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
.shop-section-head h2, .shop-story h2 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 66px); letter-spacing: -.05em; }
.shop-section-head p { max-width: 440px; color: #6d6d6d; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { min-width: 0; }
.product-image { overflow: hidden; background: var(--soft); }
.product-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.product-card:hover img { transform: scale(1.045); }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 2px; }
.product-meta h3 { margin: 0 0 4px; font-size: 15px; }
.product-meta span { color: #666; font-size: 13px; }
.product-meta button { flex: 0 0 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: var(--ink); cursor: pointer; font-size: 24px; }
.shop-story { padding: 110px max(6vw, 24px); text-align: center; background: var(--soft); }
.shop-story h2 { max-width: 880px; margin: 14px auto 20px; }
.shop-story p { max-width: 720px; margin: auto; color: #666; }
.cart-drawer { position: fixed; z-index: 101; top: 0; right: 0; width: min(430px, 100%); height: 100%; padding: 28px; transform: translateX(105%); background: #fff; transition: transform .3s; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #ddd; }
.cart-head button { border: 0; background: none; cursor: pointer; font-size: 30px; }
.cart-items { min-height: 200px; padding: 20px 0; }
.cart-item { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.cart-checkout { display: block; padding: 15px; border-radius: 10px; color: #fff; background: #111; text-align: center; font-weight: 800; }
.cart-backdrop { position: fixed; z-index: 100; inset: 0; opacity: 0; visibility: hidden; background: rgba(0,0,0,.55); transition: opacity .3s; }
body.cart-open .cart-backdrop { opacity: 1; visibility: visible; }
body.cart-open { overflow: hidden; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } .shop-header nav { display: none; } .shop-header { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .shop-hero { min-height: 690px; } .shop-benefits { grid-template-columns: 1fr; } .shop-benefits div + div { border-left: 0; border-top: 1px solid #e7e7e7; } .shop-section-head { display: block; } .product-grid { gap: 12px; } .products-section { padding-inline: 14px; } }
