/* Header placement, sticky behaviour and outer disclosures belong to Blocksy. */
#header, #offcanvas, #search-modal, #account-modal {
 --theme-text-color:#fff; --theme-link-initial-color:#fff; --theme-link-hover-color:#a97d46;
 --theme-icon-color:#fff; --theme-icon-hover-color:#a97d46; --theme-heading-color:#a97d46;
}
#header [data-row="middle"] { background:#002c44; border-bottom:0; box-shadow:inset 0 -1px #16475b; }
#header [data-column="middle"] { min-width:75px; }
#header .ct-cart-item > .ct-label { display:none; }
#header .ct-icon { --icon-size:24px; }
#header [data-device="desktop"] .menu > li > .ct-menu-link {
 font-family:"Tooto HCL Cinzel",Georgia,serif; font-size:14px; font-weight:500;
 letter-spacing:.08em; color:#fff; --menu-item-padding:18px;
}
#header .menu > li > .ct-menu-link:hover, #header .menu > li[class*="current-menu"] > .ct-menu-link { color:#a97d46; }
#header .menu > li > .ct-menu-link > .ct-toggle-dropdown-desktop { display:none; }
#header [data-device="desktop"] .menu { --menu-item-spacing:20px; }
/* Keep the native hover/current-page indicator centered at the specified size. */
#header [data-device="desktop"] [data-menu*="type-2"] > ul > li > .ct-menu-link {
 --menu-indicator-width:42px;
 --menu-indicator-height:3px;
 --menu-indicator-left:0;
 --menu-indicator-right:0;
 --menu-indicator-margin:0 auto;
}
/* Keep Blocksy's full-width background pseudo-element intact. Content follows its container. */
#header .menu > :is(.tooto-nav-product,.tooto-nav-support,.tooto-nav-about) > .sub-menu {
 --dropdown-background-color:#002c44; --grid-template-columns:minmax(0,1fr);
 --columns-padding:0; padding:0; border:0; border-radius:0;
}
#header .menu > li > .sub-menu > .tooto-mega-slot {
 padding:0; margin:0; border:0; width:100%; min-width:0; grid-column:1 / -1;
}
#header .tooto-mega { --tooto-mega-text:#fff; --tooto-mega-accent:#a97d46; color:var(--tooto-mega-text); white-space:normal; width:100%; min-width:0; font-family:"Tooto HCL Garamond",Georgia,serif; }
#header .tooto-mega *, #header .tooto-mega *::before, #header .tooto-mega *::after { box-sizing:border-box; }
#header .tooto-mega__layout { display:grid; width:100%; min-width:0; padding-block:41px 44px; }
#header .tooto-mega h2 { margin:0; color:inherit; font:600 36px/1.4 "Tooto HCL Garamond",Georgia,serif; text-transform:uppercase; }
#header .tooto-mega h3 { margin:0 0 16px; color:var(--tooto-mega-accent); font:500 14px/1.4 "Tooto HCL Garamond",Georgia,serif; text-transform:uppercase; }
#header .tooto-mega a { color:var(--tooto-mega-text); text-decoration:none; font:400 14px/1.4 "Tooto HCL Garamond",Georgia,serif; }
#header .tooto-mega a:hover { color:var(--tooto-mega-accent); }
#header .tooto-mega h3 a { color:inherit; font:inherit; }
#header .tooto-mega ul { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
#header .tooto-mega li { display:block; margin:0; padding:0; border:0; }
#header .tooto-mega__links { display:flex; flex-direction:column; align-self:start; min-width:0; }
#header .tooto-mega__links > :is(a,button) {
 display:flex; align-items:center; gap:4px; width:100%; padding:0; margin:0; min-height:0;
 border:0; border-radius:0; box-shadow:none; background:transparent; color:var(--tooto-mega-text);
 text-align:start; text-decoration:none; cursor:pointer; font:500 20px/1.4 "Tooto HCL Garamond",Georgia,serif;
}
#header .tooto-mega__links > :is(a,button):is(:hover,:focus-visible,[aria-expanded="true"]) { color:var(--tooto-mega-accent); }
#header .tooto-mega__links > :is(a,button)[aria-expanded="true"] > span:first-of-type { transform:translateX(3px); }
#header .tooto-mega__links > :is(a,button)[aria-expanded="true"] .tooto-mega__arrow { transform:translateX(4px); }
#header .tooto-mega .tooto-mega__icon { display:block; flex:0 0 24px; width:24px; height:24px; object-fit:contain; border:0; }
#header .tooto-mega__arrow { display:grid; place-items:center; flex:0 0 20px; margin-inline-start:auto; font:20px/1 sans-serif; }
#header .tooto-mega :is(a,button):focus-visible { outline:2px solid var(--tooto-mega-accent); outline-offset:4px; }
#header .tooto-mega [hidden] { display:none!important; }
#header .tooto-mega__media { align-self:start; margin-block-start:15px; aspect-ratio:414 / 286; overflow:hidden; min-width:0; }
#header .tooto-mega .tooto-mega__image { display:block; width:100%; height:100%; max-width:100%; object-fit:cover; border-radius:0; }
/* Original Product proportions: 270 / 628 / 414. The picture starts alongside the title. */
#header .tooto-mega--product .tooto-mega__layout { grid-template-columns:minmax(0,270fr) minmax(0,1042fr); grid-template-rows:85px minmax(213px,auto); }
#header .tooto-mega--product h2 { grid-column:1 / -1; grid-row:1; pointer-events:none; }
#header .tooto-mega--product .tooto-mega__links { grid-column:1; grid-row:2; gap:20px; padding-inline-end:30px; }
#header .tooto-mega__panel { grid-column:2; grid-row:1 / 3; display:grid; grid-template-columns:minmax(0,628fr) minmax(0,414fr); min-width:0; }
#header .tooto-mega__groups {
 display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:start; gap:20px;
 margin-block-start:85px; padding-inline:clamp(20px,4vw,57px) clamp(20px,5.6vw,81px);
 border-inline-start:1px solid #ffffff1f; min-width:0; min-height:213px;
}
#header .tooto-mega__groups:has(> :only-child) { grid-template-columns:minmax(0,1fr); }
/* Support reserves its middle column before Policy opens, avoiding a layout jump. */
#header .tooto-mega--support .tooto-mega__layout { grid-template-columns:minmax(0,270fr) minmax(0,628fr) minmax(0,414fr); grid-template-rows:auto 1fr; }
#header .tooto-mega--support h2 { grid-column:1 / 3; grid-row:1; margin-bottom:35px; }
#header .tooto-mega--support .tooto-mega__links { grid-column:1; grid-row:2; gap:4px; padding-inline-end:28px; }
#header .tooto-mega--support .tooto-mega__links > :is(a,button) { min-height:44px; }
#header .tooto-mega__policies { grid-column:2; grid-row:2; border-inline-start:1px solid #ffffff29; padding-inline:clamp(24px,4vw,58px); min-width:0; min-height:213px; }
#header .tooto-mega--support .tooto-mega__media { grid-column:3; grid-row:1 / 3; }
#header .tooto-mega--about .tooto-mega__layout { grid-template-columns:minmax(0,898fr) minmax(0,414fr); grid-template-rows:85px minmax(216px,auto); }
#header .tooto-mega--about h2 { grid-column:1; grid-row:1; }
#header .tooto-mega--about .tooto-mega__links { grid-column:1; grid-row:2; gap:20px; }
#header .tooto-mega--about .tooto-mega__media { grid-column:2; grid-row:1 / 3; }
#offcanvas .ct-panel-inner, #search-modal .ct-panel-inner, #account-modal .ct-panel-inner { background:#002c44; color:#fff; }
#offcanvas .ct-panel-actions { justify-content:flex-start; }
#offcanvas .ct-toggle-close { color:#fff; --theme-icon-color:#fff; }
#offcanvas .mobile-menu { --theme-font-family:"Tooto HCL Garamond",Georgia,serif; --theme-font-size:22px; --theme-link-initial-color:#fff; --theme-link-hover-color:#a97d46; }
#offcanvas .mobile-menu .ct-menu-link { padding-block:12px; }
#offcanvas .tooto-nav-support > .sub-menu > li > :is(a,.ct-sub-menu-parent) { font-size:22px; }
#offcanvas .mobile-menu .sub-menu .sub-menu { font-size:18px; }
@media(min-width:1000px) and (max-width:1250px) {
 #header [data-device="desktop"] .menu > li > .ct-menu-link { font-size:12px; letter-spacing:.03em; --menu-item-padding:8px; }
 #header [data-device="desktop"] .menu { --menu-item-spacing:10px; }
 #header [data-device="desktop"] [data-items] { --items-gap:14px; }
 #header .tooto-mega__links > :is(a,button) { font-size:18px; }
 #header .tooto-mega__groups { padding-inline:24px; gap:16px; }
}
@media(max-width:999px) {
 #header [data-device="mobile"] [data-column="end"] [data-items] { gap:15px; }
 #header [data-device="mobile"] .ct-icon { --icon-size:21px; }
}
@media(prefers-reduced-motion:no-preference) {
 #header .tooto-mega a, #header .tooto-mega button { transition:color 220ms ease; }
 #header .tooto-mega__links > :is(a,button) > span { transition:transform 300ms cubic-bezier(.22,1,.36,1); }
 #header .tooto-mega [data-tooto-panel]:not([hidden]) { animation:tooto-mega-enter 300ms cubic-bezier(.22,1,.36,1); }
 @keyframes tooto-mega-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
}

