﻿/* ===== GLXKZZ — Designer Brand Store ===== */
:root{
  --bg:#faf9f7;
  --fg:#1a1a1a;
  --muted:#8a8a8a;
  --line:#e5e3e0;
  --accent:#1a1a1a;
  --light:#f5f3f0;
  --radius:2px;
  --maxw:1400px;
  --serif:"Cormorant Garamond","Didot",serif;
  --sans:"Inter","Helvetica Neue",Arial,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--fg);
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}

/* ===== Typography ===== */
.serif{font-family:var(--serif);font-weight:500;letter-spacing:.01em}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.15}
h1{font-size:clamp(2.5rem,6vw,5rem)}
h2{font-size:clamp(1.8rem,4vw,3rem)}
h3{font-size:clamp(1.2rem,2vw,1.6rem)}
.eyebrow{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:var(--muted);font-weight:600}

/* ===== Layout ===== */
.container{max-width:var(--maxw);margin:0 auto;padding:0 2rem}
.section{padding:5rem 0}
.grid{display:grid;gap:2rem}

/* ===== Header ===== */
.header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(250,249,247,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  transition:padding .3s var(--ease);
}
.header-inner{
  max-width:var(--maxw);margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.1rem 2rem;
}
.logo{font-family:var(--serif);font-size:1.6rem;font-weight:600;letter-spacing:.15em}
.logo span{font-size:.6rem;letter-spacing:.4em;display:block;text-align:center;color:var(--muted);margin-top:-2px}
.nav{display:flex;gap:2.2rem}
.nav a{font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;font-weight:500;position:relative;padding:.3rem 0;transition:color .3s}
.nav a::after{content:"";position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--fg);transition:width .35s var(--ease)}
.nav a:hover::after{width:100%}
.header-actions{display:flex;align-items:center;gap:1.5rem}
.icon-btn{background:none;border:none;cursor:pointer;font-size:1.1rem;color:var(--fg);position:relative;transition:opacity .3s}
.icon-btn:hover{opacity:.6}
.cart-count{
  position:absolute;top:-8px;right:-10px;
  background:var(--fg);color:#fff;
  font-size:.65rem;font-weight:700;
  width:18px;height:18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--sans);
}
.menu-toggle{display:none;font-size:1.4rem;cursor:pointer;background:none;border:none}

/* ===== Hero ===== */
.hero{
  min-height:100vh;display:flex;align-items:center;
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#e8e5e0 0%,#d4cfc8 50%,#c5bfb6 100%);
  margin-top:0;padding-top:70px;
}
.hero-content{position:relative;z-index:2;padding:0 2rem;max-width:var(--maxw);margin:0 auto;width:100%}
.hero h1{font-size:clamp(3rem,8vw,7rem);margin-bottom:1.5rem;animation:fadeUp 1s var(--ease)}
.hero p{max-width:420px;font-size:1.1rem;color:#555;margin-bottom:2.5rem;animation:fadeUp 1s .15s var(--ease) both}
.hero-cta{display:flex;gap:1rem;animation:fadeUp 1s .3s var(--ease) both}
.hero-img{
  position:absolute;right:0;top:0;bottom:0;width:50%;
  background-size:cover;background-position:center;
  opacity:.85;
}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}

