:root {
  --ink: #101414;
  --muted: #5d6665;
  --blue: #042962;
  --paper: #f1f0ed;
  --white: #fff;
  --red: #b4232f;
  --line: rgba(16, 20, 20, .16);
  --header-height: 68px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { min-width: 320px; max-width: 100%; margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.45; overflow-x: clip; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.icon { width: 20px; height: 20px; display: block; object-fit: contain; }
.mobile-only { display: none; }

.site-header { height: var(--header-height); padding: 0 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(255, 255, 255, .96); position: fixed; inset: 0 0 auto; z-index: 80; border-bottom: 1px solid var(--line); transform: translate3d(0, 0, 0); transition: transform 220ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; will-change: transform; }
.site-header--hidden { transform: translate3d(0, -100%, 0); }
main { padding-top: var(--header-height); }
.home-page main { padding-top: 0; }
.home-page .site-header { color: white; background: transparent; border-color: transparent; }
.home-page.header-scrolled .site-header { color: var(--ink); background: rgba(255, 255, 255, .96); border-color: var(--line); }
.home-page.header-scrolled .site-header .mobile-only.icon { filter: none; }
.home-page.drawer-open .site-header { position: fixed; color: var(--ink); background: var(--paper); border-color: var(--line); }
.brand { font-size: 17px; letter-spacing: .24em; white-space: nowrap; }
.header-nav { justify-self: end; display: flex; align-items: center; gap: 24px; text-transform: uppercase; font-size: 11px; }
.header-action { border: 0; background: transparent; padding: 12px 0; text-transform: uppercase; font-size: 11px; }
.menu-trigger { justify-self: start; }
.icon-action { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.cart-badge { position: absolute; right: -6px; top: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: white; font-size: 9px; line-height: 16px; text-align: center; }
.site-header a, .site-header button { transition: opacity 160ms ease, transform 160ms var(--ease-out); }
.site-header a:active, .site-header button:active, .button:active { transform: scale(.97); }

.drawer { position: fixed; z-index: 100; top: 0; bottom: 0; width: min(460px, 92vw); background: var(--paper); padding: 28px; transition: transform 300ms var(--ease-drawer); overflow: auto; overscroll-behavior: contain; }
.drawer-left { left: 0; transform: translate3d(-100%, 0, 0); }
.drawer-right { right: 0; transform: translate3d(100%, 0, 0); }
.drawer[aria-hidden="false"] { transform: translate3d(0, 0, 0); }
.drawer-head { min-height: 40px; display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
.icon-button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { min-height: 66px; padding: 17px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 22px; }
.drawer-links .icon { width: 16px; height: 16px; }
.drawer-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(0, 0, 0, .32); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }

dialog { color: var(--ink); }
.search-dialog { width: min(760px, calc(100% - 32px)); border: 0; padding: 36px; background: var(--paper); }
.search-dialog::backdrop, .confirm-dialog::backdrop { background: rgba(0, 0, 0, .38); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; }
.search-line { display: flex; border-bottom: 1px solid var(--ink); margin-top: 24px; }
.search-line input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 0; outline: none; font-size: 24px; }
.search-line button { border: 0; background: none; text-transform: uppercase; }
.confirm-dialog { width: min(440px, calc(100% - 32px)); padding: 36px; border: 0; background: var(--paper); }
.confirm-dialog h2 { margin: 0 0 12px; font-size: 27px; font-weight: 400; }
.confirm-dialog p { color: var(--muted); }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.messages { position: fixed; z-index: 120; right: 20px; top: 84px; }
.message { padding: 14px 18px; background: var(--ink); color: white; margin-bottom: 8px; }
.message.error { background: #7e2020; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); background: transparent; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.button-primary { background: var(--blue); border-color: var(--blue); color: white; }
.button-secondary { background: transparent; }
.button.wide { width: 100%; }
.button[disabled] { background: var(--muted); border-color: var(--muted); cursor: not-allowed; }

.hero { display: grid; grid-template-columns: 1fr 1fr; height: min(780px, 76vw); min-height: 620px; }
.hero-panel { position: relative; overflow: hidden; }
.hero-panel > img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; left: 8%; bottom: 14%; color: white; max-width: 460px; }
.hero-copy h1 { font-size: clamp(42px, 4vw, 68px); line-height: .98; font-weight: 400; letter-spacing: -.035em; margin: 0 0 28px; }
.hero-copy p { font-size: 18px; margin: 0 0 28px; }

.category-grid-wrap { width: 100%; }
.category-grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.category-card { position: relative; aspect-ratio: 1; min-width: 0; background: var(--paper); overflow: hidden; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.category-card > a { position: absolute; inset: 0; padding: 34px; display: flex; align-items: flex-end; background: linear-gradient(to top, rgba(4, 41, 98, .52), transparent 52%); }
.category-card span { color: white; font-size: clamp(28px, 3vw, 46px); line-height: 1; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0, 0, 0, .28); }
.gallery-arrow { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .72); color: var(--ink); box-shadow: 0 4px 18px rgba(0, 0, 0, .12); backdrop-filter: blur(6px); transition: opacity 180ms ease, transform 180ms var(--ease-out), background-color 180ms ease; }

.featured, .catalog-grid { padding: 80px 24px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; text-transform: uppercase; }
.section-title h2 { font-weight: 400; font-size: 24px; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.product-card { position: relative; min-width: 0; padding-bottom: 30px; }
.product-card-visual { position: relative; overflow: hidden; background: var(--paper); }
.product-media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.product-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms ease; }
.product-slide.active { opacity: 1; }
.product-card h3 { font-size: 12px; line-height: 1.3; text-transform: uppercase; margin: 16px 16px 4px; }
.product-note { margin: 0 16px; font-size: 12px; }
.product-card .price { margin: 7px 16px 0; font-size: 18px; line-height: 1.15; font-weight: 600; }
.product-note { color: var(--muted); }
.favorite-button { position: absolute; right: 12px; top: 12px; z-index: 4; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .74); color: var(--ink); }
.favorite-button .icon { width: 21px; height: 21px; transition: transform 180ms var(--ease-out); }
.favorite-button.active { color: var(--red); }
.detail-favorite { position: static; width: 100%; height: 52px; border-radius: 0; border: 1px solid var(--line); background: transparent; gap: 10px; text-transform: uppercase; font-size: 12px; }
.stock-label { position: absolute; left: 0; bottom: 0; z-index: 2; background: white; padding: 8px 12px; text-transform: uppercase; font-size: 10px; }
.image-fallback { height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--paper); }
.product-card-controls { position: absolute; z-index: 3; top: 50%; left: 12px; right: 12px; display: flex; justify-content: space-between; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.product-card-controls button { pointer-events: auto; }
.card-cart-form { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; transform: translateY(100%); opacity: 0; transition: transform 240ms var(--ease-out), opacity 180ms ease; }
.card-cart-form button { width: 100%; min-height: 52px; border: 0; background: var(--blue); color: white; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.card-cart-form button:disabled { background: var(--muted); }

.catalog-head, .page-head { padding: 70px 24px 40px; max-width: 740px; }
.catalog-head h1, .page-head h1, .product-buy h1, .result-page h1, .auth-page h1 { font-size: clamp(36px, 5vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -.04em; margin: 0 0 20px; }
.catalog-head p { color: var(--muted); max-width: 620px; }
.catalog-toolbar { position: sticky; z-index: 50; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); transition: top 220ms var(--ease-out); }
.header-visible .catalog-toolbar { top: var(--header-height); }
.category-tabs { min-width: 0; display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.catalog-toolbar > button { flex: 0 0 auto; border: 0; background: none; text-transform: uppercase; padding: 12px; }
.catalog-grid { padding-top: 2px; }
.filter-drawer { padding-bottom: 120px; }
.filter-drawer form { min-height: 100%; }
.filter-section { border-bottom: 1px solid var(--line); }
.filter-section summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; list-style: none; text-transform: uppercase; cursor: pointer; }
.filter-section summary::-webkit-details-marker { display: none; }
.filter-section summary::after { content: '+'; font-size: 20px; font-weight: 300; }
.filter-section[open] summary::after { content: '−'; }
.filter-content { display: grid; gap: 13px; padding: 0 0 22px; }
.check, .radio { display: flex; gap: 10px; align-items: center; }
.check input, .radio input { accent-color: var(--blue); }
.price-fields { grid-template-columns: 1fr 1fr; gap: 8px; }
.price-fields input { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); background: white; }
.filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.empty-state { padding: 60px 0; font-size: 20px; color: var(--muted); }

.product-detail { width: min(100%, 1500px); margin: 0 auto; padding: 24px 28px 90px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); gap: clamp(32px, 4vw, 70px); align-items: start; }
.product-gallery-wrap { min-width: 0; height: min(760px, calc(100svh - var(--header-height) - 48px)); min-height: 560px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; background: white; }
.product-thumbnails { min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.product-thumbnails::-webkit-scrollbar { display: none; }
.product-thumbnail { flex: 0 0 104px; width: 84px; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 10px; background: var(--paper); opacity: .62; transition: opacity 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.product-thumbnail.active { opacity: 1; border-color: var(--blue); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-main-image { position: relative; min-width: 0; height: 100%; overflow: hidden; border-radius: 14px; background: white; }
.product-gallery { display: flex; height: 100%; background: white; transition: transform 260ms var(--ease-drawer); will-change: transform; touch-action: pan-y; }
.gallery-item { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; background: white; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; }
.detail-gallery-controls { position: absolute; z-index: 3; left: 18px; right: 18px; top: 50%; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.detail-gallery-controls button { pointer-events: auto; }
.product-buy { min-width: 0; padding: 34px 0; position: sticky; top: var(--header-height); align-self: start; overflow-wrap: anywhere; }
.product-buy h1 { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -.02em; }
.product-summary { margin: -4px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.eyebrow { text-transform: uppercase; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.price.large { font-size: 28px; line-height: 1.1; font-weight: 600; }
.product-buy form { margin: 24px 0 10px; }
.product-buy form label { display: block; margin-bottom: 12px; }
.product-buy input[type=number] { width: 80px; padding: 10px; margin-left: 10px; }
.product-variants { margin: 26px 0; }
.product-variants > span { display: block; margin-bottom: 11px; }
.product-variants > div { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-link { min-width: 48px; min-height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.variant-link.active { border-color: var(--blue); background: var(--blue); color: white; }
.variant-link.unavailable { color: var(--muted); text-decoration: line-through; }
.variant-link:active, .product-thumbnail:active { transform: scale(.97); }
.accordions { min-width: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { padding: 18px 0; text-transform: uppercase; cursor: pointer; }
.accordions details > div { max-width: 100%; padding: 0 0 20px; color: var(--muted); overflow-wrap: anywhere; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; padding: 0 24px 90px; }
.cart-item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto auto auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.cart-item-controls { display: contents; }
.cart-thumb { aspect-ratio: 1; background: var(--paper); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h2 { font-size: 16px; font-weight: 400; margin: 0; }
.cart-item form { display: flex; flex-direction: column; gap: 8px; }
.cart-quantity-form label { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cart-update-status { min-height: 16px; color: var(--muted); font-size: 11px; }
.cart-item input { width: 70px; padding: 8px; }
.cart-item button { border: 0; background: none; text-decoration: underline; }
.order-summary { background: var(--paper); padding: 28px; align-self: start; position: sticky; top: 20px; }
.order-summary h2 { font-weight: 400; font-size: 24px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-summary .button { margin-top: 24px; }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkout-form label { display: flex; flex-direction: column; gap: 8px; }
.checkout-form input, .checkout-form select, .checkout-form textarea, .auth-page input { width: 100%; padding: 13px; border: 1px solid var(--line); background: white; }
.checkout-form label:has(textarea), .checkout-form label:has(input[type=checkbox]), .checkout-form .button, .checkout-form .errorlist { grid-column: 1 / -1; }
.checkout-form .checkout-consent { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.checkout-form .checkout-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--blue); }
.checkout-form .checkout-consent span { min-width: 0; line-height: 1.35; }
.checkout-form textarea { min-height: 100px; }
.errorlist { color: #8b1d1d; margin: 0; padding-left: 20px; }
.auth-page, .result-page, .info-page { max-width: 780px; min-height: 52vh; margin: 0 auto; padding: 100px 24px; }
.auth-page form p { display: flex; flex-direction: column; gap: 8px; }
.result-page { text-align: center; }
.result-page p, .info-page-copy { color: var(--muted); font-size: 17px; }
.info-page-copy p { margin: 0 0 18px; }
.info-page h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin: 14px 0 30px; }
.delivery-methods { margin-top: 48px; border-top: 1px solid var(--line); }
.delivery-methods article { display: flex; justify-content: space-between; gap: 36px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.delivery-methods h2 { margin: 0 0 7px; font-size: 20px; font-weight: 400; }
.delivery-methods p { margin: 0; color: var(--muted); }
.delivery-methods strong { flex: 0 0 auto; font-size: 17px; font-weight: 500; }
.not-found-page { min-height: calc(100svh - var(--header-height)); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: white; }
.not-found-page > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.not-found-page > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(40px, 8vw, 130px); }
.not-found-page h1 { max-width: 620px; margin: 12px 0 20px; font-size: clamp(42px, 5vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.not-found-page p:not(.eyebrow) { max-width: 430px; margin: 0 0 30px; color: var(--muted); font-size: 17px; }

.site-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 70px 28px 28px; background: var(--paper); border-top: 1px solid var(--line); }
.site-footer h2 { font-size: 12px; text-transform: uppercase; margin: 0 0 20px; }
.site-footer a, .site-footer p, .site-footer span { display: block; margin: 9px 0; color: var(--muted); }
.footer-business { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-business p { margin-bottom: 0; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px !important; }

@media (hover: hover) and (pointer: fine) {
  .site-header a:hover, .site-header button:hover { opacity: .6; }
  .category-card:hover img { transform: scale(1.025); }
  .gallery-arrow:hover { background: rgba(255, 255, 255, .92); }
  .product-card:not(.manual-gallery):hover .product-slide.active:not(.hover-target) { opacity: 0; }
  .product-card:not(.manual-gallery):hover .product-slide.hover-target { opacity: 1; }
  .product-card:hover .product-card-controls { opacity: 1; }
  .product-card:hover .card-cart-form { opacity: 1; transform: translateY(0); }
  .favorite-button:hover .icon { transform: scale(1.08); }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 58px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; }
  .site-header { height: var(--header-height); padding: 0 14px; grid-template-columns: 42px minmax(0, 1fr) auto; background: white; }
  .home-page .site-header .mobile-only.icon { filter: brightness(0) invert(1); }
  .home-page.drawer-open .site-header { position: fixed; }
  .home-page.drawer-open .site-header .mobile-only.icon { filter: none; }
  .brand { justify-self: center; max-width: 100%; overflow: hidden; font-size: clamp(10px, 3.1vw, 14px); letter-spacing: .12em; text-overflow: ellipsis; }
  .menu-trigger { width: 42px; height: 42px; display: inline-flex; align-items: center; }
  .header-nav { gap: 11px; }
  .header-nav .icon-action { width: 26px; height: 42px; padding: 0; }
  .header-nav .icon { width: 19px; height: 19px; }
  .drawer { z-index: 70; top: var(--header-height); right: 0; bottom: 0; left: 0; width: auto; padding: 24px 20px; }
  .drawer-backdrop { z-index: 60; top: var(--header-height); }
  .drawer-links a { font-size: 20px; }
  .search-dialog { width: 100%; max-width: none; height: calc(100dvh - var(--header-height)); max-height: none; margin: var(--header-height) 0 0; padding: 26px 20px; }
  .search-dialog::backdrop { background: transparent; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-panel { height: 100svh; min-height: 620px; }
  .hero-stilllife { display: none; }
  .hero-copy { left: 24px; right: 24px; bottom: 70px; }
  .hero-copy h1 { font-size: 46px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card > a { padding: 18px; }
  .category-card span { font-size: clamp(19px, 5.8vw, 30px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured, .catalog-grid { padding: 54px 2px; }
  .product-card h3, .product-note, .product-card .price { margin-left: 12px; margin-right: 12px; }
  .product-card-controls, .card-cart-form { display: none; }
  .catalog-head, .page-head { padding: 50px 15px 30px; }
  .catalog-toolbar { padding: 10px 15px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; padding: 0 15px 60px; gap: 28px; }
  .cart-item { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; align-items: start; }
  .cart-item-controls { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(86px, auto) 1fr auto; gap: 14px; align-items: end; padding-top: 2px; }
  .cart-item-controls form, .cart-item-controls > strong { grid-column: auto; }
  .cart-remove-form { align-self: end; padding-bottom: 18px; }
  .cart-item-subtotal { align-self: end; padding-bottom: 18px; white-space: nowrap; }
  .cart-update-status { min-height: 14px; }
  .order-summary { position: static; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form label { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 50px 20px 24px; }
  .site-footer > div { padding-bottom: 20px; }
  .search-line input { font-size: 18px; }
  .not-found-page { grid-template-columns: 1fr; }
  .not-found-page > img { min-height: 0; height: 52svh; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery-wrap { height: min(78svh, 820px); min-height: 520px; }
  .product-buy { position: static; max-width: 760px; padding: 54px 0; }
}

@media (max-width: 700px) {
  .product-detail { padding: 0 0 60px; gap: 0; }
  .product-gallery-wrap { height: auto; min-height: 0; aspect-ratio: 4 / 5; display: block; }
  .product-thumbnails { display: none; }
  .product-main-image { border-radius: 0; }
  .gallery-item img { object-fit: cover; }
  .detail-gallery-controls { left: 12px; right: 12px; }
  .product-buy { padding: 42px 15px; }
  .delivery-methods article { gap: 20px; }
  .not-found-page > div { padding: 54px 20px 70px; }
  .not-found-page h1 { font-size: 44px; }
}

@media (max-width: 520px) {
  .header-nav { gap: 5px; }
  .header-nav .icon-action { width: 25px; }
  .hero-copy h1 { font-size: 40px; }
  .section-title { padding: 0 12px; }
  .product-media { aspect-ratio: 3 / 4; }
  .favorite-button { right: 8px; top: 8px; width: 38px; height: 38px; }
  .detail-favorite { width: 100%; height: 52px; }
  .site-footer { grid-template-columns: 1fr; }
  .confirm-actions { grid-template-columns: 1fr; }
}

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