/* Kala's apparel reference remains the base. These rules adapt native commerce and merchant controls. */
:root { color-scheme:light; --section-pad-y: clamp(48px, 6vw, 84px); }
body { font-family:var(--font-body); font-size:1rem; }
h1,h2,h3,h4,h5,h6 { font-family:var(--font-heading); }
.section,.story-band { padding-block:var(--section-pad-y); }
.section-sm { padding-block:clamp(32px,4vw,52px); }
main .page-head h1 { font-size:clamp(2rem,4vw,3.4rem); overflow-wrap:anywhere; }
html:root main :is(h1,h2,h3,h4,h5,h6) { color:var(--heading-color); }
html:root .story-band :is(h1,h2,h3),html:root .newsletter-dark :is(h1,h2,h3),html:root .c4-copy :is(h1,h2,h3) { color:inherit; }
.desktop-nav a,.desktop-nav summary { color:var(--menu-color); }
.desktop-nav a:hover,.desktop-nav summary:hover { color:var(--menu-hover); }
main :is(.text-link,.btn-link,.prose a,.share-row a,.category-copy a) { color:var(--link-color); }
main :is(.text-link,.btn-link,.prose a,.share-row a,.category-copy a):hover { color:var(--link-hover); }
.btn:not(.btn-outline):not(.btn-light):not(.btn-link):not(.btn-accent) { background:var(--btn-primary-bg);color:var(--btn-primary-text);border-color:var(--btn-primary-bg); }
.btn:not(.btn-outline):not(.btn-light):not(.btn-link):not(.btn-accent):hover { background:var(--btn-primary-hover-bg);color:var(--btn-primary-hover-text); }
.btn-outline,.btn-secondary { background:var(--btn-secondary-bg);color:var(--btn-secondary-text);border:1px solid var(--btn-secondary-text); }
.btn-outline:hover,.btn-secondary:hover { background:var(--btn-secondary-hover-bg);color:var(--btn-secondary-hover-text); }
.btn-accent { background:var(--btn-accent-bg);color:var(--btn-accent-text);border-color:var(--btn-accent-bg); }
.btn-accent:hover { background:var(--btn-accent-hover-bg);color:var(--btn-accent-hover-text); }
.btn:disabled,button:disabled { opacity:.55;cursor:wait;transform:none; }
html:not(.js) .reveal { opacity:1;transform:none;visibility:visible; }
:focus-visible { outline:2px solid var(--terra);outline-offset:4px; }
.skip-link { position:fixed;top:8px;left:16px;z-index:2000;transform:translateY(-150%);padding:12px 18px;background:var(--paper);color:var(--ink);border:1px solid var(--line); }
.skip-link:focus { transform:none; }
.nav-wrap { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
.logo img { width:var(--logo-width,150px);max-width:min(var(--logo-width,150px),30vw);height:auto;max-height:48px;object-fit:contain; }
.desktop-nav { gap:20px; }
.menu-branch { position:relative; }
.menu-branch summary { padding-block:26px;font-size:.9rem;font-weight:600;cursor:pointer;list-style:none; }
.menu-submenu { position:absolute;top:100%;left:0;min-width:220px;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);z-index:60; }
.desktop-nav .menu-submenu a,.menu-submenu summary { display:block;padding:10px 12px; }
.desktop-nav .menu-submenu a::after { display:none; }
.mobile-panel .menu-submenu { position:static;box-shadow:none;padding:0 12px; }
.mobile-panel summary { padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer; }
.socials a { display:inline-grid;place-items:center;width:38px;height:38px; }
.socials svg { width:18px;height:18px; }
.newsletter-captcha { flex-basis:100%; }
.subscribe { flex-wrap:wrap; }
.subscribe .input { min-width:0;flex:1 1 auto; }
.kala-home-hero { background-image:var(--hero-image,url('hero-kala.png')); }
.category-card.has-custom-image::before { background-image:var(--category-image);background-size:cover;background-position:center; }
.category-card:only-child { grid-column:1/-1; }
.kala-example { border:1px dashed var(--line);padding:20px;border-radius:var(--radius); }
.example-label { display:inline-block;color:var(--muted);font-size:.8rem;margin-block:12px 6px; }
.kala-catalogue { align-items:start; }
.catalogue-results { min-width:0; }
.catalogue-filters>summary { cursor:pointer;font-weight:700;margin-bottom:20px; }
.filter-group>a { display:block;padding:7px 0; }
.filter-group>a[aria-current] { font-weight:700;color:var(--terra); }
.catalogue-sort { display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end; }
.catalogue-sort label { font-size:.8rem; }
.catalogue-sort .select { width:auto;max-width:190px; }
.kala-catalogue .toolbar { align-items:center;gap:16px;flex-wrap:wrap; }
.kala-catalogue .pagination { margin-top:36px; }
.kala-article-layout { display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:44px;align-items:start; }
.kala-article-layout .article-wrap { width:100%;max-width:none;margin:0;min-width:0; }
.kala-article-layout .article-title { font-size:clamp(2.1rem,4vw,3.5rem); }
.kala-article-sidebar-section { padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line); }
.kala-article-sidebar h2 { font-size:1.1rem;margin-bottom:16px; }
.kala-article-categories,.kala-article-related { list-style:none;padding:0; }
.kala-article-categories li>a { display:flex;justify-content:space-between;padding:8px 0;gap:12px; }
.kala-article-related li { padding:12px 0;border-bottom:1px solid var(--line); }
.kala-article-related time { display:block;color:var(--muted);font-size:.8rem; }
.kala-article-tags { display:flex;gap:8px;flex-wrap:wrap; }
.kala-article-tags a { border:1px solid var(--line);border-radius:99px;padding:6px 12px;font-size:.8rem; }
.kala-article-search { display:flex;gap:8px;flex-wrap:wrap; }
.kala-article-search input { min-width:0;flex:1 1 130px;width:100%; }
.kala-article-search .btn { padding-inline:14px; }
.kala-directory-search { padding-top:36px; }
.blog-search { display:flex;gap:8px;flex-wrap:wrap; }
.product-main-image { position:relative;top:0;min-width:0; }
.product-layout>.product-info { display:block;min-width:0;padding:6px 0 0; }
.product-gallery { min-width:0; }
.product-main-image>img { width:100%;height:100%;display:block; }
.site-footer .logo { color:inherit; }
.subscribe>label.visually-hidden { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.product-main-image>img { object-fit:contain; }
.product-zoom-button { position:absolute;right:16px;bottom:16px;background:var(--paper);box-shadow:var(--shadow); }
.product-zoom-dialog { width:min(95vw,1050px);height:90vh;padding:54px 16px 16px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius); }
.product-zoom-dialog::backdrop { background:rgba(0,0,0,.7); }
.product-zoom-dialog img { width:100%;height:100%;object-fit:contain; }
.product-zoom-dialog.is-zoomed img { height:auto;min-width:150%;max-width:none; }
.zoom-tools { position:absolute;top:8px;right:8px;display:flex; }
.product-tabs--full { grid-column:1/-1; }
.product-tabs__list { overflow-x:visible;flex-wrap:wrap;row-gap:2px; }
.product-tabs__tab { flex:0 1 auto;white-space:normal;text-align:left; }
.cart-note { margin-top:24px; }
.cart-note textarea { width:100%;resize:vertical; }
.cart-update-status { min-height:1.65em;margin-top:12px; }
.back-to-top { position:fixed;right:22px;bottom:24px;z-index:45;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:var(--shadow);cursor:pointer; }
.kala-error { max-width:700px;text-align:center; }
.kala-error h1 { font-size:clamp(2rem,4vw,3rem); }
.kala-error .hero-actions { justify-content:center; }
@media(min-width:761px){.catalogue-filters>summary { display:none; }}
@media(max-width:1100px){.desktop-nav { display:none; }.menu-btn { display:inline-grid; }}
@media(max-width:900px){.kala-article-layout { grid-template-columns:minmax(0,1fr);gap:32px; }.kala-article-sidebar { width:100%; }.account-layout { grid-template-columns:minmax(0,1fr); }.account-content { min-width:0; }}
@media(max-width:760px){.kala-catalogue { grid-template-columns:minmax(0,1fr); }.catalogue-sort { margin-left:0;justify-content:flex-start;width:100%; }.catalogue-sort label { display:block; }.filter-panel { width:100%; }.filter-clear { display:block;margin-top:12px; }.logo img { max-width:28vw; }.nav-wrap { gap:8px; }.nav-actions { gap:2px; }.nav-actions .account-icon { display:none; }.jualify-language-switcher__select { max-width:65px;padding-inline:6px 18px; }.jualify-language-switcher__prefix { display:none; }.cart-table th:nth-child(2),.cart-table td:nth-child(2) { display:none; }.cart-table td { padding:12px 6px; }.cart-table td:first-child { max-width:160px; }.cart-table .drawer-thumb { display:none; }.cart-table .quantity { width:100px; }.cart-table .quantity input { width:34px; }.category-grid { grid-template-columns:minmax(0,1fr); }.category-stack { grid-template-columns:minmax(0,1fr); }.share-row { flex-wrap:wrap; }}
@media(max-width:380px){.nav-actions .icon-btn { width:34px;height:40px; }.nav-wrap .logo { font-size:1.25rem; }.nav-wrap { grid-template-columns:auto 1fr; }.nav-actions { justify-self:end; }.cart-table { font-size:.78rem; }}
@media(prefers-reduced-motion:reduce){html { scroll-behavior:auto; }*,*::before,*::after { animation-duration:.01ms!important;transition-duration:.01ms!important; }.reveal { opacity:1!important;transform:none!important; }}

