/* A single rule follows the active public navigation link. */
@media screen and (min-width:1180px) {
  .cso-public-v71 #shopify-section-header .desktop-nav[data-moving-rule] { position: relative; }
  .cso-public-v71 #shopify-section-header .desktop-nav[data-moving-rule] > a:not(.button)::after { content: none; }
  .cso-public-v71 #shopify-section-header .desktop-nav[data-moving-rule]::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: .32rem;
    width: 1.8rem;
    height: 2px;
    border-radius: 2px;
    background: #886d46;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(var(--cso-nav-rule-center, 0px) - 50%));
  }
  .cso-public-v71 #shopify-section-header .desktop-nav[data-show-rule]::before { opacity: 1; }
}
@media screen and (min-width:1180px) and (prefers-reduced-motion:no-preference) {
  .cso-public-v71[data-motion="true"] #shopify-section-header .desktop-nav[data-moving-rule]::before {
    transition: opacity .14s ease, transform .24s cubic-bezier(.2,.72,.2,1);
  }
}

/* The summary stays a native disclosure, including when scripts are disabled. */
@media screen and (max-width:1179px) {
  .cso-public-v71 #shopify-section-header .mobile-menu summary .menu-lines {
    position: relative;
    flex: 0 0 1.2rem;
    width: 1.2rem;
    height: 1rem;
    border: 0;
    background: none;
    transform: none;
  }
  .cso-public-v71 #shopify-section-header .mobile-menu summary .menu-lines::before,
  .cso-public-v71 #shopify-section-header .mobile-menu summary .menu-lines::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform-origin: center;
  }
  .cso-public-v71 #shopify-section-header .mobile-menu .menu-lines::before { transform: translateY(-3px); }
  .cso-public-v71 #shopify-section-header .mobile-menu .menu-lines::after { transform: translateY(2px); }
  .cso-public-v71 #shopify-section-header .mobile-menu[open] .menu-lines::before { transform: translateY(-.5px) rotate(45deg); }
  .cso-public-v71 #shopify-section-header .mobile-menu[open] .menu-lines::after { transform: translateY(-.5px) rotate(-45deg); }
  .cso-public-v71 #shopify-section-header .mobile-nav > a:not(.button) {
    border-inline-start: 2px solid transparent;
    padding-inline-start: .8rem;
  }
  .cso-public-v71 #shopify-section-header .mobile-nav > a:is([aria-current="page"], .is-current-section):not(.button) {
    border-inline-start-color: #947347;
    background: #f6f2ed;
  }
}
@media screen and (max-width:1179px) and (prefers-reduced-motion:no-preference) {
  .cso-public-v71[data-motion="true"] #shopify-section-header .menu-lines::before,
  .cso-public-v71[data-motion="true"] #shopify-section-header .menu-lines::after {
    transition: transform .2s cubic-bezier(.25,.7,.23,1);
  }
  @supports selector(details::details-content) and (transition-behavior:allow-discrete) and (interactivity:inert) {
    .cso-public-v71[data-motion="true"] #shopify-section-header .mobile-menu::details-content {
      transition: content-visibility .18s allow-discrete;
    }
    .cso-public-v71[data-motion="true"] #shopify-section-header .mobile-menu > .mobile-nav {
      opacity: 0;
      transform: translateY(-.45rem);
      interactivity: inert;
      pointer-events: none;
      transition: opacity .16s ease, transform .18s cubic-bezier(.2,.7,.2,1);
    }
    .cso-public-v71[data-motion="true"] #shopify-section-header .mobile-menu[open] > .mobile-nav {
      opacity: 1;
      transform: none;
      interactivity: auto;
      pointer-events: auto;
      animation: none !important;
    }
    @starting-style {
      .cso-public-v71[data-motion="true"] #shopify-section-header .mobile-menu[open] > .mobile-nav {
        opacity: 0;
        transform: translateY(-.45rem);
      }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cso-public-v71 #shopify-section-header .mobile-menu .menu-lines::before,
  .cso-public-v71 #shopify-section-header .mobile-menu .menu-lines::after,
  .cso-public-v71 #shopify-section-header .mobile-menu[open] .mobile-nav {
    animation: none !important;
    transition: none !important;
  }
}

