/* Petish shared tokens, mapped onto The7's existing component system. */
:root,
[data-theme="light"] {
  color-scheme: light;
  --color-bg: #F8F9FC;
  --color-surface: #FFFFFF;
  --color-text: #14213D;
  --color-text-muted: #526077;
  --color-primary: #0F4C5C;
  --color-primary-on: #FFFFFF;
  --color-button-primary: #6532A1;
  --color-button-primary-on: #FFFFFF;
  --color-button-primary-hover: #512581;
  --color-button-primary-border: #6532A1;
  --color-orange: #F9A825;
  --color-pink: #FF5BA7;
  --color-purple: #9B5DE5;
  --color-lavender: #EDE7FF;
  --color-border: #E3E7EF;
  --color-control-border: #8290A5;
  --color-secondary-text: #6532A1;
  --color-secondary-hover: #E1D6FA;
  --color-primary-hover: #123F4B;
  --color-error: #B42318;
  --color-error-bg: #FFF1EE;
  --color-success: #176B45;
  --color-success-bg: #E8F5EE;
  --color-disabled-bg: #E3E7EF;
  --color-disabled-text: #526077;
  --shadow-panel: 0 10px 36px rgba(20,33,61,.055);
  --font-heading: Poppins, system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-label: "DM Sans", system-ui, sans-serif;
  --radius-control: 12px;
  --radius-card: 24px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0B1426;
  --color-surface: #16243B;
  --color-text: #F7F8FC;
  --color-text-muted: #B9C5D8;
  --color-primary: #20C6F7;
  --color-primary-on: #0B1426;
  --color-button-primary: #B580F5;
  --color-button-primary-on: #0B1426;
  --color-button-primary-hover: #C69CF8;
  --color-button-primary-border: #B580F5;
  --color-orange: #F9A825;
  --color-pink: #FF5BA7;
  --color-purple: #B580F5;
  --color-lavender: #32244E;
  --color-border: #2B3B55;
  --color-control-border: #6F829D;
  --color-secondary-text: #E9D5FF;
  --color-secondary-hover: #433063;
  --color-primary-hover: #72DDFF;
  --color-error: #FFB4AB;
  --color-error-bg: #38252D;
  --color-success: #91E2BC;
  --color-success-bg: #18372F;
  --color-disabled-bg: #2B3B55;
  --color-disabled-text: #B9C5D8;
  --shadow-panel: 0 10px 36px rgba(0,0,0,.12);
}
/* Override generated The7 variables in both modes at the root. */
:root, [data-theme] {
  --the7-accent-color: var(--color-primary);
  --the7-accent-bg-color: var(--color-primary);
  --the7-accent-bg-2: var(--color-primary);
  --the7-base-color: var(--color-text);
  --the7-secondary-text-color: var(--color-text-muted);
  --the7-base-font-family: var(--font-body);
  --the7-base-font-size: 17px;
  --the7-base-line-height: 1.65;
  --the7-body-bg-color: var(--color-bg);
  --the7-header-bg-color: var(--color-surface);
  --the7-footer-bg-color: var(--color-surface);
  --the7-footer-outline-color: var(--color-border);
  --the7-bottom-color: var(--color-text-muted);
  --the7-content-boxes-bg: var(--color-surface);
  --the7-divider-color: var(--color-border);
  --the7-btn-bg: var(--color-button-primary);
  --the7-btn-bg-color: var(--color-button-primary);
  --the7-btn-bg-color-2: var(--color-button-primary);
  --the7-btn-color: var(--color-button-primary-on);
  --the7-btn-hover-bg: var(--color-button-primary-hover);
  --the7-btn-hover-bg-color: var(--color-button-primary-hover);
  --the7-btn-hover-bg-color-2: var(--color-button-primary-hover);
  --the7-btn-hover-color: var(--color-button-primary-on);
  --the7-btn-border-color: var(--color-button-primary-border);
  --the7-btn-border-hover-color: var(--color-button-primary-border);
  --the7-btn-s-font-family: var(--font-label);
  --the7-btn-m-font-family: var(--font-label);
  --the7-btn-l-font-family: var(--font-label);
  --the7-btn-s-border-radius: var(--radius-control);
  --the7-btn-m-border-radius: var(--radius-control);
  --the7-btn-l-border-radius: var(--radius-control);
  --the7-h1-font-family: var(--font-heading);
  --the7-h2-font-family: var(--font-heading);
  --the7-h3-font-family: var(--font-heading);
  --the7-h4-font-family: var(--font-heading);
  --the7-h5-font-family: var(--font-heading);
  --the7-h6-font-family: var(--font-heading);
  --the7-h1-font-size: clamp(2rem, 1.45rem + 2vw, 3rem);
  --the7-h2-font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  --the7-h3-font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --the7-h1-line-height: 1.2;
  --the7-h2-line-height: 1.3;
  --the7-h3-line-height: 1.4;
  --the7-h2-font-weight: 600;
  --the7-h3-font-weight: 600;
}
html { background: var(--color-bg); scroll-padding-top: 2rem; }
body#the7-body.petish-site,
.petish-site #page,
.petish-site #main,
.petish-site .main-gradient {
  background: var(--color-bg);
  background-image: none;
  color: var(--color-text);
}
body#the7-body.petish-site {
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.petish-site #page { overflow-wrap: anywhere; }
.petish-site :is(h1,h2,h3,h4,h5,h6,.h1-size,.h2-size,.h3-size,.entry-title,.widget-title) {
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: -.025em;
}
.petish-site h1 { font-size: var(--the7-h1-font-size); line-height: 1.2; font-weight: 700; }
.petish-site h2 { font-size: var(--the7-h2-font-size); line-height: 1.3; font-weight: 600; }
.petish-site h3 { font-size: var(--the7-h3-font-size); line-height: 1.4; font-weight: 600; }
.petish-site :is(h4,h5,h6) { line-height: 1.4; font-weight: 600; }
.petish-site strong, .petish-site b { font-weight: 600; }
.petish-site :is(.caption,.meta,.ui-label,.entry-meta,.breadcrumbs,.main-nav,.mobile-main-nav,.petish-eyebrow,.petish-theme-control) {
  font-family: var(--font-label);
  font-size: .875rem;
  line-height: 1.5;
}
.petish-site :is(.entry-meta,.entry-meta a,.breadcrumbs,.breadcrumbs a,.text-secondary,.petish-muted) {
  color: var(--color-text-muted);
}
.petish-site a { color: var(--color-primary); }
.petish-site a,
.petish-site a:hover,
.petish-site a:focus,
.petish-site a:active,
.petish-site a * { text-decoration: none !important; }
.petish-site #content p a:not(.button):not(.petish-button):not(.petish-button-secondary) { font-weight: 600; }
.petish-site a:hover { color: var(--color-primary-hover); }
/* The7's generated pagination heading colour does not follow the active theme. */
.petish-site #main .paginator:not(.paginator-more-button) a,
.petish-site #main .paginator:not(.paginator-more-button) > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  margin: 0 2px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--color-text);
  font: 500 1rem/1.5 var(--font-label);
}
.petish-site #main .paginator:not(.paginator-more-button) a * { color: inherit; }
.petish-site #main .paginator:not(.paginator-more-button) :is(.act,.current,[aria-current="page"]) {
  color: var(--color-primary);
  font-weight: 700;
}
.petish-site #main .paginator:not(.paginator-more-button) a:not(.disabled):is(:hover,:focus-visible) {
  background: var(--color-lavender);
  color: var(--color-primary);
}
.petish-site #main .paginator:not(.paginator-more-button) :is(.dots,.disabled) { color: var(--color-text-muted); }
.petish-site :is(.entry-title a,.main-nav > li > a .menu-text,.mobile-main-nav a .menu-text) {
  color: var(--color-text);
  font-family: inherit;
}
.petish-site .main-nav > li > a .menu-text { font-family: var(--font-label); font-weight: 500; font-size: .875rem; }
.petish-site .entry-title a:hover,
.petish-site .main-nav > li > a:hover .menu-text { color: var(--color-primary); }
/* Keep catalogue prices aligned while retaining full product names in the link. */
.petish-site article.product:not(.product-category) .woocom-list-content > h4.entry-title {
  line-height: 1.4;
  min-block-size: 2.8em;
}
.petish-site article.product:not(.product-category) .woocom-list-content > h4.entry-title > a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-block-size: 2.8em;
  font-size: inherit;
  line-height: inherit;
}
.petish-site article.product:not(.product-category) .woocom-list-content > .woocommerce-product-details__short-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-block-size: 4.2em;
  line-height: 1.4;
}
.petish-site article.product:not(.product-category) .woocom-list-content > .woocommerce-product-details__short-description > p {
  margin: 0;
  line-height: inherit;
}
.petish-site :is(.masthead,.header-bar,.mobile-header-bar,.dt-mobile-header,.page-title,#footer,#bottom-bar,.sub-nav,.mini-search .field) {
  background: var(--color-surface);
  background-image: none;
  color: var(--color-text);
  border-color: var(--color-border);
}
.petish-site :is(.masthead,.page-title) { box-shadow: none; border-bottom: 1px solid var(--color-border); }
.petish-site .top-bar { display: none; }
.petish-site .top-bar :is(a,.mini-contacts,.mini-contacts i) { color: var(--color-text-muted); }
.petish-site :is(.mini-search .submit,.mini-search .submit i,.mobile-navigation .menu-toggle) { color: var(--color-text); }
.petish-site :is(.mini-search .submit:hover,.mini-search .submit:hover i) { color: var(--color-primary); }
.petish-site #footer { border-top: 1px solid var(--color-border); }
.petish-site #bottom-bar { border-top: 1px solid var(--color-border); }
.petish-site :is(#footer,#bottom-bar) :is(.widget,.widget-title,h1,h2,h3,h4,h5,h6,p,li) { color: var(--color-text); }
.petish-site :is(#footer,#bottom-bar) a { color: var(--color-primary); }
.petish-site #bottom-bar .wf-container-bottom { border-color: var(--color-border); color: var(--color-text-muted); }
.petish-site :is(.sidebar,.sidebar-content) { border-color: var(--color-border); }
.petish-site :is(.post.bg-on,.blog-content .wf-container > .wf-cell > .post,.petish-card) {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-panel);
}
.petish-site .post.bg-on { padding: 28px; }
.petish-site :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),textarea,select) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
  box-shadow: none;
  font: 400 1rem/1.5 var(--font-body);
  padding: 10px 12px;
}
.petish-site :is(input,textarea)::placeholder { color: var(--color-text-muted); opacity: 1; }
.petish-site .pcr .pcr-filters select { margin-bottom: 0; }
.petish-site :is(input[type="checkbox"],input[type="radio"]) { accent-color: var(--color-primary); width: 20px; height: 20px; }
.petish-site :is(input[aria-invalid="true"],textarea[aria-invalid="true"]) { border: 2px solid var(--color-error); }
.petish-site :is(button[type="submit"],button.petish-button,button.petish-button-secondary,.wp-block-search__button,input[type="submit"],.dt-btn,.wp-element-button,.wp-block-button__link,.button-primary,.petish-button) {
  background: var(--color-button-primary);
  background-image: none;
  color: var(--color-button-primary-on);
  border: 1px solid var(--color-button-primary-border);
  border-radius: var(--radius-control);
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 20px;
  font: 500 .875rem/1.5 var(--font-label);
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}
.petish-site :is(button[type="submit"],button.petish-button,button.petish-button-secondary,.wp-block-search__button,input[type="submit"],.dt-btn,.wp-element-button,.wp-block-button__link,.button-primary,.petish-button):hover {
  background: var(--color-button-primary-hover);
  background-image: none;
  color: var(--color-button-primary-on);
  border-color: var(--color-button-primary-border);
}
.petish-site :is(.petish-button,.petish-button-secondary,button[type="submit"]):active { transform: translateY(1px); }
.petish-site :is(button.button-secondary,.button-secondary,.petish-button-secondary) {
  background: var(--color-lavender);
  color: var(--color-secondary-text);
  border: 1px solid var(--color-control-border);
}
.petish-site :is(button.button-secondary,.button-secondary,.petish-button-secondary):hover { background: var(--color-secondary-hover); color: var(--color-secondary-text); border-color: var(--color-secondary-text); }
body#the7-body.petish-site :is(button,input,select,textarea):disabled,
body#the7-body.petish-site [aria-disabled="true"] {
  background: var(--color-disabled-bg);
  background-image: none;
  color: var(--color-disabled-text);
  border-color: var(--color-control-border);
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}
.petish-site :focus-visible {
  outline: 3px solid var(--color-primary) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 3px var(--color-surface) !important;
}
.petish-site .assistive-text:focus { background: var(--color-surface); color: var(--color-primary); z-index: 10000; }
.petish-site .petish-logo { width: 210px; height: auto; max-width: 100%; object-fit: contain; padding: 0; border: 0; }
.petish-site .branding > a { padding: 12px 0; }
.petish-site #bottom-bar .petish-logo { width: 170px; }
.petish-site .petish-account-appearance { clear: both; margin: 0 0 28px; padding: 24px; }
.petish-site .petish-account-appearance h2 { margin: 0 0 12px; color: var(--color-text); font: 600 1.25rem/1.4 var(--font-heading); }
.petish-site .petish-theme-control { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--color-text-muted); margin: 0; }
.petish-site .petish-theme-control select { font: 500 .875rem/1.5 var(--font-label); width: 240px; padding-right: 22px; margin: 0; }
.petish-site .petish-account-appearance .petish-caption { margin: 10px 0 0; }
.no-js .petish-theme-control { display: none; }
/* A single appearance button fits the existing search/location control row. */
.petish-site .petish-theme-switch-wrapper { display: inline-flex; flex: 0 0 auto; align-items: center; margin-inline-start: 8px; vertical-align: middle; }
.petish-site .petish-theme-switch-wrapper[hidden] { display: none !important; }
.petish-site button.petish-theme-switch { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--color-text); box-shadow: none; cursor: pointer; line-height: 1; }
.petish-site button.petish-theme-switch:hover { background: var(--color-lavender); color: var(--color-secondary-text); }
.petish-site button.petish-theme-switch:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.petish-site .petish-theme-switch svg { display: block; width: 20px; height: 20px; pointer-events: none; }
.petish-site .petish-theme-switch__sun { display: none !important; }
[data-theme="dark"] .petish-site .petish-theme-switch__moon { display: none; }
[data-theme="dark"] .petish-site .petish-theme-switch__sun { display: block !important; }
@media (max-width: 767px) {
  body#the7-body.petish-site .mobile-header-bar .mobile-mini-widgets > .petish-theme-switch-wrapper { margin: 0; }
}
/* Keep native account/cart actions alongside appearance and location on mobile.
 * Caption text stays in the accessible link name; iconless links keep their text. */
