/* Shared source of design values. WoodMart settings must use the same palette. */
:root {
  --sp-paper: #fffdfa;
  --sp-white: #fff;
  --sp-blush: #f4e9ec;
  --sp-blush-light: #faf5f6;
  --sp-ink: #352a32;
  --sp-muted: #71636b;
  --sp-plum: #62384d;
  --sp-plum-dark: #48283b;
  --sp-line: #e6dce0;
  --sp-focus: #854962;
  --sp-success: #346344;
  --sp-error: #a12e43;
  --sp-font-body: Arial, Helvetica, sans-serif;
  --sp-font-display: Georgia, 'Times New Roman', serif;
  --sp-text-small: .875rem;
  --sp-text-body: 1rem;
  --sp-text-lead: 1.125rem;
  --sp-title: clamp(2rem, 3.5vw, 3.4rem);
  --sp-section-title: clamp(1.75rem, 2.8vw, 2.5rem);
  --sp-space-1: .25rem;
  --sp-space-2: .5rem;
  --sp-space-3: .75rem;
  --sp-space-4: 1rem;
  --sp-space-5: 1.5rem;
  --sp-space-6: 2rem;
  --sp-space-7: 3rem;
  --sp-space-8: 4.5rem;
  --sp-width: 1264px;
  --sp-reading: 72ch;
  --sp-gutter: clamp(16px, 3vw, 40px);
  --sp-radius-small: 6px;
  --sp-radius: 12px;
  --sp-control: 46px;
  --sp-shadow: 0 8px 32px rgb(53 42 50 / 8%);
}

body.sp-site {
  background: var(--sp-paper);
  color: var(--sp-ink);
  font-family: var(--sp-font-body);
  font-size: var(--sp-text-body);
  line-height: 1.65;
  --wd-text-font: var(--sp-font-body);
  --wd-title-font: var(--sp-font-display);
  --wd-text-color: var(--sp-muted);
  --wd-title-color: var(--sp-ink);
  --wd-primary-color: var(--sp-plum);
  --wd-link-color: var(--sp-plum);
  --wd-link-color-hover: var(--sp-plum-dark);
  --wd-form-brd-color: var(--sp-line);
  --wd-form-brd-color-focus: var(--sp-plum);
}
.sp-site :where(h1, h2, h3, h4, h5, h6) { color: var(--sp-ink); text-transform: none; }
.sp-site .container { max-width: calc(var(--sp-width) + var(--sp-gutter) * 2); padding-inline: var(--sp-gutter); }
.sp-site :where(.entry-content, .woocommerce-Tabs-panel) { overflow-wrap: break-word; }
.sp-site :where(.entry-content p a, .woocommerce-Tabs-panel p a) { text-decoration: underline; text-underline-offset: .2em; }
.sp-site :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--sp-focus); outline-offset: 3px; }
.sp-site :where(input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=number], select, textarea) { border-radius: var(--sp-radius-small); }
.sp-site :where(input, select, textarea):disabled { cursor: not-allowed; }
.sp-site :where(.woocommerce-error, .woocommerce-info, .woocommerce-message) { border-radius: var(--sp-radius-small); }
.sp-site :where(.woocommerce-error) { border-color: var(--sp-error); }
.sp-site :where(.woocommerce-message) { border-color: var(--sp-success); }
.sp-site :where(.woocommerce-breadcrumb, .wd-breadcrumbs) { color: var(--sp-muted); font-size: var(--sp-text-small); }
.sp-site :where(.entry-content table, .woocommerce-Tabs-panel table) { font-size: var(--sp-text-small); }
.sp-site :where(.entry-content th, .woocommerce-Tabs-panel th) { background: var(--sp-blush-light); }
@media (prefers-reduced-motion: reduce) {
  .sp-site :where(.wd-nav a, .product-image-link img, .sph-category img, .wp-block-button__link) { transition: none; }
}