/* Align native Blocksy header actions within the 64px builder row. */
#header :is(.ct-header-search,.ct-header-account,.ct-cart-item,.ct-header-trigger) {align-items:center;justify-content:center;min-height:40px;}
#header .ct-icon-container {display:inline-flex;align-items:center;justify-content:center;}
#header .site-logo-container img {object-fit:contain;}
/* Figma 554:39968: original 19px assets, 30px gaps, a shared vertical center. */
#header [data-column="end"] > [data-items] {--items-gap:30px;}
#header :is(.ct-header-search,.ct-header-account,.ct-cart-item) {display:inline-flex;align-items:center;justify-content:center;align-self:center;line-height:1;}
#header .tooto-header-action-icon {display:block;flex:0 0 19px;width:19px;height:19px;max-width:none;margin:0;vertical-align:middle;color:var(--theme-icon-color,#fff);background-color:currentColor;-webkit-mask:var(--tooto-action-mask) center / contain no-repeat;mask:var(--tooto-action-mask) center / contain no-repeat;}
#header :is(.ct-header-search,.ct-account-item,.ct-cart-item,.ct-header-trigger):is(:hover,:focus-visible) .tooto-header-action-icon {
 color:var(--theme-icon-hover-color,#a97d46);opacity:1;
}
#header :is(a,button):is(:hover,:focus-visible) > .ct-icon-container {
 color:var(--theme-icon-hover-color,#a97d46);--icon-color:var(--theme-icon-hover-color,#a97d46);
}
@media(prefers-reduced-motion:no-preference) {
 #header .tooto-header-action-icon {transition:color 200ms ease;}
}
#header .ct-header-account > .ct-icon-container {align-self:center;line-height:1;}

