
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root{
  --ink:#111111;
  --muted:#6f6f6f;
  --line:#e8e8e8;
  --paper:#ffffff;
  --soft:#f6f5f2;
  --accent:#e85d3f;
  --accent-dark:#c9472d;
  --green:#16805b;
  --shadow:0 16px 45px rgba(17,17,17,.08);
  --radius:18px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:#fbfbfa;
  color:var(--ink);
  line-height:1.55;
  font-family:'DM Sans','Segoe UI',Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
}
button,input,textarea,select{font:inherit}
button{font-family:inherit}
a{color:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* ---------- NAVIGATION ---------- */
.sticky-navbar,.navbar{
  position:sticky;top:0;z-index:999;
  background:rgba(17,17,17,.96);
  backdrop-filter:blur(14px);
  color:#fff;padding:12px 0;
  box-shadow:0 4px 24px rgba(0,0,0,.14);
}
.nav-content{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px}
.nav-logo,.logo{
  color:#fff!important;text-decoration:none;font-weight:700;
  letter-spacing:.8px;font-size:0;
}
.nav-logo img{height:42px!important;width:42px!important;object-fit:contain;border-radius:10px}
.nav-links{display:flex;align-items:center;gap:32px;list-style:none}
.nav-links a,.back-link{
  color:#cfcfcf!important;text-decoration:none;font-size:.9rem;font-weight:500;
  transition:.25s ease;
}
.nav-links a:hover,.back-link:hover{color:#fff!important}
.header-socials{display:flex;gap:8px}
.header-socials a{
  display:grid;place-items:center;width:34px;height:34px;border:1px solid #333;
  border-radius:50%;color:#ddd!important;margin:0!important;transition:.25s;
}
.header-socials a:hover{background:#fff;color:#111!important;border-color:#fff}
.cart-icon-btn{
  display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:#fff;color:#111!important;text-decoration:none;position:relative;
  transition:.25s;flex:none;
}
.cart-icon-btn:hover{transform:translateY(-2px);background:#f0f0f0}
#cart-count{
  position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;
  display:grid;place-items:center;background:var(--accent)!important;color:#fff;
  border:2px solid #111;font-size:.68rem;font-weight:700;border-radius:50%;
}

/* ---------- HERO ---------- */
.hero{position:relative;min-height:600px;display:flex;align-items:center;overflow:hidden;background:#111}
.hero-media{
  position:absolute;inset:0;
  background-image:url('images/banner.png');
  background-size:cover;background-position:center;
  transform:scale(1.01);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.48) 45%,rgba(0,0,0,.12) 100%);
}
.hero-content{position:relative;z-index:1;width:100%;padding-top:70px;padding-bottom:70px}
.hero-copy{max-width:640px;color:#fff}
.eyebrow,.section-kicker{
  display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--accent);
}
.hero .eyebrow{color:#fff;opacity:.9;margin-bottom:16px}
.hero h1{
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(3.4rem,7vw,6.3rem);line-height:.96;letter-spacing:-.04em;
  margin-bottom:22px;
}
.hero h1 span{color:#ff8a70;font-style:italic}
.hero p{font-size:1.12rem;line-height:1.7;color:#eee;max-width:560px;margin-bottom:30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:50px;padding:0 22px;border-radius:12px;text-decoration:none;
  font-weight:700;font-size:.9rem;transition:.25s;
}
.hero-btn-primary{background:#fff;color:#111}
.hero-btn-primary:hover{transform:translateY(-2px);background:#f1f1f1}
.hero-btn-ghost{border:1px solid rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.06)}
.hero-btn-ghost:hover{background:rgba(255,255,255,.15);border-color:#fff}
.hero-note{margin-top:22px;font-size:.78rem;color:#ddd;display:flex;gap:8px;align-items:center}

/* ---------- COLLECTIONS ---------- */
.collections-wrapper{padding:70px 0 28px}
.section-heading,.catalog-heading{
  display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px
}
.section-title{
  margin:5px 0 0;font-size:2rem;line-height:1.1;font-weight:700;
  text-transform:none;text-align:left;letter-spacing:-.03em
}
.section-subtitle,.catalog-count{color:var(--muted);font-size:.9rem}
.collection-buttons-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.collection-btn{
  min-height:66px;display:flex;align-items:center;justify-content:center;gap:12px;
  padding:14px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;
  font-weight:700;cursor:pointer;font-size:.9rem;color:var(--ink);transition:.25s;
  box-shadow:0 3px 12px rgba(0,0,0,.02)
}
.collection-btn i{font-size:1rem}
.collection-btn:hover{border-color:#bbb;transform:translateY(-2px)}
.collection-btn:hover,.collection-btn.active{background:#111!important;color:#fff!important;border-color:#111!important}

/* ---------- BENEFITS ---------- */
.benefits-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ddd;
  border:1px solid #ddd;border-radius:16px;overflow:hidden;margin:10px 0 60px
}
.benefit{background:#fff;display:flex;align-items:center;gap:12px;padding:20px}
.benefit>i{font-size:1.1rem;width:38px;height:38px;border-radius:10px;background:#f4f4f2;display:grid;place-items:center}
.benefit div{display:flex;flex-direction:column;gap:1px}
.benefit strong{font-size:.82rem}.benefit span{font-size:.72rem;color:var(--muted)}

/* ---------- PRODUCTS ---------- */
.products-section{margin-bottom:85px}
.catalog-heading{margin-bottom:28px}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product-card{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;
  display:flex;flex-direction:column;min-width:0;overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.product-card:hover{transform:translateY(-6px);border-color:#ddd;box-shadow:var(--shadow)}
.image-wrapper{
  position:relative;cursor:pointer;overflow:hidden;border-radius:12px;background:#f1f1ef;
}
.image-wrapper img{
  width:100%;height:310px;object-fit:cover;display:block;transition:transform .5s ease
}
.product-card:hover .image-wrapper img{transform:scale(1.035)}
.quick-view-badge{
  position:absolute;left:50%;bottom:14px;transform:translateX(-50%);
  background:rgba(17,17,17,.9);color:#fff;padding:8px 14px;font-size:.72rem;
  border-radius:99px;opacity:0;transition:.25s;white-space:nowrap;letter-spacing:.04em
}
.image-wrapper:hover .quick-view-badge{opacity:1}
.new-badge{background:#111!important;top:12px!important;left:12px!important;border-radius:99px!important;padding:6px 10px!important}
.product-title{
  font-size:.94rem;margin:15px 5px 5px;font-weight:700;line-height:1.35;
  min-height:2.55em
}
.short-desc{
  font-size:.77rem;color:var(--muted);margin:0 5px 12px;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex-grow:1
}
.price-box{margin:0 5px 8px!important;gap:7px!important}
.discount-price{font-weight:800!important;color:var(--ink)!important;font-size:1.05rem!important}
.regular-price{text-decoration:line-through;color:#999!important;font-size:.78rem!important}
.discount-badge{background:#fce9e4!important;color:var(--accent-dark)!important;border-radius:99px!important;padding:4px 7px!important;font-size:.65rem!important}
.out-of-stock-badge{background:#ededed!important;color:#555!important;border-radius:99px!important;padding:4px 7px!important;font-size:.65rem!important}
.card-actions{display:grid!important;grid-template-columns:1fr 1fr 1fr;gap:6px!important;margin:7px 5px 5px!important}
.btn-card{
  min-width:0;padding:9px 5px!important;border-radius:9px!important;font-size:.68rem!important;
  border:1px solid #ddd!important;font-weight:700;transition:.2s
}
.btn-card:hover{opacity:1!important;transform:translateY(-1px)}
.btn-outline{background:#fff!important;color:#111!important}
.btn-solid{background:#111!important;color:#fff!important;border-color:#111!important}
.btn-buy{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
.btn-card:disabled{background:#ddd!important;color:#888!important;border-color:#ddd!important}

/* ---------- MODAL ---------- */
.modal{background:rgba(0,0,0,.72)!important;backdrop-filter:blur(5px)}
.modal-content{
  background:#fff;border-radius:20px;max-width:900px;max-height:92vh;
  padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.25)
}
.close-btn{
  top:14px;right:16px;width:38px;height:38px;border-radius:50%;
  background:#f3f3f3;color:#222;font-size:24px;z-index:5
}
.modal-body{gap:34px}
.modal-gallery{min-width:300px}
.modal-gallery img{height:430px;border-radius:14px;object-fit:cover}
.modal-details{padding:5px 5px 10px}
.modal-details h2{font-size:1.7rem;line-height:1.2;margin-bottom:12px}
.modal-price{display:flex;align-items:center;gap:9px;margin-bottom:15px}
.modal-price .discount-price{font-size:1.4rem!important;color:var(--accent-dark)!important}
.long-description{font-size:.88rem;color:#666;line-height:1.65}
.color-btn,.size-btn{
  padding:8px 14px;margin:0 6px 7px 0;border:1px solid #ddd;background:#fff;
  cursor:pointer;border-radius:9px;font-size:.8rem
}
.color-btn.selected,.size-btn.selected{border-color:#111;background:#111;color:#fff}
.modal-actions .btn{border-radius:10px}
.btn-primary{background:#111;color:#fff}
.btn-secondary{background:var(--accent);color:#fff}

/* ---------- CART / CHECKOUT ---------- */
.cart-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:25px;margin-top:25px}
.order-summary{background:#fff;padding:24px;border-radius:16px;border:1px solid var(--line);box-shadow:0 8px 25px rgba(0,0,0,.04)}
.cart-item{background:#fff!important;border:1px solid var(--line)!important;border-radius:14px;margin-bottom:12px;padding:15px!important}
.btn-full{border-radius:10px}
.checkout-box{box-shadow:0 15px 50px rgba(0,0,0,.06);border-radius:18px!important}

/* ---------- FOOTER ---------- */
.site-footer{background:#111;color:#999;padding:55px 0 0;margin-top:30px}
.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr 1fr;gap:35px;padding-bottom:40px;border-bottom:1px solid #292929}
.footer-col{min-width:0}
.footer-col h3,.footer-col h4{color:#fff;margin-bottom:14px;font-size:.95rem}
.footer-col p{font-size:.78rem;line-height:1.75;margin-bottom:8px}
.footer-bio p{max-width:430px}
.footer-col a{color:#999!important}
.footer-links ul{line-height:1.8!important}
.footer-links ul li{margin-bottom:3px}
.footer-links ul li a:hover,.footer-bottom a:hover{color:#fff!important}
.social-icons{display:flex;gap:8px;margin-top:10px}
.social-icons a,.social-icons a:visited{
  width:38px;height:38px;background:#1f1f1f!important;border:1px solid #2b2b2b;
  color:#fff!important;border-radius:50%
}
.social-icons a:hover{background:var(--accent)!important;border-color:var(--accent)}
.footer-bottom{padding:18px 0;text-align:center;font-size:.72rem}

/* ---------- PROMO ---------- */
#promo-modal>div{
  border-radius:20px!important;box-shadow:0 25px 80px rgba(0,0,0,.35)!important
}
#close-promo-btn{background:#111!important}
#promo-modal h3{color:var(--accent)!important}

/* ---------- ACCESSIBILITY / MOBILE ---------- */
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid rgba(232,93,63,.35);outline-offset:2px
}
@media(max-width:1050px){
  .products-grid{grid-template-columns:repeat(3,1fr)}
  .footer-content{grid-template-columns:2fr 1fr 1fr 1.3fr}
  .footer-socials{grid-column:span 4}
}
@media(max-width:768px){
  .container{padding:0 16px}
  .header-socials{display:none}
  .nav-links{gap:16px}
  .nav-links a{font-size:.78rem}
  .hero{min-height:540px}
  .hero-media{background-position:center}
  .hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.38))}
  .hero-content{padding-top:55px;padding-bottom:55px}
  .hero p{font-size:.98rem}
  .benefits-strip{grid-template-columns:repeat(2,1fr);margin-bottom:45px}
  .benefit{padding:15px}
  .collection-buttons-grid{grid-template-columns:1fr}
  .section-heading,.catalog-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .image-wrapper img{height:230px}
  .product-card{padding:8px;border-radius:13px}
  .short-desc{display:none}
  .product-title{font-size:.82rem;margin:11px 3px 4px}
  .price-box{margin-left:3px!important;margin-right:3px!important}
  .card-actions{margin-left:3px!important;margin-right:3px!important;grid-template-columns:1fr 1fr!important}
  .btn-buy{grid-column:span 2}
  .footer-content{grid-template-columns:1fr 1fr;gap:25px}
  .footer-bio{grid-column:span 2}
  .footer-socials{grid-column:span 2}
  .cart-layout{grid-template-columns:1fr}
}
@media(max-width:480px){
  .nav-logo img{height:38px!important;width:38px!important}
  .nav-links{gap:10px}
  .nav-links li:last-child{display:none}
  .cart-icon-btn{width:38px;height:38px}
  .hero{min-height:500px}
  .hero h1{font-size:3.15rem}
  .hero-note{font-size:.68rem}
  .benefit{padding:13px 10px;gap:8px}
  .benefit strong{font-size:.72rem}.benefit span{font-size:.64rem}
  .image-wrapper img{height:190px}
  .product-title{min-height:2.6em}
  .btn-card{font-size:.63rem!important}
  .modal-content{padding:18px;border-radius:16px}
  .modal-gallery{min-width:100%}
  .modal-gallery img{height:300px}
  .modal-details{min-width:100%}
  .modal-actions{flex-direction:column}
  .footer-content{grid-template-columns:1fr}
  .footer-bio,.footer-socials{grid-column:auto}
}


/* ---------- QUICK VIEW: MOBILE-FIRST FIX ---------- */
body.modal-open{overflow:hidden}
#product-modal{
  position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
  display:none!important;align-items:center!important;justify-content:center!important;
  padding:12px!important;overflow-y:auto!important;z-index:2000!important;
}
#product-modal.active{display:flex!important}
#product-modal .modal-content{
  position:relative!important;width:min(920px,100%)!important;
  max-width:920px!important;height:auto!important;max-height:calc(100dvh - 24px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  margin:auto!important;padding:22px!important;
}
#product-modal .modal-body{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:start!important;gap:26px!important;
}
#product-modal .modal-gallery{
  width:100%!important;min-width:0!important;position:sticky;top:0;
}
#product-modal #modal-img{
  width:100%!important;height:auto!important;max-height:500px!important;
  aspect-ratio:1/1!important;object-fit:contain!important;display:block!important;
  background:#f5f5f3;border-radius:14px!important;
}
#product-modal .gallery-thumbnails{
  display:flex!important;gap:8px!important;margin-top:10px!important;
  overflow-x:auto!important;padding-bottom:3px!important;scrollbar-width:thin;
}
#product-modal .gallery-thumbnails img{
  flex:0 0 58px!important;width:58px!important;height:58px!important;
  object-fit:cover!important;border-radius:8px!important;
}
#product-modal .modal-details{min-width:0!important}
#product-modal .modal-details h2{padding-right:35px}
#product-modal .option-group{margin-top:14px}
#product-modal .option-group label{display:block;font-weight:700;font-size:.8rem;margin-bottom:7px}
#product-modal .color-options,#product-modal .size-options{display:flex;flex-wrap:wrap}
#product-modal .modal-actions{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;
}
#product-modal .modal-actions .btn{width:100%!important;min-height:46px!important}
#product-modal #modal-qty{
  width:90px!important;max-width:100%!important;height:42px!important;
  border:1px solid #ddd!important;border-radius:9px!important;padding:8px 10px!important;
}
#product-modal .close-btn{
  position:absolute!important;top:10px!important;right:10px!important;
  width:40px!important;height:40px!important;border:0!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;
}

/* Don't allow the review area to make the whole product dialog excessively tall */
#product-modal .product-reviews-section{max-width:100%!important}
#product-modal #reviews-list{max-height:130px!important;overflow-y:auto!important}

@media(max-width:700px){
  #product-modal{padding:0!important;align-items:flex-end!important}
  #product-modal .modal-content{
    width:100%!important;max-width:none!important;
    max-height:94dvh!important;border-radius:20px 20px 0 0!important;
    padding:16px!important;padding-top:20px!important;
    overflow-y:auto!important;
  }
  #product-modal .modal-body{
    display:flex!important;flex-direction:column!important;gap:16px!important;
  }
  #product-modal .modal-gallery{
    position:relative!important;top:auto!important;width:100%!important;
  }
  #product-modal #modal-img{
    aspect-ratio:1/1!important;max-height:none!important;height:auto!important;
    border-radius:12px!important;
  }
  #product-modal .modal-details{width:100%!important}
  #product-modal .modal-details h2{
    font-size:1.3rem!important;margin-bottom:8px!important;padding-right:38px!important;
  }
  #product-modal .long-description{
    font-size:.82rem!important;line-height:1.55!important;
    max-height:90px!important;overflow-y:auto!important;
  }
  #product-modal .modal-price{margin-bottom:8px!important}
  #product-modal .modal-price .discount-price{font-size:1.25rem!important}
  #product-modal .option-group{margin-top:10px!important}
  #product-modal .color-btn,#product-modal .size-btn{
    padding:8px 11px!important;margin:0 5px 5px 0!important;font-size:.75rem!important;
  }
  #product-modal .product-reviews-section{
    margin-top:13px!important;padding-top:12px!important;
  }
  #product-modal #reviews-list{max-height:100px!important}
  #product-modal .modal-actions{
    position:sticky!important;bottom:0!important;
    background:#fff!important;padding-top:10px!important;margin-top:12px!important;
  }
}
@media(max-width:390px){
  #product-modal .modal-content{padding:13px!important}
  #product-modal #modal-img{max-height:285px!important}
  #product-modal .modal-actions{grid-template-columns:1fr!important}
  #product-modal .modal-actions .btn{min-height:43px!important}
}