@media (max-width: 767px) {
  body#the7-body.petish-site .mobile-header-bar .mobile-mini-widgets > :is(.mini-login,div:has(> .wc-shopping-cart)) { margin-inline: 0; }
  body#the7-body.petish-site .mobile-header-bar :is(.mini-login > a.submit,.wc-shopping-cart > a.wc-ico-cart):has(> i) { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 32px; min-width: 32px; min-height: 44px; padding: 0; font-size: 0; letter-spacing: 0; }
  body#the7-body.petish-site .mobile-header-bar :is(.mini-login > a.submit,.wc-shopping-cart > a.wc-ico-cart):has(> i) > i { flex: 0 0 auto; margin: 0; font-size: 20px; line-height: 1; }
  body#the7-body.petish-site .mobile-header-bar .wc-shopping-cart > a.wc-ico-cart:has(> i) > .amount { font-size: 0; }
  body#the7-body.petish-site .mobile-header-bar .wc-shopping-cart > a.wc-ico-cart:has(> i) > .counter { position: absolute; top: 1px; right: -2px; margin: 0; min-width: 14px; min-height: 14px; padding: 1px; font-size: 9px; line-height: 14px; }
  body#the7-body.petish-site .mobile-header-bar .wc-shopping-cart > a.wc-ico-cart:has(> i) > .counter::before { content: none; }
  body#the7-body.petish-site .mobile-header-bar .mobile-branding { min-width: 0; }
  body#the7-body.petish-site .mobile-header-bar .mobile-branding > a { min-width: 0; max-width: 100%; }
  body#the7-body.petish-site .mobile-header-bar .mobile-branding .petish-logo { width: auto; max-height: 52px; }
}
@media (max-width: 420px) {
  body#the7-body.petish-site .masthead .mobile-header-bar { padding-inline: 10px; }
  body#the7-body.petish-site .masthead .mobile-header-bar .mobile-mini-widgets { gap: 3px; }
  body#the7-body.petish-site .mobile-header-bar .mobile-navigation { margin-inline-start: 4px; }
  body#the7-body.petish-site .mobile-header-bar .dt-mobile-menu-icon { width: 32px; min-width: 32px; padding-inline: 0; }
  body#the7-body.petish-site .mobile-header-bar .petish-market__trigger { padding-inline: 3px; gap: 3px; }
  body#the7-body.petish-site .mobile-header-bar :is(.mini-login > a.submit,.wc-shopping-cart > a.wc-ico-cart):not(:has(> i)) { display: inline-block; width: 44px; min-width: 44px; max-width: 44px; font-size: 11px; line-height: 1.3; white-space: normal; overflow-wrap: normal; text-align: center; }
}
@media (max-width: 360px) {
  body#the7-body.petish-site .masthead .mobile-header-bar { padding-inline: 6px; }
  body#the7-body.petish-site .masthead .mobile-header-bar .mobile-mini-widgets { gap: 2px; }
}
.petish-site .scroll-top { background: var(--color-button-primary); color: var(--color-button-primary-on); border: 1px solid var(--color-button-primary-border); border-radius: var(--radius-control); }
.petish-site .petish-preview { padding-bottom: 36px; }
.petish-site .petish-preview > section + section { margin-top: 40px; }
.petish-site .petish-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(200px,.8fr); gap: 36px; align-items: center; padding: clamp(24px,4vw,52px); }
.petish-site .petish-hero h1 { margin: 12px 0 20px; }
.petish-site .petish-hero p { max-width: 55ch; }
.petish-site .petish-hero-art { width: 100%; height: auto; max-width: 350px; margin-inline: auto; }
.petish-site .petish-eyebrow { display: inline-block; color: var(--color-secondary-text); background: var(--color-lavender); border-radius: 99px; padding: 6px 12px; font-weight: 500; }
.petish-site .petish-preview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.petish-site .petish-card { padding: clamp(22px,3vw,32px); min-width: 0; }
.petish-site .petish-card > :last-child { margin-bottom: 0; }
.petish-site .petish-action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.petish-site .petish-swatches { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.petish-site .petish-swatch { min-width: 0; }
.petish-site .petish-swatch-chip { display: block; height: 52px; border-radius: 12px; border: 1px solid var(--color-border); }
.petish-site .petish-swatch span:last-child { display: block; font: 400 .75rem/1.4 var(--font-label); margin-top: 8px; color: var(--color-text-muted); }
.petish-site .petish-field { display: grid; gap: 8px; margin-bottom: 20px; }
.petish-site .petish-field label { font: 500 .875rem/1.5 var(--font-label); }
.petish-site .petish-field :is(input,select,textarea) { width: 100%; margin: 0; }
.petish-site .petish-field small { font: 400 .8125rem/1.5 var(--font-label); color: var(--color-text-muted); }
.petish-site .petish-error { color: var(--color-error); font: 400 .875rem/1.5 var(--font-label); }
.petish-site .petish-notice { padding: 16px 20px; border-radius: 14px; border: 1px solid var(--color-control-border); background: var(--color-lavender); color: var(--color-secondary-text); }
.petish-site .petish-success { background: var(--color-success-bg); color: var(--color-success); border-left: 3px solid var(--color-success); padding: 12px 16px; border-radius: 12px; }
.petish-site .petish-type-specimen { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.3; margin-block: 16px; }
.petish-site .petish-caption { font: 400 .8125rem/1.5 var(--font-label); color: var(--color-text-muted); }
.petish-site dialog.petish-dialog { width: min(440px,calc(100% - 48px)); box-sizing: border-box; border: 1px solid var(--color-control-border); border-radius: 24px; padding: 32px; background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-panel); }
.petish-site dialog.petish-dialog::backdrop { background: rgba(3,9,22,.65); }
@media (max-width: 992px) {
  .petish-site .petish-logo { width: 180px; }
}
@media (max-width: 767px) {
  .petish-site .petish-hero, .petish-site .petish-preview-grid { grid-template-columns: minmax(0,1fr); }
  .petish-site .petish-hero { gap: 24px; }
  .petish-site .petish-hero-art { max-width: 230px; }
  .petish-site .petish-swatches { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .petish-site .petish-preview > section + section { margin-top: 28px; }
  .petish-site .petish-theme-control { font-size: .8125rem; }
  .petish-site .petish-action-row > .petish-button { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .petish-site *, .petish-site *::before, .petish-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.petish-site.petish-brand-preview .page-title { display: none; }
.petish-site.petish-brand-preview .wf-container-main { display: block; }
.petish-site.petish-brand-preview #content { width: 100%; float: none; padding-right: 0; }

/* Compiled The7 active/sticky selectors otherwise hard-code dark menu text. */
body.petish-site :is(.main-nav,.mobile-main-nav) > li > a :is(.menu-text,.subtitle-text),
body.petish-site #phantom .main-nav > li > a :is(.menu-text,.subtitle-text) {
  color: var(--color-text) !important;
  -webkit-text-fill-color: currentColor;
  background: none;
}
body.petish-site :is(.main-nav,.mobile-main-nav) > li:is(.act,.dt-hovered) > a :is(.menu-text,.subtitle-text),
body.petish-site :is(.main-nav,.mobile-main-nav) > li > a:hover :is(.menu-text,.subtitle-text),
body.petish-site #phantom .main-nav > li > a:hover :is(.menu-text,.subtitle-text) {
  color: var(--color-primary) !important;
}
body#the7-body.petish-site .sub-nav a,
body#the7-body.petish-site .sub-nav a :is(.menu-text,.subtitle-text) {
  color: var(--color-text) !important;
  -webkit-text-fill-color: currentColor;
  background: none;
}
body#the7-body.petish-site .sub-nav > li:is(.act,.dt-hovered) > a :is(.menu-text,.subtitle-text),
body#the7-body.petish-site .sub-nav a:is(:hover,:focus-visible) :is(.menu-text,.subtitle-text) {
  color: var(--color-primary) !important;
}
body.petish-site #phantom, body.petish-site #phantom .ph-wrap { background: var(--color-surface); }

