
:root{--ink:#171717;--muted:#6f6b67;--cream:#f8f4ee;--card:#fff;--line:#e8e0d6;--accent:#ef6848;--accent2:#d94e32;--dark:#171717;--shadow:0 18px 50px rgba(40,30,20,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--ink);background:#fbfaf8}a{text-decoration:none;color:inherit}button,select{font:inherit}.container{width:min(1180px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{height:76px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}.brand-mark{width:34px;height:34px;border-radius:10px;background:#111;color:#fff;display:grid;place-items:center;font-size:12px}.nav nav{display:flex;gap:25px;margin-left:auto;font-size:14px;color:#45413e}.nav nav a:hover{color:var(--accent)}.cart-btn{border:1px solid #ddd4ca;background:#fff;border-radius:10px;padding:10px 15px;font-weight:700;cursor:pointer}.cart-btn span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:5px;border-radius:20px;background:var(--accent);color:#fff;font-size:12px}
.hero{padding:76px 0 55px;background:linear-gradient(135deg,#fbf7f1,#f4eee6)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}.eyebrow{font-size:11px;letter-spacing:3px;font-weight:800;color:var(--accent);margin-bottom:12px}.hero h1{font-size:clamp(44px,6vw,76px);line-height:1.02;letter-spacing:-3px;margin:0 0 22px}.hero h1 span{color:var(--accent)}.hero p{font-size:18px;line-height:1.7;color:var(--muted);max-width:600px}.hero-actions{display:flex;gap:12px;margin:28px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:14px 20px;border:1px solid var(--line);font-weight:800;cursor:pointer}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.primary:hover{background:var(--accent2)}.btn.secondary{background:#fff}.trust-row{display:flex;gap:20px;flex-wrap:wrap;color:#655f59;font-size:13px}.hero-card{min-height:440px;border-radius:30px;background:#1a1918;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero-art{height:100%;display:grid;place-items:center;position:relative;background:radial-gradient(circle at 50% 40%,#48433e,#171616 65%)}.hero-orb{width:190px;height:190px;border-radius:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);color:#fff;font-size:64px;font-weight:900;transform:rotate(-7deg);box-shadow:0 30px 90px rgba(0,0,0,.35)}.hero-caption{position:absolute;bottom:25px;left:28px;color:#fff;font-weight:700;letter-spacing:1px}
.section{padding:80px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.section-head h2{font-size:38px;letter-spacing:-1.5px;margin:0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category-card{text-align:left;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;cursor:pointer;transition:.2s}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.category-card span{font-size:30px;display:block;margin-bottom:20px}.category-card b{display:block;font-size:19px}.category-card small{color:var(--muted);display:block;margin-top:6px}
.products-section{background:#fff}.shop-tools{display:flex;gap:10px}.shop-tools select{padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:270px;background:#f3f0eb;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-info{padding:17px}.product-category{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--accent);font-weight:800}.product-info h3{font-size:17px;margin:7px 0 8px;line-height:1.3}.product-desc{font-size:12px;color:var(--muted);line-height:1.5;height:38px;overflow:hidden}.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.price{font-weight:900}.view-btn{border:0;background:#171717;color:#fff;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:800;cursor:pointer}
.custom-banner{background:#181716;color:#fff}.custom-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center}.custom-banner h2{font-size:48px;letter-spacing:-2px;margin:0 0 15px}.custom-banner p{color:#c9c4bf;line-height:1.7;max-width:620px}.custom-points{display:grid;gap:15px}.custom-points>div{border:1px solid #3a3835;padding:18px;border-radius:14px;display:grid;grid-template-columns:45px 1fr;gap:5px}.custom-points span{}.custom-points b{display:block}.custom-points small{grid-column:2;color:#aaa}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.steps>div{border-top:2px solid #1a1918;padding-top:18px}.steps span{font-size:12px;font-weight:900;color:var(--accent)}.steps h3{margin:14px 0 7px}.steps p{color:var(--muted);font-size:14px;line-height:1.6}
footer{background:#111;color:#fff;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid p{color:#aaa;line-height:1.7}.footer-grid b{display:block;margin-bottom:14px}.footer-grid a:not(.brand){display:block;color:#aaa;margin:10px 0;font-size:14px}.copyright{border-top:1px solid #292929;margin-top:35px;padding-top:18px;color:#777;font-size:12px;text-align:center}
.modal{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px}.hidden{display:none!important}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.modal-card{position:relative;z-index:1;width:min(900px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:25px;box-shadow:0 30px 100px rgba(0,0,0,.3)}.close{border:0;background:#eee;border-radius:50%;width:34px;height:34px;cursor:pointer;font-size:20px}.modal-card>.close{position:absolute;right:18px;top:18px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.gallery-main{height:430px;background:#f3f0eb;border-radius:16px;display:grid;place-items:center;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:contain}.thumbs{display:flex;gap:8px;margin-top:10px}.thumbs button{width:70px;height:60px;border:1px solid var(--line);background:#f7f4ef;border-radius:8px;overflow:hidden;cursor:pointer}.thumbs img{width:100%;height:100%;object-fit:contain}.detail h2{font-size:30px;margin:0 0 8px}.detail p{color:var(--muted);line-height:1.65}.option-label{font-weight:800;font-size:13px;margin:20px 0 8px;display:block}.size-grid{display:flex;flex-wrap:wrap;gap:8px}.size-btn{border:1px solid var(--line);background:#fff;padding:10px 13px;border-radius:9px;cursor:pointer}.size-btn.active{border-color:var(--accent);background:#fff3ee;color:var(--accent);font-weight:800}.detail-price{font-size:30px;font-weight:900;margin:20px 0}.full{width:100%}.box-note{padding:12px;border-radius:10px;background:#faf6f0;color:#6d665f;font-size:12px;line-height:1.5}
.drawer{position:fixed;right:0;top:0;bottom:0;width:min(440px,94vw);background:#fff;z-index:70;box-shadow:-20px 0 70px rgba(0,0,0,.18);display:flex;flex-direction:column}.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:65}.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:0}.drawer>#cartItems{padding:18px;overflow:auto;flex:1}.cart-row{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-row img{width:72px;height:72px;object-fit:contain;background:#f3f0eb;border-radius:10px}.cart-row h4{margin:0 0 4px}.cart-row small{color:var(--muted)}.qty{display:flex;align-items:center;gap:7px;margin-top:8px}.qty button{width:25px;height:25px;border:1px solid var(--line);background:#fff;border-radius:6px;cursor:pointer}.cart-summary{padding:20px;border-top:1px solid var(--line)}.cart-summary>div{display:flex;justify-content:space-between;margin:8px 0}.cart-summary .total{font-size:20px;padding-top:10px;margin-top:12px;border-top:1px solid var(--line)}.delivery-note{font-size:11px;color:var(--muted);line-height:1.5}
.checkout{padding:25px}.checkout h2{margin-top:0}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.checkout-grid label{display:block}.checkout input,.checkout textarea,.checkout select{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;box-sizing:border-box}.checkout textarea{min-height:90px}.checkout .wide{grid-column:1/-1}.payment-box{padding:15px;background:#faf7f2;border-radius:12px;margin:16px 0}.payment-box label{display:block;margin:8px 0}
@media(max-width:900px){.nav nav{display:none}.hero-grid,.custom-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.hero-card{min-height:320px}}
@media(max-width:600px){.hero{padding-top:45px}.hero h1{font-size:46px}.product-grid{grid-template-columns:1fr}.section{padding:55px 0}.shop-tools{width:100%;flex-direction:column}.section-head{align-items:start;flex-direction:column}.steps{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.gallery-main{height:320px}}
.size-btn{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:62px}.size-btn small{font-size:10px;color:#777}.box-choice{display:grid;gap:9px}.box-choice label{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);padding:11px 13px;border-radius:10px;cursor:pointer}.box-choice label:has(input:checked){border-color:var(--accent);background:#fff5f0}.box-choice input{accent-color:var(--accent)}.price-breakdown{margin:18px 0;padding:15px;background:#faf7f2;border-radius:12px}.price-breakdown>div{display:flex;justify-content:space-between;padding:5px 0;color:#625d57;font-size:13px}.price-breakdown .subtotal{border-top:1px solid #e8e0d6;margin-top:6px;padding-top:10px;color:#222}.price-breakdown .grand{font-size:20px;font-weight:900;color:#111;border-top:1px solid #e8e0d6;margin-top:6px;padding-top:10px}.quantity-control{display:flex;align-items:center;gap:18px;margin:5px 0 20px}.quantity-control button{width:35px;height:35px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer;font-size:20px}


/* V3 visual refinements */
.hero-art{position:relative;min-height:414px;overflow:hidden;background:linear-gradient(145deg,#171717,#262321);border-radius:28px;box-shadow:0 25px 60px rgba(0,0,0,.12)}
.hero-photo{position:absolute;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 18px 35px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.55)}
.hero-photo img{width:100%;height:100%;display:block;object-fit:contain}
.hero-photo-main{left:8%;top:8%;width:62%;height:78%;transform:rotate(-3deg)}
.hero-photo-small{right:6%;bottom:8%;width:38%;height:48%;transform:rotate(5deg)}
.hero-caption{position:absolute;left:28px;bottom:24px;padding:11px 15px;border-radius:12px;background:rgba(0,0,0,.74);color:#fff;font-weight:700;letter-spacing:.2px;backdrop-filter:blur(5px)}
.product-grid:empty:after{content:'Loading products…';display:block;grid-column:1/-1;padding:45px;text-align:center;color:#777}
.product-image img{object-fit:contain;background:#fff}
@media(max-width:800px){.hero-art{min-height:330px}.hero-photo-main{width:64%;height:74%}.hero-photo-small{width:40%;height:46%}}


/* V4 product-detail refinements */
body.modal-open{overflow:hidden}
.modal-card{width:min(1080px,96vw);max-height:88vh;padding:20px}
.detail-grid{grid-template-columns:minmax(380px,1fr) minmax(420px,1fr);gap:24px}
.gallery-main{height:390px}
.gallery-label{font-size:11px;color:var(--muted);margin:8px 0 5px;text-transform:uppercase;letter-spacing:1px;font-weight:800}
.thumbs button{width:76px;height:64px}.thumbs button.active{border:2px solid var(--accent)}
.detail h2{font-size:28px;line-height:1.12;margin-bottom:7px}.detail-desc{margin:0 0 8px!important;line-height:1.45!important}.product-meta{font-size:12px;line-height:1.65;color:var(--muted)}
.option-label{margin:13px 0 7px}.size-grid{gap:7px}.size-btn{min-width:62px;padding:8px 10px;display:flex;flex-direction:column;align-items:center;gap:2px}.size-btn strong{font-size:14px}.size-btn small{font-size:10px;color:var(--muted)}
.box-choice label{padding:10px 12px}.price-breakdown{margin-top:12px}.price-breakdown>div{padding:6px 0}.price-breakdown .grand{font-size:19px;padding-top:9px}.detail-bottom-row{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:end;margin-top:12px}.compact-label{margin:0 0 6px}.add-cart-btn{height:46px}
@media(max-width:900px){.modal-card{max-height:92vh}.detail-grid{grid-template-columns:1fr}.gallery-main{height:320px}}
@media(max-width:600px){.modal{padding:8px}.modal-card{width:100%;max-height:96vh;border-radius:16px;padding:15px}.gallery-main{height:280px}.detail h2{font-size:24px}.detail-bottom-row{grid-template-columns:100px 1fr}}


/* V5 image-fit fix: always show the complete product image without cropping */
.product-image{display:flex;align-items:center;justify-content:center;overflow:hidden;}
.product-image img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
.gallery-main{display:flex;align-items:center;justify-content:center;overflow:hidden;}
.gallery-main img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
.thumbs img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;}

/* V8 cart + checkout */
.cart-btn{cursor:pointer}.checkout{padding:20px}.checkout-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.back-link{border:0;background:none;padding:0;color:#222;font-weight:800;cursor:pointer}.checkout-step{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--accent);font-weight:900}.checkout h2{margin:8px 0}.checkout-intro{font-size:13px;color:var(--muted);line-height:1.55}.checkout-section{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.checkout-section h3{font-size:16px;margin:0 0 12px}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkout-grid label{font-size:12px;font-weight:800;color:#403b36}.checkout input,.checkout textarea,.checkout select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}.checkout textarea{min-height:88px;resize:vertical}.checkout .wide{grid-column:1/-1}.delivery-status{margin-top:14px;padding:12px 13px;border-radius:10px;background:#faf6f0;color:#5f5952;font-size:12px;line-height:1.5}.compact-payment{margin:0;padding:10px 13px}.payment-box label{display:block;margin:8px 0;font-size:13px}.payment-note{font-size:11px;color:var(--muted);line-height:1.5}.checkout-items{display:grid;gap:9px}.checkout-item{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #eee7df}.checkout-item img{width:48px;height:48px;object-fit:contain;background:#f5f1eb;border-radius:8px}.checkout-item b{font-size:12px}.checkout-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.checkout-item strong{font-size:12px}.checkout-total{margin-top:12px;padding:10px 12px;background:#faf7f2;border-radius:10px}.checkout-total>div{display:flex;justify-content:space-between;padding:5px 0;font-size:12px}.checkout-total .grand{border-top:1px solid #e7ded4;margin-top:5px;padding-top:10px;font-size:17px;font-weight:900}.checkout-submit{height:46px;margin-top:16px}.order-confirmation{text-align:center;padding:35px 20px}.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;background:#f1eee8;font-size:30px;font-weight:900}.order-confirmation h2{font-size:26px;margin:8px 0}.order-confirmation p{color:var(--muted);line-height:1.55;font-size:13px}.order-ref{margin:18px 0;padding:13px;border:1px dashed var(--accent);border-radius:10px;display:flex;justify-content:space-between;gap:12px}.order-ref span{color:var(--muted);font-size:12px}.confirm-card{padding:12px;background:#faf7f2;border-radius:10px;text-align:left}.confirm-card>div{display:flex;justify-content:space-between;padding:7px 0;font-size:12px}.confirm-card b{font-weight:900}.drawer-head h2{font-size:20px}
@media(max-width:600px){.checkout{padding:14px}.checkout-grid{grid-template-columns:1fr}.checkout .wide{grid-column:auto}.checkout-item{grid-template-columns:44px 1fr auto}.order-ref{flex-direction:column;text-align:left}.cart-row{grid-template-columns:60px 1fr auto}.cart-row img{width:60px;height:60px}}

.coupon-row{display:flex;gap:10px;align-items:center}.coupon-row input{flex:1;padding:12px;border:1px solid #d8d1ca;border-radius:10px;font-size:15px;text-transform:uppercase}.coupon-message{margin-top:9px;font-size:13px;color:#666}.coupon-message.success{color:#177245}.coupon-message.error{color:#b42318}.checkout-total .grand{font-size:17px}.checkout-total>div{display:flex;justify-content:space-between;gap:15px}
@media(max-width:640px){.coupon-row{flex-direction:column;align-items:stretch}.coupon-row .btn{width:100%}}

/* V17 active PIN delivery field */
.delivery-section{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.delivery-title{font-size:16px;font-weight:800;margin-bottom:10px}.pin-entry{display:flex;align-items:center;gap:10px}.pin-entry input{flex:0 1 220px;display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit;font-size:16px;letter-spacing:.5px}.pin-entry input:focus{outline:2px solid #c97a52;outline-offset:1px;border-color:#c97a52}.delivery-status-inline{font-size:12px;color:var(--muted)}
@media(max-width:600px){.pin-entry{align-items:stretch;flex-direction:column}.pin-entry input{flex:1}}

.pin-location{display:block;margin:4px 0 6px;font-weight:600;line-height:1.35;}

.delivery-amount{font-weight:700;margin-left:4px;}

.delivery-status-inline{display:block;min-height:24px;margin-top:8px;font-size:14px;}

.delivery-place{font-weight:700;}

/* V28 brand logo */
.brand-logo{width:44px;height:44px;object-fit:contain;display:block;background:#fff;border-radius:8px}.brand{display:inline-flex;align-items:center;gap:10px}
@media(max-width:640px){.brand-logo{width:38px;height:38px}}

/* V29 mobile overflow fix */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
img, video, svg, canvas { max-width:100%; }
.checkout, .checkout * { min-width:0; }
.checkout { width:100%; max-width:100%; overflow-x:hidden; }
.checkout-item { grid-template-columns:44px minmax(0,1fr) auto; max-width:100%; }
.checkout-item b, .checkout-item small, .checkout-item strong { min-width:0; overflow-wrap:anywhere; }
.checkout-total>div, .confirm-card>div { min-width:0; gap:12px; }
.checkout-total>div>:last-child, .confirm-card>div>:last-child {
  min-width:0; max-width:55%; text-align:right; overflow-wrap:anywhere;
}
@media(max-width:600px){
  .container { width:100%; max-width:100%; padding-left:16px; padding-right:16px; }
  .checkout { padding:14px; width:100%; max-width:100%; }
  .checkout-total>div>:last-child, .confirm-card>div>:last-child { max-width:48%; }
  .checkout-submit, .checkout .btn { max-width:100%; }
}

