:root{
  --dark:#141416;
  --dark-soft:#232326;
  --white:#ffffff;
  --text:#111111;
  --text-soft:#5b5b5b;
  --danger:#b91c1c;
  --success:#166534;
  --card-shadow:0 20px 45px rgba(0,0,0,.28);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', sans-serif;
  color:var(--white);
  background:
    /*radial-gradient(circle at top, rgba(242,176,32,.18), transparent 28%),*/
    var(--bg-body-main);
  min-height:100vh;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

button,
input{
  font-family:inherit;
}

.shop-page{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:22px 16px 120px;
}

.shop-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
  flex-wrap:wrap;
}

.shop-header__left{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.shop-back{
  width:44px;
  height:44px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  background: rgba(255,255,255,.10);
  border:1px solid var(--bg-back-border);
  transition: transform .18s ease, filter .18s ease;
}

.shop-back:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
}

.shop-back:active{ transform: scale(.98); }

.shop-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.shop-brand__logo-wrap{
  width:62px;
  height:62px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--bg-back-border);
  background:#fff;
  box-shadow:0 12px 26px rgba(0,0,0,.22);
}

.shop-brand__logo{
  width:100%;
  height:100%;
  object-fit:cover;
}

.shop-brand__eyebrow{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--gold-3);
  margin-bottom:4px;
}

.shop-brand h1{
  font-size:28px;
  font-weight:900;
  line-height:1.1;
}

.shop-cart-btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:18px;
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid var(--bg-back-border);
  box-shadow:0 15px 28px rgba(0,0,0,.22);
  transition:transform .2s ease, filter .2s ease;
}

.shop-cart-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
}

.shop-cart-btn__icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--bg-action-primary);
  color:#111;
  font-size:16px;
}

.shop-cart-btn__text{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.shop-cart-btn__text strong{
  font-size:14px;
  font-weight:800;
}

.shop-cart-btn__text small{
  font-size:12px;
  color:rgba(255,255,255,.72);
}

.shop-hero-card{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px;
  padding:22px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:var(--card-shadow);
  margin-bottom:18px;
}

.shop-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--gold-3);
  margin-bottom:10px;
}

.shop-hero-card h2{
  font-size:32px;
  line-height:1.1;
  margin-bottom:10px;
}

.shop-hero-card__desc{
  color:rgba(255,255,255,.78);
  max-width:680px;
  line-height:1.6;
  font-size:14px;
}

.shop-search{
  align-self:end;
}

.shop-search__label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:8px;
  color:#fff;
}

.shop-search__input-wrap{
  position:relative;
}

.shop-search__input-wrap i{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#666;
  pointer-events:none;
}

.shop-search__input-wrap input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:#fff;
  color:#111;
  padding:0 16px 0 42px;
  outline:none;
  font-size:14px;
}

.shop-search__input-wrap input:focus{
  border-color:var(--gold-2);
  box-shadow:0 0 0 4px rgba(242,176,32,.18);
}

.shop-alert{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:18px;
  margin-bottom:14px;
  font-size:14px;
  font-weight:700;
}

.shop-alert--success{
  background:rgba(22,101,52,.18);
  border:1px solid rgba(22,101,52,.32);
  color:#d1fae5;
}

.shop-alert--error{
  background:rgba(185,28,28,.18);
  border:1px solid rgba(185,28,28,.32);
  color:#fee2e2;
}

.category-nav{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:4px 2px 10px;
  margin-bottom:16px;
  scrollbar-width:none;
}

.category-nav::-webkit-scrollbar{
  display:none;
}

.category-chip{
  flex:0 0 auto;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:800;
  transition:all .2s ease;
}

.category-chip:hover,
.category-chip.is-active{
  background:var(--bg-action-primary);
  color:#111;
  border-color:transparent;
}

.shop-sections{
  display:flex;
  flex-direction:column;
  gap:26px;
}

.shop-category-section{
  scroll-margin-top:90px;
}