/* Tactile actions and profile links, shared by the public site and the dealer area. */
body.cso-studio {
  --cso-action-ink: #292521;
  --cso-action-edge: #a1978e;
  --cso-action-accent: #70543c;
}

body.cso-studio #contenuto :is(.button, .cso-home-action, .cso-home-dealers__button, .cso-cart__card-add, .cso-favorites__toggle) {
  min-height: 44px;
  max-width: 100%;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .005em;
  white-space: normal;
  overflow-wrap: break-word;
}
body.cso-studio #contenuto :is(.button-dark, .cso-home-dealers__button, .cso-cart__card-add, .cso-wa-button) {
  background-color: var(--cso-action-ink);
  border-color: var(--cso-action-ink);
  color: white;
  box-shadow: inset 0 1px rgb(255 255 255 / 12%);
}
body.cso-studio #contenuto :is(.button-outline, .cso-favorites__toggle) {
  border-color: var(--cso-action-edge);
  color: var(--cso-action-ink);
  background-color: white;
}
body.cso-studio #contenuto .cso-favorites__toggle[aria-pressed="true"] {
  background-color: #f1ebe3;
  border-color: #80684d;
  color: #4e3928;
}
body.cso-studio #contenuto :is(.text-link, .cso-home-link, .cso-home-dealers__link, .cso-dealer-text-link) {
  min-height: 44px;
  text-underline-offset: .24em;
}
body.cso-studio #contenuto :is(.button, .cso-home-action, .cso-home-dealers__button, .cso-cart__card-add, .cso-favorites__toggle):disabled {
  border-color: #d1ccc6;
  background-color: #eeeae6;
  color: #6a625a;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
body.cso-studio #contenuto :is(.button, .cso-home-action, .cso-home-link, .text-link, .cso-contact-method, .cso-home-dealers__button, .cso-favorites__toggle, .cso-cart__card-add):focus-visible,
body.cso-studio :is(#contenuto, #shopify-section-footer) .cso-social-links > a:focus-visible {
  outline: 2px solid var(--cso-action-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px white;
}

/* A single visual language for contact methods, the directory, and the footer. */
body.cso-studio #contenuto .cso-contact-methods .cso-contact-method__mark {
  width: 40px;
  height: 40px;
  flex: none;
  color: #514335;
  border-radius: 50%;
  background: #f3f0ec;
}
body.cso-studio #contenuto .cso-contact-methods .cso-contact-method small { font-size: .8125rem; }
body.cso-studio :is(#shopify-section-footer, #contenuto .contact-social, #social) .cso-social-links {
  --social-surface: #fff;
  --social-ink: #302b26;
  --social-border: #d8d2cc;
  --social-hover: #f5f0ea;
  --social-hover-border: #9a8777;
  --social-mark-bg: #eeebe7;
  --social-mark-ink: #514232;
  --social-active-mark: #42362e;
  --social-active-ink: white;
}
body.cso-studio #shopify-section-footer .cso-footer-social-v62 .cso-social-links {
  --social-surface: #2e2926;
  --social-ink: #fff8f0;
  --social-border: #655950;
  --social-hover: #403831;
  --social-hover-border: #a19183;
  --social-mark-bg: #423a34;
  --social-mark-ink: #f5e6d6;
  --social-active-mark: #f4e5d6;
  --social-active-ink: #322720;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.45rem, 1vw, 1rem);
  margin: 0;
}
body.cso-studio #contenuto .contact-social .cso-social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.75rem), 1fr));
  gap: .5rem;
}
body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(.4rem, .8vw, .75rem);
  min-width: 0;
  min-height: 52px;
  padding: .45rem clamp(.5rem, 1.1vw, .95rem);
  background-color: var(--social-surface);
  color: var(--social-ink);
  border: 1px solid var(--social-border);
  border-radius: .8rem;
  text-decoration: none;
  box-shadow: none;
}
body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links__mark {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--social-mark-bg);
  color: var(--social-mark-ink);
  box-shadow: none;
}
body.cso-studio :is(#shopify-section-footer, #contenuto) .cso-social-links__mark svg { width: 17px; height: 17px; }
body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links__label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  color: var(--social-ink);
  font: 600 .875rem/1.3 var(--sans);
}
body.cso-studio #contenuto #social .cso-social-directory__card {
  border-color: #dcd6d0;
  background: #fbfaf8;
}
body.cso-studio #contenuto #social .cso-social-links > a { min-height: 62px; }
body.cso-studio #contenuto #social .cso-social-links__label strong { font-size: .875rem; }
body.cso-studio #contenuto #social .cso-social-links__label small { font-size: .75rem; color: #675e56; }
body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto #social) .cso-social-links :is(.cso-social-arrow, .cso-social-open) { color: var(--social-mark-ink); }