.petish-site .petish-preview fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Span The7's forced grid on the preview page. */
.petish-site.petish-brand-preview #content { grid-column: 1 / -1; }
.petish-site #load { background: var(--color-bg) !important; }

/* Native The7 icon controls use explicit accessible foreground/background pairs. */
.petish-site .dt-mobile-menu-icon .menu-line { background: var(--color-text) !important; }
.petish-site .dt-close-mobile-menu-icon { background: var(--color-primary) !important; min-width: 44px; min-height: 44px; border-radius: 12px; }
.petish-site .dt-close-mobile-menu-icon .close-line { background: var(--color-primary-on) !important; }
.petish-site .mobile-header-bar .mini-search .submit,
.petish-site .mobile-header-bar .mini-search .submit i,
.petish-site #phantom .mini-search .submit,
.petish-site #phantom .mini-search .submit i { color: var(--color-text) !important; }
body#the7-body.petish-site .mobile-main-nav .next-level-button { color: var(--color-text-muted); }
body#the7-body.petish-site .mobile-main-nav .next-level-button :is(svg,path) { color: var(--color-text-muted) !important; fill: var(--color-text-muted) !important; }
.petish-site .popup-search-wrap { background: var(--color-surface); border: 1px solid var(--color-control-border); border-radius: 12px; }
.petish-site .popup-search-wrap .search-icon { color: var(--color-primary); }