/* Center the account link itself, including the logged-in avatar's media wrapper. */
#header .ct-header-account .ct-account-item {display:flex;align-items:center;justify-content:center;min-height:40px;line-height:1;}
#header .ct-header-account .ct-account-item > .ct-media-container {display:block;align-self:center;flex-shrink:0;margin:0;line-height:0;}
#header .ct-header-account .ct-account-item > .ct-media-container img {display:block;vertical-align:middle;object-fit:cover;}

/* Blocksy controls the overlay and sticky state; match the original page rules. */
body #header [data-transparent] [data-row="middle"]{background:transparent;box-shadow:none}
body #header [data-sticky*="yes"] [data-row="middle"],
body #header:has(.menu > .menu-item-has-children:is(:hover,:focus-within)) [data-row="middle"]{background:#002c44;box-shadow:inset 0 -1px #16475b}
@media(prefers-reduced-motion:no-preference){#header [data-row="middle"]{transition:background-color 220ms ease,box-shadow 220ms ease}}

/* Desktop menu alignment within Blocksy's existing left/right columns. */
#header [data-device="desktop"] [data-column="start"] > [data-items] > [data-id="menu"] {
 padding-inline-start:80px;
}
#header [data-device="desktop"] [data-column="end"] > [data-items] > [data-id="menu-secondary"] {
 flex:1 1 auto;
 justify-content:center;
}
#header [data-device="desktop"] [data-id="menu-secondary"] > .menu {
 justify-content:center;
}

