:root {
  --orange: #ff5a00;
  --orange-dark: #dc4300;
  --blue: #0758f5;
  --ink: #15171a;
  --muted: #69717c;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --line: #e2e6eb;
  --black: #08090b;
  --shadow: 0 16px 38px rgba(19, 29, 43, .11);
  --font: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 138px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--font); line-height: 1.5; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { margin-bottom: 8px; }
.shell { width: min(100% - 40px, 1460px); margin-inline: auto; }
.section { padding: 88px 0; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0,0,0,0); white-space: nowrap; }
.eyebrow { margin-bottom: 9px; color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 5px; padding: 11px 18px; color: #fff; background: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button svg { width: 17px; height: 17px; }
.button:hover, .button:focus-visible { box-shadow: 0 10px 22px rgba(0, 88, 245, .2); transform: translateY(-2px); }
.button--orange { background: var(--orange); }
.button--orange:hover, .button--orange:focus-visible { background: var(--orange-dark); box-shadow: 0 10px 22px rgba(255, 90, 0, .24); }
.button--dark { background: var(--black); }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease; }
.icon-button:hover, .icon-button:focus-visible { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.icon-button svg { width: 19px; height: 19px; }

.promo-bar { color: #fff; background: var(--black); }
.promo-bar__inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 20px; }
.promo-bar p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .68rem; }
.promo-bar strong { color: var(--orange); }
.promo-bar nav { display: flex; gap: 20px; }
.promo-bar a { display: flex; align-items: center; gap: 5px; color: #e5e8ed; font-size: .64rem; font-weight: 600; }
.promo-bar svg { width: 14px; height: 14px; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.site-header__main { display: flex; min-height: 78px; align-items: center; gap: 20px; }
.menu-toggle { display: none; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; font-size: 1.72rem; font-weight: 900; letter-spacing: -.04em; }
.brand svg { width: 33px; height: 33px; color: var(--orange); stroke-width: 2.5; }
.brand strong { color: var(--orange); text-transform: uppercase; }
.header-search { display: grid; min-width: 0; flex: 1 1 auto; grid-template-columns: 158px 1fr 52px; margin-left: 18px; }
.header-search select, .header-search input { min-width: 0; height: 46px; border: 1px solid var(--line); padding: 0 13px; background: #fff; }
.header-search select { border-radius: 5px 0 0 5px; color: var(--ink); font-size: .72rem; }
.header-search input { border-right: 0; border-left: 0; }
.header-search button { display: grid; width: 52px; border: 0; border-radius: 0 5px 5px 0; place-items: center; color: #fff; background: var(--orange); }
.header-search button svg { width: 20px; }
.account-link, .cart-trigger { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.mobile-search-toggle { display: none; }
.account-link svg, .cart-trigger svg { width: 24px; height: 24px; }
.account-link { font-size: .68rem; }
.account-link small, .cart-trigger small { display: block; font-weight: 800; }
.cart-trigger { border: 0; padding: 0; background: transparent; color: var(--ink); font-size: .66rem; text-align: left; }
.cart-trigger__icon { position: relative; }
.cart-trigger__icon b { position: absolute; display: grid; min-width: 17px; height: 17px; place-items: center; top: -10px; right: -9px; border-radius: 50%; color: #fff; background: var(--orange); font-size: .59rem; }
.category-nav-wrap { border-top: 1px solid var(--line); background: #fff; }
.category-nav { display: flex; overflow-x: auto; align-items: center; gap: 2px; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav button { display: inline-flex; min-height: 46px; flex: 0 0 auto; align-items: center; gap: 7px; border: 0; padding: 0 15px; color: var(--ink); background: transparent; font-size: .71rem; font-weight: 700; transition: color 180ms ease, background 180ms ease; }
.category-nav button:hover, .category-nav button.is-active { color: var(--orange); background: #fff4ee; }
.category-nav svg { width: 17px; }

.hero { position: relative; display: grid; overflow: hidden; height: clamp(300px, 21vw, 340px); min-height: 0; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; margin-top: 20px; border-radius: 7px; padding: 24px 36px; color: #fff; background: var(--black) url("../images/demo-ecommerce-hero-desktop.webp") center / cover no-repeat; }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.76) 39%, rgba(0,0,0,.08) 72%); content: ""; }
.hero__content, .hero__discount, .hero__dots { position: relative; z-index: 1; }
.hero__content { max-width: 560px; }
.hero h1 { margin-bottom: 10px; font-size: clamp(2rem, 2.8vw, 3.2rem); letter-spacing: -.05em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__content > p:not(.eyebrow) { max-width: 450px; color: #f2f3f5; font-size: .86rem; }
.hero__discount { align-self: center; justify-self: end; text-align: right; text-transform: uppercase; }
.hero__discount span, .hero__discount b { display: block; color: #fff; font-size: .86rem; font-weight: 900; }
.hero__discount strong { display: block; color: var(--orange); font-size: 5rem; font-weight: 900; letter-spacing: -.12em; line-height: .88; }
.hero__discount strong small { font-size: 2.5rem; letter-spacing: -.08em; }
.hero__discount p { margin: 6px 0 0; color: #fff; font-size: .67rem; text-transform: none; }
.hero__dots { position: absolute; display: flex; gap: 7px; bottom: 14px; left: 50%; transform: translateX(-50%); }
.hero__dots span { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.hero__dots .is-active { background: var(--orange); }
.quick-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 14px; }
.quick-categories button { display: flex; min-height: 58px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; color: var(--ink); background: #fff; text-align: left; transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.quick-categories button:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 9px 20px rgba(20,27,39,.07); transform: translateY(-3px); }
.quick-categories svg { flex: 0 0 auto; width: 24px; color: var(--orange); }
.quick-categories button:nth-child(2) svg { color: var(--blue); }
.quick-categories button:nth-child(3) svg { color: #8748e7; }
.quick-categories button:nth-child(4) svg { color: #55a80a; }
.quick-categories button:nth-child(5) svg { color: #10a8ad; }
.quick-categories button:nth-child(6) svg { color: #e7a800; }
.quick-categories span, .quick-categories small { display: block; font-size: .72rem; font-weight: 700; }

.products { padding-top: 16px; background: #fff; }
.section-heading { margin-bottom: 12px; }
.section-heading--split { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.products .section-heading > div:first-child { display: flex; align-items: center; gap: 14px; }
.products .section-heading .eyebrow { margin: 0; padding-right: 14px; border-right: 1px solid var(--line); font-size: .64rem; }
.products .section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.products-toolbar { display: flex; align-items: center; gap: 15px; }
.products-toolbar p { margin: 0; color: var(--muted); font-size: .8rem; }
.products-toolbar button { border: 0; padding: 0; color: var(--blue); background: transparent; font-size: .75rem; font-weight: 800; }
.active-filter { display: inline-flex; align-items: center; gap: 7px; margin: -10px 0 18px; border-radius: 20px; padding: 5px 6px 5px 11px; color: #fff; background: var(--orange); font-size: .7rem; font-weight: 800; }
.active-filter button { display: grid; width: 20px; height: 20px; place-items: center; border: 0; border-radius: 50%; color: var(--orange); background: #fff; }
.active-filter svg { width: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 250px)); justify-content: start; align-items: start; gap: 14px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: box-shadow 180ms ease, transform 180ms ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.product-card[hidden] { display: none; }
.product-card__image { position: relative; display: grid; height: 214px; place-items: center; overflow: hidden; padding: 14px; background: var(--soft); }
.product-card__image > span { position: absolute; z-index: 2; top: 10px; left: 10px; border-radius: 4px; padding: 5px 7px; color: #fff; background: var(--blue); font-size: .62rem; font-weight: 900; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform 240ms ease; }
.product-card:hover .product-card__image img { transform: scale(1.055); }
.favorite-button { position: absolute; display: grid; z-index: 2; width: 34px; height: 34px; place-items: center; top: 8px; right: 8px; border: 0; color: #a2a8af; background: transparent; }
.favorite-button svg { width: 19px; }
.favorite-button[aria-pressed="true"] { color: var(--orange); }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.product-card__body { padding: 14px; }
.product-card__category { margin-bottom: 5px; color: var(--blue); font-size: .61rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { min-height: 43px; margin-bottom: 8px; font-size: .87rem; font-weight: 700; }
.rating { margin-bottom: 7px; color: #979fa9; font-size: .66rem; }
.rating span { color: #ffa000; letter-spacing: .06em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-bottom: 11px; }
.price strong { color: var(--orange); font-size: 1.05rem; }
.price del { color: #9fa5ab; font-size: .68rem; }
.product-card__actions { display: flex; align-items: center; gap: 6px; }
.button--buy { min-height: 38px; flex: 1 1 auto; padding: 8px; background: var(--blue); font-size: .64rem; }
.button--buy:hover { background: #0046cc; }
.product-card__actions .icon-button { width: 38px; height: 38px; flex: 0 0 auto; }
.empty-message { border: 1px solid var(--line); border-radius: 6px; padding: 26px; color: var(--muted); background: var(--soft); text-align: center; }

.editorial { padding: 58px 0; background: var(--soft); }
.editorial__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr); align-items: center; gap: 44px; }
.editorial__image { position: relative; display: grid; overflow: hidden; border-radius: 7px; place-items: center; background: #edf0f4; box-shadow: var(--shadow); isolation: isolate; }
.editorial__image::before { position: absolute; z-index: -1; inset: -18px; background: url("../images/demo-ecommerce-categoria-eletronicos.webp") center / cover no-repeat; content: ""; filter: blur(14px); opacity: .42; transform: scale(1.04); }
.editorial__image::after { position: absolute; z-index: -1; inset: 0; background: rgba(255,255,255,.22); content: ""; }
.editorial__image img { width: 100%; height: 390px; object-fit: contain; }
.editorial p:not(.eyebrow) { color: var(--muted); }
.editorial ul, .product-modal ul { display: grid; gap: 8px; margin: 20px 0 25px; padding: 0; list-style: none; }
.editorial li, .product-modal li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; }
.editorial li svg, .product-modal li svg { width: 17px; color: var(--orange); }
.benefits { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits__grid > div { display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); padding: 10px 20px; }
.benefits__grid > div:last-child { border-right: 0; }
.benefits svg { width: 25px; color: var(--orange); }
.benefits span, .benefits strong, .benefits small { display: block; }
.benefits strong { font-size: .82rem; }
.benefits small { color: var(--muted); font-size: .68rem; }
.newsletter { color: #fff; background: #11151b; }
.newsletter__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(460px,.72fr); align-items: center; gap: 36px; }
.newsletter h2 { max-width: 720px; margin-bottom: 0; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.newsletter input { min-width: 0; border: 1px solid #3b414b; border-radius: 5px; padding: 0 13px; background: #fff; }
.newsletter form p { grid-column: 1 / -1; min-height: 22px; margin: 0; color: #a9d5a5; font-size: .74rem; font-weight: 700; }
.denner-cta { padding: 36px 0; color: #fff; background: #082d3c; }
.denner-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.denner-cta h2 { max-width: 900px; margin-bottom: 0; font-size: clamp(1.7rem, 2.7vw, 2.8rem); }
.site-footer { padding: 32px 0; color: #fff; background: #05080c; }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 27px; }
.site-footer p { margin: 0; color: #aeb6c1; font-size: .76rem; }
.site-footer__grid > a:last-child { color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

.drawer-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(0,0,0,.54); }
.cart-drawer { position: fixed; display: flex; z-index: 41; width: min(92vw, 430px); top: 0; right: 0; bottom: 0; flex-direction: column; background: #fff; box-shadow: -12px 0 42px rgba(0,0,0,.2); transform: translateX(105%); transition: transform 220ms ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 20px; }
.cart-drawer__header h2 { margin: 0; font-size: 1.8rem; }
.cart-drawer__items { display: grid; overflow-y: auto; gap: 12px; padding: 16px; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-item img { width: 74px; height: 74px; border-radius: 5px; object-fit: contain; background: var(--soft); }
.cart-item h3 { margin-bottom: 4px; font-size: .76rem; }
.cart-item strong { color: var(--orange); font-size: .78rem; }
.cart-item__controls { display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.cart-item__controls button { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.cart-item__controls svg { width: 12px; }
.cart-item__remove { border: 0; color: #a3a9b0; background: transparent; }
.cart-item__remove:hover { color: var(--orange); }
.cart-item__remove svg { width: 17px; }
.cart-empty { display: grid; flex: 1; place-content: center; padding: 30px; color: var(--muted); text-align: center; }
.cart-empty svg { width: 38px; height: 38px; margin: 0 auto 11px; color: var(--orange); }
.cart-empty h3 { color: var(--ink); font-size: 1.18rem; }
.cart-empty p { max-width: 280px; font-size: .83rem; }
.cart-drawer__footer { margin-top: auto; border-top: 1px solid var(--line); padding: 18px; }
.cart-drawer__footer p { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.cart-drawer__footer strong { color: var(--orange); font-size: 1.15rem; }
.cart-drawer__footer .button { width: 100%; }
.cart-drawer__footer small { display: block; margin-top: 9px; color: var(--muted); font-size: .64rem; text-align: center; }
.product-modal, .checkout-modal { max-width: none; border: 0; border-radius: 7px; padding: 0; box-shadow: 0 24px 78px rgba(0,0,0,.26); }
.product-modal::backdrop, .checkout-modal::backdrop { background: rgba(0,0,0,.7); }
.product-modal { width: min(92vw, 860px); }
.product-modal__grid { display: grid; grid-template-columns: .92fr 1.08fr; }
.product-modal__grid > img { width: 100%; height: 100%; min-height: 440px; object-fit: contain; background: var(--soft); }
.product-modal__body { padding: 31px; }
.product-modal__body h2 { font-size: 2rem; }
.product-modal__body > p:not(.eyebrow,.rating,.price) { color: var(--muted); font-size: .86rem; }
.product-modal__close, .checkout-modal__close { position: absolute; z-index: 2; top: 12px; right: 12px; }
.checkout-modal { width: min(92vw, 510px); padding: 34px; text-align: center; }
.checkout-modal__icon { width: 52px; height: 52px; color: var(--orange); }
.checkout-modal h2 { font-size: 2rem; }
.checkout-modal > p:not(.eyebrow) { color: var(--muted); }

@media (max-width: 1180px) {
  .shell { width: min(100% - 32px, 1140px); }
  .header-search { margin-left: 0; }
  .account-link { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 244px)); }
  .quick-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 76px; }
  .shell { width: min(100% - 24px, 720px); }
  .section { padding: 64px 0; }
  .promo-bar nav { display: none; }
  .promo-bar__inner { justify-content: center; }
  .site-header__main { min-height: 68px; gap: 10px; }
  .menu-toggle { display: grid; border: 0; }
  .brand { font-size: 1.34rem; }
  .brand svg { width: 27px; }
  .header-search { position: absolute; display: none; top: 68px; right: 0; left: 0; grid-template-columns: 1fr 48px; padding: 10px 12px; background: #fff; box-shadow: var(--shadow); }
  .header-search.is-open { display: grid; }
  .header-search select { display: none; }
  .header-search input { border: 1px solid var(--line); border-right: 0; border-radius: 5px 0 0 5px; }
  .mobile-search-toggle { display: grid; border: 0; order: 3; }
  .cart-trigger { margin-left: auto; order: 4; }
  .cart-trigger > span:last-child { display: none; }
  .category-nav-wrap { position: fixed; z-index: 30; width: min(86vw, 340px); top: 0; bottom: 0; left: 0; padding-top: 82px; background: #fff; box-shadow: 12px 0 35px rgba(0,0,0,.18); transform: translateX(-105%); transition: transform 220ms ease; }
  .category-nav-wrap.is-open { transform: translateX(0); }
  .category-nav { display: grid; width: 100%; gap: 0; padding: 0 15px; }
  .category-nav button { border-bottom: 1px solid var(--line); padding: 0 10px; }
  .hero { min-height: 560px; grid-template-columns: 1fr; align-items: end; margin-top: 16px; padding: 28px 24px 48px; background-image: url("../images/demo-ecommerce-hero-mobile.webp"); background-position: center; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.32) 42%, rgba(0,0,0,.96) 100%); }
  .hero h1 { font-size: clamp(2.2rem, 8.8vw, 3.8rem); }
  .hero__discount { display: none; }
  .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 13px; }
  .quick-categories button { min-height: 60px; padding: 9px; }
  .quick-categories svg { width: 23px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card__body { padding: 11px; }
  .product-card h3 { min-height: 47px; font-size: .78rem; }
  .product-card__image { height: 158px; padding: 11px; }
  .product-card__actions .icon-button { display: none; }
  .button--buy { min-height: 36px; font-size: .58rem; }
  .editorial__grid, .newsletter__inner { grid-template-columns: 1fr; gap: 25px; }
  .editorial { padding: 42px 0; }
  .editorial__image img { height: min(62vw, 320px); }
  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits__grid > div { border-bottom: 1px solid var(--line); padding: 13px 8px; }
  .newsletter form { grid-template-columns: 1fr; }
  .denner-cta__inner, .site-footer__grid { display: grid; grid-template-columns: 1fr; }
  .product-modal__grid { grid-template-columns: 1fr; }
  .product-modal__grid > img { min-height: 210px; max-height: 280px; }
  .product-modal__body { padding: 24px; }
}

@media (max-width: 420px) {
  .shell { width: min(100% - 18px, 400px); }
  .brand { font-size: 1.18rem; }
  .brand svg { width: 24px; }
  .quick-categories span, .quick-categories small { font-size: .64rem; }
  .section-heading--split { display: block; }
  .products .section-heading > div:first-child { display: block; }
  .products .section-heading .eyebrow { margin-bottom: 4px; padding-right: 0; border-right: 0; }
  .products .section-heading h2 { font-size: 1.65rem; }
  .products-toolbar { justify-content: space-between; }
  .product-card__image > span { font-size: .54rem; }
  .favorite-button { top: 4px; right: 4px; }
  .product-card__category { font-size: .53rem; }
  .price { display: block; }
  .price strong, .price del { display: block; }
  .product-modal__body h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