body.cso-studio #shopify-section-footer .cso-footer-actions a { min-height: 46px; font-size: .875rem; }
body.cso-studio #shopify-section-footer .cso-social-links > a:focus-visible {
  outline-color: #edd7bd;
  box-shadow: 0 0 0 2px #312925;
}

/* The actions link to the same WhatsApp conversation from several places. */
body.cso-studio :is(#contenuto .button, #shopify-section-footer .cso-footer-actions a)[href*="whatsapp.com"]::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  background: currentColor;
  --whatsapp-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.7a8.3 8.3 0 0 1-12.4 7.2L3 20l1.2-4.5A8.3 8.3 0 1 1 20 11.7Z'/%3E%3Cpath d='M8.1 7.7c.5 3.4 2.8 5.8 6.4 6.6l1.1-1.3-2-1-1 .8a7.5 7.5 0 0 1-2.4-2.5l.8-.9-1-2Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--whatsapp-mark) center / contain no-repeat;
  mask: var(--whatsapp-mark) center / contain no-repeat;
}
body.cso-studio #shopify-section-footer .cso-footer-actions [href*="whatsapp.com"] { gap: .5rem; }

@media (max-width: 1020px) {
  body.cso-studio #shopify-section-footer .cso-footer-social-v62 .cso-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social) .cso-social-links__mark {
    width: 27px; height: 27px; flex-basis: 27px;
  }
}
@media (max-width: 350px) {
  body.cso-studio #shopify-section-footer .cso-footer-social-v62 .cso-social-links a { padding-inline: .4rem; gap: .32rem; }
}
@media (hover: hover) and (pointer: fine) {
  body.cso-studio #contenuto :is(.button-dark, .cso-home-dealers__button, .cso-cart__card-add, .cso-wa-button):hover:not(:disabled) {
    color: white; background-color: #493c32; border-color: #493c32;
  }
  body.cso-studio #contenuto :is(.button-outline, .cso-favorites__toggle):hover:not(:disabled) {
    color: #332a22; background-color: #f3efe9; border-color: #7a6858;
  }
  body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links > a:hover {
    background-color: var(--social-hover); color: var(--social-ink); border-color: var(--social-hover-border);
  }
  body.cso-studio :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links a:hover .cso-social-links__mark {
    color: var(--social-active-ink); background-color: var(--social-active-mark);
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.cso-studio[data-motion="true"] :is(#contenuto .button, #contenuto .cso-home-action, #contenuto .cso-home-dealers__button, #contenuto .cso-cart__card-add, #contenuto .cso-favorites__toggle, #shopify-section-footer .cso-footer-actions a) {
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, scale .16s ease-out;
  }
  body.cso-studio[data-motion="true"] :is(#contenuto .button, #contenuto .cso-home-action, #contenuto .cso-home-dealers__button, #contenuto .cso-cart__card-add, #contenuto .cso-favorites__toggle, #shopify-section-footer .cso-footer-actions a, #contenuto .cso-social-links a, #shopify-section-footer .cso-social-links a):active:not(:disabled) { scale: .98; }
  body.cso-studio[data-motion="true"] :is(#shopify-section-footer .cso-footer-social-v62, #contenuto .contact-social, #contenuto #social) .cso-social-links :is(a, .cso-social-links__mark) {
    transition: background-color .22s, color .22s, border-color .22s, scale .16s ease-out;
  }
  @media (hover: hover) and (pointer: fine) {
    body.cso-studio[data-motion="true"] :is(#contenuto .button, #contenuto .cso-home-action, #contenuto .cso-home-link, #contenuto .text-link) > .icon {
      transition: translate .24s cubic-bezier(.2,.7,.2,1);
    }
    body.cso-studio[data-motion="true"] :is(#contenuto .button, #contenuto .cso-home-action, #contenuto .cso-home-link, #contenuto .text-link):hover:not(:disabled) > .icon { translate: .14rem 0; }
  }
}

:root { --cso-photo-radius: 12px; }
@media (max-width: 760px) { :root { --cso-photo-radius: 10px; } }

/* Keep the display face's own kerning; reduce the extra tracking only at display sizes.
   Headings occur in both the shared stylesheet and late-loading section stylesheets. */
@media screen {
  body.cso-studio main#contenuto {
    --cso-display-tracking: -.01em;
    --cso-heading-tracking: -.004em;
  }
  body.cso-studio main#contenuto :is(h1, h2, h3) { font-kerning: normal; }
  body.cso-studio main#contenuto h1 { letter-spacing: var(--cso-display-tracking) !important; }
  body.cso-studio main#contenuto :is(h2, .cso-portal-card__title) {
    letter-spacing: var(--cso-heading-tracking) !important;
  }
  body.cso-studio main#contenuto h3 { letter-spacing: 0 !important; }
  body.cso-studio main#contenuto :is(h1, h2, h3) :is(em, i, b, strong, span, a):not(.eyebrow) {
    letter-spacing: inherit !important;
  }
  body.cso-studio #contenuto :is(.cso-page-hero__copy, .cso-contact-hub__intro,
    .cso-shipping-hero__copy, .cso-dealer-request__intro, .cso-shop-entry, .cso-shop-page-heading,
    .cso-account__intro, .cso-orders__intro, .cso-cart__heading, .cso-catalog__hero,
    .cso-lab-hero, .cso-b2b-help__intro, .cso-b2b-access-hub__heading, .cfg-workshop-title) h1 {
    line-height: 1.1;
    text-wrap: balance;
  }

  /* The title and introductory sentence sit together, centered on the photograph. */
  #contenuto .cso-dealer-public .cso-dealer-public__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.11fr) minmax(0, .89fr);
    grid-template-rows: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
    align-content: center;
    align-items: center;
    gap: 0 clamp(1.75rem, 5vw, 5.25rem);
    max-width: none;
    padding-block: clamp(1.75rem, 3.35vw, 3.3rem);
  }
  #contenuto .cso-dealer-public__intro > * { min-width: 0; }
  #contenuto .cso-dealer-public .cso-dealer-public__intro > .eyebrow {
    align-self: end;
    margin: 0 0 clamp(.85rem, 1.4vw, 1.35rem);
    line-height: 1.5;
  }
  body.cso-studio #contenuto .cso-dealer-public__intro h1 {
    --cso-display-tracking: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(2.6rem, 5.35vw, 5rem);
    line-height: 1.1;
    text-wrap: balance;
    overflow-wrap: normal;
    white-space: normal;
  }
  #contenuto .cso-dealer-public .cso-dealer-public__intro > p:not(.eyebrow) {
    align-self: start;
    max-width: 48ch;
    margin: clamp(1rem, 1.65vw, 1.55rem) 0 0;
    font-size: clamp(.975rem, 1.12vw, 1.075rem);
    line-height: 1.65;
  }
  #contenuto .cso-dealer-public .cso-dealer-public__intro::after {
    grid-area: 1 / 2 / 4 / 3;
    align-self: stretch;
    min-height: clamp(12.75rem, 20.7vw, 19.5rem);
    margin: 0;
    aspect-ratio: auto;
  }
  #contenuto .cso-dealer-public .cso-dealer-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.875rem, 1.65vw, 1.65rem);
    margin-top: clamp(1.75rem, 3.65vw, 3.75rem);
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  #contenuto .cso-dealer-paths .cso-dealer-path {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid #e1ded8;
    border-radius: var(--cso-photo-radius, 12px);
    background: #fbfaf8;
  }
  #contenuto .cso-dealer-paths .cso-dealer-path.cso-dealer-path--dark {
    border-color: #252320;
    background: #252320;
  }
  #contenuto .cso-dealer-paths .cso-dealer-path > .eyebrow {
    margin: 0 0 clamp(.65rem, 1vw, 1rem);
  }
  #contenuto .cso-dealer-paths .cso-dealer-path h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.54vw, 2.5rem);
    line-height: 1.15;
    text-wrap: balance;
  }
  #contenuto .cso-dealer-paths .cso-dealer-path > p:not(.eyebrow) {
    max-width: 48ch;
    margin: .85rem 0 clamp(1.25rem, 2vw, 2rem);
    line-height: 1.65;
  }
  #contenuto .cso-dealer-paths .cso-dealer-path > .button {
    margin-top: auto;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
  }
  #contenuto .cso-dealer-path__note { margin-top: .8rem; }
  #contenuto .cso-dealer-public .cso-dealer-journey {
    margin-top: clamp(2.75rem, 6vw, 5.75rem);
  }
}