/* Preserve contrast in native icon pseudo-elements and legacy content widgets. */
.petish-site .dt-mobile-menu-icon .menu-line::before,
.petish-site .dt-mobile-menu-icon .menu-line::after { background: var(--color-text) !important; }
.petish-site .dt-close-mobile-menu-icon .close-line::before,
.petish-site .dt-close-mobile-menu-icon .close-line::after { background: var(--color-primary-on) !important; }
/* Beat The7's compiled !important floating-header background on the full-width wrapper. */
body#the7-body.petish-site .masthead:is(.sticky-on,.sticky-mobile-on) { background: var(--color-surface) !important; }
.petish-site .sticky-on .petish-logo { width: auto; max-width: 180px; max-height: 56px; height: auto; }
.petish-site .sticky-on .branding > a { padding-block: 4px; }
.petish-site blockquote { background: var(--color-surface); color: var(--color-text); border-left: 4px solid var(--color-primary); font-family: var(--font-body); }
.petish-site blockquote p { color: var(--color-text); }
body.petish-site #sidebar :is(.widget,.widget-title,label,p,li) { color: var(--color-text); }
body.petish-site #sidebar .widget a { color: var(--color-primary); }
.petish-site .wp-block-search__label { color: var(--color-text); }
.petish-site .wp-block-search__inside-wrapper { display: flex; gap: 10px; }
.petish-site .wp-block-search__input { min-width: 0; flex: 1 1 auto; width: auto; }
.petish-site .wp-block-search__button { flex: 0 0 auto; white-space: nowrap; padding-inline: 14px; margin-left: 0; }
body.petish-site .soc-ico a :is(i,span) { color: var(--color-text-muted) !important; }