/* Shopify search modal proportions, using Blocksy's native search and focus handling. */
#search-modal.ct-panel {
 --tooto-search-modal-width:66vw;
 --tooto-search-modal-top:max(24px,calc(17.5dvh - 2rem));
 background:rgba(0,0,0,.55);
 color:#111111;
 font-family:"Tooto HCL Garamond",Georgia,serif;
}
#search-modal > .ct-panel-content {
 display:grid;grid-template-columns:minmax(0,1fr);
 flex:0 1 auto;
 justify-content:flex-start;
 width:var(--tooto-search-modal-width);
 margin:var(--tooto-search-modal-top) auto 0;
 padding:0;
 overflow:visible;
}
#search-modal .ct-search-form {
 grid-area:1 / 1;min-width:0;
 width:100%;max-width:none;
 margin:0;
 padding:0;
 background:#ffffff;
 border:1px solid transparent;
 border-radius:14px;
 box-shadow:0 8px 32px rgba(0,0,0,.2);
 --theme-text-color:#111111;
 --theme-link-initial-color:#111111;
 --theme-form-text-initial-color:#111111;
 --theme-form-text-focus-color:#111111;
 --theme-link-hover-color:#111111;
 --theme-form-field-border-initial-color:transparent;
 --theme-form-field-border-focus-color:transparent;
}
#search-modal .ct-search-form .ct-search-form-inner {
 display:flex;align-items:center;
 min-height:60px;height:60px;
 padding:0 12px;margin:0;
 border:0;border-radius:14px;
 background:transparent;box-shadow:none;outline:none;
}
#search-modal .ct-search-form input[type=search] {
 order:2;flex:1;min-width:0;width:100%;height:58px;
 padding:12px 8px;border:0;border-radius:0;background:transparent;
 color:#111111;font:400 18px/1.4 "Tooto HCL Garamond",Georgia,serif;
 box-shadow:none;outline:none;
}
#search-modal .ct-search-form input::placeholder {color:#666666;opacity:1}
#search-modal .ct-search-form .wp-element-button {
 position:relative;inset:auto;order:1;flex:0 0 36px;
 display:flex;align-items:center;justify-content:center;
 width:36px;height:44px;min-height:44px;padding:0;
 border:0;border-radius:0;background:transparent;color:#666666;
 box-shadow:none;transform:none;
 --theme-icon-color:#666666;--theme-icon-size:20px;
}
#search-modal .ct-search-form .wp-element-button:hover {color:#111111;background:transparent}
#search-modal .ct-search-form-inner > .ct-panel-actions {
 position:static;inset:auto;order:3;flex:0 0 40px;
 display:flex;align-items:center;justify-content:center;
 width:40px;height:42px;
 padding:0;margin:0;
}
#search-modal .ct-panel-actions .ct-toggle-close {
 display:flex;align-items:center;justify-content:center;
 width:40px;height:42px;min-height:42px;margin:0;padding:12px;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 --theme-icon-size:14px;
}
#search-modal .ct-toggle-close svg {fill:#111111}
#search-modal .ct-toggle-close:hover svg {fill:#111111}
#search-modal .ct-search-results {
 position:static;inset:auto;
 max-height:50dvh;overflow-y:auto;
 margin:0;padding:24px;
 gap:24px;border-top:1px solid #111111;
 background:#ffffff;border-radius:0 0 14px 14px;
 color:#111111;box-shadow:none;
 --search-image-radius:0px;
}
#search-modal .ct-search-results a {color:#111111;font:400 17px/1.35 "Tooto HCL Garamond",Georgia,serif}
#search-modal .ct-search-results a:hover {color:#111111}
#search-modal .ct-search-results .price {color:#111111;font-size:15px}
#search-modal .ct-search-results .ct-search-more {min-height:44px;color:#fff;background:#111111;border-radius:0}
#search-modal .ct-search-form:focus-within {border-color:transparent}
#search-modal :is(button,a):focus-visible {outline:2px solid #111111;outline-offset:2px}
@media(max-width:749px) {
 #search-modal.ct-panel {--tooto-search-modal-width:calc(100% - 32px);--tooto-search-modal-top:24px}
 #search-modal .ct-search-form,#search-modal .ct-search-form .ct-search-form-inner {border-radius:4px}
 #search-modal .ct-search-results {grid-template-columns:1fr;padding:20px;max-height:calc(100dvh - 140px);border-radius:0 0 4px 4px}
}