@media screen and (max-width: 700px) {
  body.cso-studio main#contenuto { --cso-display-tracking: -.005em; }
  #contenuto .cso-dealer-public .cso-dealer-public__intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding-block: clamp(1.45rem, 4.9vw, 2rem);
  }
  body.cso-studio #contenuto .cso-dealer-public__intro h1 {
    font-size: clamp(2.15rem, 9.4vw, 3.45rem);
  }
  #contenuto .cso-dealer-public .cso-dealer-public__intro::after {
    grid-area: 4 / 1;
    min-height: 0;
    aspect-ratio: 2.12;
    margin-top: clamp(1.2rem, 4.5vw, 1.8rem);
    background-position: center 51%;
  }
  #contenuto .cso-dealer-public .cso-dealer-paths { grid-template-columns: minmax(0, 1fr); }
}

/* The public compact masthead exposes the original Shop link alongside the
   native Menu disclosure. Dealer navigation keeps its account-specific links. */
@media screen and (max-width: 1179px) {
  body.cso-studio #shopify-section-header .site-header:has(.desktop-nav > .nav-shop) {
    --nav-gutter: clamp(.85rem, 4.6vw, 3rem);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: minmax(56px, auto) auto;
    gap: 0 clamp(5px, 1.7vw, 12px);
    align-items: center;
    min-height: 0;
    padding: 0 var(--nav-gutter);
    background: #fff;
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .header-inner {
    display: contents;
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .brand {
    grid-area: 1 / 1;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }
  body.cso-studio #shopify-section-header .brand > img[src$="cso-studio-lockup.svg"] {
    aspect-ratio: 212 / 40;
    height: auto !important;
  }
  body.cso-studio #shopify-section-header .desktop-nav:has(> .nav-shop) {
    grid-area: 1 / 2;
    display: flex !important;
    justify-self: end;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body.cso-studio #shopify-section-header .desktop-nav:has(> .nav-shop) > :not(.nav-shop) {
    display: none;
  }
  body.cso-studio #shopify-section-header .desktop-nav > a.nav-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .4rem .8rem;
    border-radius: 99px;
    color: #fff;
    background: #28241f;
    font: 600 .875rem/1.25 var(--sans);
    white-space: nowrap;
  }
  body.cso-studio #shopify-section-header .desktop-nav > a.nav-shop::after { content: none; }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-menu {
    grid-area: 1 / 3;
    justify-self: end;
  }
  body.cso-studio #shopify-section-header .mobile-menu > summary {
    display: flex;
    gap: .4rem;
    min-width: 44px;
    min-height: 44px;
    padding: .4rem .7rem;
    border-radius: 99px;
    font: 500 .875rem/1.25 var(--sans);
  }
  body.cso-studio #shopify-section-header .mobile-menu[open] > summary {
    border-color: #998b78;
    background: #f3f0eb;
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-priority {
    display: grid;
    grid-area: 2 / 1 / auto / -1;
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.25fr) minmax(0, 1fr);
    justify-self: stretch;
    align-items: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-top: 1px solid #e8e3dc;
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-priority > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: .32rem .35rem;
    font: 500 .875rem/1.24 var(--sans);
    text-align: center;
    text-wrap: balance;
    white-space: normal;
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-priority > a[aria-current=page] {
    color: #573e28;
    box-shadow: inset 0 -2px #997652;
  }
  body.cso-studio #shopify-section-header .site-header .mobile-menu > .mobile-nav {
    inset: calc(100% + 3px) var(--studio-gutter) auto auto;
    gap: 0;
    width: min(24rem, calc(100% - 2 * var(--studio-gutter)));
    max-height: calc(100dvh - var(--header-height, 110px) - 12px);
    padding: .35rem .8rem .65rem;
    border-radius: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.cso-studio #shopify-section-header .mobile-nav > a:not(.button) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    min-height: 46px;
    padding: .55rem .5rem;
    font-size: .97rem;
    line-height: 1.35;
  }
  body.cso-studio #shopify-section-header .mobile-nav > .retailer-link { justify-self: stretch; min-height: 44px; }
}
@media screen and (max-width: 760px) {
  body.template-index #shopify-section-header {
    --home-monogram: clamp(4.35rem, 20vw, 6.5rem);
    --home-signature-gap: clamp(.32rem, 1.35vw, .6rem);
  }
  body.template-index #shopify-section-header .site-header .brand__name {
    max-width: 7.5em;
    font-size: .75rem;
    line-height: 1.25;
  }
  body.cso-studio #shopify-section-header .site-header .mobile-menu > .mobile-nav {
    inset-inline: var(--nav-gutter, var(--studio-gutter));
    width: auto;
  }
}
@media screen and (min-width: 961px) and (max-width: 1179px) {
  body.cso-studio #shopify-section-header .site-header:has(.desktop-nav > .nav-shop) {
    grid-template-columns: max-content minmax(0, 1fr) auto auto;
    grid-template-rows: minmax(66px, auto);
    gap: clamp(.6rem, 1.3vw, 1.15rem);
  }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-priority {
    grid-area: 1 / 2;
    border: 0;
  }
  body.cso-studio #shopify-section-header .desktop-nav:has(> .nav-shop) { grid-column: 3; }
  body.cso-studio #shopify-section-header .site-header:has(.nav-shop) .mobile-menu { grid-column: 4; }
}

/* On a phone the original hallmark stands alone, like the stamp on a jewel.
   The linked image and the brand's accessible name are present at every size. */
@media screen and (max-width: 600px) {
  body.cso-studio #shopify-section-header .site-header .brand > img {
    width: clamp(4.8rem, 22vw, 6.55rem) !important;
    height: auto !important;
    aspect-ratio: 66 / 32;
  }
  body.cso-studio #shopify-section-header .site-header .brand > img[src$="cso-studio-lockup.svg"] {
    content: url("cso-studio-monogram.svg");
    aspect-ratio: 66 / 32;
  }
  body.template-index #shopify-section-header .site-header .brand__name { display: none; }
}
@media screen and (min-width: 601px) and (max-width: 1179px) {
  body.template-index #shopify-section-header .site-header .brand__name {
    max-width: none;
    white-space: nowrap;
    font-size: .875rem;
  }
}