/* ===== Buttons ===== */
.btn{
  display:inline-block;padding:.9rem 2.2rem;
  font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;
  border:1px solid var(--fg);background:var(--fg);color:#fff;
  cursor:pointer;transition:all .35s var(--ease);
}
.btn:hover{background:transparent;color:var(--fg)}
.btn-outline{background:transparent;color:var(--fg)}
.btn-outline:hover{background:var(--fg);color:#fff}

/* ===== Section Headers ===== */
.section-head{text-align:center;margin-bottom:3.5rem}
.section-head .eyebrow{margin-bottom:1rem}
.section-head h2{margin-bottom:.8rem}
.section-head p{color:var(--muted);max-width:500px;margin:0 auto}

/* ===== Product Grid ===== */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:2.5rem 2rem;
}
.product-card{
  cursor:pointer;position:relative;
  transition:transform .4s var(--ease);
}
.product-card:hover{transform:translateY(-6px)}
.product-img-wrap{
  position:relative;overflow:hidden;
  aspect-ratio:3/4;background:var(--light);
  margin-bottom:1rem;
}
.product-img-wrap img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s var(--ease);
}
.product-card:hover .product-img-wrap img{transform:scale(1.06)}
.product-badge{
  position:absolute;top:1rem;left:1rem;
  background:var(--fg);color:#fff;
  font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;
  padding:.35rem .7rem;font-weight:600;
}
.product-quick-add{
  position:absolute;bottom:0;left:0;right:0;
  background:var(--fg);color:#fff;text-align:center;
  padding:.8rem;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;font-weight:600;
  transform:translateY(100%);transition:transform .35s var(--ease);cursor:pointer;border:none;
}
.product-card:hover .product-quick-add{transform:translateY(0)}
.product-info{display:flex;justify-content:space-between;align-items:flex-start}
.product-info h3{font-size:1.05rem;font-family:var(--sans);font-weight:500;margin-bottom:.2rem}
.product-cat{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
.product-price{font-size:1rem;font-weight:600;white-space:nowrap}

/* ===== Filter Bar ===== */
.filter-bar{
  display:flex;justify-content:center;gap:.5rem;
  flex-wrap:wrap;margin-bottom:3rem;
}
.filter-btn{
  padding:.5rem 1.4rem;border:1px solid var(--line);background:none;
  font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:500;
  cursor:pointer;transition:all .3s var(--ease);border-radius:var(--radius);
}
.filter-btn:hover,.filter-btn.active{background:var(--fg);color:#fff;border-color:var(--fg)}

/* ===== Brand Story ===== */
.story{background:var(--light)}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.story-img{aspect-ratio:4/5;overflow:hidden;background:#ccc}
.story-img img{width:100%;height:100%;object-fit:cover}
.story-text h2{margin-bottom:1.5rem}
.story-text p{margin-bottom:1.2rem;color:#555;max-width:440px}
.story-stats{display:flex;gap:3rem;margin-top:2.5rem}
.stat-num{font-family:var(--serif);font-size:2.5rem;font-weight:600}
.stat-label{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-top:.3rem}

/* ===== Newsletter ===== */
.newsletter{text-align:center;background:var(--fg);color:#fff;padding:5rem 0}
.newsletter h2{margin-bottom:1rem}
.newsletter p{color:#aaa;margin-bottom:2.5rem;max-width:450px;margin-left:auto;margin-right:auto}
.newsletter-form{display:flex;max-width:480px;margin:0 auto;gap:0}
.newsletter-form input{
  flex:1;padding:.9rem 1.2rem;border:1px solid #444;background:transparent;color:#fff;
  font-size:.85rem;font-family:var(--sans);
}
.newsletter-form input::placeholder{color:#888}
.newsletter-form input:focus{outline:none;border-color:#888}
.newsletter-form .btn{border-color:#fff}

/* ===== Footer ===== */
.footer{background:#111;color:#999;padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-brand .logo{color:#fff;margin-bottom:1rem;font-size:1.4rem}
.footer-brand p{font-size:.85rem;max-width:280px;line-height:1.7}
.footer-col h4{color:#fff;font-family:var(--sans);font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;margin-bottom:1.2rem;font-weight:600}
.footer-col a{display:block;font-size:.85rem;margin-bottom:.7rem;transition:color .3s}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid #222;padding-top:2rem;display:flex;justify-content:space-between;font-size:.78rem}
.footer-social{display:flex;gap:1rem}
.footer-social a{width:36px;height:36px;border:1px solid #333;display:flex;align-items:center;justify-content:center;transition:all .3s}
.footer-social a:hover{background:#fff;color:#111;border-color:#fff}

/* ===== Product Detail Page ===== */
.product-detail{padding-top:120px;min-height:100vh}
.breadcrumb{padding:1rem 2rem;font-size:.78rem;color:var(--muted);max-width:var(--maxw);margin:0 auto}
.breadcrumb a:hover{color:var(--fg)}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;max-width:var(--maxw);margin:0 auto;padding:0 2rem 4rem}
.detail-img{aspect-ratio:3/4;overflow:hidden;background:var(--light)}
.detail-img img{width:100%;height:100%;object-fit:cover}
.detail-info h1{font-size:2.5rem;margin-bottom:.5rem}
.detail-price{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}
.detail-desc{color:#555;margin-bottom:2rem;line-height:1.8}
.option-group{margin-bottom:1.8rem}
.option-label{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:600;margin-bottom:.8rem;display:block}
.option-chips{display:flex;gap:.5rem;flex-wrap:wrap}
.chip{
  padding:.5rem 1.1rem;border:1px solid var(--line);background:#fff;
  font-size:.8rem;cursor:pointer;transition:all .25s;
}
.chip:hover{border-color:var(--fg)}
.chip.selected{background:var(--fg);color:#fff;border-color:var(--fg)}
.detail-actions{display:flex;gap:1rem;margin-top:2rem}
.qty-selector{display:flex;align-items:center;border:1px solid var(--line)}
.qty-selector button{width:44px;height:44px;border:none;background:none;font-size:1.2rem;cursor:pointer}
.qty-selector input{width:50px;height:44px;border:none;text-align:center;font-size:1rem;font-family:var(--sans)}

/* ===== Cart Drawer ===== */
.cart-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:2000;
  opacity:0;visibility:hidden;transition:all .35s;
}
.cart-overlay.open{opacity:1;visibility:visible}
.cart-drawer{
  position:fixed;top:0;right:0;bottom:0;width:420px;max-width:90vw;
  background:var(--bg);z-index:2001;transform:translateX(100%);
  transition:transform .4s var(--ease);display:flex;flex-direction:column;
}
.cart-drawer.open{transform:translateX(0)}
.cart-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid var(--line)}
.cart-header h3{font-size:1.2rem}
.cart-close{font-size:1.5rem;cursor:pointer;background:none;border:none}
.cart-items{flex:1;overflow-y:auto;padding:1rem 2rem}
.cart-item{display:flex;gap:1rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}
.cart-item-img{width:80px;height:100px;object-fit:cover;background:var(--light)}
.cart-item-info{flex:1}
.cart-item-info h4{font-size:.9rem;font-family:var(--sans);font-weight:500;margin-bottom:.3rem}
.cart-item-meta{font-size:.75rem;color:var(--muted);margin-bottom:.5rem}
.cart-item-price{font-size:.85rem;font-weight:600}
.cart-item-remove{font-size:.7rem;color:var(--muted);cursor:pointer;text-decoration:underline;margin-top:.5rem;display:inline-block}
.cart-item-remove:hover{color:var(--fg)}
.cart-empty{text-align:center;padding:3rem 1rem;color:var(--muted)}
.cart-footer{border-top:1px solid var(--line);padding:1.5rem 2rem}
.cart-total{display:flex;justify-content:space-between;margin-bottom:1.5rem;font-size:1.1rem;font-weight:600}
.cart-footer .btn{width:100%;text-align:center}

/* ===== About Page ===== */
.about-hero{padding-top:120px;text-align:center;padding-bottom:0}
.about-hero h1{margin-bottom:1.5rem}
.about-hero p{max-width:560px;margin:0 auto 3rem;color:#555;font-size:1.1rem}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;margin:4rem 0}
.about-card{text-align:center}
.about-card .stat-num{display:block}
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;margin-top:3rem}
.value-item h3{margin-bottom:.8rem}
.value-item p{color:#555}

/* ===== Toast ===== */
.toast{
  position:fixed;bottom:2rem;left:50%;transform:translateX(-50%) translateY(120%);
  background:var(--fg);color:#fff;padding:1rem 2rem;font-size:.8rem;letter-spacing:.1em;
  z-index:3000;transition:transform .4s var(--ease);
}
.toast.show{transform:translateX(-50%) translateY(0)}

/* ===== Responsive ===== */
@media(max-width:900px){
  .story-grid,.detail-grid{grid-template-columns:1fr;gap:2.5rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .about-grid,.values-grid{grid-template-columns:1fr;gap:2rem}
  .hero-img{display:none}
}
@media(max-width:640px){
  .nav{display:none}
  .menu-toggle{display:block}
  .nav.open{
    display:flex;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;background:var(--bg);
    padding:1.5rem 2rem;gap:1.5rem;border-bottom:1px solid var(--line);
  }
  .product-grid{grid-template-columns:1fr 1fr;gap:1.5rem 1rem}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:1rem;text-align:center}
  .hero-cta{flex-direction:column}
  .section{padding:3.5rem 0}
}
