:root {
  --orange: #ff5a1f;
  --orange-dark: #df4210;
  --ink: #15191d;
  --cream: #f4f1eb;
  --line: #dfddd7;
  --muted: #777c80;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", sans-serif; color: var(--ink); background: var(--white); }
body.no-scroll { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.shipping-bar { height: 30px; background: var(--orange); color: white; display: grid; place-items: center; }
.shipping-bar p { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: 2.2px; }

.header { height: 82px; background: white; position: relative; z-index: 20; }
.nav { height: 100%; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Oswald", sans-serif; font-size: 21px; letter-spacing: 1.2px; }
.brand strong { color: var(--orange); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; font-size: 24px; font-style: italic; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 7px; height: 7px; border: 2px solid var(--orange); border-radius: 50%; right: -7px; bottom: 2px; background: white; }
.nav-links { display: flex; align-items: center; gap: 38px; margin: 0 auto; }
.nav-links a { color: #555b60; text-decoration: none; font-size: 13px; font-weight: 700; position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--orange); bottom: -12px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-button svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button { background: #f3f3f1; border-radius: 50%; margin-left: 4px; }
.cart-count { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: white; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.menu-toggle { display: none; }

.hero { height: 590px; position: relative; overflow: hidden; background: url("https://images.unsplash.com/photo-1528629297340-d1d466945dc5?auto=format&fit=crop&w=1800&q=90") center 58%/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,15,.84) 0%, rgba(10,13,15,.55) 40%, rgba(10,13,15,.05) 75%); }
.hero-content { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 2; color: white; padding-bottom: 12px; }
.eyebrow { margin: 0 0 15px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 3px; }
.eyebrow.dark { color: var(--orange-dark); }
.hero h1 { margin: 0; font-family: "Oswald", sans-serif; font-size: clamp(58px, 7vw, 92px); line-height: .92; letter-spacing: -2px; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px white; }
.hero-text { max-width: 430px; margin: 24px 0 30px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.7; }
.primary-button { min-width: 168px; height: 50px; background: var(--orange); color: white; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; transition: .25s ease; }
.primary-button span { font-size: 18px; }
.primary-button:hover { background: var(--orange-dark); transform: translateY(-2px); }
.hero-stat { position: absolute; z-index: 3; right: 0; bottom: 0; width: 210px; height: 105px; background: var(--orange); color: white; display: flex; flex-direction: column; justify-content: center; padding-left: 34px; }
.hero-stat strong { font-family: "Oswald", sans-serif; font-size: 23px; }
.hero-stat span { font-size: 11px; margin-top: 4px; }

.section { padding: 82px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-family: "Oswald", sans-serif; font-size: 42px; line-height: 1; letter-spacing: -.5px; }
.heading-line { width: 48%; height: 1px; background: var(--line); margin-bottom: 7px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { height: 350px; border: 0; padding: 0; background: #ddd; position: relative; overflow: hidden; cursor: pointer; text-align: left; color: white; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,14,.82), transparent 65%); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-info { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; display: grid; grid-template-columns: 28px 1fr; align-items: end; }
.category-info small { grid-row: 1 / 3; font-size: 10px; align-self: start; color: var(--orange); font-weight: 800; }
.category-info strong { font-family: "Oswald", sans-serif; font-size: 28px; }
.category-info em { font-style: normal; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; margin-top: 5px; color: rgba(255,255,255,.75); }

.products { background: var(--cream); }
.product-heading { align-items: flex-end; }
.filters { display: flex; gap: 4px; }
.filter { border: 0; background: transparent; color: #777; padding: 9px 11px; font-size: 11px; font-weight: 800; cursor: pointer; border-bottom: 2px solid transparent; }
.filter.active { color: var(--ink); border-color: var(--orange); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; min-height: 400px; }
.product-card { background: white; position: relative; overflow: hidden; transition: .25s ease; }
.product-card:hover { box-shadow: 0 16px 32px rgba(20,20,20,.09); transform: translateY(-4px); }
.product-image { height: 250px; background: #eaeae7; display: grid; place-items: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; left: 12px; top: 12px; background: var(--orange); color: white; font-size: 8px; font-weight: 800; letter-spacing: 1px; padding: 7px 9px; z-index: 2; }
.product-info { padding: 18px 18px 20px; }
.product-category { color: #999; font-size: 9px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; }
.product-info h3 { height: 42px; margin: 7px 0 10px; font-family: "Oswald", sans-serif; font-size: 17px; line-height: 1.25; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 16px; font-weight: 800; }
.old-price { display: block; color: #aaa; font-size: 10px; text-decoration: line-through; font-weight: 500; margin-bottom: 2px; }
.add-button { width: 38px; height: 38px; border: 1px solid var(--line); background: white; color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 20px; transition: .2s ease; }
.add-button:hover { background: var(--orange); border-color: var(--orange); color: white; }
.empty-products { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: #777; }

.benefits { border-top: 1px solid #e9e9e6; background: white; }
.benefit-grid { min-height: 138px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.benefit-grid article { display: flex; align-items: center; gap: 14px; min-height: 64px; border-right: 1px solid var(--line); padding-left: 28px; }
.benefit-grid article:first-child { padding-left: 0; }
.benefit-grid article:last-child { border-right: 0; }
.benefit-grid svg { width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-grid strong, .benefit-grid span { display: block; }
.benefit-grid strong { font-size: 10px; letter-spacing: .5px; }
.benefit-grid span { color: #92969a; font-size: 9px; margin-top: 4px; }

footer { background: var(--ink); color: white; }
.footer-inner { height: 120px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { color: white; }
.footer-brand .brand-mark { border-color: white; }
.footer-brand .brand-mark::after { background: var(--ink); }
.footer-inner p { color: #969da1; font-size: 10px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 32px; height: 32px; border: 1px solid #3d4144; color: white; text-decoration: none; display: grid; place-items: center; font-size: 8px; font-weight: 800; }

.search-panel { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: 190px; background: white; transform: translateY(-100%); transition: transform .35s ease; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.search-panel.open { transform: translateY(0); }
.panel-close { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 28px; line-height: 1; color: #777; }
.search-panel > .panel-close { position: absolute; right: 28px; top: 24px; }
.search-inner { width: min(760px, calc(100% - 48px)); margin: 42px auto 0; }
.search-field { height: 58px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; }
.search-field input { flex: 1; height: 100%; border: 0; outline: 0; font-family: "Oswald", sans-serif; font-size: 24px; }
.search-field svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; }

.drawer-backdrop { position: fixed; z-index: 39; inset: 0; background: rgba(10,12,14,.48); opacity: 0; pointer-events: none; transition: .3s ease; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 40; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: white; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-header { height: 110px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; }
.cart-header h3 { margin: 0; font-family: "Oswald", sans-serif; font-size: 28px; }
.cart-header .eyebrow { margin-bottom: 4px; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 14px 0; }
.cart-item img { width: 76px; height: 76px; object-fit: cover; background: #eee; }
.cart-item h4 { margin: 0 0 6px; font-family: "Oswald", sans-serif; font-size: 14px; }
.cart-item-price { font-size: 11px; font-weight: 800; }
.quantity { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.quantity button { width: 24px; height: 24px; border: 1px solid var(--line); background: white; cursor: pointer; }
.quantity span { font-size: 11px; min-width: 12px; text-align: center; }
.remove-item { align-self: start; border: 0; background: transparent; color: #aaa; cursor: pointer; font-size: 18px; }
.cart-empty { height: 100%; display: grid; place-items: center; color: #999; text-align: center; font-size: 13px; }
.cart-footer { border-top: 1px solid var(--line); padding: 22px 28px 28px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-total span { font-size: 12px; }
.cart-total strong { font-size: 18px; }
.checkout-button { width: 100%; height: 52px; border: 0; background: var(--orange); color: white; font-size: 11px; font-weight: 800; letter-spacing: 1px; cursor: pointer; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 100px); background: var(--ink); color: white; padding: 14px 20px; font-size: 12px; transition: .35s ease; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .nav-links { gap: 20px; }
  .category-card { height: 300px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
  .benefit-grid article { padding-left: 20px; }
  .benefit-grid article:nth-child(2) { border-right: 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1180px); }
  .shipping-bar p { font-size: 8px; letter-spacing: 1.5px; }
  .header { height: 68px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .menu-toggle { display: flex; width: 38px; height: 38px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; margin-left: auto; }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); width: 22px; transition: .2s ease; }
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; background: white; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 16px 20px; box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav-links a.active::after { display: none; }
  .nav-actions { margin-left: 4px; }
  .icon-button { width: 38px; height: 38px; }
  .hero { height: 520px; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,13,15,.86), rgba(10,13,15,.25)); }
  .hero h1 { font-size: 50px; }
  .hero-text { max-width: 310px; }
  .hero-stat { width: 150px; height: 82px; padding-left: 20px; }
  .hero-stat strong { font-size: 18px; }
  .section { padding: 58px 0; }
  .section-heading h2 { font-size: 34px; }
  .heading-line { width: 30%; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { height: 260px; }
  .product-heading { display: block; }
  .filters { margin-top: 20px; overflow-x: auto; padding-bottom: 5px; }
  .filter { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-image { height: 180px; }
  .product-info { padding: 14px 12px 16px; }
  .product-info h3 { font-size: 15px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .benefit-grid article:nth-child(3) { border-bottom: 0; }
  .benefit-grid article:nth-child(4) { border-bottom: 0; }
  .footer-inner { height: 150px; flex-direction: column; justify-content: center; gap: 16px; }
  .search-panel { height: 170px; }
  .search-inner { margin-top: 38px; }
  .search-field input { font-size: 17px; }
}

@media (max-width: 420px) {
  .nav-actions { gap: 0; }
  #searchButton { display: none; }
  .hero h1 { font-size: 43px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 280px; }
  .benefit-grid article { gap: 8px; }
  .benefit-grid svg { width: 28px; }
}
