:root {
  --db-bg: #4e5161;
  --db-dark: #222227;
  --db-footer: #1b1b20;
  --db-card: #616478;
  --db-text: #eaeaea;
  --db-accent: #fe4713;
}

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('../cdn/fonts/inter/inter_n4.b2a3f24c19b4de56e8871f609e73ca7f6d2e2bb9.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('../cdn/fonts/inter/inter_n6.771af0474a71b3797eb38f3487d6fb79d43b6877.woff2') format('woff2'); }
@font-face { font-family: Oswald; font-style: normal; font-weight: 400; font-display: swap; src: url('../cdn/fonts/oswald/oswald_n4.7760ed7a63e536050f64bb0607ff70ce07a480bd.woff2') format('woff2'); }
@font-face { font-family: Oswald; font-style: normal; font-weight: 600; font-display: swap; src: url('../cdn/fonts/oswald/oswald_n6.26b6bffb711f770c328e7af9685d4798dcb4f0b3.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--db-bg); color: var(--db-text); font-family: Inter, Arial, sans-serif; }
a { color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.announcement-bar { min-height: 34px; background: var(--db-accent); color: #fff; text-align: center; font-size: 13px; font-weight: 600; }
.announcement-bar--inner { padding: 9px 16px; }
.header { background: var(--db-dark); color: #fff; position: relative; z-index: 20; }
.db-header-inner { min-height: 80px; display: grid; grid-template-columns: 1fr minmax(220px, 320px) 1fr; align-items: center; gap: 16px; padding: 0 36px; }
.db-header-mobile-left, .db-secondary-area { display: flex; align-items: center; gap: 14px; }
.db-secondary-area { justify-content: flex-end; }
.logolink { display: flex; justify-content: center; }
.logoimg { display: block; width: min(100%, 250px); height: auto; }
.db-menu-toggle, .db-search-trigger, .db-account-link, .db-cart-link, .db-search-close { border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: none; }
.db-menu-toggle { display: flex; width: 28px; flex-direction: column; gap: 5px; padding: 4px 0; }
.db-menu-toggle span { display: block; height: 2px; background: #fff; }
.db-search-trigger { font-size: 27px; line-height: 1; }
.db-account-link { font-size: 26px; }
.db-cart-link { position: relative; font-size: 20px; }
.db-cart-link b { position: absolute; top: -10px; right: -12px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--db-accent); font-size: 11px; }
.db-mobile-menu { display: none; background: var(--db-dark); padding: 0 24px 20px; }
.db-mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid #454545; text-decoration: none; font-size: 14px; }
.db-search-panel { position: absolute; inset: 100% 0 auto; padding: 28px max(20px, 8vw) 30px; border-top: 3px solid #65422e; background: #27282e; }
.db-search-panel form { display: grid; grid-template-columns: 1fr 44px; border-bottom: 1px solid #48494f; }
.db-search-panel input { width: 100%; height: 58px; border: 0; outline: 0; background: transparent; color: #fff; font: 400 24px/1.2 Inter, sans-serif; }
.db-search-panel input::placeholder { color: #a9a9ae; }
.db-search-close { font-size: 32px; }
.db-hero { position: relative; height: min(750px, calc(100vh - 114px)); min-height: 500px; overflow: hidden; }
.db-hero picture { position: relative; z-index: 0; display: block; width: 100%; height: 100%; }
.db-hero img { position: relative; z-index: 0; display: block; width: 100%; height: 100%; }
.db-hero img { object-fit: cover; object-position: center; }
.db-hero__overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(9deg, rgba(8,38,13,1), rgba(0,0,0,.4) 33%, rgba(0,0,0,.4) 42%); }
.db-hero__content { position: absolute; z-index: 2; inset: auto 16px 8%; display: flex; align-items: center; flex-direction: column; text-align: center; }
.db-hero h1, .db-section-heading h2, .db-social-gallery h2, .db-archive-header h1, .db-page-content h1 { margin: 0 0 24px; color: #fff; font-family: Oswald, Arial, sans-serif; font-weight: 600; }
.db-hero h1 { font-size: clamp(32px, 4vw, 54px); }
.db-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.db-hero__actions a { min-width: 180px; padding: 13px 20px; border: 2px solid #fff; border-radius: 6px; color: #fff; text-decoration: none; font-weight: 600; }
.section-spacing { padding: 56px max(16px, 6vw); }
.db-section-heading, .db-social-gallery > h2 { text-align: center; }
.db-section-heading p, .db-archive-header p, .db-product-summary__vendor { margin: 0 0 8px; color: #c8c9cf; letter-spacing: .12em; font-size: 14px; font-weight: 600; }
.db-product-grid, .db-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1440px; margin: 0 auto; }
.db-product-card { min-width: 0; overflow: hidden; background: var(--db-card); }
.db-product-card__image { position: relative; display: grid; aspect-ratio: 1 / .78; place-items: center; overflow: hidden; }
.db-product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.db-product-card__image img + img { position: absolute; inset: 0; opacity: 0; }
.db-product-card:hover .db-product-card__image img + img { opacity: 1; }
.db-product-card__info { padding: 16px; }
.db-product-card__brand { margin: 0 0 4px; color: #dadce0; font-size: 11px; letter-spacing: .1em; }
.db-product-card h2 { margin: 0 0 8px; font-family: Oswald, Arial, sans-serif; font-size: 21px; }
.db-product-card h2 a { text-decoration: none; }
.db-product-card__price { color: #fff; font-weight: 600; }
.db-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.db-category-card { position: relative; display: block; min-height: 260px; overflow: hidden; }
.db-category-card::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.db-category-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.db-category-card span { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; color: #fff; font: 600 27px Oswald, Arial, sans-serif; text-align: center; }
.db-social-gallery { background: #555867; }
.db-social-gallery__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.db-social-gallery__grid img { display: block; width: 100%; aspect-ratio: 1 / 1.25; object-fit: cover; }
.db-archive-page, .db-page-content { min-height: 60vh; padding: 64px max(16px, 6vw); }
.db-archive-header { max-width: 1440px; margin: 0 auto 36px; text-align: center; }
.db-archive-header h1 { font-size: clamp(32px, 5vw, 54px); }
.db-breadcrumb-wrap, .db-product-breadcrumbs { max-width: 1440px; margin: 0 auto 28px; }
.db-breadcrumbs { display: flex; gap: 10px; align-items: center; color: #fff; }
.db-breadcrumbs a { text-decoration: underline; }
.db-product-page { max-width: 1440px; margin: 0 auto; padding: 0 max(16px, 4vw) 72px; }
.db-product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.db-product-gallery { min-width: 0; }
.db-product-gallery__main { position: relative; display: grid; place-items: center; min-height: 480px; background: var(--db-bg); }
.db-product-gallery__image { display: none; width: 100%; margin: 0; }
.db-product-gallery__image.is-active { display: block; }
.db-product-gallery__image img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.db-product-gallery__dots { display: flex; justify-content: center; gap: 10px; padding: 18px; }
.db-product-gallery__dots span { display: block; width: 10px; height: 10px; border-radius: 50%; background: #898b98; }
.db-product-gallery__dots span.is-active { width: 36px; border-radius: 10px; background: #fff; }
.db-product-summary { min-width: 0; padding-top: 36px; }
.db-product-summary__vendor { font-size: 16px; }
.db-product-summary h1 { margin: 0 0 16px; color: #fff; font: 600 clamp(30px, 4vw, 44px) Oswald, Arial, sans-serif; }
.db-product-summary__price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 24px; color: #e2e2e2; font-size: 28px; font-weight: 600; }
.db-inventory-badge { padding: 8px 14px; border-radius: 18px; background: #747474; color: #fff; font-size: 14px; }
.db-size-selector { margin: 20px 0 24px; }
.db-size-selector__label { margin-bottom: 12px; color: #fff; font-size: 17px; font-weight: 600; }
.db-geometry-link { margin-left: 18px; font-weight: 400; }
.db-size-selector__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.db-size-selector__options input { position: absolute; opacity: 0; pointer-events: none; }
.db-size-selector__options label { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #343640; color: #eaeaea; text-align: center; cursor: pointer; font-size: 13px; }
.db-size-selector__options input:checked + label { border-color: #fff; }
.quantity { margin: 0 0 12px; }
.quantity input { width: 80px; min-height: 44px; padding: 8px; border: 1px solid #454545; background: transparent; color: #fff; }
.db-variation-form .single_add_to_cart_button, .db-simple-cart .single_add_to_cart_button { width: 100%; min-height: 58px; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; color: #1b1b20; cursor: pointer; font: 500 16px Inter, Arial, sans-serif; }
.db-variation-form .single_add_to_cart_button:hover, .db-simple-cart .single_add_to_cart_button:hover { background: #1b1b20; color: #fff; }
.db-variation-form .single_add_to_cart_button:disabled { cursor: not-allowed; opacity: .55; }
.db-product-description { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.2); }
.db-product-description summary { display: flex; justify-content: space-between; padding: 20px 0; color: #fff; cursor: pointer; font-size: 20px; }
.db-product-description .rte { padding-bottom: 20px; color: #eaeaea; line-height: 1.6; }
.db-footer { padding: 56px max(16px, 6vw) 24px; background: var(--db-footer); color: #dadce0; }
.db-footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.db-footer h2 { margin: 0 0 16px; color: #fff; font: 600 16px Oswald, Arial, sans-serif; }
.db-footer a { display: block; margin-bottom: 10px; color: #aaaeb6; text-decoration: none; font-size: 14px; }
.db-footer a:hover { color: #fff; }
.db-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #454545; color: #aaaeb6; font-size: 12px; }
.db-search-page .db-archive-header { max-width: 1440px; margin: 0 auto 28px; }
.db-search-page .db-empty-state { max-width: 1440px; margin: 0 auto; }

/* Homepage composition mirrors the captured React storefront. */
.db-header-inner { grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto; }
.db-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); }
.db-desktop-nav a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.db-desktop-nav a:hover { color: var(--db-accent); }
.db-home-featured { padding: 38px max(16px, 6vw) 20px; background: var(--db-bg); }
.db-home-featured__rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1440px; margin: 0 auto; }
.db-home-product-card { min-width: 0; overflow: hidden; background: var(--db-card); }
.db-home-product-card__image { display: grid; width: 100%; aspect-ratio: 1 / .817; place-items: center; overflow: hidden; }
.db-home-product-card__image img { width: 90%; height: 90%; object-fit: contain; transition: transform .3s ease; }
.db-home-product-card:hover .db-home-product-card__image img { transform: scale(1.03); }
.db-home-product-card__info { padding: 20px 25px 24px; }
.db-home-product-card__info > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.db-home-product-card__price { color: #fff; font-size: 18px; font-weight: 700; }
.db-home-product-card__info > a { display: inline-block; margin-top: 9px; color: #fff; font-size: 14px; text-decoration: none; }
.db-home-product-card .db-inventory-badge { padding: 5px 10px; background: rgba(0, 0, 0, .25); font-size: 11px; }
.db-home-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px max(16px, 6vw); background: var(--db-bg); }
.db-home-media-card { position: relative; display: block; min-height: 300px; overflow: hidden; color: #fff; text-decoration: none; }
.db-home-media-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, .6)); }
.db-home-media-card img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .35s ease; }
.db-home-media-card:hover img { transform: scale(1.03); }
.db-home-media-card span { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; color: #fff; font: 600 clamp(28px, 3vw, 42px) Oswald, Arial, sans-serif; text-align: center; }
.db-home-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 20px max(16px, 6vw) 0; background: var(--db-dark); color: #fff; }
.db-home-story__image img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.db-home-story__content { display: flex; justify-content: center; flex-direction: column; padding: clamp(36px, 6vw, 92px); }
.db-home-story__content h2 { margin: 0 0 24px; color: #fff; font: 600 clamp(32px, 4vw, 54px) Oswald, Arial, sans-serif; }
.db-home-story__content h2::after { display: block; width: 120px; height: 5px; margin-top: 12px; background: var(--db-accent); content: ''; transform: rotate(-2deg); }
.db-home-story__content p { max-width: 510px; margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }

/* Product page: gallery, controls, and product information retain the original layout hierarchy. */
.db-product-page { max-width: 1560px; padding-top: 32px; }
.db-product-layout { grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(34px, 7vw, 112px); }
.db-product-gallery__main { min-height: 620px; overflow: hidden; }
.db-product-gallery__image { height: 100%; }
.db-product-gallery__image img { width: 100%; height: 620px; max-height: none; object-fit: contain; }
.db-product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.db-product-gallery__thumbs button { min-height: 92px; padding: 4px; border: 1px solid transparent; background: #5b5e6f; cursor: pointer; }
.db-product-gallery__thumbs button.is-active { border-color: #fff; }
.db-product-gallery__thumbs img { display: block; width: 100%; height: 82px; object-fit: contain; }
.db-gallery-control, .db-gallery-expand { position: absolute; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border: 0; background: rgba(34, 34, 39, .88); color: #fff; cursor: pointer; font-size: 32px; line-height: 1; }
.db-gallery-control--previous { top: 50%; left: 16px; transform: translateY(-50%); }
.db-gallery-control--next { top: 50%; right: 16px; transform: translateY(-50%); }
.db-gallery-expand { top: 16px; right: 16px; font-size: 23px; }
.db-product-summary { padding-top: 50px; }
.db-product-summary h1 { margin-bottom: 14px; font-size: clamp(38px, 4vw, 58px); }
.db-product-summary__price { margin-bottom: 30px; font-size: 30px; }
.db-size-selector__options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.db-size-selector__options label { min-height: 58px; font-size: 14px; }
.db-variation-form .single_add_to_cart_button, .db-simple-cart .single_add_to_cart_button { min-height: 64px; font-size: 18px; }

@media (max-width: 768px) {
  .db-header-inner { min-height: 54px; grid-template-columns: 84px minmax(0, 1fr) 84px; padding: 0 10px; }

  .db-desktop-nav { display: none; }
  .db-secondary-area { justify-content: flex-end; gap: 8px; }
  .db-account-link { font-size: 22px; }
  .db-cart-link { font-size: 17px; }
  .logoimg { max-width: 190px; }
  .db-hero { height: clamp(500px, calc(100svh - 88px), 656px); min-height: 500px; }
  .db-hero__content { bottom: 7%; }
  .db-hero h1 { font-size: 34px; margin-bottom: 24px; }
  .db-hero__actions { width: 100%; gap: 18px; flex-direction: column; align-items: center; }
  .db-hero__actions a { min-width: 164px; padding: 12px 14px; font-size: 13px; }
  .section-spacing { padding: 32px 12px; }
  .db-product-grid, .db-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .db-category-grid .db-category-card:last-child { grid-column: 1 / -1; }
  .db-category-card, .db-category-card img { min-height: 180px; }
  .db-category-card span { font-size: 20px; }
  .db-social-gallery__grid { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; }
  .db-social-gallery__grid img { flex: 0 0 78%; scroll-snap-align: start; aspect-ratio: 1 / 1; }
  .db-archive-page, .db-page-content { padding: 36px 12px; }
  .db-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .db-product-page { padding: 0 12px 44px; }
  .db-product-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .db-product-gallery__main { min-height: 320px; }

  .db-home-featured { padding: 16px 10px 10px; overflow: hidden; }
  .db-home-featured__rail { display: flex; width: 100%; gap: 8px; overflow-x: auto; padding: 0 2px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .db-home-featured__rail::-webkit-scrollbar { display: none; }
  .db-home-product-card { flex: 0 0 calc(50vw - 14px); scroll-snap-align: start; }
  .db-home-product-card__info { padding: 10px; }
  .db-home-product-card__price { font-size: 13px; }
  .db-home-product-card__info > a { margin-top: 6px; font-size: 12px; }
  .db-home-product-card .db-inventory-badge { padding: 4px 7px; font-size: 9px; }
  .db-home-media-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .db-home-media-card, .db-home-media-card img { min-height: 250px; }
  .db-home-media-card span { bottom: 16px; font-size: 30px; }
  .db-home-story { grid-template-columns: 1fr; margin: 12px; }
  .db-home-story__image img { min-height: 300px; }
  .db-home-story__content { padding: 34px 24px 42px; }
  .db-home-story__content h2 { font-size: 35px; }
  .db-home-story__content p { font-size: 16px; }
  .db-product-page { padding-top: 18px; }
  .db-product-gallery__main { min-height: 360px; }
  .db-product-gallery__image img { height: 360px; }
  .db-product-gallery__thumbs { display: none; }
  .db-gallery-control { display: none; }
  .db-gallery-expand { top: 10px; right: 10px; width: 38px; height: 38px; }
  .db-size-selector__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db-product-summary { padding-top: 22px; }
  .db-product-summary h1 { font-size: 30px; }
  .db-product-summary__price { font-size: 25px; }
  .db-footer { padding: 36px 16px 20px; }
  .db-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .db-footer-newsletter { grid-column: 1 / -1; }
  .db-footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .db-size-selector__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .db-footer-newsletter { grid-column: auto; }
}