/* Original predictive-search product cards: four columns, image above title. */
#search-modal.ct-panel .ct-search-results {
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:24px 16px;padding:24px;
}
#search-modal.ct-panel .ct-search-results > a:not(.ct-search-more) {
 display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
 gap:10px;min-width:0;padding:0;
 font:400 16px/1.35 "Tooto HCL Garamond",Georgia,serif;
}
#search-modal.ct-panel .ct-search-results .ct-media-container {
 flex:none;align-self:stretch;width:100%;max-width:none;
 aspect-ratio:4/5;border-radius:0;overflow:hidden;
}
#search-modal.ct-panel .ct-search-results .ct-media-container img {
 width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;
}
#search-modal.ct-panel .ct-search-results .ct-search-more {
 grid-column:1/-1;justify-self:center;
 width:auto;min-height:44px;padding:10px 28px;
 font:400 15px/1.4 "Tooto HCL Cinzel",Georgia,serif;
 text-transform:uppercase;margin-top:8px;
}
@media(max-width:900px) {
 #search-modal.ct-panel .ct-search-results {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:749px) {
 #search-modal.ct-panel .ct-search-results {padding:16px;gap:20px 12px}
}

#search-modal .ct-search-form .ct-search-button-content {fill:#666666}
#search-modal .ct-search-results .ct-search-more:hover {background:#333;color:#fff}

/* Mobile: balanced action groups keep the brand centered without positioning offsets. */
@media (max-width:999px) {
 #header [data-device="mobile"] [data-row="middle"] > .ct-container {
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:4px;min-height:64px;
 }
 #header [data-device="mobile"] [data-column] {min-width:0;}
 #header [data-device="mobile"] [data-column="middle"] {justify-content:center;}
 #header [data-device="mobile"] [data-column="end"] {justify-content:flex-end;}
 #header [data-device="mobile"] [data-column] > [data-items] {--items-gap:0px;gap:0;}
 #header [data-device="mobile"] :is(.ct-header-trigger,.ct-header-search,.ct-account-item,.ct-cart-item) {
  display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;
 }
 #header [data-device="mobile"] .site-logo-container img {width:auto;max-width:75px;max-height:44px;object-fit:contain;}
 #offcanvas .ct-panel-actions {min-height:64px;}
 #offcanvas :is(.ct-toggle-close,.ct-toggle-dropdown-mobile) {min-width:44px;min-height:44px;}
 #offcanvas .mobile-menu .ct-menu-link {min-height:44px;}
}

/* Mobile artwork follows the reference; touch targets remain 44px. */
@media(max-width:999px){
 #header [data-device="mobile"] .tooto-header-action-icon{flex-basis:20px;width:20px;height:20px;}
 #header [data-device="mobile"] .ct-header-trigger .tooto-header-action-icon{flex-basis:20px;width:20px;height:20px;}
}

/* Blocksy spaces builder items with margins as well as gaps. */
@media(max-width:999px){
 #header [data-device="mobile"] [data-column] > [data-items] > * {--margin:0;margin:0;flex-shrink:0;}
 #header [data-device="mobile"] [data-column="end"] > [data-items] {width:auto;justify-content:flex-end;flex-wrap:nowrap;}
 #header [data-device="mobile"] [data-column="end"] {display:flex;align-items:center;}
 #header [data-device="mobile"] .site-logo-container img {max-width:66px;}
}
@media(max-width:359px){
 #header [data-device="mobile"] :is(.ct-header-trigger,.ct-header-search,.ct-account-item,.ct-cart-item) {min-width:36px;width:36px;}
 #header [data-device="mobile"] .site-logo-container img {max-width:56px;}
}