/* The mobile panel must sit above its backdrop in every homepage concept. */
.mobile-panel.mobile-nav-panel { inset:0 auto 0 0;z-index:150;width:min(360px,90vw);padding:24px;overflow-y:auto;background:var(--paper);color:var(--ink);display:block;visibility:hidden;opacity:0;transform:translateX(-100%); }
.mobile-panel.mobile-nav-panel.open { visibility:visible;opacity:1;transform:none; }
.mobile-panel-head .mobile-close { position:static;flex-shrink:0; }
.mobile-panel-brand { overflow-wrap:anywhere; }
.mobile-panel .theme-icon { width:16px;height:16px; }

.subscribe { flex-direction:row;align-items:stretch;gap:0; }
.subscribe .input { width:0;min-height:48px;flex:1 1 120px; }
.subscribe .btn { min-height:48px;padding-inline:16px; }
.subscribe .newsletter-captcha { margin-top:12px; }
.form-status:empty { display:none; }
.product-meta { display:block;padding:16px 18px; }
.product-meta h3 { margin:0 0 4px;font-size:1rem; }
.product-meta .price { display:block;margin-top:8px;white-space:normal; }
.product-card .badge { max-width:calc(100% - 65px); }
html:root .category-copy h3 { color:inherit; }

.nav-wrap { min-height:74px;height:auto;padding-block:10px; }
.nav-wrap .logo { max-width:var(--logo-width,150px);display:flex;flex-direction:column;gap:6px;text-align:center;overflow-wrap:anywhere; }
@media(max-width:760px){.nav-wrap .logo { max-width:28vw;font-size:1.1rem; }.nav-wrap .logo small { display:none; }}

main .category-copy a { color:inherit; }
main .category-copy a:hover { color:inherit;text-decoration:underline; }

html:not(.js) [data-product-form]>.option-group { display:none; }


