/* ==========================================================================
   Adults & Crafts — design tokens & base
   Recreated from the Impact theme (Shopify) design system.
   ========================================================================== */

@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-bolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette (sampled from the reference) */
  --ac-primary: #424a57;
  --ac-primary-rgb: 66 74 87;
  --ac-sage: #c9dad4;
  --ac-sage-rgb: 201 218 212;
  --ac-text: #272727;
  --ac-muted: #6b6b6b;
  --ac-border: rgb(39 39 39 / 0.12);
  --ac-bg: #ffffff;
  --ac-bg-alt: #f2f2f2;
  --ac-sale: #e34f4f;
  --ac-star: #ffb74a;
  --ac-success: #eef1eb;

  /* Typography */
  --ac-font: "Josefin Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ac-text-xs: 0.75rem;
  --ac-text-sm: 0.875rem;
  --ac-text-base: 1rem;
  --ac-text-lg: 1.25rem;
  --ac-text-xl: 1.5rem;
  --ac-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --ac-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --ac-h3: 1.5rem;
  --ac-letter: -0.01em;

  /* Layout */
  --ac-container: 1600px;
  --ac-gutter: 48px;
  --ac-radius: 0px;
  --ac-header-height: 147px;
  --ac-announcement-height: 36px;
  --ac-section-space: clamp(3rem, 2rem + 3vw, 5rem);
  --ac-grid-gap: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ac-font);
  font-size: var(--ac-text-base);
  line-height: 1.6;
  color: var(--ac-primary);
  background: var(--ac-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ac-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ac-font);
  font-weight: 400;
  letter-spacing: var(--ac-letter);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ac-text);
}
h1 { font-size: var(--ac-h1); }
h2 { font-size: var(--ac-h2); }
h3 { font-size: var(--ac-h3); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

/* Utility ------------------------------------------------------------------ */
.ac-container {
  width: 100%;
  max-width: var(--ac-container);
  margin-inline: auto;
  padding-inline: var(--ac-gutter);
}
.ac-container--narrow { max-width: 1350px; }
.ac-text-center { text-align: center; }
.ac-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.ac-section { padding-block: var(--ac-section-space); }
.ac-section--tight { padding-block: calc(var(--ac-section-space) / 2); }
.ac-bg-sage { background: var(--ac-sage); }
.ac-bg-alt { background: var(--ac-bg-alt); }

/* Buttons ------------------------------------------------------------------ */
.ac-btn,
.button,
.wp-block-button__link,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 2em;
  font-family: var(--ac-font);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  border: 1px solid var(--ac-primary);
  border-radius: var(--ac-radius);
  background: var(--ac-primary);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ac-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.elementor-button:hover {
  background: #2f3540;
  border-color: #2f3540;
  color: #fff;
}
.ac-btn--light {
  background: #fff;
  color: var(--ac-primary);
  border-color: #fff;
}
.ac-btn--light:hover { background: #f0f0f0; border-color: #f0f0f0; color: var(--ac-primary); }
.ac-btn--outline {
  background: transparent;
  color: var(--ac-primary);
  border-color: var(--ac-primary);
}
.ac-btn--outline:hover { background: var(--ac-primary); color: #fff; }
.ac-btn--sm { padding: 0.6em 1.4em; font-size: var(--ac-text-xs); }

/* Links with underline animation (reference "reversed-link") */
.ac-link-underline { position: relative; }
.ac-link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.ac-link-underline:hover::after { right: 0; }

/* Forms -------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  font-family: var(--ac-font);
  font-size: var(--ac-text-base);
  color: var(--ac-text);
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 0.65em 1em;
  min-height: 44px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ac-primary);
}
label { display: block; font-size: var(--ac-text-sm); margin-bottom: 0.35em; }
::placeholder { color: #9a9a9a; }

/* Star rating -------------------------------------------------------------- */
.ac-stars { display: inline-flex; gap: 2px; color: var(--ac-star); }
.ac-stars svg { width: 14px; height: 14px; }

/* Badges ------------------------------------------------------------------- */
.ac-badge {
  display: inline-block;
  padding: 0.28em 0.8em;
  font-size: var(--ac-text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ac-primary);
  color: #fff;
}
.ac-badge--sale { background: var(--ac-sale); }
.ac-badge--soldout { background: #bebdb9; }

/* Price -------------------------------------------------------------------- */
.ac-price { display: inline-flex; align-items: baseline; gap: .5em; white-space: nowrap; }
.ac-price del { color: var(--ac-muted); font-size: .9em; }
.ac-price ins { text-decoration: none; }

/* Announcement bar --------------------------------------------------------- */
.ac-announcement {
  background: var(--ac-sage);
  color: var(--ac-primary);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  padding-block: 14px;
}
.ac-announcement a { color: inherit; }

/* Header ------------------------------------------------------------------- */
.ac-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
}
body.admin-bar .ac-header { top: 32px; }
.ac-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: var(--ac-header-height);
}
.ac-header__logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  line-height: 0;
}
.ac-header__logo img { width: 275px; height: auto; }
.ac-header__nav { grid-column: 2; grid-row: 1; justify-self: center; }
.ac-header__aside {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--ac-text-sm);
}
.ac-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-nav > li { position: relative; }
.ac-nav > li > a,
.ac-nav > li > .ac-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  padding-block: 0;
  color: var(--ac-text);
}
.ac-nav > li:hover > a { color: var(--ac-primary); }
.ac-nav__toggle { background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit; }
.ac-nav__toggle svg { width: 10px; height: 7px; transition: transform .2s; }
.ac-nav li:hover .ac-nav__toggle svg { transform: rotate(180deg); }

