:root { --orange: #ff6000; --orange-dark: #c54800; }
.button.orange { color: var(--ink); }
.button.orange:hover { color: #fff; }
.logo.logo-image { flex-shrink: 0; }
.header .logo-image > img { width: 184px; height: auto; object-fit: contain; display: block; }
.footer .logo-image { background: #fff; padding: 12px 16px; border-radius: 8px; }
.footer .logo-image > img { width: 188px; height: auto; object-fit: contain; display: block; }
.header-actions .icon-button { min-width: 44px; min-height: 44px; }
.header-actions .bag-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.cart-label { font-size: 12px; font-weight: 700; }
.bag-count { position: static; font-size: 11px; min-width: 22px; height: 22px; line-height: 22px; padding-inline: 4px; }
.purchase-guide { background: #fff8f2; border-bottom: 1px solid #f1e3d8; }
.purchase-guide .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 20px; }
.purchase-guide strong { font-size: 14px; }
.purchase-guide ol { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; list-style: none; counter-reset: step; padding: 0; margin: 0; }
.purchase-guide li { counter-increment: step; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.purchase-guide li::before { content: counter(step); display: grid; place-items: center; background: #fff; border: 1px solid #f3d6c3; border-radius: 50%; width: 24px; height: 24px; color: var(--orange-dark); font-weight: 700; }
.shop-head .shop-how { font-size: 13px; margin-top: 14px; color: var(--muted); max-width: none; }
.product-card { display: flex; flex-direction: column; min-width: 0; border-radius: 8px; overflow: hidden; }
.product-info { display: flex; flex-direction: column; flex: 1; }
.product-name { overflow-wrap: anywhere; line-height: 1.35; }
.product-fit { align-items: flex-start; font-size: 11px; line-height: 1.6; min-height: 36px; }
.product-fit > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-fit svg { margin-top: 2px; flex-shrink: 0; }
.product-price { font-size: 17px; line-height: 1.5; margin-top: auto; padding-top: 14px; }
.currency-note { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 5px; }
.product-stock { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 500; margin-top: 7px; padding: 3px 7px; border-radius: 4px; line-height: 1.5; background: #f2f3ed; color: #5a6151; }
.product-stock.in-stock { background: #e8f4ec; color: #225534; }
.product-stock.out-of-stock { background: #fcecea; color: #91352e; }
.product-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 18px; }
.product-bottom .product-detail { flex: none; order: 2; justify-content: center; gap: 10px; font-size: 12px; min-height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.product-bottom .add-button { width: 100%; height: auto; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; background: var(--orange); color: var(--ink); border: 1px solid var(--orange); border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.product-bottom .add-button:hover:not(:disabled), .product-bottom .add-button.selected { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.product-bottom .add-button:disabled { background: #e9eae5; border-color: #e9eae5; color: #747970; cursor: not-allowed; opacity: 1; }
.product-bottom .add-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.product-card.is-out-of-stock .product-art { opacity: .7; }
.toast { display: flex; align-items: center; gap: 14px; border-radius: 8px; text-align: left; padding: 12px 16px; }
.toast.show { pointer-events: auto; }
.toast button { color: #fff; border: 1px solid #ffffff66; padding: 9px 12px; min-height: 44px; border-radius: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.detail-feedback { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; background: #e9f6ee; color: #225534; font-size: 12px; padding: 12px; margin-top: 12px; border-radius: 6px; }
.detail-feedback button { font-weight: 700; text-decoration: underline; min-height: 44px; padding: 4px 0; }
.detail-copy .button { border-radius: 6px; min-height: 48px; }
.detail-copy .product-stock { display: flex; width: max-content; max-width: 100%; }
.detail-cart-link { min-height: 44px; font-size: 12px; }
.detail-copy .product-whatsapp { min-height: 44px; font-size: 12px; }
.filters-slot { min-width: 0; }
.filter-group label, .category-filter { min-height: 40px; }
.filter-group .field select { min-height: 46px; font-size: 14px; }
.filter-group .radio-row { font-size: 13px; line-height: 1.5; margin-top: 3px; }
.filter-group input[type=radio] { width: 18px; height: 18px; }
.filter-chip { min-height: 38px; padding: 8px 12px; font-size: 12px; border-radius: 20px; }
.empty-state p { font-size: 14px; line-height: 1.7; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.empty-actions .button { font-size: 13px; }
.filters-dialog { width: min(460px, 100%); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0; padding: 0; }
.filters-dialog .dialog-top { position: sticky; top: 0; z-index: 2; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); margin: 0; }
.filters-dialog .dialog-top h2 { font-size: 24px; }
.filters-dialog .filters { display: block; border: 0; padding: 0 22px 24px; }
.filters-dialog .filter-title { padding-block: 18px; }
.filters-dialog .filter-title h2 { font-size: 14px; }
.filters-dialog .small-link { min-height: 44px; font-size: 12px; }
.filters-dialog .category-options { grid-template-columns: 1fr; }
.filters-dialog .category-filter { min-height: 44px; }
.filter-panel-actions { position: sticky; bottom: 0; background: #fff; padding: 16px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filter-panel-actions .button { min-height: 48px; }
.selection-dialog { width: min(720px, calc(100% - 40px)); padding: 0; max-height: calc(100dvh - 48px); border-radius: 12px; }
.selection-dialog .dialog-top { background: #fff; padding: 26px 26px 0; margin-bottom: 12px; }
.selection-dialog .dialog-intro { padding: 0 26px; font-size: 13px; line-height: 1.7; }
#selection-items { padding: 0 26px; }
.selection-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding-block: 20px; }
.selection-item-art { width: 84px; height: 84px; border-radius: 6px; }
.selection-item-art .product-photo { padding: 5px; }
.cart-item-copy h3 { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.cart-item-copy p { font-size: 12px; line-height: 1.6; }
.cart-item-copy .cart-fit { font-size: 11px; margin-top: 5px; }
.cart-item-copy .cart-stock { font-size: 11px; margin-top: 4px; }
.cart-quantity { border-radius: 6px; gap: 0; overflow: hidden; }
.cart-quantity button { width: 44px; height: 44px; font-size: 20px; }
.cart-quantity span { min-width: 32px; font-size: 14px; font-weight: 700; }
.cart-line-end { min-width: 90px; gap: 12px; }
.cart-line-end > strong { font-size: 14px; line-height: 1.5; white-space: normal; text-align: right; overflow-wrap: anywhere; }
.cart-remove { color: var(--muted); min-height: 44px; display: flex; align-items: center; gap: 5px; font-size: 12px; padding: 6px 0; }
.cart-remove svg { width: 17px; height: 17px; }
#selection-bottom { position: sticky; bottom: 0; background: #fff; z-index: 1; }
.selection-actions { padding: 20px 26px 24px; margin-top: 0; border-top: 1px solid var(--line); background: #f8f9f5; }
.cart-total { margin-bottom: 8px; align-items: flex-start; }
.cart-total > span { font-size: 14px; line-height: 1.5; }
.cart-total > strong { font-size: 22px; line-height: 1.4; text-align: right; }
.selection-actions > p { font-size: 12px; margin-bottom: 10px; }
.selection-actions .whatsapp-button { min-height: 52px; border-radius: 7px; gap: 10px; font-size: 15px; line-height: 1.4; padding: 13px; }
.cart-continue { min-height: 44px; font-size: 12px; margin-top: 8px; }
.checkout-error { background: #fff0e9; border: 1px solid #f0c8b6; border-radius: 6px; padding: 10px 12px; font-size: 12px; line-height: 1.6; color: #813c21; margin-bottom: 12px; }
.mobile-cart-bar { display: none; }
.modal-open .whatsapp-float, .modal-open .mobile-cart-bar { display: none; }
.commerce-button:focus-visible, .product-card button:focus-visible, .cart-quantity button:focus-visible, .cart-remove:focus-visible { outline: 3px solid #c54800; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .header .logo-image > img { width: 166px; height: auto; }
  .shop-layout { display: flex; flex-direction: column; gap: 18px; }
  .filters-slot { display: none; }
  .shop-results { display: contents; }
  .demo-banner { order: 0; }
  .search-toolbar { order: 1; margin-top: 0; }
  .results-toolbar { order: 2; }
  .active-filters { order: 3; }
  .shop-product-grid, .empty-state { order: 4; }
  .mobile-filters { display: flex; min-height: 46px; font-size: 12px; padding-inline: 12px; }
  body.has-cart { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mobile-cart-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 80px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 34; min-height: 60px; align-items: center; gap: 12px; padding: 12px 15px; background: var(--ink); color: #fff; border-radius: 10px; box-shadow: 0 5px 22px #10181430; text-align: left; }
  .mobile-cart-bar > [data-icon] { width: 22px; height: 22px; flex: 0 0 22px; }
  .mobile-cart-bar > [data-icon] > svg { width: 22px; height: 22px; }
  .mobile-cart-bar > span:not([data-icon]) { flex: 1; min-width: 0; }
  .mobile-cart-bar strong { font-size: 13px; display: block; line-height: 1.5; }
  .mobile-cart-bar small { font-size: 11px; color: #d7dfd2; display: block; line-height: 1.5; }
  .whatsapp-float { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); padding: 13px; border-radius: 50%; }
  .whatsapp-float span { display: none; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .measurement-open .mobile-cart-bar, .measurement-open .whatsapp-float, .modal-open .mobile-cart-bar { display: none; }
  .toast { top: 112px; bottom: auto; font-size: 12px; width: max-content; max-width: calc(100% - 24px); }
}
@media (max-width: 600px) {
  .header-inner { gap: 8px; height: 70px; }
  .header .logo-image > img { width: clamp(136px, 36vw, 166px); }
  .header-actions { gap: 1px; }
  .header-actions .bag-button { padding-inline: 7px; gap: 5px; }
  .cart-label { display: none; }
  .purchase-guide .wrap { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 17px; }
  .purchase-guide ol { gap: 8px 14px; }
  .purchase-guide li { font-size: 11px; }
  .purchase-guide li::before { width: 21px; height: 21px; }
  .product-bottom .add-button { font-size: 11px; min-height: 48px; gap: 5px; padding-inline: 4px; }
  .product-bottom .product-detail { font-size: 11px; }
  .product-bottom .add-button svg { width: 16px; height: 16px; }
  .home-product-grid .product-fit, .shop-product-grid .product-fit { font-size: 10px; min-height: 36px; }
  .product-price { font-size: 15px; margin-top: auto; padding-top: 12px; }
  .product-stock { font-size: 10px; }
  .search-field > input, .field input, .field select, .field textarea { font-size: 16px; }
  .selection-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .selection-dialog .dialog-top { padding: 22px 16px 0; }
  .selection-dialog .dialog-top .eyebrow { font-size: 9px; }
  .selection-dialog .dialog-intro { padding-inline: 16px; font-size: 12px; margin-bottom: 12px; }
  #selection-items { padding-inline: 16px; }
  .selection-item { grid-template-columns: 58px minmax(0, 1fr); gap: 10px 12px; }
  .selection-item-art { width: 58px; height: 68px; }
  .cart-item-copy h3 { font-size: 14px; }
  .cart-item-copy p { font-size: 12px; }
  .cart-line-end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .cart-line-end > strong { font-size: 14px; text-align: left; }
  .selection-actions { padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
  .cart-total > strong { font-size: 20px; }
  .cart-total > span { font-size: 13px; }
  .selection-actions .whatsapp-button { font-size: 14px; }
  .empty-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 360px) {
  .home-product-grid, .shop-product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-bottom .add-button { font-size: 13px; }
  .header-actions [data-action=search] { display: none; }
}
