/* ReStart — canonical component cascade. Base rules followed by consolidated breakpoints. */
/* 1R ReStart — header-components.css
 * Canonical order: foundations → layout/components → states/integrations → responsive.
 */
/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.primary-navigation{justify-self:center;}
.primary-menu,.footer-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0;}
.primary-menu a,.footer-menu a{color:inherit;text-decoration:none;}
.site-header .primary-menu a{color:var(--r1-header-link,var(--r1-text));}
.site-header .primary-menu a:hover{color:var(--r1-header-link-hover,var(--r1-link-hover));}
.header-actions{display:flex;align-items:center;gap:10px;}
.header-actions .search-form{display:flex;}
.header-actions .search-field{width:180px;border:1px solid var(--r1-border);border-radius:var(--r1-control-radius);padding:.55rem .7rem;}
.header-actions .search-submit{display:none;}
.header-account,.header-cart{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--r1-header-text,var(--r1-text));text-decoration:none;}
.header-account img,.header-cart img{width:24px;height:24px;}
.menu-toggle{display:none;width:42px;height:42px;padding:8px;background:transparent;border-radius:0;}
.menu-toggle:hover{background:transparent;opacity:1;}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--r1-text);margin:5px 0;border-radius:999px;}
body.r1-layout-boxed .site-header,body.r1-layout-boxed .r1-topbar,body.r1-layout-boxed .site-main,body.r1-layout-boxed .site-footer{max-width:var(--r1-site-width);margin-left:auto;margin-right:auto;background:var(--r1-surface);}
.r1-topbar{background:var(--r1-topbar-bg,var(--r1-primary));color:var(--r1-topbar-text,#fff);font-size:.86rem;}
.r1-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.r1-topbar a{color:var(--r1-topbar-link,inherit);}
.r1-topbar a:hover{color:var(--r1-topbar-link-hover,inherit);}
.r1-topbar-right{text-align:right;}
.layout-marketplace .header-menu-bar .primary-navigation{justify-self:start;}
.layout-marketplace .header-menu-bar .primary-menu{min-height:44px;}
.site-header>.menu-toggle{display:none;}
.layout-vertical .primary-navigation{justify-self:start;}
.layout-vertical .header-actions{justify-self:end;}
.layout-topcenter .primary-navigation{grid-column:1;grid-row:1;justify-self:start;}
.layout-topcenter .header-actions{grid-column:3;grid-row:1;justify-self:end;}
.r1-header-search{display:flex;align-items:stretch;min-width:180px;height:40px;margin:0;}
.r1-header-search .search-field{min-width:0;width:100%;height:40px;margin:0;border:1px solid var(--r1-border);border-right:0;border-radius:var(--r1-control-radius) 0 0 var(--r1-control-radius);background:var(--r1-surface);color:var(--r1-text);padding:0 12px;font-size:13px;}
.r1-header-search-submit{display:flex;align-items:center;justify-content:center;width:42px;height:40px;margin:0;padding:0;border:1px solid var(--r1-primary);border-radius:0 var(--r1-control-radius) var(--r1-control-radius) 0;background:var(--r1-primary);color:#fff;cursor:pointer;line-height:1;}
.r1-header-search-submit:hover,.r1-header-search-submit:focus{background:var(--r1-hover);border-color:var(--r1-hover);color:#fff;}
.r1-header-search.is-wide{width:100%;}
.r1-header-category-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--r1-primary);border-radius:var(--r1-button-radius);background:var(--r1-primary);color:#fff;font-weight:600;white-space:nowrap;text-decoration:none;box-shadow:none;}
.r1-header-category-button:hover,.r1-header-category-button:focus,.r1-header-category-button:active{background:var(--r1-hover);border-color:var(--r1-hover);color:#fff;text-decoration:none;box-shadow:none;}
.r1-header-row-topcenter .primary-navigation{justify-self:start;}
.r1-header-row-topcenter .header-actions{justify-self:end;}
.r1-header-secondary{background:var(--r1-header-secondary-bg);color:var(--r1-header-secondary-text);}
.r1-header-secondary-items a,.r1-header-secondary-items span{color:inherit;white-space:nowrap;}
.r1-topbar--trust{background:var(--r1-primary);color:#fff;}
.r1-topbar--trust .r1-topbar-inner{min-height:40px;}
.layout-balanced .primary-navigation,.layout-minimal .primary-navigation,.layout-multirow .primary-navigation{grid-column:2;grid-row:1;justify-self:center;padding-bottom:0;}
.layout-balanced>.header-inner>.r1-header-search,.layout-minimal>.header-inner>.r1-header-search,.layout-multirow>.header-inner>.r1-header-search{grid-column:3;grid-row:1;width:190px;}
.layout-balanced .header-actions,.layout-minimal .header-actions,.layout-multirow .header-actions{grid-column:4;grid-row:1;justify-self:end;}
.r1-header-secondary-items{display:flex;align-items:center;width:100%;font-size:13px;font-weight:600;justify-content:flex-start;gap:clamp(18px,3vw,48px);}
.r1-header-secondary-item{display:inline-flex;align-items:center;gap:9px;min-height:42px;color:inherit;text-decoration:none;font-weight:600;white-space:nowrap;}
.r1-header-secondary-item:hover{color:var(--r1-hover);}
.header-account:hover,.header-cart:hover{background:transparent;opacity:.78;}
.r1-header-search .search-field::placeholder{font-size:13px;}
.r1-header-search-submit .r1-header-search-icon{display:block;width:21px;height:21px;margin:0;flex:0 0 21px;stroke:currentColor;}
.layout-balanced>.header-inner,.layout-multirow>.header-inner,.layout-minimal>.header-inner{padding-top:0;padding-bottom:0;border-top:0;}
.layout-balanced>.header-inner:before,.layout-balanced>.header-inner:after,.layout-multirow>.header-inner:before,.layout-multirow>.header-inner:after,.layout-minimal>.header-inner:before,.layout-minimal>.header-inner:after{content:none;display:none!important;}
.header-account .r1-header-action-icon,.header-cart .r1-header-action-icon{display:block;width:24px;height:24px;flex:0 0 24px;stroke:currentColor;fill:none;}
.r1-header-search[data-r1-reactor-search-enhanced="1"]{position:relative;overflow:visible;}
.r1-header-search[data-r1-reactor-search-enhanced="1"]>.reactor-search__results{top:calc(100% + 8px);left:auto;right:0;width:max(100%,min(420px,calc(100vw - 32px)));min-width:0;max-height:min(70vh,620px);overflow:auto;z-index:99999;border:1px solid var(--r1-border);border-radius:var(--r1-card-radius,var(--r1-control-radius));background:var(--r1-surface);color:var(--r1-text);box-shadow:var(--r1-shadow,0 18px 50px rgba(15,23,42,.16));}
.r1-header-search.is-wide[data-r1-reactor-search-enhanced="1"]>.reactor-search__results{left:0;right:0;width:100%;}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:11px 12px;border-bottom:1px solid var(--r1-border);background:transparent;}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item:hover,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item.is-keyboard-active{background:var(--r1-bg);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__image img{width:58px;height:58px;border-radius:calc(var(--r1-card-radius,var(--r1-control-radius)) * .55);background:var(--r1-surface);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__title,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__price{color:var(--r1-text);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__title strong{color:var(--r1-primary);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__desc,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__cats,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__sku,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-item__stock{color:var(--r1-muted);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-sale{background:var(--r1-primary);color:#fff;}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-more{color:var(--r1-primary);border-radius:0 0 var(--r1-card-radius,var(--r1-control-radius)) var(--r1-card-radius,var(--r1-control-radius));}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-more:hover,
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-more.is-keyboard-active{background:var(--r1-bg);color:var(--r1-hover);}
.r1-header-search[data-r1-reactor-search-enhanced="1"] .reactor-search-empty{color:var(--r1-muted);}
.r1-header-search[data-r1-reactor-search-enhanced="1"].is-loading .r1-header-search-submit{opacity:.72;}
.r1-header-secondary-icon{display:block;width:22px;height:22px;object-fit:contain;flex:0 0 22px;color:var(--r1-header-secondary-icon);}
.r1-header-secondary-icon--svg,.r1-header-secondary-icon--svg *{stroke:currentColor;}
.r1-header-secondary-icon--media{filter:none;}
.r1-topbar .r1-topbar-trust-icon{color:var(--r1-topbar-icon,var(--r1-topbar-text,#fff));}
.r1-header-secondary>.r1-container{min-height:42px;display:flex;align-items:center;border-top:0;}
.r1-header-category-button .r1-header-category-grid-icon{margin:0;stroke-width:1.8;display:block;width:18px;height:18px;flex:0 0 18px;fill:currentColor;stroke:none;}
.r1-topbar .r1-icon-shortcode--auto{width:1.1em;height:1.1em;}
.r1-header-search-popover{position:relative;display:flex;align-items:center;justify-content:flex-end;min-width:36px;}
.r1-header-search-trigger{display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--r1-header-text,var(--r1-text));cursor:pointer;line-height:1;}
.r1-header-search-trigger:hover,.r1-header-search-trigger:focus-visible{background:transparent;color:var(--r1-header-text,var(--r1-text));opacity:.78;}
.r1-header-search-trigger .r1-header-action-icon{display:block;width:24px;height:24px;stroke:currentColor;fill:none;}
.r1-header-search-panel{position:absolute;top:calc(100% + 12px);right:0;width:360px;max-width:calc(100vw - 32px);padding:14px 46px 14px 14px;border:1px solid var(--r1-border);border-radius:10px;background:var(--r1-surface);box-shadow:0 16px 42px rgba(15,23,42,.14);z-index:120;}
.r1-header-search-panel[hidden]{display:none!important;}
.r1-header-search-panel .r1-header-search{width:100%;min-width:0;max-width:none;}
.r1-header-search-close{position:absolute;top:50%;right:10px;display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;transform:translateY(-50%);border:0;border-radius:6px;background:transparent;box-shadow:none;color:#646970;font-size:24px;line-height:1;cursor:pointer;}
.r1-header-search-close:hover,.r1-header-search-close:focus-visible{background:#f6f7f7;color:#d63638;opacity:1;}
.r1-header-cart-wrap{position:relative;display:flex;align-items:center;}
.r1-header-cart-wrap:after{content:"";position:absolute;z-index:10019;top:calc(100% - 10px);right:-16px;width:max(100%,76px);height:24px;background:transparent;pointer-events:auto;}
.r1-header-cart-preview:before{content:"";position:absolute;right:18px;top:-7px;width:12px;height:12px;background:#fff;border-left:1px solid var(--r1-border,#e5e7eb);border-top:1px solid var(--r1-border,#e5e7eb);transform:rotate(45deg);}
.r1-header-cart-wrap:hover .r1-header-cart-preview,.r1-header-cart-wrap:focus-within .r1-header-cart-preview{opacity:1;visibility:visible;pointer-events:auto;transform:none;}
.r1-header-cart-preview__items{display:flex;flex-direction:column;gap:14px;max-height:330px;overflow:auto;}
.r1-header-cart-preview__item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start;}
.r1-header-cart-preview__thumb{display:flex;align-items:center;justify-content:center;width:64px;height:64px;padding:5px;overflow:hidden;border:1px solid var(--r1-border,#e5e7eb);border-radius:10px;background:var(--r1-surface,#fff);box-sizing:border-box;}
.r1-header-cart-preview__image{display:block;width:100%;height:100%;border-radius:7px;object-fit:contain;}
.r1-header-cart-preview__meta{min-width:0;}
.r1-header-cart-preview__name:hover{color:var(--r1-primary,#0A95AE);}
.r1-header-cart-preview__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;}
.r1-header-cart-preview__button--cart{background:#fff;color:var(--r1-text,#111827);}
.r1-header-cart-preview__button--checkout{border-color:var(--r1-primary,#0A95AE);background:var(--r1-primary,#0A95AE);color:#fff;}
.r1-header-cart-preview__button--checkout:hover{background:var(--r1-hover,#087F95);color:#fff;}
.r1-header-cart-preview{position:absolute;z-index:10020;top:calc(100% - 2px);right:-10px;width:min(390px,calc(100vw - 24px));padding:18px;border:1px solid var(--r1-border,#e5e7eb);border-radius:18px;background:#fff;color:var(--r1-text,#111827);box-shadow:0 18px 48px rgba(15,23,42,.16);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;font-family:var(--r1-font);font-size:1em;}
.r1-header-cart-preview__name{display:block;color:var(--r1-text,#111827);text-decoration:none;font-size:.9em;line-height:1.4;font-weight:600;}
.r1-header-cart-preview__price{margin-top:5px;font-size:.9em;font-weight:600;color:var(--r1-text);}
.r1-header-cart-preview__total{display:flex;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--r1-border,#e5e7eb);font-size:.9em;}
.r1-header-cart-preview__total strong{font-size:1em;}
.r1-header-cart-preview__button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid var(--r1-border,#e5e7eb);text-decoration:none;text-align:center;font-size:.9em;font-weight:600;border-radius:var(--r1-button-radius);}
.r1-header-cart-preview__empty{padding:12px 4px;text-align:center;font-size:.9em;color:var(--r1-muted);}
/* ==========================================================================
   STATES / UTILITIES
   ========================================================================== */
.r1-hide-desktop{display:none!important;}
/* ==========================================================================
   OTHER
   ========================================================================== */
.mobile-drawer,.mobile-drawer-overlay{display:none;}
.r1-default-logo img,.mobile-drawer-logo img{display:block;max-height:48px;width:auto;}
.r1-icon-shortcode--auto{display:inline-block;width:1em;height:1em;vertical-align:-.125em;flex:0 0 auto;}
/* ==========================================================================
   RESPONSIVE / CONDITIONAL
   ========================================================================== */

@media (max-width:980px){
.menu-toggle{display:block;justify-self:start;grid-column:1;grid-row:1;}
.primary-navigation{display:none!important;}
.header-actions{grid-column:3;grid-row:1;justify-self:end;gap:7px;}
.header-actions .search-form{display:none;}
.mobile-drawer-overlay{display:none!important;}
.mobile-drawer-overlay[hidden]{display:none;}
.r1-drawer-open .mobile-drawer{transform:translate3d(0,0,0);visibility:visible;}
.mobile-drawer-head{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;flex:0 0 auto;}
.mobile-drawer-title{font-weight:600;font-size:1rem;}
.mobile-drawer-close{width:42px;height:42px;padding:0;background:transparent;color:var(--r1-text);font-size:32px;line-height:1;border-radius:50%;}
.mobile-drawer-close:hover{background:var(--r1-bg);color:var(--r1-text);opacity:1;}
.mobile-menu,.mobile-menu .sub-menu{list-style:none;margin:0;padding:0;}
.mobile-menu li{position:relative;}
.mobile-menu>li{border-bottom:1px solid var(--r1-border);}
.mobile-menu a{display:block;padding:14px 44px 14px 0;color:var(--r1-text);text-decoration:none;}
.mobile-drawer .mobile-menu li > .sub-menu{display:none;padding:0 0 10px 16px;}
.mobile-drawer .mobile-menu li.submenu-open > .sub-menu{display:block;}
.mobile-menu .sub-menu li{border-top:1px solid color-mix(in srgb,var(--r1-border) 70%,transparent);}
.mobile-menu .sub-menu a{padding:11px 40px 11px 0;font-size:.95rem;}
.mobile-drawer-search .search-form{display:flex;gap:8px;}
.mobile-drawer-search .search-field{min-width:0;flex:1;border:1px solid var(--r1-border);border-radius:var(--r1-control-radius);padding:.7rem .8rem;}
.mobile-drawer-search .search-submit{flex:0 0 auto;}
.mobile-drawer-logo img{max-height:44px;max-width:58vw;}
.mobile-menu>li>a{font-size:1.12rem;font-weight:600;padding:16px 46px 16px 0;}
.site-header .primary-navigation,.layout-marketplace .header-menu-bar,.layout-minimal .primary-navigation{display:none!important;}
.site-header .header-actions,.layout-minimal .header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;width:auto;}
.layout-vertical .primary-navigation,.layout-topcenter .primary-navigation{display:none;}
.layout-vertical .header-actions,.layout-topcenter .header-actions{grid-column:3;grid-row:1;justify-self:end;}
.r1-header-row-marketplace .r1-header-category-button,.r1-header-row-category-search .r1-header-category-button,.r1-header-row-marketplace .r1-header-search,.r1-header-row-category-search .r1-header-search,.r1-header-row-topcenter .primary-navigation{display:none;}
.r1-header-row-marketplace .header-actions,.r1-header-row-category-search .header-actions,.r1-header-row-topcenter .header-actions{grid-column:3;grid-row:1;justify-self:end;}
.layout-balanced>.header-inner>.r1-header-search,.layout-minimal>.header-inner>.r1-header-search,.layout-multirow>.header-inner>.r1-header-search,.layout-balanced .primary-navigation,.layout-minimal .primary-navigation,.layout-multirow .primary-navigation{display:none!important;}
.layout-balanced .header-actions,.layout-minimal .header-actions,.layout-multirow .header-actions{grid-column:3;}
.mobile-drawer-search .r1-header-search .search-field{font-size:16px;}
.mobile-drawer-search .r1-header-search[data-r1-reactor-search-enhanced="1"]>.reactor-search__results{left:0;right:0;width:100%;max-height:min(52vh,460px);}
.mobile-drawer-search .r1-header-search-popover{display:block;width:100%;}
.mobile-drawer-search .r1-header-search-trigger,.mobile-drawer-search .r1-header-search-close{display:none!important;}
.mobile-drawer-search .r1-header-search-panel{position:static;display:block;width:100%;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.site-header .menu-toggle span{width:24px;height:2px;margin:3px 0;}
.site-header .custom-logo,
  .site-header .r1-default-logo img{display:block;width:auto;max-width:min(44vw,var(--r1-logo-max-width));max-height:42px;}
.site-header .header-actions,
  .layout-minimal .header-actions,
  .layout-vertical .header-actions,
  .layout-topcenter .header-actions,
  .r1-header-row-marketplace .header-actions,
  .r1-header-row-category-search .header-actions,
  .r1-header-row-topcenter .header-actions{grid-column:3;grid-row:1;justify-self:end;align-self:center;display:flex;align-items:center;width:auto;min-width:0;gap:4px;}
.site-header .header-account,
  .site-header .header-cart,
  .site-header .r1-header-search-trigger{width:36px;height:36px;flex:0 0 36px;}
.site-header .header-account .r1-header-action-icon,
  .site-header .header-cart .r1-header-action-icon,
  .site-header .r1-header-search-trigger .r1-header-action-icon{width:22px;height:22px;}
.site-header>.menu-toggle{position:absolute;left:max(12px,calc((100vw - min(calc(100% - (var(--r1-content-x) * 2)),var(--r1-container)))/2));top:50%;transform:translateY(-50%);z-index:3;display:none!important;}
.mobile-drawer{display:flex;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;background:#fff;z-index:99999;flex-direction:column;box-shadow:none;transform:translate3d(-100%,0,0);visibility:hidden;transition:transform .24s ease,visibility .24s;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);}
.mobile-drawer-content{padding:12px 22px 34px;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(34px,env(safe-area-inset-bottom));}
.r1-hide-desktop{display:block;}
.r1-hide-tablet{display:none!important;}
.site-header .r1-header-search-popover:not(.is-open) .r1-header-search-panel{display:none!important;}
.site-header .r1-header-search-popover.is-open .r1-header-search-panel{display:block;position:fixed;left:12px;right:12px;top:calc(env(safe-area-inset-top) + 72px);width:auto;max-width:none;padding:14px 46px 14px 14px;z-index:100001;}
.r1-header-row-marketplace>.r1-header-search--field,
  .r1-header-row-category-search>.r1-header-search--field{display:flex;grid-column:1/-1;grid-row:2;width:100%;}
.mobile-drawer-search{padding-top:20px;padding:0 0 10px;border-bottom:0;margin-bottom:2px;}
.mobile-drawer-search .r1-header-search{min-width:0;display:flex;width:100%;}
:root{--r1-mobile-header-y:8px;}
.site-header .header-inner,
  .site-header .header-row,
  .layout-marketplace .header-row-market,
  .layout-minimal .header-inner-minimal{position:relative;grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr);grid-template-rows:auto;column-gap:8px;min-height:64px;padding-block:var(--r1-mobile-header-y);}
.site-header .site-branding,
  .layout-marketplace .site-branding,
  .layout-minimal .site-branding{min-width:0;max-width:100%;grid-column:2;grid-row:1;justify-self:center;align-self:center;}
.site-header .menu-toggle{display:flex;position:static;flex-direction:column;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:7px 8px;transform:none;z-index:auto;grid-column:1;grid-row:1;justify-self:start;align-self:center;}
.site-header .header-actions{grid-column:3;grid-row:1;justify-self:end;align-self:center;}
.r1-header-secondary{display:block;}
.r1-header-secondary-items{min-width:0;}
.site-header .header-inner:has(> .r1-header-search--field),
  .site-header .header-row:has(> .r1-header-search--field){grid-template-rows:auto auto;row-gap:5px;padding-top:var(--r1-mobile-header-y);padding-bottom:var(--r1-mobile-header-y);}
.site-header .r1-header-search--field{display:flex;grid-column:1/-1;grid-row:2;width:100%;min-width:0;margin:0;}
.r1-topbar,
  .r1-header-secondary,
  .r1-topbar-inner,
  .r1-header-secondary-inner,
  .r1-header-trust-items,
  .r1-header-top-items,
  .r1-header-secondary-items{max-width:100%;min-width:0;overflow-x:clip;}
.r1-header-secondary>.r1-container{min-height:0;}
.r1-topbar--trust .r1-header-top-items,
  .r1-header-secondary--trust .r1-header-secondary-items,
  .r1-topbar--links .r1-header-top-items,
  .r1-header-secondary--links .r1-header-secondary-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0;gap:0;}
.r1-topbar--trust .r1-header-top-item,
  .r1-topbar--links .r1-header-top-item,
  .r1-header-secondary--trust .r1-header-secondary-item,
  .r1-header-secondary--links .r1-header-secondary-item{display:flex;width:100%;min-width:0;min-height:42px;padding:7px 8px;align-items:center;justify-content:center;gap:7px;white-space:normal;overflow:visible;overflow-wrap:anywhere;word-break:normal;line-height:1.2;text-align:center;}
.r1-topbar--trust .r1-header-top-item>span,
  .r1-topbar--links .r1-header-top-item>span,
  .r1-header-secondary--trust .r1-header-secondary-item>span,
  .r1-header-secondary--links .r1-header-secondary-item>span{min-width:0;white-space:normal;overflow-wrap:anywhere;}
.r1-topbar--utility .r1-topbar-inner,
  .r1-header-secondary--utility .r1-header-secondary-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding-top:5px;padding-bottom:5px;}
.r1-topbar--utility .r1-topbar-left,
  .r1-topbar--utility .r1-topbar-right,
  .r1-header-secondary--utility .r1-header-secondary-left,
  .r1-header-secondary--utility .r1-header-secondary-right{width:100%;min-width:0;margin:0;padding:3px 0;text-align:center;white-space:normal;overflow-wrap:anywhere;}
.mobile-drawer .mobile-menu li > .submenu-toggle{position:absolute;right:0;top:7px;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:var(--r1-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:none;}
.mobile-drawer .submenu-toggle::before,.mobile-drawer .submenu-toggle::after{content:none;display:none!important;}
.mobile-drawer .submenu-toggle>span{display:block;position:relative;width:12px;height:12px;margin:0;padding:0;border:0;background:none;transform:none;transition:none;}
.mobile-drawer .submenu-toggle>span::after{content:none;display:none!important;}
.mobile-drawer .submenu-toggle>span::before{content:"";display:block;position:absolute;top:0;left:0;width:10px;height:10px;border:0;border-right:2px solid #9aa7ad;border-bottom:2px solid #9aa7ad;background:none;transform:rotate(45deg);transform-origin:center;transition:transform .25s ease,border-color .25s ease;}
.mobile-drawer .submenu-open>.submenu-toggle>span::before{transform:rotate(225deg);}
.mobile-menu .reactor-burger-cat-img img{object-fit:var(--r1-burger-image-fit,contain);}
.r1-burger-hide-images .mobile-menu .reactor-burger-cat-img{display:none!important;}
}

@media (max-width:640px){
.menu-toggle{width:38px;height:38px;padding:7px 4px;}
.menu-toggle span{width:23px;}
.header-actions{gap:4px;}
.r1-topbar-inner{display:block;padding-top:7px;padding-bottom:7px;}
.r1-topbar-right{text-align:left;margin-top:4px;}
.r1-hide-tablet{display:block;}
.r1-hide-phone{display:none!important;}
.site-header .r1-header-search-popover.is-open .r1-header-search-panel{top:calc(env(safe-area-inset-top) + 66px);}
:root{--r1-mobile-header-y:9px;}
.site-header .header-inner,
  .site-header .header-row,
  .layout-marketplace .header-row-market,
  .layout-minimal .header-inner-minimal{grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);column-gap:4px;min-height:60px;}
.r1-topbar--trust .r1-header-top-item,
  .r1-topbar--links .r1-header-top-item,
  .r1-header-secondary--trust .r1-header-secondary-item,
  .r1-header-secondary--links .r1-header-secondary-item{padding:7px 5px;gap:6px;font-size:12px;}
.r1-header-top-items .r1-topbar-trust-icon,
  .r1-header-secondary-items .r1-header-secondary-icon{width:20px;height:20px;flex:0 0 20px;}
}

@media (prefers-reduced-motion:reduce){
.mobile-drawer,.mobile-drawer-overlay{transition:none;}
.mobile-drawer .submenu-toggle>span::before{transition:none;}
}

@media (min-width:981px){
.r1-header-secondary-items{width:max-content;max-width:100%;margin-inline:auto;justify-content:center;gap:clamp(48px,10vw,260px);border-top:0;}
.r1-header-secondary-items>.r1-header-secondary-item{flex:0 0 auto;padding-inline:0;}
.r1-hide-tablet,.r1-hide-phone{display:block;}
}

@media (max-width:420px){
.site-header .header-inner,
  .site-header .header-row,
  .layout-marketplace .header-row-market,
  .layout-minimal .header-inner-minimal{grid-template-columns:40px minmax(0,1fr) auto;column-gap:4px;min-height:60px;}
.site-header .custom-logo,
  .site-header .r1-default-logo img{max-width:38vw;max-height:38px;}
.site-header .header-actions{gap:1px;}
.site-header .header-account,
  .site-header .header-cart,
  .site-header .r1-header-search-trigger{width:34px;height:34px;flex-basis:34px;}
}

@media (min-width:641px) and (max-width:980px){
.r1-hide-phone{display:block;}
}

@media (max-width:782px){
.r1-header-cart-preview{display:none;}
}