/* Native WoodMart components, shared by every public page type. */
.sp-site .whb-header { color: var(--sp-ink); }
.sp-site .whb-general-header { background: var(--sp-paper); }
.sp-site .whb-header-bottom { position: relative; background: var(--sp-paper); border-color: var(--sp-line); }
.sp-site .whb-top-bar { background: var(--sp-blush); color: var(--sp-plum); font-size: .75rem; }
.sp-site .whb-header :where(.wd-logo img) { object-fit: contain; }
.sp-site .whb-header :where(.searchform) { border-color: var(--sp-line); border-radius: var(--sp-radius-small); background: var(--sp-blush-light); }
.sp-site .whb-header :where(.searchform input) { font-size: var(--sp-text-small); }
.sp-site .whb-col-center .wd-header-search-form { flex: 1; max-width: 560px; margin-inline: var(--sp-space-6); }
.sp-site .sp-header-note { width: 100%; text-align: center; font-size: .75rem; }
.sp-site .wd-nav-main > li > a { font-size: .875rem; text-transform: none; }
.sp-site .wd-nav-mobile > li > a { min-height: 48px; text-transform: none; }
.sp-site .wd-nav-mobile :where(.wd-nav-opener) { min-width: 44px; }
.sp-site :where(.wd-dropdown) { border-radius: var(--sp-radius-small); box-shadow: var(--sp-shadow); }
.sp-site .footer-container { background: var(--sp-blush-light); border-top: 1px solid var(--sp-line); color: var(--sp-muted); }
.sp-site .footer-sidebar { padding-top: var(--sp-space-7); padding-bottom: var(--sp-space-6); }
.sp-site .footer-container :where(.widget-title, h2, h3) { font-family: var(--sp-font-body); font-size: var(--sp-text-small); font-weight: 700; text-transform: none; }
.sp-site .footer-container :where(.menu a) { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--sp-text-small); }
.sp-site .footer-container :where(p) { font-size: var(--sp-text-small); }
.sp-site .copyrights-wrapper { border-color: var(--sp-line); font-size: .75rem; }
.sp-footer-logo { width: 190px; height: auto; }
.sp-site :where(.wp-block-button__link, .button, .btn, button[type=submit], .single_add_to_cart_button) { border-radius: var(--sp-radius-small); text-transform: none; letter-spacing: normal; }
.sp-site .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: var(--sp-control); padding: 12px 23px; background: var(--sp-plum); border: 1px solid var(--sp-plum); color: var(--sp-white); font: 600 .875rem/1.4 var(--sp-font-body); border-radius: var(--sp-radius-small); text-transform: none; letter-spacing: normal; box-shadow: none; }
.sp-site .wp-block-button__link:hover { background: var(--sp-plum-dark); color: var(--sp-white); }
.sp-site .is-style-outline > .wp-block-button__link { background: transparent; color: var(--sp-plum); border-color: var(--sp-plum); }
.sp-site .is-style-outline > .wp-block-button__link:hover { background: var(--sp-blush); }
.sp-site :where(.product-grid-item .product-image-link) { background: var(--sp-white); border-radius: var(--sp-radius); overflow: hidden; }
.sp-site :where(.product-grid-item .product-image-link img) { aspect-ratio: 1; object-fit: contain; }
.sp-site :where(.product-grid-item .wd-entities-title) { font: 400 .9375rem/1.5 var(--sp-font-body); }
.sp-site :where(.price) { color: var(--sp-plum); }
.sp-site :where(.price ins) { color: var(--sp-plum); text-decoration: none; background: transparent; }
.sp-site :where(.price del) { color: var(--sp-muted); }
.sp-site .wp-block-details { border-bottom: 1px solid var(--sp-line); padding: var(--sp-space-4) 0; }
.sp-site .wp-block-details summary { color: var(--sp-ink); cursor: pointer; font-weight: 600; padding: .4rem 0; }
.sp-site .wp-block-details > :not(summary) { max-width: var(--sp-reading); margin-top: var(--sp-space-3); }
@media (max-width: 767px) {
  .sp-site .footer-container :where(.menu a) { min-height: 44px; }
  .sp-site .footer-sidebar { padding-top: var(--sp-space-6); }
}

/* The main navigation uses clear text labels; artwork belongs to collection cards. */
.sp-site .whb-header .wd-nav-img, .sp-site .mobile-nav .wd-nav-img { display: none; }