.ac-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 214px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.06);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.ac-nav li:hover > .ac-submenu,
.ac-nav li:focus-within > .ac-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ac-submenu a {
  display: block;
  padding: 8px 22px;
  font-size: var(--ac-text-sm);
}
.ac-submenu a:hover { background: #f6f6f6; }

.ac-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--ac-text);
}
.ac-icon-btn svg { width: 20px; height: 20px; }
.ac-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  margin-left: 2px;
  font-size: 10px;
  line-height: 1;
  background: var(--ac-primary);
  color: #fff;
  border-radius: 999px;
}
.ac-currency { display: inline-flex; align-items: center; gap: 4px; font-size: var(--ac-text-sm); font-weight: 400; }
.ac-currency svg { width: 10px; height: 7px; }
.ac-header__burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* Mobile drawer ------------------------------------------------------------ */
.ac-mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 380px);
  background: #fff;
  z-index: 200;
  transform: translateX(-101%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 30px;
  overflow-y: auto;
}
.ac-mobile-nav.is-open { transform: translateX(0); }
.ac-mobile-nav__list { list-style: none; margin: 12px 0 0; padding: 0; }
.ac-mobile-nav__list a,
.ac-mobile-nav__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--ac-border);
  font-size: 1rem;
  cursor: pointer;
}
.ac-mobile-nav__list ul { list-style: none; margin: 0; padding: 0 0 8px 12px; }
.ac-mobile-nav__list ul a { border-bottom: 0; padding: 8px 0; font-size: .95rem; color: #555; }
.ac-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / .35);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}
.ac-overlay.is-open { opacity: 1; visibility: visible; }