/* Keep native order receipts readable in both themes, including refunds. */
body#the7-body.petish-site .woocommerce-order-details {
  --the7-h6-color: var(--color-text);
  --the7-h4-color: var(--color-text);
}

/* Native The7 catalogue and product prices otherwise retain hard-coded #333. */
body#the7-body.petish-site :is(.woocom-list-content,.summary.entry-summary) .price,
body#the7-body.petish-site :is(.woocom-list-content,.summary.entry-summary) .price :is(span,bdi,ins) {
  color: var(--color-text) !important;
}
body#the7-body.petish-site :is(.woocom-list-content,.summary.entry-summary) .price del,
body#the7-body.petish-site :is(.woocom-list-content,.summary.entry-summary) .price del :is(span,bdi) {
  color: var(--color-text-muted) !important;
  opacity: 1;
}

/* The7's active product tab otherwise keeps a hard-coded dark foreground. */
body#the7-body.petish-site .woocommerce-tabs .wc-tabs li.active a,
body#the7-body.petish-site .woocommerce-tabs .wc-tabs a:is(:hover,:focus-visible) {
  color: var(--color-text) !important;
}

body.petish-site .masthead { background: var(--color-surface) !important; }

/* The logo occupies 210px; 50px more aligns Home with the catalogue results. */
body#the7-body.petish-site .masthead.inline-header .header-bar > .main-nav {
  justify-content: flex-start;
}
@media (min-width: 1120px) {
  body#the7-body.petish-site .masthead.inline-header .header-bar > .branding {
    flex: 0 0 210px;
    max-width: 210px;
  }
  body#the7-body.petish-site .masthead.inline-header .header-bar > .main-nav {
    padding-left: 50px;
  }
}

