/* Marketplace: shared visual language for discovery, purchase and tracking.
   Loaded after the established layouts so existing domain states stay intact. */
:root {
  --navy: #123550;
  --ink: #183449;
  --muted: #52697a;
  --line: #dce5e9;
  --radius: 16px;
  --commerce: #087969;
  --commerce-dark: #056052;
  --surface: #f4f7f8;
  --shadow: 0 6px 24px #18344908;
  font-size: 15px;
}
body { background: var(--surface); color: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; }
#content[data-page="carrito"], #content[data-page="checkout"] { background: transparent; }
h1, h2, h3 { color: var(--navy); text-wrap: balance; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #148e80; outline-offset: 3px;
}
.wrap { max-width: 1440px; padding-inline: 32px; }
.page { padding-block: 26px 48px; }
.button { min-height: 44px; border-radius: 10px; padding: 11px 18px; font-size: 14px; font-weight: 650; gap: 9px; box-shadow: none; }
.button.primary, .catalog-reference .filters .button { color: white; background: var(--commerce); border: 1px solid var(--commerce); }
.button.primary:hover, .catalog-reference .filters .button:hover { color: white; background: var(--commerce-dark); border-color: var(--commerce-dark); }
.button.secondary { color: var(--navy); background: white; border: 1px solid #c4d3db; }
.button.secondary:hover { color: var(--commerce-dark); background: #f0f8f6; border-color: #6aaba1; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button[aria-busy="true"] { cursor: progress; }
.button[aria-busy="true"] .icon { animation: action-pulse .8s ease-in-out infinite alternate; }
.text-link, .clear-filter, .clear-variants, .purchase-panel .text-link { color: var(--commerce-dark); font-weight: 650; }
.text-link:hover, .clear-filter:hover { color: var(--commerce); text-decoration: underline; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel h2 { font-size: 18px; line-height: 1.4; }
.panel h2 > .icon { color: var(--commerce); flex-shrink: 0; }
.qa-strip { background: #173b50; }
.qa-content { min-height: 30px; font-size: 11px; }
#header { background: white; border-bottom: 1px solid var(--line); box-shadow: 0 3px 18px #18344904; }
.header-main { height: 88px; gap: 28px; }
.brand-lockup { width: 165px; }
.search { height: 48px; border: 1px solid #ccdade; border-radius: 12px; background: #f7f9fa; }
.search:focus-within { border-color: var(--commerce); box-shadow: 0 0 0 3px #08796915; }
.search input { font-size: 14px; min-width: 0; background: transparent; }
.search button { min-width: 92px; min-height: 46px; background: var(--navy); border-radius: 0 11px 11px 0; }
.search button:hover { background: var(--commerce-dark); }
.header-link, .cart-link { font-size: 13px; }
.header-link[aria-current="page"] { color: var(--commerce); }
.cart-count { background: var(--commerce); color: white; }
.nav { height: 47px; gap: 26px; font-size: 13px; scrollbar-width: thin; }
.nav a { flex-shrink: 0; }
.nav a[aria-current="page"] { border-bottom: 3px solid var(--commerce); color: var(--commerce-dark); }
.nav-stores { margin-left: auto; }
.mobile-navigation { display: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--commerce); }
.page > .page-banner {
  min-height: 0; margin: 0 0 24px; padding: 22px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(115deg, #eaf4f2, #f9fbfc 72%); overflow: hidden;
}
.page-banner .breadcrumb { margin-bottom: 10px; }
.page-banner h1, .page-banner h2, .catalog-page > .page-banner h1 { font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); }
.page-banner p, .catalog-page > .page-banner p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 8px; max-width: 760px; }
.page-banner.beach-banner { background: linear-gradient(90deg, #eef8f7 35%, #eef8f7df 60%, #eef8f720), url('./assets/hero-ropa-bano.webp') right 40% / cover; }
.benefit-strip, .catalog-page > .benefit-strip {
  margin: 18px 0 26px; padding: 19px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; gap: 20px;
}
.benefit-strip > div { gap: 12px; }
.benefit-strip > div > .icon { width: 28px; height: 28px; color: var(--commerce); flex-shrink: 0; }
.benefit-strip strong { font-size: 13px; }
.benefit-strip small { font-size: 12px; line-height: 1.55; color: var(--muted); }
.storefront-home { padding-block: 24px 40px; }
.storefront-hero { border: 1px solid #dbe7eb; border-radius: 20px; min-height: 340px; box-shadow: var(--shadow); }
.storefront-hero-copy { width: 58%; padding: 40px 0 48px 5%; }
.storefront-hero h1 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -1.4px; margin: 14px 0; }
.storefront-hero h1 em { color: var(--commerce-dark); }
.storefront-eyebrow { color: var(--commerce-dark); letter-spacing: 1.8px; font-size: 11px; }
.storefront-hero-copy > p { color: #405e70; max-width: 400px; font-size: 15px; line-height: 1.6; }
.storefront-cta { background: var(--navy); color: white; min-height: 44px; margin-top: 22px; padding-inline: 22px; }
.storefront-cta:hover { background: var(--commerce-dark); color: white; }
.storefront-hero-note { border-radius: 14px; background: #ffffffec; padding: 18px; right: 5%; top: auto; bottom: 28px; box-shadow: 0 8px 32px #12355012; }
.hero-controls { right: 24px; bottom: 20px; gap: 8px; }
.hero-controls button { width: 44px; height: 44px; background: #fffffff5; color: var(--navy); border: 1px solid #cbdde4; }
.hero-controls button:hover { background: var(--navy); color: white; }
.storefront-home .section-heading { margin-bottom: 18px; gap: 16px; }
.storefront-home .section-heading h2 { font-size: 22px; }
.section-heading p { font-size: 13px; line-height: 1.6; }
.storefront-categories { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.storefront-category { min-height: 118px; padding: 18px 10px; background: white; border: 1px solid var(--line); border-radius: 14px; gap: 10px; transition: border-color .18s, transform .18s; }
.storefront-category:hover { background: #f0f8f6; border-color: #7fb9ad; transform: translateY(-3px); }
.category-symbol { width: 48px; height: 48px; border-radius: 14px; }
.category-symbol .icon { width: 30px; height: 30px; color: var(--commerce); }
.storefront-category strong { font-size: 13px; line-height: 1.4; }
.home-showcase { display: grid; grid-template-columns: 1fr; gap: 34px; }
.home-showcase .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-stores .stores-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.promo-grid { margin-top: 34px; gap: 18px; }
.promo-tile { min-height: 160px; border-radius: 16px; }
.promo-tile > div { padding: 22px; }
.promo-tile h3 { font-size: 23px; }
.catalog-layout, .catalog-reference { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.catalog-reference .filters form { position: sticky; top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.catalog-reference .filters h2 { font-size: 16px; color: var(--navy); padding-bottom: 16px; }
.catalog-reference .filters h2 .icon { color: var(--commerce); }
.catalog-reference .filters .filter-field { padding-block: 12px; border-color: #edf1f3; }
.catalog-reference .filters label { font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.catalog-reference .filters select { height: 44px; border-color: #cad7df; border-radius: 8px; font-size: 14px; color: var(--ink); }
.catalog-reference .filters .button { min-height: 44px; margin-top: 20px; font-size: 14px; }
.catalog-reference .clear-filter { font-size: 13px; margin-top: 16px; }
.filter-toggle { display: none; }
.catalog-reference .filters > .filter-toggle.button { margin-top: 0; color: var(--navy); background: white; border-color: #c4d3db; }
.catalog-reference .filters > .filter-toggle.button:hover { background: #eef7f3; }
.catalog-products { min-width: 0; }
.catalog-reference .applied-filters { min-height: 32px; margin-bottom: 12px; }
.catalog-reference .applied-filters > span:first-child { color: var(--muted); font-size: 12px; }
.catalog-reference .applied-filters a { background: #e6f3ef; color: var(--commerce-dark); border: 1px solid #bddcd2; padding: 7px 10px; font-size: 12px; }
.catalog-reference .results-bar { gap: 12px; padding-bottom: 16px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.catalog-reference .results-bar > span strong { color: var(--navy); font-size: 18px; }
.catalog-reference .sort-control { color: var(--muted); font-size: 12px; gap: 8px; }
.catalog-reference .sort-control select { height: 44px; border-radius: 8px; color: var(--ink); font-size: 13px; background: white; border-color: #cad7df; }
.catalog-reference .view-switch { border-radius: 9px; margin-left: 0; }
.view-switch button { min-height: 44px; padding: 10px; }
.view-switch button[aria-pressed=true] { background: var(--navy); }
.catalog-products .product-grid, .catalog-reference .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-product-card, .home-showcase .catalog-product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); background: white; display: flex; }
.catalog-product-card:hover { border-color: #8bb8b3; box-shadow: 0 12px 30px #18344910; transform: translateY(-3px); }
.catalog-card-media { padding: 10px 10px 0; background: white; position: relative; }
.catalog-product-card .product-picture, .home-showcase .catalog-product-card .product-picture { display: block; margin: 0; padding: 16px; aspect-ratio: 1.15; border-radius: 11px; background: #f6f8f9; }
.catalog-product-card .product-picture img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.catalog-stock-badge { top: 18px; left: 18px; padding: 6px 9px; font-size: 11px; font-weight: 650; color: #126447; background: #e2f4e9; border-radius: 8px; }
.catalog-stock-badge.low-stock { background: #fff0cd; color: #855211; }
.catalog-stock-badge.muted { background: #e8edf1; color: #52697a; }
.catalog-card-copy { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px; min-width: 0; }
.catalog-card-copy > small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.catalog-card-copy > small a { color: var(--commerce-dark); }
.catalog-product-card h3, .home-showcase .catalog-product-card h3 { height: auto; min-height: 44px; font-size: 15px; line-height: 1.5; margin: 0; font-weight: 650; }
.catalog-product-card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-sizes { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; }
.catalog-sizes b { background: #f1f5f6; color: #3e596b; border: 1px solid #dbe5e9; border-radius: 6px; padding: 4px 7px; font-size: 11px; }
.catalog-price { margin-top: auto; display: grid; gap: 5px; padding-top: 2px; }
.catalog-price > span { color: var(--navy); font-size: 25px; font-weight: 750; letter-spacing: -.7px; }
.catalog-price small { color: var(--muted); font-size: 11px; font-weight: 400; }
.catalog-card-actions { display: block; margin-top: 5px; }
.catalog-card-actions .button, .home-showcase .catalog-card-actions .button { width: 100%; min-height: 44px; padding: 10px 8px; font-size: 13px; }
.catalog-reference .product-grid.list-view { grid-template-columns: 1fr; }
.list-view .catalog-product-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); padding: 10px; gap: 18px; }
.list-view .catalog-card-media { padding: 0; }
.list-view .catalog-stock-badge { top: 8px; left: 8px; }
.list-view .catalog-card-copy { padding: 8px 8px 8px 0; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-content: center; }
.list-view .catalog-card-copy > small, .list-view .catalog-card-copy h3, .list-view .catalog-sizes { grid-column: 1; }
.list-view .catalog-price { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.list-view .catalog-card-actions { grid-column: 2; }
.catalog-related { margin-top: 26px; border-radius: 14px; padding: 20px; background: #eef3f5; border-color: var(--line); }
.catalog-related > div:first-child { display: block; }
.catalog-related h2 { font-size: 17px; }
.catalog-related p { color: var(--muted); margin-top: 6px; font-size: 13px; }
.catalog-related .catalog-card-media { display: block; }
.catalog-related .catalog-card-copy { padding: 16px; }
.catalog-related .catalog-card-actions { display: block; }
.catalog-related .catalog-price > span { font-size: 21px; }
.pagination { gap: 12px; font-size: 13px; padding-top: 8px; }
.stores-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.store-card, .home-stores .store-card { padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); background: white; position: relative; }
.store-card:hover { border-color: #8bb8b3; }
.store-card h2, .home-stores .store-card h2 { font-size: 17px; line-height: 1.4; margin: 16px 0 8px; }
.store-card p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; overflow-wrap: anywhere; }
.store-card .button { min-height: 44px; font-size: 13px; margin-top: auto; }
.store-card .store-rating { margin: 0 0 18px; font-size: 12px; }
.seller-avatar.large, .home-stores .seller-avatar.large { width: 72px; height: 72px; border-radius: 18px; background: #e9f5f1; color: var(--commerce-dark); }
.store-identity { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-bottom: 20px; }
.store-identity .seller-avatar { width: 96px; height: 96px; flex-shrink: 0; }
.store-identity h1 { font-size: 28px; }
.store-identity p { font-size: 14px; }
.store-identity .store-comment { background: #eff7f4; border-color: var(--commerce); color: var(--muted); border-radius: 0 10px 10px 0; }
.store-tabs { border-bottom-color: var(--line); gap: 24px; margin-bottom: 24px; font-size: 14px; }
.store-tabs a { padding: 14px 2px; }
.store-tabs a[aria-current] { border-bottom-color: var(--commerce); color: var(--commerce-dark); }
.store-catalog { grid-template-columns: 220px minmax(0, 1fr); }
.store-catalog .store-about { grid-column: 1 / -1; padding: 24px; font-size: 14px; }
.store-about .store-about-text { max-width: 900px; }
.store-faq, .store-reviews { margin-top: 26px; }
.store-faq summary { font-size: 15px; min-height: 28px; }
.store-faq details p { font-size: 14px; }
.public-review p, .review-eligibility p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.review-compose { padding: 22px; background: #f5f8f7; border-radius: 12px; }
.review-compose textarea, .review-compose select { border-radius: 8px; border-color: #cad7df; background: white; font-size: 14px; }
.star-picker label { min-width: 44px; min-height: 44px; }
.product-detail-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.detail-media { min-width: 0; }
.detail-picture { aspect-ratio: 1; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.detail-picture img { object-fit: contain; }
.detail-thumbnails { gap: 10px; margin-top: 14px; }
.detail-thumbnails button { border-radius: 10px; padding: 4px; }
.detail-thumbnails button[aria-pressed=true] { border-color: var(--commerce); box-shadow: 0 0 0 1px var(--commerce); }
.detail-info { padding-top: 8px; }
.detail-info h1 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.3; margin-block: 14px 10px; }
.detail-subtitle { color: var(--muted); font-size: 14px; }
.detail-seller { padding: 16px 0; gap: 12px; font-size: 13px; margin-block: 20px; }
.detail-seller small { color: var(--commerce-dark); font-size: 12px; }
.availability-label { padding: 7px 10px; border-radius: 8px; background: #e4f4ec; color: #146747; font-size: 12px; }
.availability-label.unavailable { background: #edf1f3; color: #52697a; }
.variant-options legend { font-size: 14px; }
.variant-options button { min-width: 48px; min-height: 44px; border-radius: 8px; font-size: 14px; background: white; }
.variant-options button[aria-pressed=true] { background: var(--commerce); color: white; border-color: var(--commerce); }
.variant-options button:disabled { color: #637684; opacity: .6; }
.variant-chips > span { background: #edf5f3; border-color: #d2e4df; border-radius: 6px; font-size: 12px; }
.sku { font-size: 12px; color: var(--muted); line-height: 1.6; }
.purchase-panel { position: sticky; top: 20px; padding: 24px; border-top: 3px solid var(--commerce); }
.detail-price { font-size: 32px; color: var(--navy); letter-spacing: -.7px; }
.detail-price small { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.purchase-panel .stock { font-size: 13px; }
.quantity-field { font-size: 14px; }
.quantity-field input { height: 44px; border-radius: 8px; border-color: #cad7df; font-size: 16px; }
.purchase-panel .button { margin-top: 10px; }
.purchase-delivery { padding-block: 16px; font-size: 13px; }
.purchase-delivery .icon { color: var(--commerce); }
.purchase-delivery p { color: var(--muted); line-height: 1.6; font-size: 12px; }
.product-description { margin-top: 28px; }
.product-description p { color: var(--muted); font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cart-count-label { font-size: 14px; margin-bottom: 16px; color: var(--muted); }
.cart-item { border-radius: 14px; padding: 22px; gap: 18px; }
.cart-item > img { border-radius: 10px; background: #f4f7f8; object-fit: contain; }
.cart-item-title h3 { font-size: 15px; line-height: 1.5; }
.cart-item-title p { font-size: 12px; line-height: 1.6; }
.cart-item .availability-label { font-size: 11px; padding: 4px 8px; }
.stepper { height: 44px; border-color: #cad7df; border-radius: 9px; background: white; }
.stepper button { min-width: 36px; min-height: 42px; color: var(--navy); font-size: 20px; }
.stepper button:hover:not(:disabled) { background: #eaf5f0; }
.cart-unit-price small, .cart-item-total small { color: var(--muted); font-size: 11px; }
.cart-item-total strong { font-size: 20px; color: var(--navy); }
.remove-item { min-height: 44px; color: #a34040; }
.cart-actions { margin-top: 22px; gap: 16px; }
.cart-actions .text-button { color: #a34040; min-height: 44px; }
.order-summary { position: sticky; top: 20px; padding: 24px; border-top: 3px solid var(--commerce); }
.order-summary h2 { font-size: 18px; }
.summary-lines { font-size: 14px; line-height: 1.6; }
.summary-lines > div { padding-block: 9px; color: var(--muted); }
.summary-lines > div > strong { color: var(--ink); }
.summary-lines .grand-total { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; color: var(--navy); }
.grand-total strong { font-size: 28px; }
.summary-note { font-size: 12px; color: var(--muted); line-height: 1.65; }
.summary-trust { background: #eef7f3; border-radius: 10px; color: #28624d; font-size: 12px; padding: 12px; line-height: 1.6; }
.summary-services { font-size: 12px; color: var(--muted); padding-top: 16px; }
.order-summary > .button { margin-top: 20px; }
.purchase-steps { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 20px 10px; margin-bottom: 26px; }
.purchase-steps li { font-size: 13px; gap: 8px; }
.purchase-steps li > span { width: 36px; height: 36px; background: #eef2f4; color: #647c89; }
.purchase-steps li.current > span { background: var(--commerce); color: white; box-shadow: 0 0 0 5px #e6f3ee; }
.purchase-steps li.complete > span { background: #e6f3ee; color: var(--commerce); }
.purchase-steps li.current strong { color: var(--commerce-dark); }
.purchase-steps li.complete strong { color: var(--commerce-dark); }
.purchase-steps small { font-size: 11px; color: var(--muted); }
.purchase-steps li:before { top: 18px; background: #dce7e6; }
.purchase-steps li.complete:before, .purchase-steps li.current:before { background: #92c4b6; }
.checkout-sections { gap: 20px; }
.checkout-section h2 { font-size: 18px; padding-bottom: 16px; border-bottom: 1px solid #edf1f3; }
.checkout-layout .form-grid { gap: 20px; }
.field { font-size: 13px; font-weight: 600; gap: 8px; color: var(--ink); }
.field input, .field select { height: 46px; border: 1px solid #c5d4dc; border-radius: 8px; padding: 10px 12px; background: white; font-size: 15px; font-weight: 400; }
.field input:focus, .field select:focus { border-color: var(--commerce); }
.radio-card { border-radius: 12px; padding: 18px; border-color: #cad7df; font-size: 14px; background: white; }
.radio-card:has(input:checked) { background: #f0f8f4; border-color: #3b947e; box-shadow: 0 0 0 1px #3b947e; }
.radio-card input, .consent input { accent-color: var(--commerce); width: 18px; height: 18px; flex-shrink: 0; }
.radio-card small { font-size: 12px; line-height: 1.55; color: var(--muted); }
.radio-card .icon { color: var(--commerce); }
.consent { font-size: 13px; line-height: 1.7; gap: 10px; padding-top: 14px; }
.checkout-summary .summary-heading { flex-wrap: wrap; gap: 8px; }
.summary-heading > a { font-size: 12px; color: var(--commerce-dark); }
.checkout-items > div { padding-block: 16px; gap: 12px; font-size: 13px; }
.checkout-items img { background: #f4f7f8; border-radius: 8px; object-fit: contain; }
.checkout-items small { font-size: 12px; }
.checkout-items > div > span { min-width: 0; font-size: 13px; }
.checkout-items > div > span > strong { white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
.checkout-items > div > strong { font-size: 14px; white-space: nowrap; }
.form-error, .inline-error { font-size: 13px; line-height: 1.6; color: #a12e37; background: #fff1f0; border-radius: 8px; padding: 10px; }
.review-section { padding-block: 18px; border-bottom: 1px solid var(--line); }
.review-section h3 { font-size: 14px; margin-bottom: 8px; }
.review-section p { font-size: 14px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
#checkout-review > .button { margin-top: 20px; }
.confirmation { border-radius: 18px; padding: 30px; background: #e7f4ee; border: 1px solid #c3e1d2; gap: 24px; }
.confirmation .success-icon { background: var(--commerce); color: white; width: 60px; height: 60px; border-radius: 18px; }
.confirmation h1 { font-size: 32px; }
.confirmation p { font-size: 14px; color: #436e5a; line-height: 1.7; }
.confirmation-number strong { font-size: 22px; color: var(--navy); }
.confirmation-number small { font-size: 12px; }
.confirmation-grid { gap: 22px; margin-top: 24px; }
.order-line { gap: 16px; padding-block: 18px; font-size: 14px; }
.order-line img { object-fit: contain; background: #f4f7f8; border-radius: 8px; }
.order-line small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.order-line > strong { color: var(--navy); font-size: 16px; white-space: nowrap; }
.order-payment { background: #f6f8f9; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.6; }
.order-address p, .next-steps p { color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.seller-fulfillment > a { font-size: 14px; }
.seller-fulfillment > p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.fulfillment-steps { gap: 8px; }
.fulfillment-steps li { font-size: 11px; }
.fulfillment-steps li.complete span { background: #e2f3eb; color: var(--commerce-dark); }
.fulfillment-steps li[aria-current="step"] strong { color: var(--commerce-dark); }
.orders-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.orders-sidebar { padding: 20px; }
.orders-sidebar nav a { min-height: 44px; font-size: 13px; border-radius: 8px; }
.orders-sidebar nav a.active { background: #eaf5f0; color: var(--commerce-dark); }
.orders-sidebar p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.orders-list > a { border-radius: 14px; padding: 24px; font-size: 14px; gap: 18px; }
.orders-list > a:hover { border-color: #8bb8b3; }
.orders-list > a small { font-size: 12px; line-height: 1.6; }
.status-pill { background: #e8f4ee; color: #196647; border-radius: 8px; padding: 7px 10px; font-size: 12px; }
.order-title h2 { font-size: 22px; }
.order-detail-grid { gap: 22px; }
.order-page-actions { gap: 12px; margin-top: 24px; }
.empty-state { background: white; border: 1px dashed #b9ced3; border-radius: 18px; padding: 48px 24px; }
.empty-icon { background: #e9f5ef; color: var(--commerce); border-radius: 20px; }
.empty-state h2 { font-size: 24px; line-height: 1.35; }
.empty-state p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.loading { min-height: 50vh; color: var(--muted); font-size: 15px; }
#toast { background: var(--navy); color: white; border-radius: 12px; padding: 16px 22px; font-size: 14px; box-shadow: 0 12px 32px #18344925; }
#toast.error { background: #9d343e; }
#footer { border-top: 1px solid var(--line); background: white; }
.footer-compact { padding-block: 26px; }
.footer-compact nav { font-size: 13px; gap: 24px; }
.footer-compact > span { font-size: 12px; }
@keyframes action-pulse { to { opacity: .35; } }
@media (max-width: 1150px) {
  .wrap { padding-inline: 24px; }
  .header-main { gap: 20px; }
  .nav { gap: 20px; }
  .view-switch span { display: none; }
  .product-detail-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
  .detail-media { grid-column: 1; grid-row: 1 / 3; }
  .purchase-panel { grid-column: 2; position: static; }
  .detail-picture { position: sticky; top: 20px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .cart-item { padding: 18px; }
  .catalog-products .product-grid, .catalog-reference .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront-hero-note { display: none; }
  .storefront-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap { padding-inline: 20px; }
  .page { padding-block: 20px 32px; }
  .header-main { height: auto; min-height: 124px; padding-block: 16px; gap: 14px; }
  .brand-lockup { width: 140px; }
  .search { height: 46px; }
  .search button { min-height: 44px; }
  .nav { height: 44px; font-size: 12px; gap: 20px; }
  .page > .page-banner { padding: 20px; margin: 0 0 20px; }
  .benefit-strip, .catalog-page > .benefit-strip { margin: 16px 0 22px; padding: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .storefront-home { padding-top: 18px; }
  .storefront-hero { min-height: 290px; }
  .storefront-hero-copy { width: 63%; padding: 28px 0 48px 5%; }
  .storefront-hero h1 { font-size: 32px; }
  .storefront-hero-copy > p { font-size: 13px; }
  .home-showcase .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stores-grid, .home-stores .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .catalog-layout, .catalog-reference, .store-catalog { grid-template-columns: 1fr; gap: 18px; }
  .filter-toggle { display: flex; width: 100%; min-height: 48px; text-align: left; justify-content: flex-start; }
  .filter-toggle > span { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; }
  .catalog-reference .filters form { display: none; position: static; margin-top: 10px; }
  .catalog-reference .filters-open form { display: block; }
  .catalog-reference .results-bar { gap: 10px; margin-bottom: 16px; }
  .catalog-reference .sort-control { margin-left: auto; }
  .store-catalog .store-about { grid-column: auto; }
  .store-identity { padding: 22px; flex-wrap: wrap; }
  .store-identity .button { margin-left: 0; }
  .store-identity > div { min-width: 0; flex: 1; }
  .store-identity h1 { font-size: 25px; overflow-wrap: anywhere; }
  .reviews-layout { grid-template-columns: 1fr; gap: 20px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 22px; }
  .order-summary { position: static; }
  .checkout-layout .form-grid { gap: 18px; }
  .orders-layout { grid-template-columns: 1fr; gap: 20px; }
  .orders-sidebar nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .orders-sidebar nav a { white-space: nowrap; flex-shrink: 0; }
  .orders-sidebar h2 { margin-bottom: 12px; }
  .orders-sidebar p { margin-top: 10px; }
  .confirmation-grid { grid-template-columns: 1fr; }
  .confirmation-grid > .order-column:last-child { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .footer-compact { gap: 20px; }
}
@media (max-width: 540px) {
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .wrap { padding-inline: 16px; }
  .page { padding-top: 16px; }
  .header-main { min-height: 119px; gap: 12px; }
  .header-main .brand-lockup { width: 128px; }
  .header-link { margin-left: auto; font-size: 12px; }
  .header-link .icon, .cart-link .icon { width: 23px; height: 23px; }
  .search input { font-size: 16px; padding-inline: 8px; }
  .search > .icon { width: 18px; height: 18px; margin-left: 12px; }
  .search button { min-width: 46px; padding-inline: 12px; }
  .search button span { display: none; }
  .nav { gap: 20px; height: 43px; }
  .mobile-navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; inset: auto 0 0; z-index: 30; background: #fffffff8; border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px #18344908; }
  .mobile-navigation a { display: grid; justify-items: center; gap: 5px; min-height: 48px; padding: 5px 3px; border-radius: 10px; font-size: 11px; color: #52697a; }
  .mobile-navigation .icon { width: 21px; height: 21px; }
  .mobile-navigation a[aria-current] { color: var(--commerce-dark); background: #e8f5ef; font-weight: 700; }
  .qa-content { min-height: 28px; }
  .qa-label { font-size: 10px; }
  .page > .page-banner { padding: 18px; border-radius: 14px; margin: 0 0 20px; }
  .page-banner h1, .catalog-page > .page-banner h1 { font-size: 25px; }
  .page-banner p { font-size: 13px; }
  .benefit-strip, .catalog-page > .benefit-strip { margin-inline: 0; padding: 14px; gap: 16px 12px; }
  .benefit-strip > div { gap: 9px; align-items: flex-start; }
  .benefit-strip > div > .icon { width: 22px; height: 22px; }
  .benefit-strip strong { font-size: 11px; }
  .benefit-strip small { font-size: 11px; }
  .storefront-home { padding-top: 16px; }
  .storefront-hero { min-height: 310px; border-radius: 16px; }
  .storefront-hero-copy { width: 78%; padding: 24px 0 64px 20px; }
  .storefront-hero h1 { font-size: 30px; letter-spacing: -.9px; }
  .storefront-eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .storefront-hero-copy > p { max-width: 240px; font-size: 13px; }
  .storefront-cta { min-height: 44px; font-size: 13px; margin-top: 18px; }
  .hero-controls { bottom: 12px; right: 14px; }
  .hero-controls button { width: 40px; height: 40px; }
  .storefront-home .section-heading { align-items: center; gap: 10px; }
  .storefront-home .section-heading h2 { font-size: 19px; }
  .storefront-home .section-heading p { font-size: 12px; }
  .section-heading .text-link { font-size: 12px; flex-shrink: 0; }
  .storefront-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
  .storefront-category { min-height: 100px; padding: 12px 8px; border-radius: 12px; }
  .storefront-category strong { font-size: 11px; }
  .category-symbol { height: 38px; width: 38px; }
  .category-symbol .icon { width: 26px; height: 26px; }
  .home-showcase { gap: 28px; }
  .home-showcase .product-grid, .catalog-products .product-grid, .catalog-reference .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-reference .results-bar > span { flex-basis: 100%; }
  .catalog-reference .sort-control { margin-left: 0; gap: 6px; }
  .catalog-reference .sort-control select { min-width: 0; max-width: 160px; }
  .catalog-reference .view-switch { margin-left: auto; }
  .view-switch button { padding-inline: 10px; }
  .filter-toggle > span { font-size: 10px; }
  .catalog-product-card, .home-showcase .catalog-product-card { border-radius: 12px; }
  .catalog-card-media { padding: 6px 6px 0; }
  .catalog-product-card .product-picture, .home-showcase .catalog-product-card .product-picture { padding: 8px; aspect-ratio: 1; border-radius: 8px; }
  .catalog-stock-badge { top: 12px; left: 12px; font-size: 9px; padding: 4px 6px; gap: 3px; }
  .catalog-stock-badge .icon { width: 10px; height: 10px; }
  .catalog-card-copy { padding: 12px 10px; gap: 8px; }
  .catalog-card-copy > small { font-size: 10px; }
  .catalog-product-card h3, .home-showcase .catalog-product-card h3 { font-size: 12px; min-height: 36px; }
  .catalog-price > span { font-size: 21px; }
  .catalog-price small { font-size: 10px; line-height: 1.5; }
  .catalog-sizes { font-size: 10px; gap: 4px; }
  .catalog-sizes b { padding: 3px 5px; font-size: 10px; }
  .catalog-card-actions .button, .home-showcase .catalog-card-actions .button { font-size: 11px; min-height: 44px; padding: 8px 4px; gap: 5px; }
  .catalog-card-actions .button .icon { width: 16px; height: 16px; flex-shrink: 0; }
  .catalog-reference .product-grid.list-view { grid-template-columns: 1fr; }
  .list-view .catalog-product-card { grid-template-columns: 100px minmax(0, 1fr); padding: 8px; gap: 10px; }
  .list-view .catalog-card-copy { display: flex; padding: 2px 0; gap: 6px; }
  .list-view .catalog-stock-badge { top: 4px; left: 4px; }
  .list-view .catalog-product-card h3 { min-height: 0; }
  .list-view .catalog-price > span { font-size: 20px; }
  .catalog-related { padding: 14px; }
  .catalog-related .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-related .catalog-card-copy { padding: 10px; }
  .catalog-related h2 { font-size: 15px; }
  .catalog-related p { font-size: 12px; }
  .home-stores .stores-grid, .stores-grid { gap: 10px; }
  .store-card, .home-stores .store-card { padding: 20px 12px 16px; border-radius: 12px; }
  .store-card h2, .home-stores .store-card h2 { font-size: 14px; }
  .store-card p { font-size: 11px; }
  .store-card .store-rating { font-size: 10px; gap: 5px; }
  .store-card .button { font-size: 12px; padding: 10px; }
  .seller-avatar.large, .home-stores .seller-avatar.large { width: 58px; height: 58px; border-radius: 14px; }
  .store-identity { padding: 18px; gap: 14px; }
  .store-identity .seller-avatar { width: 64px; height: 64px; }
  .store-identity h1 { font-size: 22px; }
  .store-identity p { font-size: 12px; }
  .store-identity .button { width: 100%; }
  .store-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 20px; font-size: 13px; }
  .store-tabs a { white-space: nowrap; flex-shrink: 0; }
  .store-catalog .store-about { padding: 18px; }
  .store-reviews .section-heading { display: block; }
  .review-compose { padding: 16px; }
  .review-compose textarea, .review-compose select { font-size: 16px; }
  .public-review p { font-size: 13px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-media { grid-column: auto; grid-row: auto; }
  .detail-picture { position: static; aspect-ratio: 1.15; padding: 22px; border-radius: 14px; }
  .detail-info h1 { font-size: 25px; }
  .detail-seller { margin-block: 14px; }
  .variant-controls { margin-block: 20px; }
  .purchase-panel { grid-column: auto; padding: 22px; }
  .detail-price { font-size: 30px; }
  .panel { padding: 18px; border-radius: 14px; }
  .panel h2 { font-size: 17px; }
  .product-description p { font-size: 14px; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) 92px; padding: 16px; gap: 14px 10px; }
  .cart-item > img { width: 64px; height: 76px; }
  .cart-item-title { grid-column: 2 / 4; }
  .cart-item-title h3 { font-size: 13px; }
  .cart-item-title p { font-size: 11px; }
  .cart-item .stepper { grid-column: 1 / 3; width: 115px; }
  .cart-item-total { grid-column: 3; }
  .cart-item-total strong { font-size: 19px; }
  .cart-unit-price { grid-column: 1 / 3; }
  .cart-item .remove-item { grid-column: 3; font-size: 11px; }
  .cart-actions .button, .cart-actions .text-button { font-size: 12px; }
  .order-summary { padding: 22px; }
  .purchase-steps { padding: 18px 6px; gap: 4px; }
  .purchase-steps li { font-size: 10px; line-height: 1.35; gap: 9px; }
  .purchase-steps li > span { width: 30px; height: 30px; }
  .purchase-steps li:before { top: 15px; left: calc(-50% + 19px); right: calc(50% + 19px); }
  .purchase-steps small { display: none; }
  .checkout-layout .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .checkout-layout .address-fields label:nth-child(4) { grid-column: 1; }
  .field { font-size: 13px; }
  .field input, .field select { height: 46px; font-size: 16px; }
  .radio-card { padding: 16px; }
  .delivery-options, .payment-options { grid-template-columns: 1fr; gap: 12px; }
  .checkout-items > div { font-size: 12px; gap: 10px; }
  .checkout-items img { width: 44px; height: 54px; }
  .checkout-items > div > strong { font-size: 13px; }
  .confirmation { padding: 22px; gap: 16px; }
  .confirmation .success-icon { width: 48px; height: 48px; border-radius: 14px; }
  .confirmation h1 { font-size: 24px; }
  .confirmation p { font-size: 13px; }
  .confirmation-number { flex-basis: 100%; border-top: 1px solid #bfddce; padding-top: 16px; }
  .confirmation-number strong { font-size: 21px; }
  .order-line { gap: 12px; font-size: 13px; }
  .order-line img { width: 44px; height: 56px; }
  .order-line > strong { font-size: 14px; }
  .order-line small { font-size: 11px; }
  .orders-sidebar { padding: 16px; }
  .orders-list > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 18px; gap: 16px; font-size: 13px; }
  .orders-list > a > .text-link { justify-self: end; font-size: 12px; }
  .order-title h2 { font-size: 19px; }
  .order-page-actions { flex-direction: column; }
  .empty-state { padding: 36px 20px; }
  .empty-state h2 { font-size: 22px; }
  .empty-state p { font-size: 14px; }
  #toast, #toast.visible { bottom: calc(84px + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; max-width: none; transform: none; font-size: 13px; }
  .footer-compact { flex-direction: column; align-items: flex-start; padding-block: 26px; }
  .footer-compact nav { gap: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