/* Footer ------------------------------------------------------------------- */
.ac-footer { background: #f2f2f2; margin-top: var(--ac-section-space); }
.ac-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 56px 40px;
}
.ac-footer h3, .ac-footer h4 {
  font-size: var(--ac-text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.ac-footer ul { list-style: none; margin: 0; padding: 0; }
.ac-footer li { margin-bottom: 8px; }
.ac-footer a { font-size: var(--ac-text-sm); color: #444; }
.ac-footer a:hover { color: var(--ac-primary); text-decoration: underline; }
.ac-newsletter__form { display: flex; gap: 8px; margin-top: 12px; max-width: 380px; }
.ac-newsletter__form input { background: transparent; border-color: rgb(0 0 0 / 0.25); }
.ac-newsletter__form button { white-space: nowrap; }
.ac-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgb(0 0 0 / 0.08);
  font-size: var(--ac-text-xs);
  color: #666;
}
.ac-social { display: flex; gap: 14px; }
.ac-social a { display: inline-flex; }
.ac-social svg { width: 17px; height: 17px; }
.ac-payments { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ac-payments span {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid rgb(0 0 0 / .12);
  border-radius: 3px;
  font-size: 10px;
  background: #fff;
  line-height: 1.1;
}

/* Entry content ------------------------------------------------------------ */
.ac-prose { font-size: 1.0625rem; line-height: 1.75; }
.ac-prose h2 { margin-top: 2em; }
.ac-prose h3 { margin-top: 1.6em; }
.ac-prose h2 + h3 { margin-top: 0.6em; }
.ac-prose img { margin-block: 1.5em; }
.ac-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ac-prose blockquote {
  margin: 2em 0;
  padding-left: 1.5em;
  border-left: 2px solid var(--ac-sage);
  font-style: italic;
}
.ac-prose table { width: 100%; border-collapse: collapse; margin-block: 1.5em; }
.ac-prose th, .ac-prose td { border: 1px solid var(--ac-border); padding: 10px 12px; text-align: left; }
.ac-prose iframe { max-width: 100%; }

/* Page header (reference: collection / page banner) */
.ac-page-head { padding-block: 2.5rem 1.5rem; }
.ac-page-head h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); margin: 0; }
.ac-breadcrumbs { font-size: var(--ac-text-xs); color: var(--ac-muted); margin-bottom: 10px; }
.ac-breadcrumbs a { color: inherit; }
.ac-breadcrumbs span { margin-inline: 6px; }

/* Search panel ------------------------------------------------------------- */
.ac-search-panel {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgb(0 0 0 / .06);
  transition: max-height .25s ease;
}
.ac-search-panel.is-open { max-height: 160px; }
.ac-search-form { display: flex; gap: 10px; }
.ac-search-form__input { flex: 1; }

/* Section heading with "View all" ------------------------------------------ */
.ac-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 1.75rem;
}
.ac-section-head h2 { margin: 0; font-size: 48px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; }
.ac-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ac-text-sm);
  white-space: nowrap;
}
.ac-section-link svg { width: 9px; height: 9px; }