/* The7's product page title uses an H2 with a separate compiled foreground. */
body#the7-body.petish-site .page-title-head .entry-title { color: var(--color-text); }

/* Remove The7's hard-coded quantity-button fill and retain theme-aware icons. */
body#the7-body.petish-site #page .quantity.buttons_added {
  --petish-quantity-text: var(--color-secondary-text);
  --petish-quantity-hover-text: var(--color-secondary-text);
  border-radius: var(--radius-control);
}
[data-theme="dark"] body#the7-body.petish-site #page .quantity.buttons_added {
  --petish-quantity-text: var(--color-text);
}
body#the7-body.petish-site #page .quantity.buttons_added > button.is-form:is(.minus,.plus) {
  background: transparent;
  color: var(--petish-quantity-text);
  border: 0;
  border-radius: 0;
}
body#the7-body.petish-site #page .quantity.buttons_added > button.is-form:is(.minus,.plus):is(:hover,:active):not(:disabled):not([aria-disabled="true"]) {
  background: transparent;
  color: var(--petish-quantity-hover-text);
}
body#the7-body.petish-site #page .quantity.buttons_added > button.is-form:is(.minus,.plus):is(:disabled,[aria-disabled="true"]) {
  background: transparent;
  color: var(--color-disabled-text);
  cursor: not-allowed;
}
body#the7-body.petish-site #page .quantity.buttons_added > button.is-form:is(.minus,.plus) svg {
  color: inherit;
  fill: currentColor;
}
body#the7-body.petish-site #page .quantity.buttons_added > button.is-form:is(.minus,.plus):focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--color-primary) !important;
  outline-offset: 3px;
}
body#the7-body.petish-site #page .quantity.buttons_added > input.qty {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
}