/* Native shared header and service footer, refined for the whole shop. */
.sp-site .sp-utility { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.sp-site .sp-utility nav { display: flex; gap: 22px; }
.sp-site .sp-utility a { font-size: .75rem; color: var(--sp-plum); }
.sp-site .whb-top-bar .whb-col-center { flex: 1; }
.sp-site .whb-col-center .wd-header-search-form { max-width: 640px; margin-inline: 28px; }
.sp-site .whb-header .searchform { background: var(--sp-white); border-radius: 9px; }
.sp-site .whb-header .searchform input { padding-inline: 18px 48px; }
.sp-site .whb-header-bottom .whb-col-left { flex: 1; }
.sp-site .whb-header-bottom .whb-empty-column { flex: 0 0 auto; }
.sp-site .whb-header-bottom .wd-nav-main { width: 100%; justify-content: space-between; }
.sp-site .wd-nav-main > li > a { min-height: 50px; }
.sp-site .wd-header-cart, .sp-site .wd-header-my-account { margin-inline-start: 12px; }
.sp-site .wd-prefooter { margin-top: 0; background: var(--sp-plum); color: white; }
.sp-site .sp-footer-help { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 32px; }
.sp-site .sp-overline { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 8px; opacity: .85; }
.sp-site .sp-footer-help h2 { color: white; font: 400 clamp(1.5rem,2.5vw,2rem)/1.25 var(--sp-font-display); margin: 0; }
.sp-site .sp-help-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 10px 20px; border: 1px solid #b59aaa; border-radius: var(--sp-radius-small); color: white; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.sp-site .sp-help-link:hover { background: var(--sp-plum-dark); }
.sp-site .footer-container { border-top: 0; background: #f6f0f1; }
.sp-site .footer-sidebar { padding-block: 52px 38px; }
.sp-site .footer-column-1 p { max-width: 29ch; }
.sp-site .footer-column-1 .sp-footer-heading { font: 400 1.4rem/1.3 var(--sp-font-display); color: var(--sp-ink); margin-block: 22px 10px; }
.sp-site .sp-footer-guide { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; border-bottom: 1px solid var(--sp-plum); font-size: .8125rem; font-weight: 600; }
.sp-site .footer-container .widget-title { margin-bottom: 18px; }
.sp-site .copyrights-wrapper .wd-col-end { display: flex; gap: 10px; }
@media (max-width: 1024px) {
  .sp-site .whb-header-bottom .whb-col-mobile { width: 100%; }
  .sp-site .whb-header-bottom .wd-header-search-form { width: 100%; padding-bottom: 10px; }
  .sp-site .mobile-nav { width: min(420px,100vw); background: var(--sp-paper); }
  .sp-site .wd-nav-mobile > li > a { min-height: 58px; font-size: .9375rem; }
  .sp-site .wd-nav-mobile .wd-nav-opener { min-width: 48px; }
}
@media (max-width: 767px) {
  .sp-site .whb-header .wd-header-cart { margin-inline-start: 0; }
  .sp-site .sp-footer-help { flex-direction: column; align-items: stretch; gap: 20px; padding-block: 28px; }
  .sp-site .sp-help-link { align-self: start; }
  .sp-site .footer-sidebar { padding-block: 32px 20px; }
  .sp-site .footer-column-1 { margin-bottom: 8px; }
  .sp-site .footer-column-1 p { max-width: 36ch; }
  .sp-site .footer-container .widget-title { margin-bottom: 0; min-height: 50px; display: flex; align-items: center; }
  .sp-site .copyrights-wrapper .wd-grid-g { gap: 10px; }
  .sp-site .copyrights-wrapper .wd-col-end { justify-content: center; }
  .sp-site .copyrights-wrapper { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* Existing WoodMart mega menu, with native editable groups and inline category icons. */
.sp-nav-icon { display: inline-flex; flex: 0 0 26px; width: 26px; height: 28px; color: var(--sp-plum); margin-right: 9px; }
.sp-nav-icon svg { width: 100%; height: 100%; }
.sp-site .wd-nav-main > li > a .sp-nav-icon { width: 22px; height: 24px; flex-basis: 22px; margin-right: 7px; }
.sp-site .wd-nav-main .wd-design-full-width { left: 0 !important; right: 0; top: 100%; width: 100% !important; margin: 0; padding: 0; border: 1px solid var(--sp-line); border-radius: 0 0 12px 12px; background: var(--sp-paper); box-shadow: 0 18px 32px rgb(53 42 50 / 10%); }
.sp-site .wd-nav-main .wd-design-full-width > .container { padding: 28px 36px; }
.sp-site .wd-nav-main .wd-design-full-width .wd-sub-menu { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin: 0; }
.sp-site .wd-nav-main .wd-design-full-width .item-level-1 { width: auto; margin: 0; padding: 0; }
.sp-site .wd-nav-main .wd-design-full-width .item-level-1 > a { font: 600 .9375rem/1.4 var(--sp-font-body); text-transform: none; color: var(--sp-ink); margin-bottom: 12px; min-height: 40px; }
.sp-site .wd-nav-main .wd-design-full-width .sub-sub-menu { padding-left: 35px; }
.sp-site .wd-nav-main .wd-design-full-width .sub-sub-menu a { min-height: 36px; display: inline-flex; align-items: center; color: var(--sp-muted); font-size: .875rem; }
.sp-site .wd-nav-main .wd-design-full-width .sub-sub-menu a:hover { color: var(--sp-plum); text-decoration: underline; text-underline-offset: 4px; }
.sp-site .mobile-nav .sp-nav-icon { margin-right: 14px; width: 32px; height: 34px; flex-basis: 32px; }
.sp-site .mobile-nav .wd-drilldown-back { background: var(--sp-blush-light); }
.sp-site .mobile-nav .wd-drilldown-back > a { font-weight: 600; min-height: 48px; }
.sp-site .wd-nav-mobile a { text-transform: none !important; }
.sp-site .wd-nav-main > .sp-menu-enhanced > a:after { display: none; }
.sp-site .wd-nav-main > .sp-menu-enhanced { position: static; display: flex; align-items: center; }
.sp-site .sp-menu-toggle { align-self: center; display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 28px; min-width: 28px; height: 44px; min-height: 44px; background: transparent; color: var(--sp-plum); border: 0; box-shadow: none; font-size: 20px; line-height: 1; }
.sp-site .sp-menu-toggle:hover, .sp-site .sp-menu-toggle[aria-expanded=true] { background: var(--sp-blush-light); border-radius: 6px; }
.sp-site .wd-nav-main > .sp-menu-open > .wd-dropdown-menu { visibility: visible; opacity: 1 !important; transform: none; pointer-events: auto; }
.sp-site .scrollToTop { bottom: 96px; }
@media (min-width: 1025px) and (max-width: 1200px) {
 .sp-site .wd-nav-main > li > a { font-size: .8125rem; }
 .sp-site .wd-nav-main > li > a .sp-nav-icon { width: 20px; height: 22px; flex-basis: 20px; margin-right: 4px; }
}