/* Blog cards --------------------------------------------------------------- */
.ac-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.ac-post-card__media img,
.ac-post-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ececec;
}
.ac-post-card__body { padding-top: 16px; }
.ac-post-card__date { font-size: var(--ac-text-xs); color: var(--ac-muted); text-transform: uppercase; letter-spacing: .06em; }
.ac-post-card__title { font-size: 1.2rem; margin: 8px 0 10px; }
.ac-post-card__excerpt { font-size: var(--ac-text-sm); color: #555; }

/* Pagination (posts) ------------------------------------------------------- */
.ac-pagination { margin-top: 3rem; }
.ac-pagination .nav-links { display: flex; gap: 6px; justify-content: center; }
.ac-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border: 1px solid var(--ac-border);
  font-size: var(--ac-text-sm);
}
.ac-pagination .page-numbers.current,
.ac-pagination .page-numbers:hover { background: var(--ac-primary); color: #fff; border-color: var(--ac-primary); }

@media (max-width: 900px) {
  .ac-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ac-post-grid { grid-template-columns: 1fr; }
  .ac-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1023px) {
  .ac-header__inner { grid-template-columns: auto 1fr auto; }
  .ac-header__nav { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  .ac-header__nav .ac-nav { display: none; }
  .ac-header__logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .ac-header__aside { grid-column: 3; }
  .ac-header__burger { display: inline-flex; }
  .ac-header__aside { gap: 10px; }
  .ac-currency { display: none; }
  .ac-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .ac-footer__top { grid-template-columns: 1fr; }
  .ac-header__logo img { width: 140px; }
  :root { --ac-gutter: 20px; --ac-grid-gap: 20px; }
}

.ac-icon-btn { border: 0; background: none; padding: 0; cursor: pointer; }
.ac-cart-count:empty { display: none; }


/* Default WordPress walker sub-menus share the reference dropdown styling */
.ac-nav li > ul.sub-menu,
.ac-nav li > .ac-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 214px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.06);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.ac-nav li:hover > ul.sub-menu,
.ac-nav li:focus-within > ul.sub-menu,
.ac-nav li:hover > .ac-submenu,
.ac-nav li:focus-within > .ac-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ac-nav ul.sub-menu a {
  display: block;
  padding: 11px 26px;
  white-space: nowrap;
  font-size: 1rem;
  color: var(--ac-text);
}
.ac-nav ul.sub-menu a:hover { background: #f6f6f6; }

/* Readable narrow column for standard pages ------------------------------- */
.ac-page-content { max-width: 880px; margin-inline: auto; }
.ac-page-content.ac-prose { padding-block: 1rem 3rem; }
.ac-page-head { max-width: 880px; margin-inline: auto; }

/* Contact form ------------------------------------------------------------- */
.ac-contact-form { margin-top: 1.5rem; max-width: 640px; }
.ac-form-row { margin-bottom: 18px; }
.ac-form-row label { font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.ac-hp { position: absolute; left: -9999px; }
.ac-notice { padding: 14px 18px; border-left: 3px solid var(--ac-primary); background: #f6f8f6; margin-bottom: 20px; font-size: .9rem; }
.ac-notice--error { border-color: var(--ac-sale); background: #fdf3f3; }

/* Reviews page ------------------------------------------------------------- */
.ac-lede { font-size: 1.15rem; color: #444; max-width: 680px; }
.ac-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 2rem 0 3rem;
}
.ac-review-card {
  margin: 0;
  padding: 26px 24px;
  border: 1px solid var(--ac-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ac-review-card blockquote { margin: 0; font-size: .95rem; line-height: 1.65; color: #333; }
.ac-review-card figcaption { margin-top: auto; font-size: .8rem; display: flex; flex-direction: column; }
.ac-review-card figcaption span { color: var(--ac-muted); }
@media (max-width: 900px) { .ac-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ac-review-grid { grid-template-columns: 1fr; } }

/* Footer — reference layout ------------------------------------------------- */
.ac-footer { background: #f2f2f2; margin-top: var(--ac-section-space); }
.ac-footer__top {
  display: grid;
  grid-template-columns: 1.15fr .55fr .55fr;
  gap: 60px;
  padding-block: 64px 46px;
}
.ac-footer__headline {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 420px;
  margin: 0 0 22px;
}
.ac-newsletter__form { display: flex; gap: 0; max-width: 420px; border-bottom: 1px solid #8b8b8b; }
.ac-newsletter__form input {
  flex: 1;
  border: 0 !important;
  background: transparent;
  padding: 10px 0;
  min-height: 44px;
}
.ac-newsletter__form button {
  border: 0;
  background: transparent;
  color: var(--ac-text);
  font-size: 1.1rem;
  padding: 0 6px;
  cursor: pointer;
}
.ac-footer h3, .ac-footer h4 {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 1.2rem;
}
.ac-footer__links ul { list-style: none; margin: 0; padding: 0; }
.ac-footer__links li { margin-bottom: 10px; }
.ac-footer__links a { font-size: 1rem; color: var(--ac-primary); }
.ac-footer__links a:hover { text-decoration: underline; }
.ac-footer__about p { font-size: .9rem; color: #444; max-width: 260px; line-height: 1.6; }
.ac-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px 26px;
}
.ac-currency--footer { font-size: .85rem; }
.ac-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px 40px;
  font-size: .75rem;
  color: #555;
}
.ac-footer__bottom .ac-payments span { border: 0; background: transparent; padding: 0 2px; font-size: .7rem; color: #555; }

@media (max-width: 1023px) {
  .ac-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ac-footer__newsletter { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ac-footer__top { grid-template-columns: 1fr; }
  .ac-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Cart drawer -------------------------------------------------------------- */
.ac-cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(92vw, 420px);
  background: #fff;
  z-index: 210;
  transform: translateX(101%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.12);
}
.ac-cart-drawer.is-open { transform: translateX(0); }
.ac-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ac-border);
  font-size: 1rem;
}
.ac-cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.ac-cart-drawer__body .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.ac-cart-drawer__body .woocommerce-mini-cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ac-border);
  position: relative;
}
.ac-cart-drawer__body .woocommerce-mini-cart-item a:has(img) { flex: none; }
.ac-cart-drawer__body .woocommerce-mini-cart-item a:not(:has(img)) { flex: 1 1 120px; padding-right: 22px; line-height: 1.35; }
.ac-cart-drawer__body .woocommerce-mini-cart-item .quantity { flex: none; margin-left: auto; }
.ac-cart-drawer__body .woocommerce-mini-cart-item img { width: 64px; height: 64px; object-fit: cover; }
.ac-cart-drawer__body .woocommerce-mini-cart-item a { font-size: .9rem; }
.ac-cart-drawer__body .woocommerce-mini-cart-item .quantity { font-size: .8rem; color: #666; }
.ac-cart-drawer__body .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 12px; }
.ac-cart-drawer__body .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between;
  padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--ac-border);
}
.ac-cart-drawer__body .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin-top: 18px; }
.ac-cart-drawer__body .woocommerce-mini-cart__buttons a {
  display: flex; justify-content: center; align-items: center;
  padding: .9em 1.2em; font-size: .9rem;
  background: var(--ac-primary); color: #fff;
}
.ac-cart-drawer__body .woocommerce-mini-cart__buttons a.checkout { background: #c2d6cd; color: #fff; }
.ac-cart-drawer__body .woocommerce-mini-cart__empty-message { color: #666; font-size: .9rem; }

/* Responsive typography fallbacks for the reference-scale headings ---------- */
@media (max-width: 1023px) {
  :root { --ac-header-height: 96px; }
  .ac-section-head h2 { font-size: 36px; }
  .ac-footer__headline { font-size: 28px; }
}
@media (max-width: 767px) {
  :root { --ac-header-height: 76px; }
  .ac-announcement { font-size: .9rem; padding-block: 10px; }
  .ac-section-head h2 { font-size: 28px; }
  .ac-footer__headline { font-size: 24px; }
}

/* Blog index (reference layout) -------------------------------------------- */
.ac-blog-hero { background: #f3f1ec; padding-block: 64px 0; text-align: center; }
.ac-blog-hero h1 { font-size: 48px; font-weight: 400; margin: 0 0 14px; }
.ac-blog-hero p { font-size: 1rem; color: #444; max-width: 560px; margin: 0 auto 22px; }
.ac-blog-subscribe {
  display: flex;
  max-width: 560px;
  margin: 0 auto 46px;
  border: 1px solid #cfcfcf;
  background: #fff;
}
.ac-blog-subscribe input { flex: 1; border: 0 !important; min-height: 52px; padding-inline: 16px; }
.ac-blog-subscribe button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #9fb6ab;
  color: #fff;
  border: 0;
  padding: 0 26px;
  font-size: .95rem;
  cursor: pointer;
}
.ac-blog-tags { display: flex; justify-content: center; gap: 4px; padding-bottom: 24px; flex-wrap: wrap; }
.ac-blog-tags a {
  padding: 10px 20px;
  font-size: .9rem;
  color: #555;
  background: transparent;
  border: 1px solid transparent;
}
.ac-blog-tags a.is-active { background: #fff; border-color: #e2ded6; color: var(--ac-text); }

.ac-blog-body { padding-block: 40px 60px; }
.ac-blog-featured {
  background: #f3f1ec;
  margin-bottom: 46px;
}
.ac-blog-featured > a { display: block; padding: 44px 40px; }
.ac-blog-featured h2 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 0 16px;
}
.ac-blog-featured__excerpt { font-size: 1rem; color: #444; max-width: 640px; margin: 0 0 18px; }
.ac-blog-date { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: #777; }
.ac-blog-date svg { width: 12px; height: 12px; }

.ac-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 40px;
}
.ac-blog-card a { display: block; }
.ac-blog-card h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
}
.ac-blog-card p { font-size: .92rem; color: #555; line-height: 1.6; margin: 0 0 14px; }

@media (max-width: 900px) {
  .ac-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-blog-featured h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .ac-blog-hero h1 { font-size: 36px; }
  .ac-blog-grid { grid-template-columns: 1fr; }
  .ac-blog-featured > a { padding: 28px 22px; }
}

/* Single article (reference layout) ---------------------------------------- */
.ac-post-head { background: #f3f1ec; padding-block: 64px 56px; text-align: center; }
.ac-post-head h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  max-width: 980px;
  margin: 0 auto 18px;
}
.ac-post-meta { display: flex; justify-content: center; gap: 22px; font-size: .85rem; color: #666; flex-wrap: wrap; }
.ac-post-body { max-width: 880px; margin-inline: auto; padding-block: 48px 30px; }
.ac-post-body p { font-size: 1rem; line-height: 1.75; }
.ac-post-body img { max-width: 100%; height: auto; }
.ac-post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ac-border);
  font-size: .85rem;
  color: #666;
}
.ac-post-share a { color: var(--ac-text); }
.ac-reading-next { border-top: 1px solid var(--ac-border); padding-block: 40px 20px; }
.ac-reading-next h2 { font-size: 1.8rem; font-weight: 400; margin: 0 0 26px; }
.ac-reading-next__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.ac-reading-next__item h3 { font-size: 1.25rem; font-weight: 400; margin: 0 0 8px; line-height: 1.3; }
.ac-reading-next__item:hover h3 { text-decoration: underline; }
.ac-post-comments { max-width: 880px; margin-inline: auto; padding-block: 30px 70px; }
.ac-comments__title { font-size: 1.5rem; font-weight: 400; margin-bottom: 18px; }
.ac-comments__note { font-size: .85rem; color: #777; margin-bottom: 18px; }
.ac-comments .comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.ac-comments .comment-list li { padding: 16px 0; border-bottom: 1px solid var(--ac-border); }
.ac-comments .comment-form p { margin-bottom: 14px; }
.ac-comments .comment-form label { font-size: .9rem; }
.ac-comments .comment-form input[type="text"],
.ac-comments .comment-form input[type="email"],
.ac-comments .comment-form input[type="url"],
.ac-comments .comment-form textarea { width: 100%; }

@media (max-width: 900px) {
  .ac-post-head h1 { font-size: 32px; }
  .ac-reading-next__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .ac-post-head { padding-block: 40px 32px; }
  .ac-post-head h1 { font-size: 26px; }
}

/* Header currency switcher (FOX / WOOCS) ------------------------------------ */
.ac-currency-switch { display: inline-flex; align-items: center; }
.ac-currency-switch form { margin: 0; display: inline-flex; }
.ac-currency-switch select,
.ac-currency-switch .woocommerce-currency-switcher {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--ac-font);
  font-size: 1rem;
  color: var(--ac-text);
  padding: 0 18px 0 0;
  min-height: 0;
  width: auto;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23424A57' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}
.ac-currency-switch .woocs_display_none { display: none !important; }
.ac-currency-switch .woocommerce-currency-switcher-form + div { display: none; }

/* FOX currency dropdown — render as plain header text ----------------------- */
.ac-currency-switch .woocommerce-currency-switcher-form { display: inline-flex; align-items: center; }
.ac-currency-switch .dd-container { width: auto !important; display: inline-block; }
.ac-currency-switch .dd-select {
  width: auto !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
.ac-currency-switch .dd-selected {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 18px 0 0 !important;
  background: transparent !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  color: var(--ac-text) !important;
  position: relative;
  border: 0 !important;
}
.ac-currency-switch .dd-selected::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 9px;
  height: 6px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23424A57' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ac-currency-switch .dd-pointer,
.ac-currency-switch .dd-arrow,
.ac-currency-switch .dd-selected-image { display: none !important; }
.ac-currency-switch .dd-options {
  border: 1px solid var(--ac-border) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.08) !important;
  border-radius: 0 !important;
  min-width: 120px;
  margin-top: 6px;
}
.ac-currency-switch .dd-option {
  padding: 8px 14px !important;
  font-size: .9rem !important;
  background: #fff !important;
}
.ac-currency-switch .dd-option:hover,
.ac-currency-switch .dd-option-selected { background: #f4f4f4 !important; }
@media (max-width: 1023px) {
  .ac-currency-switch { display: none; }
}

.ac-currency-switch .dd-selected-description,
.ac-currency-switch .dd-desc { display: none !important; }
.ac-currency-switch .dd-selected-text { font-size: 1rem; }

/* Trust icons row above the footer ------------------------------------------ */
.ac-trust-row { padding-block: 46px 34px; background: #fff; }
.ac-trust-row .ac-icons { max-width: 1180px; margin-inline: auto; }
/* Footer bottom bar (reference layout) -------------------------------------- */
.ac-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.ac-footer__bottom-left { display: flex; flex-direction: column; gap: 16px; }
.ac-footer__bottom-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ac-footer__copyright { font-size: .8rem; color: var(--ac-muted); }
.ac-social { display: flex; gap: 14px; align-items: center; }
.ac-social a { color: var(--ac-text); display: inline-flex; }
.ac-social svg { width: 17px; height: 17px; }
.ac-currency--footer { font-size: .8rem; }
.ac-currency--footer .dd-selected { font-size: .8rem !important; }
.ac-payments { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ac-payments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 6px;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  font-size: .58rem;
  letter-spacing: .02em;
  color: #444;
}
@media (max-width: 700px) {
  .ac-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ac-footer__bottom-right { align-items: flex-start; }
  .ac-payments { justify-content: flex-start; }
}

@media (max-width: 1023px) {
  .ac-footer .ac-currency-switch { display: inline-flex; }
}
.ac-currency--footer .dd-container { width: auto !important; }
.ac-currency--footer .dd-options { bottom: auto; }

/* Cart drawer (reference layout) -------------------------------------------- */
.ac-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(630px, 100vw);
  height: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(105%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.12);
}
.ac-cart-drawer.is-open { transform: translateX(0); }
.ac-cart-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.ac-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px 22px;
  border-bottom: 1px solid #eee;
}
.ac-cart-drawer__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}
.ac-cart-drawer__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  background: #e9e6e0;
  font-size: .8rem;
  font-weight: 700;
}
.ac-cart-drawer__close { background: none; border: 0; cursor: pointer; color: var(--ac-text); padding: 4px; }

.ac-cart-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 26px 40px 10px; }
.ac-cart-items { list-style: none; margin: 0; padding: 0; }
.ac-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 0 0 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}
.ac-cart-item__media img { display: block; width: 88px; height: 88px; object-fit: cover; }
.ac-cart-item__title { display: block; font-size: 1rem; color: var(--ac-text); margin-bottom: 8px; }
.ac-cart-item__price { font-size: 1rem; color: var(--ac-text); }
.ac-cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.ac-cart-item__remove { font-size: .78rem; color: #777; text-decoration: underline; }

.ac-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  height: 40px;
  min-width: 96px;
}
.ac-qty__btn {
  width: 28px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  color: #777;
  cursor: pointer;
}
.ac-qty__input {
  width: 36px;
  border: 0 !important;
  text-align: center;
  font-size: .9rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.ac-qty__input::-webkit-outer-spin-button,
.ac-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ac-cart-drawer__foot {
  padding: 22px 40px 34px;
  border-top: 1px solid #eee;
  background: #fff;
}
.ac-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.ac-cart-total strong { font-weight: 400; }
.ac-cart-note { font-size: .82rem; color: #777; margin: 0 0 6px; }
.ac-cart-note-link { font-size: .82rem; color: #777; text-decoration: underline; display: inline-block; margin-bottom: 22px; }
.ac-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-btn-viewcart,
.ac-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  font-size: .95rem;
  text-decoration: none;
}
.ac-btn-viewcart { background: #c9dad4; color: #2f3a34; }
.ac-btn-checkout { background: #424a57; color: #fff; }
.ac-btn-viewcart:hover { background: #b9cec6; }
.ac-btn-checkout:hover { background: #2f3540; color: #fff; }
.ac-cart-empty { text-align: center; color: #666; padding: 60px 0; }

/* Added-to-cart toast */
.ac-cart-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translate(-50%, -140%);
  background: #eef6ef;
  color: #2f5c3a;
  border: 1px solid #cfe4d3;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  z-index: 10000;
  transition: transform .25s ease;
}
.ac-cart-toast.is-visible { transform: translate(-50%, 0); }
.ac-cart-toast__icon { display: inline-flex; }

@media (max-width: 600px) {
  .ac-cart-drawer__head { padding: 20px 20px 16px; }
  .ac-cart-drawer__body { padding: 18px 20px 8px; }
  .ac-cart-drawer__foot { padding: 18px 20px 26px; }
  .ac-cart-item { grid-template-columns: 70px minmax(0, 1fr); }
  .ac-cart-item__media img { width: 70px; height: 70px; }
  .ac-cart-item__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Reference shows a plain quantity box, no steppers */
.ac-qty { min-width: 56px; justify-content: center; }
.ac-qty__btn { display: none; }
.ac-qty__input { width: 44px; }

/* Page heading suppression where the reference has none */
.woocommerce-cart .ac-page-head h1 { font-size: 48px; }

/* Quantity box: compact bordered square */
.ac-cart-item .ac-qty {
  width: 72px;
  min-width: 72px;
  height: 40px;
  border: 1px solid #dcdcdc;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ac-cart-item .ac-qty__input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0 !important;
  background: transparent;
  text-align: center;
  font-size: .9rem;
  line-height: 38px;
}

/* 404 page (reference style: oversized ghost numerals) ---------------------- */
.ac-404 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding-block: 80px;
  overflow: hidden;
}
.ac-404__number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(220px, 30vw, 420px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  color: #ececec;
  user-select: none;
  pointer-events: none;
}
.ac-404__inner { position: relative; text-align: center; }
.ac-404__title { font-size: clamp(28px, 3vw, 42px); font-weight: 400; margin: 0 0 26px; }
@media (max-width: 600px) {
  .ac-404 { min-height: 380px; padding-block: 50px; }
  .ac-404__number { font-size: 200px; }
}

/* Content pages: reference has a centred 64px title and a wide column ------ */
body.page .ac-page-head { text-align: center; padding-block: 56px 10px; }
body.page .ac-page-head .ac-breadcrumbs { display: none; }
body.page .ac-page-head h1 { font-size: 64px; line-height: 1.15; margin: 0; }
body.page .ac-page-content { max-width: 1318px !important; padding-inline: 0; }
body.page .ac-page-content h2 { font-size: 40px; line-height: 1.2; margin: 1.4em 0 .5em; }
body.page .ac-page-content h3 { font-size: 32px; line-height: 1.25; margin: 1.3em 0 .45em; }
body.page .ac-page-content p { font-size: 1rem; line-height: 1.75; }
body.page .ac-page-content img { max-width: 100%; height: auto; }
body.page .ac-page-content table { width: 100%; }

@media (max-width: 900px) {
  body.page .ac-page-head h1 { font-size: 40px; }
  body.page .ac-page-content h2 { font-size: 28px; }
  body.page .ac-page-content h3 { font-size: 22px; }
}