.shop-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.shop-section-head__eyebrow{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1.3px;
  font-weight:800;
  color:var(--gold-3);
  margin-bottom:6px;
}

.shop-section-head h3{
  font-size:26px;
  font-weight:900;
}

.shop-section-head__count{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  font-size:12px;
  font-weight:800;
  color:#fff;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.product-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  color:#111;
  box-shadow:var(--card-shadow);
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(0,0,0,.35);
}

.product-card.is-hidden{
  display:none;
}

.product-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f3;
}

.product-card__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(17,17,17,.84);
  color:#fff;
  font-size:11px;
  font-weight:800;
}

.product-card__body{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
  flex:1;
}

.product-card__body h4{
  font-size:20px;
  font-weight:900;
  line-height:1.2;
}

.product-card__description{
  color:var(--text-soft);
  font-size:13px;
  line-height:1.55;
  min-height:42px;
}

.product-card__footer{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:auto;
}

.product-price{
  font-size:24px;
  font-weight:900;
  color:#111;
}

.add-to-cart-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.qty-control{
  display:flex;
  align-items:center;
  gap:10px;
}

.qty-btn{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.1);
  background:#f7f7f7;
  color:#111;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}

.qty-btn:hover{
  transform:translateY(-1px);
  background:#efefef;
}

.qty-input{
  width:78px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  text-align:center;
  font-weight:800;
  font-size:15px;
  outline:none;
}

.qty-input:focus{
  border-color:var(--gold-2);
  box-shadow:0 0 0 4px rgba(242,176,32,.18);
}

.product-add-btn{
  width:100%;
  min-height:48px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#111;
  background:var(--bg-action-primary);
  box-shadow:0 12px 22px rgba(0,0,0,.16);
  transition:transform .2s ease, filter .2s ease;
}

.product-add-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.shop-empty{
  margin-top:14px;
  padding:48px 20px;
  border-radius:28px;
  text-align:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
}

.shop-empty__icon{
  width:78px;
  height:78px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:var(--bg-action-primary);
  color:#111;
  font-size:30px;
}

.shop-empty h3{
  font-size:24px;
  margin-bottom:10px;
}

.shop-empty p{
  color:rgba(255,255,255,.75);
  font-size:14px;
}

.floating-cart{
  position:fixed;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  width:min(calc(100% - 24px), 780px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:22px;
  background:rgba(17,17,17,.94);
  border:1px solid var(--bg-back-border);
  color:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.38);
  z-index:60;
  transition:transform .2s ease, opacity .2s ease;
}

.floating-cart.is-hidden{
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) translateY(16px);
}

.floating-cart__icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  color:#111;
  background:var(--bg-action-primary);
}

.floating-cart__content{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.floating-cart__content strong{
  font-size:14px;
  font-weight:800;
}

.floating-cart__content span{
  font-size:13px;
  color:rgba(255,255,255,.74);
}

.floating-cart__action{
  padding:12px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

@media (max-width:1024px){
  .product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .shop-hero-card{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .shop-page{
    padding:16px 12px 120px;
  }

  .shop-header{
    align-items:flex-start;
  }

  .shop-brand{
    align-items:flex-start;
  }

  .shop-brand h1{
    font-size:24px;
  }

  .shop-hero-card{
    padding:18px;
    border-radius:24px;
  }

  .shop-hero-card h2{
    font-size:26px;
  }

  .shop-section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .product-grid{
    grid-template-columns:1fr;
  }

  .product-card__body h4{
    font-size:18px;
  }

  .product-price{
    font-size:22px;
  }

  .floating-cart{
    width:calc(100% - 16px);
    bottom:10px;
    padding:10px;
  }

  .floating-cart__action{
    padding:10px 12px;
    font-size:12px;
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior:auto !important;
  }

  .product-card,
  .product-add-btn,
  .shop-back,
  .shop-cart-btn,
  .qty-btn,
  .floating-cart{
    transition:none !important;
  }
}