/* Keep supplier SKUs in WooCommerce while hiding their storefront label. */
body.single-product.petish-site .product_meta .sku_wrapper { display: none; }
body.single-product.petish-site .woocommerce-product-gallery__image > a { cursor: zoom-in; }

/* The7's related-product template has its own compiled title and amount colours. */
body#the7-body.petish-site .related.products :is(.product-title,.price),
body#the7-body.petish-site .related.products .price :is(span,bdi,ins) {
  color: var(--color-text) !important;
}
body#the7-body.petish-site .related.products .product-title:is(:hover,:focus-visible) {
  color: var(--color-primary) !important;
}
body#the7-body.petish-site .related.products .price del,
body#the7-body.petish-site .related.products .price del :is(span,bdi) {
  color: var(--color-text-muted) !important;
  opacity: 1;
}

/* The7's horizontal related cards retain their native responsive columns. */
body#the7-body.petish-site .related.products .related-product > li {
  min-inline-size: 0;
}
body#the7-body.petish-site .related.products .product-thumbnail {
  position: relative;
  align-self: flex-start;
}
body#the7-body.petish-site .related.products .petish-hot-badge {
  box-sizing: border-box;
  inline-size: 32px;
  block-size: 32px;
  justify-content: center;
  gap: 0;
  padding: 4px;
  border-radius: 50%;
}
body#the7-body.petish-site .related.products .petish-hot-badge__label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body#the7-body.petish-site .related.products .product-content {
  flex: 1 1 0;
  min-inline-size: 0;
  flex-flow: column nowrap;
  align-items: stretch;
}
body#the7-body.petish-site .related.products .product-content > .product-title {
  min-block-size: 2.8em;
  line-height: 1.4;
}
body#the7-body.petish-site .related.products .product-content > .price {
  align-self: stretch;
  flex-shrink: 0;
}
body#the7-body.petish-site .related.products .price .amount {
  white-space: nowrap;
}
body#the7-body.petish-site .related.products .woo-buttons > a:is(.product_type_variable,.product_type_simple.add_to_cart_button) {
  box-sizing: border-box;
  max-inline-size: 100%;
  white-space: normal;
  text-align: center;
}
body#the7-body.petish-site .related.products .woo-buttons > a.product_type_variable {
  background: #EDE7FF;
  background-image: none;
  color: #6532A1;
  border-color: #9B5DE5;
}
body#the7-body.petish-site .related.products .woo-buttons > a.product_type_variable:is(:hover,:focus-visible) {
  background: #E1D6FA;
  color: #512581;
  border-color: #6532A1;
}
body#the7-body.petish-site .related.products .woo-buttons > a.product_type_simple.add_to_cart_button {
  background: #0F4C5C;
  background-image: none;
  color: #FFFFFF;
  border-color: #0F4C5C;
}
body#the7-body.petish-site .related.products .woo-buttons > a.product_type_simple.add_to_cart_button:is(:hover,:focus-visible) {
  background: #123F4B;
  color: #FFFFFF;
  border-color: #123F4B;
}

/* Full-width retail price badges; prices retain their native text semantics. */
body#the7-body.petish-site :is(article.product:not(.product-category) .woocom-list-content > .price,.related.products .product-content > .price,.ph-product-body > .ph-product-price) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25em;
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-control);
  background: #6532A1;
  color: #FFFFFF !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
body#the7-body.petish-site :is(article.product:not(.product-category) .woocom-list-content > .price,.related.products .product-content > .price,.ph-product-body > .ph-product-price) :is(span,bdi,ins,del) {
  color: #FFFFFF !important;
  font-weight: 700;
}