/* ---- Kala Custom Content Page & Rich Text ---- */
.template-page .article-wrap, .article-wrap:not(:has(.article-aside)):not(:has(.kala-article-sidebar)) { display: block !important; max-width: 760px !important; margin: 0 auto !important; }
.article-wrap .article-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 4.2vw, 3.2rem) !important; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.5rem; }
.page-content, .page-content.rte, .page-content.prose, .rte, .prose { max-width: 760px; margin-inline: auto; font-family: var(--font-body); font-size: 16.5px; line-height: 1.85; color: var(--ink, #182019); word-break: break-word; }
.page-content > *:first-child, .rte > *:first-child, .prose > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.page-content > *:last-child, .rte > *:last-child, .prose > *:last-child { margin-bottom: 0 !important; }
.page-content h1, .rte h1, .prose h1 { font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; color: var(--ink); }
.page-content h2, .rte h2, .prose h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin-top: clamp(2rem, 3.8vw, 2.75rem); margin-bottom: 0.95rem; color: var(--ink); }
.page-content h3, .rte h3, .prose h3 { font-family: var(--font-heading); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; margin-top: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; color: var(--ink); }
.page-content h4, .rte h4, .prose h4 { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1.35rem; margin-bottom: 0.5rem; color: var(--ink); }
.page-content p, .rte p, .prose p { margin-top: 0; margin-bottom: 1.5rem; line-height: 1.85; color: var(--ink); }
.page-content ul, .page-content ol, .rte ul, .rte ol, .prose ul, .prose ol { margin-top: 0; margin-bottom: 1.65rem; padding-left: 1.75rem; color: var(--ink); }
.page-content li, .rte li, .prose li { margin-bottom: 0.6rem; line-height: 1.8; }
.page-content li:last-child, .rte li:last-child, .prose li:last-child { margin-bottom: 0; }
.page-content blockquote, .rte blockquote, .prose blockquote { margin: 1.85rem 0; padding: 1.1rem 1.6rem; border-left: 3px solid var(--terra, #b95735); background: var(--cream, #f7f3eb); border-radius: 0 var(--radius, 18px) var(--radius, 18px) 0; font-size: 1.1rem; line-height: 1.65; color: var(--ink); }
.page-content blockquote p:last-child, .rte blockquote p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.page-content img, .rte img, .prose img { max-width: 100%; height: auto; border-radius: var(--radius, 18px); margin-block: 1.75rem; display: block; }
.page-content hr, .rte hr, .prose hr { border: 0; height: 1px; background: var(--line, #ddd9d0); margin: 2.5rem 0; }
.page-content a, .rte a, .prose a { color: var(--terra, #b95735); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.page-content table, .rte table, .prose table { width: 100%; border-collapse: collapse; margin-block: 2rem; font-size: 0.95rem; }
.page-content th, .page-content td, .rte th, .rte td, .prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.page-content th, .rte th, .prose th { font-family: var(--font-heading); font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }



.template-page .breadcrumbs,
.article-wrap .breadcrumbs,
.article-wrap .breadcrumb,
.article-shell .breadcrumbs,
.article-shell .breadcrumb {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-inline: auto !important;
}
.article-wrap .article-title,
.article-shell .article-title {
  text-align: center !important;
  margin-inline: auto !important;
}

/* ---- Quick view dialog ---- */
.quick-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: var(--paper, #fff);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  position: fixed;
  inset: 0;
  margin: auto;
}
.quick-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}
.quick-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s, color 0.15s;
}
.quick-dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}
.quick-dialog .quick-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  align-items: start;
}
.quick-dialog .quick-media {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.quick-dialog .quick-media > img {
  width: 100%;
  aspect-ratio: var(--product-image-aspect, 4 / 5);
  object-fit: cover;
  display: block;
}
.quick-dialog .quick-thumbs {
  padding: 10px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.quick-dialog .quick-thumbs[hidden] { display: none; }
.quick-dialog .quick-thumbs__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 4);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--sand, #c9ab72) var(--cream);
  padding-bottom: 4px;
}
.quick-dialog .quick-thumbs__track::-webkit-scrollbar { height: 5px; }
.quick-dialog .quick-thumbs__track::-webkit-scrollbar-track { background: var(--cream); border-radius: 99px; }
.quick-dialog .quick-thumbs__track::-webkit-scrollbar-thumb { background: var(--sand, #c9ab72); border-radius: 99px; }
.quick-dialog .quick-thumbs__track::-webkit-scrollbar-thumb:hover { background: var(--terra, #c25e40); }
.quick-dialog .quick-thumb {
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  aspect-ratio: var(--product-image-aspect, 4 / 5);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.quick-dialog .quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quick-dialog .quick-thumb:hover { border-color: var(--muted); }
.quick-dialog .quick-thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.quick-dialog .quick-thumbs__nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}
.quick-dialog .quick-thumbs__nav[hidden] { display: none; }
.quick-dialog .quick-thumbs__nav button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quick-dialog .quick-thumbs__nav button:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.quick-dialog .quick-thumbs__nav button:disabled { opacity: .35; cursor: default; }
.quick-dialog .quick-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.quick-dialog .quick-info h2 {
  font: 650 clamp(22px, 2.5vw, 28px)/1.2 var(--font-heading);
  margin: 6px 0 10px;
  color: var(--ink);
}
.quick-dialog .product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.quick-dialog .product-price del.compare-price {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}
.quick-dialog .quick-description {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
  max-height: 120px;
  overflow-y: auto;
}
.quick-dialog .quick-description:empty { display: none; }
.quick-dialog .quick-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-dialog .quick-options[hidden] { display: none; }
.quick-dialog .quick-option-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-dialog .quick-option-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.quick-dialog .quick-option-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
.quick-dialog .quick-option-select:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 1px;
}
.quick-dialog .quick-quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.quick-dialog .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.quick-dialog .quick-actions .btn {
  justify-content: center;
  white-space: nowrap;
}
.quick-dialog .quick-stock-status {
  font-size: 13px;
  color: #a43c30;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .quick-dialog .quick-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
}

/* ---- Product Card Action Overlay & Quick View Button ---- */
.product-card .card-action-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-card:hover .card-action-overlay,
.product-card:focus-within .card-action-overlay {
  opacity: 1;
  transform: translateY(0);
}
.product-card .card-action-overlay .quick-add {
  position: static;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius, 8px);
  background: var(--ink, #182019);
  color: #fff;
  opacity: 1;
  transform: none;
}
.product-card .card-action-overlay .quick-add:hover {
  background: var(--ink-2, #333);
  color: #fff;
}
.quick-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  background: var(--paper, #fff);
  color: var(--ink, #182019);
  border: 1px solid var(--line, #ddd9d0);
  border-radius: var(--radius, 8px);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.quick-view-btn:hover {
  background: var(--btn-primary-bg, #111);
  color: var(--btn-primary-text, #fff);
  border-color: var(--btn-primary-bg, #111);
}
@media (max-width: 760px) {
  .product-card .card-action-overlay {
    opacity: 1;
    transform: none;
    position: static;
    margin-top: 8px;
    padding-inline: 4px;
  }
}

/* ---- Customer Auth Split Layout ---- */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 48px 16px;
}
.auth-page--solo {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}
.auth-card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg, var(--paper));
}
.auth-card--center { text-align: center; }
.auth-aside {
  position: relative;
  border-radius: var(--radius, 16px);
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 44px);
  background: var(--cream);
  color: #fff;
}
.auth-aside__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-aside__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
}
.auth-aside__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-aside__brand {
  font: 700 22px var(--font-heading);
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.auth-aside__heading {
  font: 600 24px/1.3 var(--font-heading);
  margin: 0;
  color: #fff;
}
.auth-aside__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 8px 0 0;
}
.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 860px) {
  .auth-page {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 16px;
  }
  .auth-aside {
    display: none;
  }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .auth-page { padding: 20px 12px; }
  .auth-card { padding: 26px 18px; border-radius: 14px; }
}

/* ==========================================================================
   Kala Enhancements: Header, Drawer, Lazy Load, Zoom, Catalog, Contact, Product
   ========================================================================== */

/* 1. Header Navigation Grid: Logo left, main menu center, actions right */
.nav-wrap {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
}
.nav-wrap .logo {
  justify-self: start !important;
  text-align: left !important;
}
.nav-wrap .desktop-nav {
  justify-self: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.nav-wrap .nav-actions {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
/* Only the header buttons need a positioning context for their count badges. */
.nav-actions .icon-btn {
  position: relative !important;
}
.icon-btn .cart-count,
.icon-btn .wishlist-count {
  position: absolute !important;
  top: -4px !important;
  right: -6px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: var(--terra, #b95735) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  z-index: 2 !important;
}
.icon-btn .cart-count:empty,
.icon-btn .wishlist-count:empty {
  display: none !important;
}

/* 2. Compact Cart Drawer */
.cart-drawer .drawer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--line) !important;
}
.cart-drawer__view-cart-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  color: var(--ink) !important;
  margin-left: auto !important;
  margin-right: 14px !important;
}
.cart-drawer .drawer-items {
  padding: 10px 18px !important;
  flex: 1 1 auto !important;
  max-height: none !important;
}
.cart-drawer .drawer-summary {
  padding: 14px 18px 18px !important;
}
.cart-drawer .drawer-item {
  padding: 8px 0 !important;
}
.cart-drawer .drawer-secure {
  display: none !important;
}

/* 3. Universal Lazy Loading Image Spinner & Soft Hover Zoom */
@keyframes kalaImageSpinner {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.product-media.is-loading,
.category-card.is-loading,
.category-feature-card.is-loading,
.category-tile.is-loading,
.bc-media.is-loading,
.product-main-image.is-loading,
.contact-figure-wrap.is-loading {
  position: relative;
}

.product-media.is-loading::before,
.category-card.is-loading::before,
.category-feature-card.is-loading::before,
.category-tile.is-loading::before,
.bc-media.is-loading::before,
.product-main-image.is-loading::before,
.contact-figure-wrap.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border: 2.5px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--ink, #182019);
  border-radius: 50%;
  animation: kalaImageSpinner 0.65s linear infinite;
  z-index: 3;
  pointer-events: none;
}

.product-card .product-media {
  overflow: hidden;
}
.product-card .product-card-img,
.product-card .product-media img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.product-card:hover .product-card-img,
.product-card:hover .product-media img {
  transform: scale(1.055);
}

.category-card,
.category-feature-card,
.category-tile,
.promo-card,
.promo-media {
  overflow: hidden;
}
.category-card img,
.category-feature-card img,
.category-tile img,
.promo-card img,
.promo-media img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.category-card:hover img,
.category-feature-card:hover img,
.category-tile:hover img,
.promo-card:hover img,
.promo-media:hover img {
  transform: scale(1.055);
}

/* 4. Homepage Duo Categories */
.category-grid--duo {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .category-grid--duo {
    grid-template-columns: 1fr;
  }
}

/* 5. Catalog Page 2-Column Layout & Mobile Filter Drawer */
.catalog-layout,
.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.catalog-layout > .catalog-toolbar,
.category-layout > .catalog-toolbar {
  display: contents;
}
.catalog-sidebar {
  min-width: 0;
}
/* The backdrop is a drawer-only overlay: it must never become a grid item of the catalog layout. */
.catalog-sidebar-backdrop {
  display: none;
}
.catalogue-results {
  min-width: 0;
}
@media (max-width: 860px) {
  .catalog-layout,
  .category-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(85vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 16px rgba(0,0,0,0.15);
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .catalog-sidebar.is-open {
    transform: translateX(0);
  }
  .catalog-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
  }
  .catalog-sidebar-backdrop.is-open {
    display: block;
  }
  .catalog-filter-close {
    display: block !important;
  }
  .catalog-mobile-filter-btn {
    display: inline-flex !important;
  }
}
@media (min-width: 861px) {
  .catalog-mobile-filter-btn {
    display: none !important;
  }
  .catalog-filter-close {
    display: none !important;
  }
}

/* 6. Contact page: media banner + editable details on the left, inquiry form on the right */
.contact-hero {
  padding:44px 0; margin-bottom:36px; border-bottom:1px solid var(--line); text-align:var(--sf-align,left);
}
.contact-hero h1 { font-size:clamp(2rem,4vw,2.8rem); margin:8px 0 12px; }
.contact-hero .eyebrow { display:block; margin-bottom:8px; }
.contact-hero p { max-width:620px; margin:0; margin-inline-start:var(--sf-lede-start,0); margin-inline-end:var(--sf-lede-end,auto); line-height:1.7; }
.contact-section { padding-top:8px; padding-bottom:72px; }
.contact-layout {
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr);
  gap:clamp(24px,3.4vw,44px); align-items:start;
}
.contact-left { display:flex; flex-direction:column; gap:20px; min-width:0; }
.contact-media {
  position:relative; overflow:hidden; min-height:var(--contact-media-height,320px);
  border:1px solid var(--line); border-radius:var(--radius,18px); background:var(--cream);
}
.contact-media img { width:100%; height:100%; min-height:var(--contact-media-height,320px); object-fit:cover; display:block; }
.contact-media iframe,
.contact-media .contact-map-embed,
.contact-media .contact-map-embed iframe { width:100%; height:100%; min-height:var(--contact-media-height,320px); border:0; display:block; }
.contact-media-badge {
  position:absolute; left:16px; bottom:16px; display:inline-flex; align-items:center; gap:7px;
  padding:8px 14px; border-radius:99px; background:rgba(255,253,249,.94);
  border:1px solid var(--line); color:var(--ink); font-size:.76rem; font-weight:600;
  box-shadow:0 8px 24px rgba(24,32,25,.12);
}
.contact-placeholder {
  position:relative; display:flex; align-items:flex-end; min-height:var(--contact-media-height,320px);
  padding:24px; color:var(--green-2);
  background:linear-gradient(150deg,#f7f3eb 0%,#ece3d4 52%,#e3d7c4 100%);
}
.contact-placeholder-art { position:absolute; inset:0; width:100%; height:100%; }
.contact-placeholder-copy { position:relative; display:flex; flex-direction:column; gap:8px; max-width:34ch; }
.contact-placeholder-eyebrow { font-size:.68rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--terra); }
.contact-placeholder-copy strong { font:800 1.5rem/1.15 var(--font-heading); letter-spacing:-.02em; color:var(--ink); }
.contact-placeholder-copy p { margin:0; font-size:.9rem; line-height:1.6; color:#4d554e; }
.contact-placeholder-badge {
  align-self:flex-start; margin-top:4px; padding:7px 13px; border-radius:99px;
  background:var(--paper); border:1px solid var(--line); font-size:.74rem; font-weight:600; color:var(--ink);
}
.contact-details-card {
  padding:clamp(20px,2.6vw,28px); border:1px solid var(--line); border-radius:var(--radius,18px); background:var(--paper);
}
.contact-details-card h2 { font-size:1.3rem; margin:0 0 8px; }
.contact-details-lede { margin:0 0 18px; color:var(--muted); font-size:.92rem; line-height:1.6; }
.contact-detail-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.contact-detail { display:flex; align-items:flex-start; gap:12px; }
.contact-detail-icon {
  display:inline-grid; place-items:center; flex:none; width:38px; height:38px;
  border-radius:12px; background:var(--cream); border:1px solid var(--line); color:var(--green-2);
}
.contact-detail-body { min-width:0; display:flex; flex-direction:column; gap:3px; }
.contact-detail-body strong { font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.contact-detail-lines { font-size:.95rem; line-height:1.6; color:var(--ink); overflow-wrap:anywhere; }
.contact-details-note {
  margin-top:18px; padding-top:16px; border-top:1px solid var(--line);
  font-size:.88rem; line-height:1.65; color:var(--muted);
}
.contact-form-card {
  padding:clamp(22px,3vw,34px); border:1px solid var(--line); border-radius:var(--radius,18px);
  background:var(--cream); box-shadow:var(--shadow); min-width:0;
}
.contact-form-head { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; }
.contact-form-icon {
  display:inline-grid; place-items:center; flex:none; width:44px; height:44px; border-radius:14px;
  background:var(--paper); border:1px solid var(--line); color:var(--terra);
}
.contact-form-head h2 { font-size:1.35rem; margin:0 0 4px; }
.contact-form-head p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.55; }
.contact-alert {
  display:flex; align-items:flex-start; gap:12px; padding:14px 16px; margin-bottom:18px;
  border-radius:12px; border:1px solid transparent; font-size:.9rem; line-height:1.55;
}
.contact-alert-icon { display:inline-grid; place-items:center; flex:none; width:26px; height:26px; border-radius:50%; }
.contact-alert-copy { min-width:0; }
.contact-alert-copy strong { display:block; font-size:.95rem; margin-bottom:2px; }
.contact-alert-copy p { margin:0; }
.contact-alert-copy ul { margin:8px 0 0; padding-left:18px; }
.contact-alert-detail { margin-top:6px !important; font-size:.84rem; opacity:.85; }
.contact-alert--success { background:#eef7f1; border-color:#bcdcc7; color:#1d5c39; }
.contact-alert--success .contact-alert-icon { background:#247a4b; color:#fff; }
.contact-alert--error { background:#fdf1ef; border-color:#eec4bc; color:#8f2f21; }
.contact-alert--error .contact-alert-icon { background:var(--danger); color:#fff; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.contact-form-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.contact-field { display:flex; flex-direction:column; gap:6px; min-width:0; }
.contact-field label { font-size:.8rem; font-weight:700; letter-spacing:.02em; color:var(--ink); }
.contact-field .input {
  width:100%; min-height:46px; padding:11px 14px; border:1px solid var(--line); border-radius:10px;
  background:var(--paper); color:var(--ink); font-size:.94rem; transition:border-color .18s ease, box-shadow .18s ease;
}
.contact-field textarea.input { min-height:132px; resize:vertical; line-height:1.6; }
.contact-field select.input { appearance:none; background-image:none; padding-right:14px; }
.contact-field .input:focus { outline:none; border-color:var(--green-2); box-shadow:0 0 0 3px rgba(41,41,41,.1); }
.contact-field .input::placeholder { color:#9aa09a; }
.contact-captcha { display:flex; justify-content:flex-start; }
.contact-submit {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  width:100%; min-height:50px; padding:13px 20px; border-radius:12px; font-weight:700;
}
.contact-form-note { margin:0; font-size:.8rem; line-height:1.6; color:var(--muted); text-align:center; }
@media (max-width:900px) {
  .contact-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .contact-section { padding-bottom:56px; }
}
@media (max-width:560px) {
  .contact-form-row { grid-template-columns:minmax(0,1fr); }
  .contact-hero { padding:32px 0; margin-bottom:24px; }
  .contact-media, .contact-media img, .contact-media iframe, .contact-placeholder { min-height:240px; }
}
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius, 8px);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-status.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-status ul {
  margin: 0;
  padding-left: 20px;
}

/* 7. Product page: compact two-column detail with ratio-linked thumbnail carousel */
.product-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) !important;
  gap: clamp(28px, 3.4vw, 52px) !important;
  align-items: start !important;
}
.product-layout > .product-gallery {
  position: sticky;
  top: 96px;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0;
}
.product-layout .product-main-image {
  order: 1 !important;
  position: relative;
  top: 0;
  width: 100% !important;
  aspect-ratio: var(--product-image-aspect, 4 / 5);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  overflow: hidden;
}
.product-layout .product-main-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.product-layout .product-main-image:hover > img { transform: scale(1.03); }
.product-layout .product-zoom-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.product-thumbnail-carousel { order: 2; width: 100%; min-width: 0; }
.product-layout .thumbs {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 30px) / 4);
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) var(--cream);
}
.product-layout .thumbs::-webkit-scrollbar { height: 5px; }
.product-layout .thumbs::-webkit-scrollbar-track { background: var(--cream); border-radius: 99px; }
.product-layout .thumbs::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 99px; }
.product-layout .thumbs::-webkit-scrollbar-thumb:hover { background: var(--terra); }
.product-layout .thumb {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  aspect-ratio: var(--product-image-aspect, 4 / 5);
  scroll-snap-align: start;
  padding: 0 !important;
  margin: 0;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: var(--cream) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.product-layout .thumb:hover { border-color: var(--muted) !important; }
.product-layout .thumb.active { border-color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); }
.product-layout .thumb:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.product-layout .thumb img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.product-thumbnail-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.product-thumbnail-nav[hidden] { display: none; }
.product-thumbnail-nav button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.product-thumbnail-nav button:hover:not(:disabled) { background: var(--cream); border-color: var(--ink); }
.product-thumbnail-nav button:disabled { opacity: .35; cursor: default; }

.product-layout > .product-info { padding-top: 0 !important; }
.product-layout .product-info .eyebrow { font-size: .7rem; }
.product-layout .product-info h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}
.product-layout .product-rating { margin: 0 0 10px !important; font-size: .8rem; }
.product-layout .product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
  font: 800 1.35rem var(--font-heading);
}
.product-layout .product-price del { margin-left: 0; font-size: .9rem; font-weight: 600; }
.product-layout .sale-note { margin-left: 0; }
.product-layout .product-copy { margin: 0 0 16px; font-size: .92rem; line-height: 1.65; }
.product-layout .option-group { margin-top: 16px; }
.product-layout .option-head { margin-bottom: 8px; font-size: .78rem; }
.product-layout .option-group .select { min-height: 44px; }
.product-layout .size-options { gap: 8px; }
.product-layout .size-option { min-width: 46px; height: 38px; padding-inline: 12px; font-size: .82rem; }
.product-layout .buy-row { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; margin: 20px 0 10px; }
.product-layout .buy-row .quantity { height: 46px; }
.product-layout .purchase-actions .btn { min-height: 46px; }
.product-layout .stock { margin: 10px 0; font-size: .76rem; }
.product-layout .product-benefits { gap: 8px; margin: 18px 0; }
.product-layout .product-benefit {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-size: .74rem;
  line-height: 1.5;
}
.product-layout .product-tabs { margin-top: 22px; }
.product-reviews-section {
  width: 100%;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 26px !important; }
  .product-layout > .product-gallery { position: static; top: auto; }
}
@media (max-width: 560px) {
  .product-layout .product-info h1 { font-size: 1.4rem; }
  .product-layout .buy-row { grid-template-columns: 96px minmax(0, 1fr); }
  .product-layout .product-benefits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .product-layout .product-main-image > img { transition: none; }
  .product-layout .product-main-image:hover > img { transform: none; }
}

/* 8. Blog Page: Left Align Title and Subtitle */
.page-head,
.page-head h1,
.page-head p,
.page-head .head-row > div {
  text-align: left !important;
}
.blog-card--feature {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.blog-card--feature .bc-media {
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
}
.blog-card--feature .bc-body {
  padding: 18px 20px !important;
}
.blog-card--feature h3 {
  font-size: 1.15rem !important;
}

/* 9. Payment Method Badges: Scaled to 60% (38px x 24px) */
.footer-payments .payment-method-badge {
  display: block !important;
  width: 38px !important;
  height: 24px !important;
  padding: 2px 3px !important;
  object-fit: contain !important;
  background: #fff !important;
  border: 1px solid #e9e7e1 !important;
  border-radius: 3px !important;
}
@media (max-width: 600px) {
  .footer-payments .payment-method-badge {
    width: 32px !important;
    height: 20px !important;
  }
}

/* ============================================================
   HEADER NAVIGATION - hover dropdowns, aligned caret, mobile drawer
   ============================================================ */
.site-header .nav-wrap .desktop-nav { align-items:center; gap:22px; }
.desktop-nav .menu-branch { position:relative; display:flex; align-items:center; }
.desktop-nav .menu-branch .menu-trigger { display:inline-flex; align-items:center; gap:5px; }
.desktop-nav .menu-branch .menu-label,
.desktop-nav > .menu-label {
  position:relative; display:inline-flex; align-items:center; padding:26px 0;
  font-weight:600; font-size:.9rem; line-height:1.2; color:var(--menu-color);
}
.desktop-nav .menu-branch .menu-label:hover,
.desktop-nav > .menu-label:hover { color:var(--menu-hover); }
.desktop-nav .menu-branch .menu-caret-btn {
  display:inline-grid; place-items:center; width:18px; height:18px; padding:0;
  border:0; background:transparent; color:var(--menu-color); cursor:pointer;
}
.desktop-nav .menu-branch .menu-caret { display:block; transition:transform .22s ease; }
.desktop-nav .menu-branch:hover .menu-caret,
.desktop-nav .menu-branch:focus-within .menu-caret,
.desktop-nav .menu-branch.is-open .menu-caret { transform:rotate(180deg); }
.desktop-nav .menu-branch .menu-submenu {
  position:absolute; top:100%; left:0; z-index:60;
  min-width:250px; max-width:330px; max-height:min(70vh,520px); overflow-y:auto;
  padding:10px; background:var(--paper); border:1px solid var(--line);
  border-radius:14px; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .18s ease, transform .22s ease, visibility .22s;
  scrollbar-width:thin; scrollbar-color:var(--green-2) var(--cream);
}
.desktop-nav .menu-branch:hover > .menu-submenu,
.desktop-nav .menu-branch:focus-within > .menu-submenu,
.desktop-nav .menu-branch.is-open > .menu-submenu { opacity:1; visibility:visible; transform:none; }
.desktop-nav .menu-branch .menu-submenu a::after { display:none; }
.desktop-nav .menu-submenu .menu-submenu-overview {
  display:flex; flex-direction:column; gap:3px; padding:8px 12px 12px; margin-bottom:6px;
  border-bottom:1px solid var(--line); font-size:.68rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted);
}
.desktop-nav .menu-submenu .menu-submenu-overview span {
  font-size:.95rem; font-weight:700; letter-spacing:normal; text-transform:none; color:var(--ink);
}
.desktop-nav .menu-submenu .menu-sublink,
.desktop-nav .menu-submenu .menu-subgroup-title {
  display:block; padding:9px 12px; border-radius:9px;
  font-size:.88rem; font-weight:600; line-height:1.35; color:var(--menu-color);
}
.desktop-nav .menu-submenu .menu-sublink:hover,
.desktop-nav .menu-submenu .menu-subgroup-title:hover,
.desktop-nav .menu-submenu .menu-submenu-overview:hover { background:var(--cream); color:var(--menu-hover); }
.desktop-nav .menu-submenu a[aria-current="page"] { background:var(--cream); color:var(--menu-hover); }
.desktop-nav .menu-submenu .menu-subgroup { margin-top:6px; padding-top:6px; border-top:1px solid var(--line); }
.desktop-nav .menu-submenu .menu-sublink--nested { padding-left:24px; font-size:.84rem; font-weight:500; color:var(--muted); }
.desktop-nav .menu-branch.is-active > .menu-trigger > .menu-label::after { right:0; }
.desktop-nav .menu-submenu::-webkit-scrollbar { width:8px; }
.desktop-nav .menu-submenu::-webkit-scrollbar-track { background:var(--cream); border-radius:99px; }
.desktop-nav .menu-submenu::-webkit-scrollbar-thumb { background:var(--green-2); border-radius:99px; }
.desktop-nav .menu-submenu::-webkit-scrollbar-thumb:hover { background:var(--green); }

/* Mobile drawer */
.mobile-panel.mobile-nav-panel {
  display:flex; flex-direction:column; gap:0; padding:0; overflow:hidden;
  width:min(348px,88vw); border-right:1px solid var(--line);
}
.mobile-nav-panel .mobile-panel-head {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 18px; margin:0; border-bottom:1px solid var(--line);
}
.mobile-nav-panel .mobile-panel-brand { font:800 1.15rem var(--font-heading); letter-spacing:.04em; }
.mobile-nav-panel .mobile-close { width:38px; height:38px; border:1px solid var(--line); border-radius:50%; }
.mobile-nav-panel .mobile-panel-search { margin:0; padding:14px 18px; border-bottom:1px solid var(--line); }
.mobile-nav-panel .mobile-search-bar {
  display:flex; align-items:center; gap:8px; padding:0 12px; min-height:44px;
  border:1px solid var(--line); border-radius:10px; background:var(--cream);
}
.mobile-nav-panel .mobile-search-bar input {
  flex:1 1 auto; min-width:0; min-height:42px; padding:0; border:0; background:transparent; font-size:.9rem;
}
.mobile-nav-panel .mobile-search-bar input:focus { outline:none; }
.mobile-nav-panel .mobile-search-bar:focus-within { border-color:var(--green-2); background:#fff; }
.mobile-nav-panel .mobile-panel-body {
  flex:1 1 auto; min-height:0; overflow-y:auto; padding:0 18px 18px;
  scrollbar-width:thin; scrollbar-color:var(--green-2) var(--cream);
}
.mobile-nav-panel .mobile-panel-body::-webkit-scrollbar { width:8px; }
.mobile-nav-panel .mobile-panel-body::-webkit-scrollbar-track { background:var(--cream); }
.mobile-nav-panel .mobile-panel-body::-webkit-scrollbar-thumb { background:var(--green-2); border-radius:99px; }
.mobile-nav-panel .mobile-panel-body::-webkit-scrollbar-thumb:hover { background:var(--green); }
.mobile-nav-panel .mobile-panel-links { display:flex; flex-direction:column; }
.mobile-nav-panel .mobile-account-links { margin-top:14px; padding-top:6px; border-top:1px solid var(--line); }
.mobile-nav-panel .mobile-nav-label {
  padding:16px 0 6px; font-size:.66rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted);
}
.mobile-nav-panel .mobile-panel-links .menu-label {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:13px 0; border-bottom:1px solid var(--line);
  font:600 1rem/1.35 var(--font-heading); color:var(--ink);
}
.mobile-nav-panel .mobile-panel-links .menu-label:hover { color:var(--green); }
.mobile-nav-panel .mobile-panel-links .menu-label[aria-current="page"] { color:var(--green); }
.mobile-nav-panel .mobile-cart-count {
  display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 7px;
  border-radius:99px; background:var(--green); color:#fff; font:700 .74rem/1 var(--font-body);
}
.mobile-nav-panel .mobile-panel-logout { color:var(--terra); }
.mobile-nav-panel .menu-branch--mobile { border-bottom:1px solid var(--line); }
.mobile-nav-panel .menu-branch--mobile > .menu-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:13px 0; cursor:pointer; list-style:none;
  font:600 1rem/1.35 var(--font-heading); color:var(--ink);
}
.mobile-nav-panel .menu-branch--mobile > .menu-trigger::-webkit-details-marker { display:none; }
.mobile-nav-panel .menu-branch--mobile > .menu-trigger .menu-label { padding:0; border:0; font:inherit; color:inherit; }
.mobile-nav-panel .menu-branch--mobile .menu-caret { flex:none; transition:transform .22s ease; }
.mobile-nav-panel .menu-branch--mobile[open] > .menu-trigger .menu-caret { transform:rotate(180deg); }
.mobile-nav-panel .menu-branch--mobile[open] > .menu-trigger { color:var(--green); }
.mobile-nav-panel .menu-branch--mobile .menu-submenu {
  position:static; min-width:0; max-width:none; max-height:none; overflow:visible;
  margin:0 0 10px; padding:4px 0 4px 14px; border:0; border-left:2px solid var(--line);
  border-radius:0; box-shadow:none; background:transparent; opacity:1; visibility:visible; transform:none;
}
.mobile-nav-panel .menu-submenu .menu-submenu-overview {
  display:block; padding:8px 0; border:0; margin:0; font-size:.78rem; font-weight:700;
  letter-spacing:.04em; text-transform:none; color:var(--green);
}
.mobile-nav-panel .menu-submenu .menu-submenu-overview span { display:none; }
.mobile-nav-panel .menu-submenu .menu-sublink,
.mobile-nav-panel .menu-submenu .menu-subgroup-title {
  display:block; padding:9px 0; border-bottom:1px solid var(--line);
  font-size:.92rem; font-weight:500; color:var(--ink);
}
.mobile-nav-panel .menu-submenu .menu-sublink:last-child { border-bottom:0; }
.mobile-nav-panel .menu-submenu .menu-sublink--nested { padding-left:14px; font-size:.86rem; color:var(--muted); }
.mobile-nav-panel .menu-submenu .menu-subgroup { margin:0; padding:0; border:0; }
.mobile-nav-panel .menu-submenu .menu-subgroup-title { font-weight:700; }
.mobile-nav-panel .mobile-panel-foot {
  margin:0; padding:14px 18px; border-top:1px solid var(--line); background:var(--cream);
}
@media (max-width:1100px) {
  .site-header .nav-wrap .desktop-nav { display:none; }
  .site-header .nav-wrap .menu-btn { display:inline-grid; }
}
@media (min-width:1101px) {
  .site-header .nav-wrap .menu-btn { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .desktop-nav .menu-branch .menu-submenu,
  .desktop-nav .menu-branch .menu-caret,
  .mobile-nav-panel .menu-branch--mobile .menu-caret { transition:none; }
}
/* 10. Compact product grid: one card metric set for home, catalog, search, wishlist */
:is(.product-grid, .product-carousel-track, .product-scroller) {
  gap: 18px;
}
.product-carousel-track { --carousel-gap: 18px; }
.product-grid {
  grid-template-columns: repeat(var(--product-grid-columns, 4), minmax(0, 1fr));
}
:is(.product-grid, .product-carousel-track, .product-scroller) .product-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
:is(.product-grid, .product-carousel-track, .product-scroller) .product-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.product-card .product-media {
  aspect-ratio: var(--product-image-aspect, 4 / 5);
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--cream);
}
.product-card .product-card-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card .product-card-link > img,
.product-card .product-card-link > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .product-meta {
  display: block;
  padding: 0;
}
.product-card .product-meta h3 {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.product-card .product-meta h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: inherit;
}
.product-card .product-meta .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 5px;
  font-size: .88rem;
  font-weight: 700;
}
.product-card .product-meta .price del {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 400;
}
.product-card .product-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 7px;
}
.product-card .product-swatches .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(24, 32, 25, .16);
}
.product-card .rating {
  display: block;
  margin-top: 5px;
  color: #b77c18;
  font-size: .72rem;
  white-space: nowrap;
}
.product-card .rating strong { margin-left: 3px; color: var(--ink); font-weight: 600; }
.product-card .rating .rating-count { margin-left: 2px; color: var(--muted); }
.product-card .badge {
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  font-size: .62rem;
  letter-spacing: .04em;
}
.product-card .wishlist {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
}
.product-card .wishlist .grid-wishlist-heart { width: 17px; height: 17px; }
.product-card .card-action-overlay {
  bottom: 10px;
  left: 10px;
  right: 10px;
  gap: 5px;
}
.product-card .card-action-overlay .quick-add,
.product-card .card-action-overlay .quick-view-btn {
  min-height: 33px;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(24, 32, 25, .1);
}
.product-card .card-action-overlay .quick-add svg { width: 14px; height: 14px; }
.product-card .card-action-overlay .quick-view-btn svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(var(--product-grid-columns-tablet, 2), minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :is(.product-grid, .product-carousel-track, .product-scroller) { gap: 16px 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-carousel-track { --carousel-gap: 12px; }
  .product-card .product-media { margin-bottom: 8px; border-radius: 10px; }
  .product-card .product-meta h3 { font-size: .82rem; }
  .product-card .product-meta .price { margin-top: 4px; font-size: .82rem; }
  .product-card .card-action-overlay {
    position: absolute;
    flex-direction: row;
    bottom: 8px;
    left: 8px;
    right: 8px;
    margin: 0;
    padding: 0;
    gap: 6px;
    opacity: 1;
    transform: none;
  }
  .product-card .card-action-overlay .quick-add {
    display: inline-flex;
    flex: 1 1 auto;
    min-height: 34px;
  }
  .product-card .card-action-overlay .quick-view-btn {
    flex: 0 0 34px;
    width: 34px;
    min-height: 34px;
    padding: 0;
  }
  .product-card .card-action-overlay .quick-view-btn span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card .card-action-overlay { transition: none; }
}

/* 11. Catalog filter actions: one full-width button per line */
.catalog-filter-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.catalog-filter-apply,
.catalog-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-body, inherit);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.catalog-filter-apply {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(24, 32, 25, .12);
}
.catalog-filter-apply:hover {
  background: var(--green-2, #292929);
  border-color: var(--green-2, #292929);
  box-shadow: 0 4px 12px rgba(24, 32, 25, .18);
}
.catalog-filter-reset {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.catalog-filter-reset:hover {
  background: var(--cream);
  border-color: var(--muted);
  color: var(--ink);
}
.catalog-filter-apply:focus-visible,
.catalog-filter-reset:focus-visible {
  outline: 2px solid var(--terra, #b95735);
  outline-offset: 2px;
}
.catalog-filter-apply svg,
.catalog-filter-reset svg { flex: 0 0 auto; }

/* 12. Catalog price slider: dual thumb range with editable bounds */
.price-filter-group { display: grid; gap: 12px; }
.price-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price-slider__head strong { font-size: .85rem; font-weight: 700; letter-spacing: .01em; }
.price-slider__reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body, inherit);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.price-slider__reset:hover { color: var(--ink); border-color: var(--muted); background: var(--cream); }
.price-slider__reset:focus-visible { outline: 2px solid var(--terra, #b95735); outline-offset: 2px; }
.price-slider__reset[hidden] { display: none; }
.price-slider__reset svg { flex: 0 0 auto; }

.price-slider { display: grid; gap: 12px; }
.price-slider__values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
}
.price-slider__field { display: grid; gap: 4px; min-width: 0; }
.price-slider__caption {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-slider__entry {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body, inherit);
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.price-slider__entry::placeholder { color: var(--muted); font-weight: 500; opacity: .8; }
.price-slider__entry:hover { border-color: var(--muted); }
.price-slider__entry:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(185, 87, 53, .16);
}
.price-slider__dash { padding-bottom: 12px; color: var(--muted); font-size: .8rem; }

.price-slider__track { position: relative; height: 26px; }
.price-slider__rail,
.price-slider__fill {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  pointer-events: none;
}
.price-slider__rail { left: 0; right: 0; background: var(--sand); }
.price-slider__fill { left: 0; width: 0; background: var(--ink); }
.price-slider__range {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.price-slider__range:focus { outline: none; }
.price-slider__range::-webkit-slider-runnable-track {
  height: 26px;
  background: none;
  border: 0;
}
.price-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(24, 32, 25, .22);
  cursor: grab;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.price-slider__range::-moz-range-track { height: 26px; background: none; border: 0; }
.price-slider__range::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(24, 32, 25, .22);
  cursor: grab;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.price-slider__range:hover::-webkit-slider-thumb,
.price-slider__range:hover::-moz-range-thumb { border-color: var(--terra, #b95735); }
.price-slider__range:active::-webkit-slider-thumb,
.price-slider__range:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.08); }
.price-slider__range:focus-visible::-webkit-slider-thumb {
  border-color: var(--terra, #b95735);
  box-shadow: 0 0 0 5px rgba(185, 87, 53, .2);
}
.price-slider__range:focus-visible::-moz-range-thumb {
  border-color: var(--terra, #b95735);
  box-shadow: 0 0 0 5px rgba(185, 87, 53, .2);
}
.price-slider__bounds {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
.price-slider__noscript { display: grid; gap: 10px; }
.price-slider__noscript label { display: grid; gap: 4px; font-size: .78rem; }
.price-slider__noscript input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font: inherit;
}
@media (max-width: 760px) {
  .price-slider__entry { font-size: .85rem; min-height: 42px; }
  .price-slider__range::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: 2px; }
  .price-slider__range::-moz-range-thumb { width: 22px; height: 22px; }
  .price-slider__track { height: 30px; }
  .price-slider__range { height: 30px; }
  .price-slider__range::-webkit-slider-runnable-track { height: 30px; }
  .price-slider__range::-moz-range-track { height: 30px; }
}