/* Shopify-style mobile navigation, within Blocksy's accessible native drawer. */
@media(max-width:999px){
 #offcanvas{--side-panel-width:100vw;--side-panel-offset:0px;--side-panel-border-radius:0px;}
 #offcanvas .ct-panel-inner{background:#002c44;width:100%;max-width:none;margin:0;border-radius:0;}
 #offcanvas .ct-panel-actions{min-height:64px;padding:10px max(15px,env(safe-area-inset-left));border-bottom:1px solid #ffffff29;}
 #offcanvas .ct-panel-content[data-device="mobile"]{padding:32px max(15px,env(safe-area-inset-right)) max(44px,env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));}
 #offcanvas .mobile-menu{--mobile-menu-divider:none;--theme-font-family:"Tooto HCL Garamond",Georgia,serif;--theme-font-size:18px;--horizontal-alignment:stretch;}
 #offcanvas .tooto-mobile-ready [hidden]{display:none!important;}
 #offcanvas .tooto-mobile-ready ul{list-style:none;margin:0;padding:0;width:100%;}
 #offcanvas .tooto-mobile-ready li{width:100%;margin:0;border:0;}
 #offcanvas .tooto-mobile-ready > ul > li + li{border-top:1px solid #ffffff29;}
 #offcanvas .tooto-mobile-ready .ct-sub-menu-parent{width:100%;gap:12px;}
 #offcanvas .tooto-mobile-ready > ul > li > :is(a,.ct-sub-menu-parent){min-height:49px;font-size:18px;font-weight:500;line-height:25px;text-transform:uppercase;}
 #offcanvas .tooto-mobile-ready > ul > li > a.ct-menu-link,
 #offcanvas .tooto-mobile-ready > ul > li > .ct-sub-menu-parent > a.ct-menu-link{font-size:18px;font-weight:500;line-height:25px;}
 #offcanvas .tooto-mobile-ready .ct-menu-link{font-family:"Tooto HCL Garamond",Georgia,serif;padding-block:12px;}
 #offcanvas .tooto-mobile-ready .ct-menu-link::before{display:none;}
 #offcanvas .tooto-mobile-ready .ct-toggle-dropdown-mobile{flex:0 0 44px;margin:0;}
 #offcanvas .tooto-mobile-ready > ul > li > .ct-sub-menu-parent .ct-icon{transform:rotate(-90deg);}
 #offcanvas .tooto-mobile-ready .sub-menu{display:block;width:100%;height:auto;margin:0;padding:0;overflow:visible;}
 #offcanvas .tooto-mobile-subview > ul > .tooto-mobile-selected{border:0;}
 #offcanvas .tooto-mobile-selected > .ct-sub-menu-parent{display:none;}
 #offcanvas .tooto-mobile-back{display:flex;align-items:center;gap:4px;min-height:44px;margin:0 0 28px;padding:0;border:0;border-radius:0;background:none;color:#fff;font:600 24px/1.4 "Tooto HCL Garamond",Georgia,serif;text-transform:uppercase;}
 #offcanvas .tooto-mobile-back svg{width:28px;height:28px;flex:none;}
 #offcanvas .tooto-mobile-selected > ul > li > .ct-sub-menu-parent{font:500 18px/1.4 "Tooto HCL Garamond",Georgia,serif;text-transform:uppercase;}
 #offcanvas .tooto-mobile-selected > ul > li + li{border-top:1px solid #ffffff29;margin-top:12px;padding-top:12px;}
 #offcanvas .tooto-mobile-selected > ul > li > ul{padding-block:12px 5px;}
 #offcanvas .tooto-mobile-selected .sub-menu .sub-menu .ct-menu-link{color:#ffffffcc;font-size:14px;line-height:1.4;padding-block:6px;min-height:32px;}
 #offcanvas .tooto-mobile-selected .sub-menu .sub-menu .ct-sub-menu-parent > a{color:#a97d46;text-transform:uppercase;}
 #offcanvas .tooto-mobile-ready .ct-toggle-dropdown-mobile[aria-expanded="true"] svg{transform:rotate(180deg);}
 #offcanvas .tooto-mobile-ready :is(a,button):focus-visible{outline:2px solid #a97d46;outline-offset:2px;}
}
@media(max-width:999px){
 #offcanvas.tooto-menu-with-header > .ct-panel-inner{display:flex;flex-direction:column;}
 #offcanvas.tooto-menu-with-header .ct-panel-actions{display:none;}
 #offcanvas.tooto-menu-with-header #header{position:relative;inset:auto;flex:0 0 auto;width:100%;background:#002c44;transform:none;}
 #offcanvas.tooto-menu-with-header #header > [data-device="mobile"]{position:relative!important;inset:auto!important;width:100%;}
 #offcanvas.tooto-menu-with-header #header [data-device="mobile"] :is(.ct-sticky-container,[data-sticky]){position:static!important;height:auto!important;transform:none!important;}
 #offcanvas.tooto-menu-with-header #header [data-row="middle"]{background:#002c44;box-shadow:none;}
 #offcanvas.tooto-menu-with-header .ct-panel-content[data-device="mobile"]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
 #offcanvas.tooto-menu-with-header #header .ct-header-trigger .tooto-header-action-icon{display:none;}
 #offcanvas.tooto-menu-with-header #header .ct-header-trigger::after{content:"";width:20px;height:20px;background:center/20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m4 4 12 12M16 4 4 16' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");}
}