/* One dated supplier-popularity badge per linked product thumbnail. */
body.petish-site :is(.woo-buttons-on-img > a,.ph-product-image) { position: relative; }
body.petish-site .petish-hot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 2px solid #B42318;
  background: #FFFFFF;
  color: #B42318;
  font: 600 12px/1.4 var(--font-label);
}

/* Native Woo cart/checkout controls need their own floating-label geometry. */
body#the7-body.petish-site .checkout-page-title {
  background: var(--color-bg);
  color: var(--color-text);
  padding-block: 20px;
}
body#the7-body.petish-site .checkout-breadcrumbs .checkout-name {
  color: var(--color-text-muted);
}
body#the7-body.petish-site .checkout-breadcrumbs .current .checkout-name {
  color: var(--color-text);
}
body#the7-body.petish-site .checkout-breadcrumbs .checkout-counter {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
body#the7-body.petish-site .checkout-breadcrumbs .current .checkout-counter {
  background: var(--color-primary);
  background-image: none;
  color: var(--color-primary-on);
  border-color: var(--color-primary);
}

body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) {
  --wc-separator-color: var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input input {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 16px 12px;
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 16px/22px var(--font-body);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input label {
  left: 13px;
  top: 28px;
  margin: 0;
  color: var(--color-text-muted);
  font: 400 16px/22px var(--font-body);
  transform: translateY(-50%);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input:is(.is-active,:focus-within) input,
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input input:-webkit-autofill {
  padding: 24px 12px 8px;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input:is(.is-active,:focus-within) label,
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input input:-webkit-autofill + label {
  top: 8px;
  color: var(--color-text-muted);
  font: 400 12px/16px var(--font-label);
  transform: none;
}

/* The select's outer container must match its rounded field in both themes. */
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-blocks-components-select__container {
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-blocks-components-select__select {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 24px 42px 8px 12px;
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 16px/22px var(--font-body);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-blocks-components-select__label {
  left: 13px;
  top: 8px;
  max-width: calc(100% - 56px);
  margin: 0;
  color: var(--color-text-muted);
  font: 400 12px/16px var(--font-label);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-blocks-components-select__expand {
  color: var(--color-text);
  fill: currentColor;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-textarea {
  box-sizing: border-box;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 16px/1.5 var(--font-body);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea):focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
  color: var(--color-text);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .has-error :is(input,.wc-blocks-components-select__select),
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea)[aria-invalid="true"] {
  border-color: var(--color-error);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-text-input.has-error label,
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .has-error .wc-blocks-components-select__label,
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .has-error .wc-blocks-components-select__expand {
  color: var(--color-error);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea):disabled {
  background: var(--color-disabled-bg);
  color: var(--color-disabled-text);
}

/* Keep native summary padding/collapse behaviour, with one theme-aware panel. */
body#the7-body.petish-site .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-color: var(--color-border);
  background: var(--color-surface);
}
body#the7-body.petish-site .wc-block-cart .wc-block-cart__sidebar {
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-order-summary-item__quantity {
  background: var(--color-button-primary);
  color: var(--color-button-primary-on);
  border: 2px solid var(--color-surface);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-order-summary-item__quantity span {
  color: inherit;
}

/* Only the quantity value has a field border; +/- stay transparent and borderless. */
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-quantity-selector {
  min-width: 132px;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Keep a verified single origin out of customer metadata; native data stays intact. */
.petish-single-origin .wc-block-components-product-details > .wc-block-components-product-details__ships-from,
.petish-single-origin .wc-block-components-product-details > span:has(+ .wc-block-components-product-details__ships-from:last-child) > span[aria-hidden="true"]:last-child,
.petish-single-origin .wc-block-components-product-details:has(> .wc-block-components-product-details__ships-from:only-child) {
  display: none;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-quantity-selector__button,
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-quantity-selector__button:is(:hover,:active,:focus,:disabled,[aria-disabled="true"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
  opacity: 1;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-quantity-selector__button:is(:disabled,[aria-disabled="true"]) {
  color: var(--color-disabled-text);
  cursor: not-allowed;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-quantity-selector__input {
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 16px/22px var(--font-body);
  text-align: center;
  box-shadow: none;
}

/* Keep the native warning icon and spacing on a readable theme surface. */
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-notice-banner.is-warning {
  border-color: var(--color-control-border);
  background: var(--color-surface);
  color: var(--color-text);
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-notice-banner.is-warning > svg {
  background: var(--color-orange);
  fill: #0B1426;
}
body#the7-body.petish-site :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-notice-banner.is-warning > .wc-block-components-button {
  color: var(--color-text) !important;
}
