/* Shared interaction contract: storefront and CORE, including inherited Shadow DOM tokens. */
:root{--ui-interaction-color:var(--store-highlight-vivid,#ffdf27);--ui-focus-width:2px;--ui-focus-offset:2px;--ui-selection-width:1px;--ui-focus-radius:8px;--ui-card-lift:-3px;--ui-card-duration:160ms;--ui-card-shadow:0 2px 8px #0000001a;--ui-content-max:1240px;--ui-page-gutter:32px}
:is(.storefront-body,.core-body){--field-focus-color:var(--ui-interaction-color);--field-focus-shadow:none;--ui-focus-color:var(--ui-interaction-color)}
:is(.storefront-body,.core-body) :is(a,summary,[tabindex]){border-radius:var(--ui-focus-radius)}
:is(.storefront-body,.core-body) :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:var(--ui-focus-width) solid var(--ui-interaction-color)!important;outline-offset:var(--ui-focus-offset)!important;box-shadow:none!important}
:is(.storefront-body,.core-body) .floating-field :is(input,select,textarea):focus-visible{outline-offset:-2px!important}
:is(.storefront-body,.core-body) .floating-field :is(input,select,textarea):focus:not([aria-invalid=true]){border-color:var(--ui-interaction-color)!important;box-shadow:none!important}
:is(.storefront-body,.core-body) .floating-field{isolation:isolate}
:is(.storefront-body,.core-body) .floating-field .field-caption{z-index:2;background:var(--core-surface,#fff)}
.home-card-picker{isolation:isolate}
.home-card-picker>span{z-index:2;max-width:calc(100% - 22px);white-space:normal;line-height:1.15}
.home-card-picker>button{position:relative;z-index:1}
.home-admin .home-block-row.is-selected{border-color:var(--ui-interaction-color);border-width:var(--ui-selection-width)}
.home-admin .home-tabs [aria-selected=true]{border-color:var(--ui-interaction-color)}
.storefront-body .store-header :is(.store-location,.store-header-orders,.store-header-account,.store-header-cart):hover{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:var(--store-accent);filter:none}
.storefront-body .store-header :is(.store-location,.store-header-orders,.store-header-account,.store-header-cart){transition:color var(--ui-card-duration)}
.store-nav-row{min-height:44px;padding-block:0}
.store-nav-row>a,.store-nav-group>a{min-height:44px;padding-block:6px}
.storefront-body :is(.home-product-card,.home-category-grid>a,.home-use-card,a.home-campaign,.home-ai-result .home-product-card){transform:none;transition:transform var(--ui-card-duration),box-shadow var(--ui-card-duration)}
@media(hover:hover) and (pointer:fine){.storefront-body :is(.home-product-card,.home-category-grid>a,.home-use-card,a.home-campaign,.home-ai-result .home-product-card):hover{transform:translateY(var(--ui-card-lift));box-shadow:var(--ui-card-shadow)}}
@media(prefers-reduced-motion:reduce){.storefront-body :is(.home-product-card,.home-category-grid>a,.home-use-card,a.home-campaign){transition:none;transform:none!important}}
.store-footer.store-footer{padding:28px 0;text-align:left}
.store-footer-inner{width:min(var(--ui-content-max),calc(100% - var(--ui-page-gutter) - var(--ui-page-gutter)));margin-inline:auto;position:relative}
.store-footer .store-footer-inner>.store-footer-content{max-width:none;margin:20px 0 0;width:100%}
.store-footer:has(.footer-columns) .store-footer-inner>.store-footer-content{margin:0}
.store-footer:has(.footer-columns) .store-footer-inner>img{position:absolute;top:0;left:0;width:210px;height:38px;object-fit:contain;object-position:left center;max-width:100%}
@media(max-width:1024px){:root{--ui-page-gutter:20px}}
@media(max-width:600px){:root{--ui-page-gutter:14px}}
/* Native search cancel is replaced by one named clear control, separate from closing mobile search. */
.store-search-r11 input::-webkit-search-cancel-button,.store-search-r11 input::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
.store-search-r11 input{padding-right:88px}
.store-search-r11 [data-store-search-clear]{right:44px}
.store-search-r11 [data-store-search-clear][hidden]{display:none!important}
@media(max-width:1024px){.store-search-r11 input{padding-right:128px}.store-search-r11 [data-store-search-clear]{right:83px}}

.storefront-body [data-art-create] printable-designer-composer[data-styles-ready]{min-height:0}

/* Close control: 44px target, 32px visual circle, one 14px Lucide x. */
:root{--ui-close-target:44px;--ui-close-circle:32px;--ui-close-icon:14px;--ui-close-background:#edebe7;--ui-close-hover:#e0deda;--ui-close-ink:#302e2a}
:is(.storefront-body,.core-body) button.ui-close{display:grid!important;place-items:center!important;flex:0 0 var(--ui-close-target)!important;width:var(--ui-close-target)!important;min-width:var(--ui-close-target)!important;max-width:var(--ui-close-target)!important;height:var(--ui-close-target)!important;min-height:var(--ui-close-target)!important;max-height:var(--ui-close-target)!important;aspect-ratio:1!important;padding:0!important;border:calc((var(--ui-close-target) - var(--ui-close-circle))/2) solid transparent!important;border-radius:50%!important;background:var(--ui-close-background)!important;background-clip:padding-box!important;color:var(--ui-close-ink)!important;box-sizing:border-box!important;box-shadow:none!important;font-size:0!important;line-height:1!important;transform:none!important;filter:none!important}
:is(.storefront-body,.core-body) button.ui-close>svg{width:var(--ui-close-icon)!important;min-width:var(--ui-close-icon)!important;height:var(--ui-close-icon)!important;max-width:none!important;max-height:none!important;flex:none!important;margin:0!important;position:static!important;vertical-align:middle!important}
:is(.storefront-body,.core-body) button.ui-close:hover{background-color:var(--ui-close-hover)!important;transform:none!important}
:is(.storefront-body,.core-body) .ui-action-highlight{background:var(--ui-interaction-color)!important;color:var(--core-ink,#302e2a)!important;border-color:transparent!important;filter:none!important}
:is(.storefront-body,.core-body) .ui-action-highlight:is(:hover,:active,:focus-visible){background:var(--ui-interaction-color)!important;color:var(--core-ink,#302e2a)!important;filter:none!important}

:is(.storefront-body,.core-body) button.ui-close[hidden]{display:none!important}
@media(min-width:1025px){.storefront-body .store-search-r11 button[data-store-search-close]{display:none!important}}
@media(min-width:701px){.core-body button.admin-menu-close.ui-close{display:none!important}}
@media(max-width:1024px){.store-search-r11 input{padding-right:136px}.store-search-r11 [type=submit]{right:47px}.store-search-r11 [data-store-search-clear]{right:87px}}

:is(.storefront-body,.core-body) :is(input,select,textarea):focus-visible{outline-offset:-2px!important}
.storefront-body .store-search-r11 input:focus-visible{border-color:var(--field-border-color)!important}

.storefront-body .store-header :is(.store-location,.store-header-orders,.store-header-account,.store-header-cart)[aria-expanded]:hover{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:var(--store-accent);filter:none}

/* Capsule geometry wins over the generic radius used for plain text links. */
.store-nav-row>a,.store-nav-group>a,.store-nav-flyout>a:not(.store-nav-all){border-radius:999px}.store-nav-flyout>a.store-nav-all{border-radius:9px}
.store-nav-row>a:is(:hover,:focus-visible),.store-nav-group>a:is(:hover,:focus-visible),.store-nav-group.is-open>a{background:var(--ui-brand-hover,#831015);color:#fff}
.storefront-body .store-header :is(.store-location,.store-header-orders,.store-header-account,.store-header-cart):hover,.storefront-body .store-header :is(.store-location,.store-header-orders,.store-header-account,.store-header-cart)[aria-expanded]:hover{color:var(--ui-brand-hover,#831015)!important}

:root{--ui-brand-hover:#831015}.store-mobile-menu a:not(.store-nav-all){border-radius:999px}.store-mobile-menu a.store-nav-all{border-radius:9px}

.storefront-body .store-nav-row>a,.storefront-body .store-nav-group>a{border-radius:999px}


/* Top navigation owns a true 38px visual box inside its 44px anchor. */
:root{--ui-nav-target-height:44px;--ui-nav-capsule-height:38px;--ui-nav-capsule-radius:19px}
.storefront-body .store-nav-row>a,.storefront-body .store-nav-group>a{box-sizing:border-box;min-height:var(--ui-nav-target-height);height:var(--ui-nav-target-height);padding:0;border:0;background:transparent!important;gap:0}
.store-nav-capsule{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;height:var(--ui-nav-capsule-height);padding:0 14px;border-radius:var(--ui-nav-capsule-radius);color:inherit;white-space:nowrap}
.store-nav-group .store-nav-capsule>svg:last-child{width:13px;height:13px}
.storefront-body .store-nav-row>a:is(:hover,:focus-visible)>.store-nav-capsule,.storefront-body .store-nav-group>a:is(:hover,:focus-visible)>.store-nav-capsule,.store-nav-group.is-open>a>.store-nav-capsule{background:var(--ui-brand-hover);color:#fff}
.storefront-body .store-nav-row>a:focus-visible,.storefront-body .store-nav-group>a:focus-visible{outline:none!important}
.store-nav-row>a:focus-visible>.store-nav-capsule,.store-nav-group>a:focus-visible>.store-nav-capsule{outline:var(--ui-focus-width) solid var(--ui-interaction-color);outline-offset:-1px}

/* Explicit yellow action owns its states; purchase-green rules exclude this variant. */
:is(.storefront-body,.core-body){--ui-highlight-hover:var(--store-orange-vivid);--ui-highlight-hover-ink:var(--core-ink,var(--ui-close-ink))}
:is(.storefront-body,.core-body) .ui-action-highlight:is(:hover,:active){background:var(--ui-highlight-hover)!important;color:var(--ui-highlight-hover-ink)!important;filter:none!important}

/* Canonical vivid-orange palette role, reused by yellow secondary actions. */
:root{--store-orange-vivid:#f2a000}

/* Shared horizontal frame, matching the product detail content. */
.storefront-body {
  --store-frame-max: 1440px;
  --store-frame-gutter: 28px;
  --store-frame-content: min(calc(var(--store-frame-max) - 2 * var(--store-frame-gutter)), calc(100% - 2 * var(--store-frame-gutter)));
}
.storefront-body main.store-product-content,
.storefront-body .store-header:has(.store-search-r11) {
  max-width: var(--store-frame-max);
  padding-inline: var(--store-frame-gutter);
}
.storefront-body .home-wrap,
.storefront-body .store-nav-row,
.storefront-body .store-footer-inner {
  width: var(--store-frame-content);
  max-width: none;
}
@media (max-width: 760px) {
  .storefront-body { --store-frame-gutter: 16px; }
}