/* Override the builder's translucent surface and own the inset at one level. */
@media(max-width:999px){
 body #offcanvas.ct-panel,
 body #offcanvas.ct-panel > .ct-panel-inner {
  background:#002c44;
 }
 body #offcanvas.ct-panel.tooto-menu-with-header > .ct-panel-inner {
  width:100%;max-width:none;height:100%;--panel-padding:0px;
 }
 body #offcanvas.ct-panel.tooto-menu-with-header > .ct-panel-inner > .ct-panel-content[data-device="mobile"] {
  padding:32px max(15px,env(safe-area-inset-right)) max(44px,env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));
  background:#002c44;justify-content:flex-start;box-sizing:border-box;
 }
 body #offcanvas.ct-panel.tooto-menu-with-header > .ct-panel-inner > .ct-panel-content[data-device="mobile"] > .ct-panel-content-inner {
  padding:0;margin:0;height:auto;min-height:0;flex:0 0 auto;overflow:visible;width:100%;
 }
}

/* Direct mobile menu links share the submenu chevron, without a disclosure action. */
@media(max-width:999px){
 #offcanvas .tooto-mobile-ready > ul > li > a.ct-menu-link{display:flex;align-items:center;justify-content:space-between;gap:12px;}
 #offcanvas .tooto-mobile-ready > ul > li > a.ct-menu-link::after{content:"";display:block;flex:0 0 44px;width:44px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20transform%3D%22rotate%28-90%207.5%207.5%29%22%20d%3D%22M3.9%2C5.1l3.6%2C3.6l3.6-3.6l1.4%2C0.7l-5%2C5l-5-5L3.9%2C5.1z%22%2F%3E%3C%2Fsvg%3E") center/15px 15px no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20transform%3D%22rotate%28-90%207.5%207.5%29%22%20d%3D%22M3.9%2C5.1l3.6%2C3.6l3.6-3.6l1.4%2C0.7l-5%2C5l-5-5L3.9%2C5.1z%22%2F%3E%3C%2Fsvg%3E") center/15px 15px no-repeat;}
}

/* Mobile subviews follow the source storefront's distinct navigation layouts. */
@media(max-width:999px){
 #offcanvas .tooto-mobile-back{min-height:33.5px;line-height:1.4;}
 #offcanvas .tooto-mobile-back svg{width:33.5px;height:33.5px;padding:6.75px;box-sizing:border-box;flex:0 0 33.5px;}
 #offcanvas .tooto-mobile-selected > ul > li + li{border:0;margin:0;padding:0;}
 #offcanvas .tooto-mobile-selected .ct-menu-link{min-height:0;padding:0;font-weight:400;font-size:14px;line-height:1.4;text-transform:none;}
 #offcanvas .tooto-mobile-selected > ul > li > .ct-sub-menu-parent{gap:4px;}
 #offcanvas .tooto-mobile-selected > ul > li > .ct-sub-menu-parent > .ct-menu-link{display:flex;align-items:center;gap:4px;font-size:18px;font-weight:500;text-transform:uppercase;}
 #offcanvas .tooto-mobile-selected > ul > li > .ct-sub-menu-parent > .ct-toggle-dropdown-mobile{flex:0 0 18px;min-width:18px;min-height:25px;padding:0;}
 #offcanvas .tooto-mobile-selected .ct-menu-link > img.tooto-mega__icon{display:block;width:25px;height:25px;max-width:25px;flex:0 0 25px;object-fit:contain;}
 #offcanvas .tooto-mobile-selected .sub-menu .sub-menu .ct-menu-link{padding:0;min-height:0;font-size:14px;font-weight:400;line-height:1.4;color:#ffffffcc;}
 #offcanvas .tooto-mobile-selected .sub-menu .sub-menu{display:grid;gap:12px;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li + li{border-top:1px solid #ffffff29;margin-top:12px;padding-top:12px;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li > ul{padding:23px 0 5px;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li > ul:has(> .menu-item-has-children){gap:28px;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li > ul > li > .ct-sub-menu-parent > .ct-toggle-dropdown-mobile{display:none;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li > ul > li > .ct-sub-menu-parent > .ct-menu-link,
 #offcanvas .tooto-nav-product.tooto-mobile-selected .tooto-mobile-group-heading{color:#a97d46;font:400 14px/1.4 "Tooto HCL Garamond",Georgia,serif;text-transform:uppercase;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected > ul > li > ul > li > ul{margin-top:12px;}
 #offcanvas .tooto-nav-support.tooto-mobile-selected > ul{display:grid;gap:12px;}
 #offcanvas .tooto-nav-support.tooto-mobile-selected > ul > li > a.ct-menu-link,
 #offcanvas .tooto-nav-support.tooto-mobile-selected > ul > li > .ct-sub-menu-parent{min-height:44px;padding:8px 0;box-sizing:border-box;}
 #offcanvas .tooto-nav-support.tooto-mobile-selected > ul > li > a.ct-menu-link{display:flex;align-items:center;color:#fff;font-size:18px;font-weight:500;line-height:1.4;text-transform:uppercase;}
 #offcanvas .tooto-nav-support.tooto-mobile-selected > ul > li > ul{padding:23px 0 5px;}
 #offcanvas .tooto-nav-about.tooto-mobile-selected > ul{display:grid;gap:8px;}
 #offcanvas .tooto-nav-about.tooto-mobile-selected > ul > li > a.ct-menu-link{display:flex;align-items:center;gap:4px;min-height:44px;padding:0;color:#fff;font-size:20px;font-weight:500;line-height:1.4;text-transform:none;}
 #offcanvas .tooto-nav-about.tooto-mobile-selected .ct-menu-link > img.tooto-mega__icon{width:24px;height:24px;max-width:24px;flex-basis:24px;}
 #offcanvas .tooto-mobile-selected a.ct-menu-link:is(:hover,:focus-visible){color:#a97d46;}
}

@media(max-width:999px){
 #offcanvas .tooto-nav-product.tooto-mobile-selected .tooto-mobile-group-heading > a.ct-menu-link{color:inherit;font:inherit;text-transform:inherit;display:block;}
 #offcanvas .tooto-nav-product.tooto-mobile-selected .tooto-mobile-group-heading > a:focus-visible{outline:1px solid currentColor;outline-offset:4px;}
}

/* Scale desktop mega-menu typography with wide viewports. */
@media (min-width:1440px){
 #header [data-device="desktop"] .tooto-mega h2{font-size:clamp(38px,calc(26px + .833333vw),46px);}
 #header [data-device="desktop"] .tooto-mega h3{font-size:clamp(16px,calc(7px + .625vw),22px);}
 #header [data-device="desktop"] .tooto-mega a{font-size:clamp(15px,calc(6px + .625vw),20px);}
 #header [data-device="desktop"] .tooto-mega h3 a{font:inherit;}
 #header [data-device="desktop"] .tooto-mega__links > :is(a,button){font-size:clamp(22px,calc(16px + .416667vw),27px);gap:6px;}
 #header [data-device="desktop"] .tooto-mega .tooto-mega__icon{width:clamp(24px,1.354167vw,28px);height:clamp(24px,1.354167vw,28px);flex-basis:clamp(24px,1.354167vw,28px);}
 #header [data-device="desktop"] .tooto-mega ul{gap:clamp(10px,.625vw,14px);}
}

/* Tablet drawer occupies 70vw; the rest remains a dismissible backdrop. */
@media(min-width:768px) and (max-width:999px){
 body #offcanvas.ct-panel{--side-panel-width:70vw;background:rgba(0,15,25,.55);}
 body #offcanvas.ct-panel > .ct-panel-inner,
 body #offcanvas.ct-panel.tooto-menu-with-header > .ct-panel-inner{width:70vw;max-width:70vw;flex-basis:70vw;background:#002c44;}
}
