/*
Theme Name: Afghan Prime Manus
Theme URI: https://afghanprime.com/
Author: Afghan Prime
Description: Afghan Prime custom WooCommerce theme integrating approved product photos, real category navigation, a premium wholesale page, and the approved responsive design. Staging QA required.
Version: 0.8.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: afghan-prime-manus
*/
/* The approved Manus CSS is generated at assets/manus.css by scripts/sync_manus_theme_assets.py.
 * These supplementary styles are scoped to the WordPress shell. */
.ap-wp-main { min-height: 40vh; }
.ap-wp-content { padding: clamp(45px, 8vw, 95px) 0; }
.ap-wp-content .entry-title { margin: 0 0 25px; font-family: var(--serif, Georgia, serif); color: var(--forest, #202d26); font-weight: 500; font-size: clamp(32px, 5vw, 58px); line-height: 1.07; }
.ap-wp-content .entry-content { max-width: 930px; line-height: 1.75; }
.ap-wp-content .entry-content img { height: auto; }
.ap-wp-content .entry-content a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.ap-wp-list article { padding: 20px 0; border-bottom: 1px solid var(--line, #ddd); }
.ap-wp-list h2 { margin: 0 0 10px; font-size: 28px; font-family: var(--serif, Georgia, serif); }
.ap-manus-featured { padding: 70px 0 85px; }
.ap-manus-featured .shop-products { margin-top: 30px; }
.ap-manus-featured .product-card__image { display: block; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.ap-manus-featured .product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ap-manus-featured .product-card__body h3 { margin: 8px 0; }
.ap-manus-featured .product-card__eyebrow { color: var(--muted, #746c65); font-size: 11px; }
.ap-manus-featured .product-card__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ap-wp-notice { padding: 24px; border: 1px solid var(--line, #ddd); background: #fffdf9; }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 25px; }
.woocommerce div.product form.cart .variations select { min-width: 180px; max-width: 100%; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: 0; color: #fff; background: #202d26; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: #304138; }
.woocommerce-page .ap-wc-content { padding: 45px 0 90px; min-height: 50vh; }

/* WordPress homepage category parity: same component as approved static design. */
.ap-collections__card .ap-collections__no-image {
  display:grid;place-items:center;width:100%;height:100%;min-height:220px;
  background:linear-gradient(145deg,#8b7b62,#293c2c);color:#f7f2e9;
  font:italic 52px/1 var(--serif,Georgia,serif);
}
.ap-loved__price {margin:9px 0 6px;font-weight:700;font-size:13px;color:var(--forest,#202d26);}
.ap-loved__price del {opacity:.7;font-weight:400;}
.ap-loved__price ins {text-decoration:none;}
.ap-loved__stock {margin:0 0 7px;font-size:11px;color:var(--muted,#746c65);}
.ap-loved__card .ap-loved__photo .ap-preview-monogram {
  display:grid;place-items:center;width:100%;height:100%;min-height:170px;
  background:#e7dfd3;color:var(--forest);font:500 40px var(--serif,Georgia,serif);
}

/* Wholesale WordPress landing — page-wholesale.php */
.ap-wholesale-landing {background:var(--ivory,#f7f2e9);}
.ap-wholesale-hero {background:var(--forest,#202d26);color:var(--paper,#fffdf9);overflow:hidden;}
.ap-wholesale-hero__inner {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);align-items:stretch;min-height:460px;gap:clamp(24px,5vw,66px);}
.ap-wholesale-hero__text {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(60px,8vw,115px) 0;}
.ap-wholesale-hero__text .display {font-size:clamp(38px,4.7vw,65px);line-height:1.04;color:#fffdf9;max-width:680px;margin:14px 0 22px;font-weight:500;}
.ap-wholesale-hero__text .display em {font-weight:400;color:#d8a47a;}
.ap-wholesale-hero__text > p:not(.eyebrow) {max-width:510px;line-height:1.8;color:#e4ded3;font-size:14px;margin:0 0 27px;}
.ap-wholesale-hero__photo {min-height:440px;align-self:stretch;}
.ap-wholesale-hero__photo img {height:100%;width:100%;object-fit:cover;object-position:center;}
.ap-wholesale-content {padding:clamp(70px,9vw,120px) 0;scroll-margin-top:140px;}
.ap-wholesale-content__inner {display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);gap:clamp(35px,7vw,90px);align-items:start;}
.ap-wholesale-content .display {font-size:clamp(36px,4.2vw,56px);line-height:1.1;font-weight:500;color:var(--forest);margin:10px 0 20px;}
.ap-wholesale-content .display em {color:var(--copper);font-weight:400;}
.ap-wholesale-content__inner > div > p:not(.eyebrow) {color:var(--muted);max-width:390px;line-height:1.9;}
.ap-wholesale-content__form {background:var(--paper,#fffdf9);border:1px solid #e5dacf;padding:clamp(24px,4vw,48px);}
.ap-wholesale-contact {display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.ap-wholesale-contact p {margin:0 0 6px;line-height:1.7;}
.ap-wholesale-contact .button {display:inline-block;}
.ap-wholesale-page-content {margin:0 0 20px;line-height:1.7;}
.ap-wholesale-page-content:empty {display:none;}
.ap-wholesale-widget .ap-wholesale-mail-form {margin:0;}
@media(max-width:720px) {
  .ap-wholesale-hero__inner,.ap-wholesale-content__inner {grid-template-columns:1fr;}
  .ap-wholesale-hero__inner {gap:0;}
  .ap-wholesale-hero__text {padding:65px 0 40px;}
  .ap-wholesale-hero__photo {min-height:260px;max-height:350px;margin-inline:-24px;}
  .ap-wholesale-content__form {padding:25px 20px;}
}

/* Full WordPress/WooCommerce category tree navigation. Desktop dropdowns
 * mirror real terms; mobile drawer uses a readable child hierarchy. */
.desktop-nav { overflow:visible; }
.desktop-nav nav { gap:clamp(12px,2vw,25px); }
.desktop-nav .ap-nav-branch {position:relative;display:flex;align-items:center;min-height:40px;}
.desktop-nav .ap-nav-branch > a {white-space:nowrap;}
.desktop-nav .ap-nav-submenu {
  position:absolute;top:calc(100% - 1px);left:-18px;z-index:100;
  display:flex;flex-direction:column;min-width:210px;
  padding:9px 18px;background:var(--paper,#fffdf9);
  border:1px solid #ded4c5;box-shadow:0 14px 32px rgba(32,45,38,.12);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(6px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.desktop-nav .ap-nav-branch:hover .ap-nav-submenu,
.desktop-nav .ap-nav-branch:focus-within .ap-nav-submenu {
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
}
.desktop-nav .ap-nav-submenu a {
  display:block;padding:12px 0;border-bottom:1px solid #e8e0d6;
  font-size:10px;letter-spacing:.055em;
}
.desktop-nav .ap-nav-submenu a:last-child {border-bottom:0;}
.mobile-nav .ap-mobile-submenu {list-style:none;margin:4px 0 12px 13px;padding:0 0 0 14px;border-left:1px solid rgba(255,253,249,.28);}
.mobile-nav .ap-mobile-submenu li a {display:block;padding:10px 0;font-size:10px;opacity:.78;}
/* Curated 48-product photography replaces failed staging attachment URLs.
 * Keep photo proportions and preserve real WooCommerce pricing / stock. */
.ap-wc-content ul.products li.product img.ap-curated-photo {background:#f2efe8;}
.ap-collections__card img.ap-curated-photo,.ap-loved__photo img.ap-curated-photo {
  width:100%;height:100%;object-fit:cover;
}
.ap-wc-content .woocommerce-product-gallery__image img.ap-curated-photo {
  width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f2efe8;
}
@media(max-width:950px) {
  .desktop-nav {display:none;}
}

/*
 * 0.3.0 integration pass — the approved Manus visual system is the only
 * storefront shell. Native WooCommerce data flows inside this shell.
 * Consolidated primary navigation, four homepage collection tiles,
 * editorial shop hero, functional collection sidebar and responsive grid.
 */
.ap-sticky-shell .desktop-nav nav {
  gap:clamp(22px,3.2vw,47px);
  justify-content:center;
  flex-wrap:nowrap;
  min-height:45px;
}
.ap-sticky-shell .desktop-nav .ap-nav-branch > a {
  display:inline-flex;
  align-items:center;
  min-height:45px;
  font-size:11px;
  line-height:1.3;
  letter-spacing:.08em;
  font-weight:750;
}
.ap-sticky-shell .desktop-nav .ap-nav-submenu {
  max-height:min(68vh,610px);
  overflow-y:auto;
  width:max-content;
  max-width:280px;
  min-width:215px;
  left:50%;
  transform:translate(-50%,8px);
  padding:12px 19px;
}
.ap-sticky-shell .desktop-nav .ap-nav-branch:hover .ap-nav-submenu,
.ap-sticky-shell .desktop-nav .ap-nav-branch:focus-within .ap-nav-submenu {
  transform:translate(-50%,0);
}
.ap-sticky-shell .desktop-nav .ap-nav-branch:last-child .ap-nav-submenu {
  left:auto;right:0;
  transform:translateY(8px);
}
.ap-sticky-shell .desktop-nav .ap-nav-branch:last-child:hover .ap-nav-submenu,
.ap-sticky-shell .desktop-nav .ap-nav-branch:last-child:focus-within .ap-nav-submenu {
  transform:translateY(0);
}
.ap-sticky-shell .desktop-nav .ap-nav-submenu a {
  font-size:11px;
  text-transform:none;
  letter-spacing:.015em;
  line-height:1.45;
  white-space:normal;
}
.ap-sticky-shell .ap-header-brand .ap-brand-lockup {max-width:100%;}
.ap-sticky-shell .ap-header-brand .ap-brand-name {white-space:nowrap;}
.ap-sticky-shell .ap-header-search input {min-width:0;}
.ap-sticky-shell .ap-header-search {max-width:100%;}

/* The approved homepage component has exactly four category tiles. */
.ap-collections .ap-collections__cards {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.ap-collections .ap-collections__card {
  aspect-ratio:.84;
  overflow:hidden;
}
.ap-collections .ap-collections__card img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* Approved shop introduction, replacing the generic shop archive heading. */
.ap-wc-shop-hero {
  padding:clamp(45px,6vw,82px) 0;
  min-height:340px;
  overflow:hidden;
  isolation:isolate;
}
.ap-wc-shop-hero::after {right:1vw;bottom:-115px;opacity:.35;pointer-events:none;}
.ap-wc-shop-hero .ap-shop-hero-layout {
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);
  align-items:center;gap:clamp(20px,5vw,65px);
}
.ap-wc-shop-hero .display {
  max-width:620px;
  margin:10px 0 13px;
  font:500 clamp(43px,5vw,70px)/1.08 var(--serif,Georgia,serif);
  letter-spacing:-.035em;
}
.ap-wc-shop-hero .display em {color:#d5a078;font-weight:400;}
.ap-wc-shop-hero .ap-shop-hero-tagline {
  color:#d7e0d6;
  margin:12px 0 0;
  font-size:14px;
  line-height:1.8;
}
.ap-wc-shop-hero .ap-shop-hero-art {
  aspect-ratio:1.6;
  overflow:hidden;
  align-self:center;
  border:1px solid rgba(255,253,249,.15);
}
.ap-wc-shop-hero .ap-shop-hero-art img {
  width:100%;height:100%;object-fit:cover;
  object-position:35% center;
}
body.woocommerce-shop .ap-wc-content {
  padding-top:clamp(45px,5vw,70px);
}
.ap-wc-content .ap-shop-shell {
  display:grid;
  grid-template-columns:minmax(180px,220px) minmax(0,1fr);
  align-items:start;
  gap:clamp(28px,4vw,65px);
}
.ap-shop-results {min-width:0;}
.ap-shop-sidebar {min-width:0;}
.ap-shop-filter-panel {border-top:1px solid var(--line,#ded2c1);padding-top:20px;}
.ap-shop-filter-panel > summary {display:none;}
.ap-shop-filter-panel__content {display:block!important;}
.ap-shop-filter-navigation h2 {
  margin:0 0 21px;
  font:800 11px/1.5 var(--sans,Arial,sans-serif);
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--forest,#202d26);
}
.ap-shop-filter-group {padding:10px 0;border-bottom:1px solid var(--line,#ded2c1);}
.ap-shop-filter-root {
  display:flex;align-items:center;justify-content:space-between;
  padding:8px 0;
  color:var(--forest);
  font-size:13px;
  font-weight:650;
  line-height:1.5;
  text-decoration:none;
}
.ap-shop-filter-root.is-active {color:#a25a35;}
.ap-shop-filter-root.is-active::after {content:"●";font-size:7px;}
.ap-shop-filter-children {display:grid;gap:0;padding:0 0 7px 13px;}
.ap-shop-filter-children a {
  display:block;padding:7px 4px;
  color:var(--muted,#746c65);
  font-size:12px;line-height:1.5;
  text-decoration:none;
}
.ap-shop-filter-children a:hover,
.ap-shop-filter-children a[aria-current=page] {color:var(--forest);text-decoration:underline;text-underline-offset:3px;}
.ap-shop-results .woocommerce-breadcrumb {font-size:12px;line-height:1.6;}
.ap-shop-results .woocommerce-products-header {margin-bottom:23px;}
.ap-shop-results .woocommerce-products-header__title {font-size:clamp(38px,4vw,56px);}
.ap-shop-results .woocommerce-result-count {
  float:left;
  margin:0 0 22px;
  min-height:44px;
  line-height:44px;
}
.ap-shop-results .woocommerce-ordering {float:right;margin:0 0 22px;}
.ap-shop-results ul.products {clear:both;}
body.woocommerce .ap-shop-results ul.products,
body.woocommerce-page .ap-shop-results ul.products {
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(14px,1.9vw,24px);
  row-gap:30px;
  margin:5px 0 45px!important;
}
.ap-shop-results ul.products li.product .woocommerce-loop-product__title {
  font-size:clamp(20px,1.85vw,25px)!important;
  margin:0 17px 10px!important;
  font-weight:500!important;
  line-height:1.18!important;
  min-height:2.3em;
}
.ap-shop-results ul.products li.product .price {
  font-size:14px!important;
  font-weight:700!important;
  min-height:23px;
}
.ap-shop-results ul.products li.product .button {margin-top:auto!important;}
.ap-shop-results ul.products li.product .stock.out-of-stock,
.ap-shop-results ul.products li.product .outofstock,
.ap-shop-results ul.products li.product .woocommerce-LoopProduct-link + .button {
  font-size:12px;
}
.ap-shop-results ul.products li.product {transition:transform .23s ease,box-shadow .23s ease;}
.ap-shop-results ul.products li.product:hover {transform:translateY(-3px);box-shadow:0 12px 30px rgba(32,45,38,.10);}

/* The Customer Preview is narrow because the Customizer sidebar occupies
 * roughly 300px. Behave at the actual content width, not by shrinking text. */
@media(max-width:1100px) {
  .ap-sticky-shell .desktop-nav nav {gap:clamp(15px,2vw,26px);}
  .ap-wc-content .ap-shop-shell {grid-template-columns:minmax(165px,190px) minmax(0,1fr);gap:25px;}
  body.woocommerce .ap-shop-results ul.products,
  body.woocommerce-page .ap-shop-results ul.products {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:950px) {
  .ap-sticky-shell .desktop-nav {display:none;}
  .ap-collections .ap-collections__cards {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px) {
  .ap-wc-shop-hero {padding:48px 0 44px;min-height:0;}
  .ap-wc-shop-hero .ap-shop-hero-layout {grid-template-columns:1fr;gap:22px;}
  .ap-wc-shop-hero .ap-shop-hero-art {height:195px;aspect-ratio:auto;}
  .ap-wc-content .ap-shop-shell {display:block;}
  .ap-shop-sidebar {margin-bottom:22px;}
  .ap-shop-filter-panel {border:1px solid var(--line,#ded2c1);padding:0;}
  .ap-shop-filter-panel > summary {
    display:flex;justify-content:space-between;align-items:center;
    min-height:46px;padding:10px 16px;
    color:var(--forest);background:var(--paper);
    font-weight:750;font-size:12px;letter-spacing:.08em;
    text-transform:uppercase;cursor:pointer;
  }
  .ap-shop-filter-panel__content {display:none!important;padding:14px 18px 21px;}
  .ap-shop-filter-panel[open] .ap-shop-filter-panel__content {display:block!important;}
  .ap-shop-filter-navigation h2 {display:none;}
  .ap-shop-results .woocommerce-result-count {font-size:12px;}
  .ap-shop-results .woocommerce-ordering select {max-width:165px;}
}
@media(max-width:420px) {
  .ap-collections .ap-collections__cards {gap:9px;}
  body.woocommerce .ap-shop-results ul.products,
  body.woocommerce-page .ap-shop-results ul.products {gap:10px;}
  .ap-shop-results ul.products li.product .woocommerce-loop-product__title {font-size:19px!important;}
  .ap-shop-results .woocommerce-ordering, .ap-shop-results .woocommerce-result-count {
    float:none;width:100%;margin-bottom:9px;min-height:0;line-height:1.5;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ap-shop-results ul.products li.product,
  .ap-sticky-shell .desktop-nav .ap-nav-submenu {transition:none!important;}
}

/*
 * 0.3.1: Restore the ORIGINAL Manus adaptive sticky header.
 * Existing theme.js applies .ap-compact-header to <html> only after
 * meaningful desktop scroll. Dropdowns can overflow the expanded menu,
 * but MUST be clipped when the top navigation collapses.
 */
@media (min-width: 1001px) {
  html.ap-compact-header .ap-sticky-shell .desktop-nav {
    max-height:0!important;
    opacity:0!important;
    visibility:hidden!important;
    overflow:hidden!important;
    border-top:0!important;
    border-bottom:0!important;
    pointer-events:none!important;
  }
  html.ap-compact-header .ap-sticky-shell .ap-header-brand .nav-toggle {
    display:inline-grid!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  html:not(.ap-compact-header) .ap-sticky-shell .ap-header-brand .nav-toggle {
    visibility:hidden;
    pointer-events:none;
  }
  html:not(.ap-compact-header) .ap-sticky-shell .desktop-nav {
    max-height:56px;
    opacity:1;
    visibility:visible;
    overflow:visible;
    pointer-events:auto;
  }
}
@media(max-width:1000px) {
  .ap-sticky-shell .desktop-nav {display:none!important;}
  .ap-sticky-shell .ap-header-brand .nav-toggle {
    display:inline-grid!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ap-sticky-shell .desktop-nav,
  .ap-sticky-shell .ap-header-brand .nav-toggle {transition:none!important;}
}

/*
 * ORIGINAL MANUS PARITY — source /catalog-preview.css editorial banner.
 * Earlier WordPress adaptations changed the full-bleed photo to a small boxed
 * image and made the compact header several times taller. Match the actual
 * approved source rather than the screenshots of an intermediate adaptation.
 */
.ap-wc-shop-hero.page-hero,
.ap-manus-original-wholesale .ap-wholesale-original-hero.page-hero {
  position:relative;
  padding:16px 0 18px;
  min-height:0;
  isolation:isolate;
  overflow:hidden;
}
.ap-wc-shop-hero.page-hero::after,
.ap-manus-original-wholesale .ap-wholesale-original-hero.page-hero::after {
  width:92px;height:92px;right:5%;bottom:-64px;opacity:.35;
}
.ap-wc-shop-hero .ap-shop-hero-layout,
.ap-manus-original-wholesale .ap-shop-hero-layout {
  position:relative;
  min-height:140px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,.88fr);
  align-items:center;
  gap:30px;
}
.ap-wc-shop-hero .ap-shop-hero-layout > div:first-child,
.ap-manus-original-wholesale .ap-shop-hero-layout > div:first-child {
  position:relative;z-index:3;
}
.ap-wc-shop-hero .breadcrumbs,
.ap-manus-original-wholesale .ap-shop-compact-hero .breadcrumbs {margin-bottom:7px;}
.ap-wc-shop-hero .eyebrow,
.ap-manus-original-wholesale .ap-shop-compact-hero .eyebrow {margin:0 0 4px;}
.ap-wc-shop-hero .display,
.ap-manus-original-wholesale .ap-shop-compact-hero .display {
  margin:0;max-width:590px;
  font-size:clamp(34px,3.7vw,52px);
  line-height:1.05;
}
.ap-wc-shop-hero .ap-shop-hero-tagline,
.ap-manus-original-wholesale .ap-shop-compact-hero .ap-shop-hero-tagline {
  margin:8px 0 0;max-width:440px;
  color:#d4dfd4;font-size:13px;line-height:1.5;
}
.ap-wc-shop-hero .ap-shop-hero-art,
.ap-manus-original-wholesale .ap-shop-hero-art {
  position:absolute;
  top:-16px;bottom:-18px;right:calc((var(--container) - 100vw)/2);
  z-index:1;pointer-events:none;
  width:min(53vw,830px);
  height:auto;aspect-ratio:auto;
  overflow:hidden;
  border:0;
}
.ap-wc-shop-hero .ap-shop-hero-art::before,
.ap-manus-original-wholesale .ap-shop-hero-art::before {
  content:"";position:absolute;z-index:2;inset:0;
  background:linear-gradient(90deg,#202d26 1%,rgba(32,45,38,.72) 19%,rgba(32,45,38,.03) 70%);
}
.ap-wc-shop-hero .ap-shop-hero-art img,
.ap-manus-original-wholesale .ap-shop-hero-art img {
  display:block;width:100%;height:100%;object-fit:cover;
  object-position:56% center;transform:scaleX(-1);
}
@media(max-width:900px){
  .ap-wc-shop-hero .ap-shop-hero-layout,
  .ap-manus-original-wholesale .ap-shop-hero-layout {grid-template-columns:1fr;min-height:122px;}
  .ap-wc-shop-hero .ap-shop-hero-art,
  .ap-manus-original-wholesale .ap-shop-hero-art {width:66vw;opacity:.7;}
}
@media(max-width:680px){
  .ap-wc-shop-hero.page-hero,
  .ap-manus-original-wholesale .ap-wholesale-original-hero.page-hero {padding:13px 0 15px;}
  .ap-wc-shop-hero .ap-shop-hero-layout,
  .ap-manus-original-wholesale .ap-shop-hero-layout {min-height:104px;gap:9px;}
  .ap-wc-shop-hero .display,
  .ap-manus-original-wholesale .ap-shop-compact-hero .display {font-size:clamp(30px,8vw,41px);max-width:80%;}
  .ap-wc-shop-hero .ap-shop-hero-tagline,
  .ap-manus-original-wholesale .ap-shop-compact-hero .ap-shop-hero-tagline {max-width:75%;font-size:11px;}
  .ap-wc-shop-hero .ap-shop-hero-art,
  .ap-manus-original-wholesale .ap-shop-hero-art {
    top:-13px;bottom:-15px;right:-16px;width:77vw;opacity:.5;
  }
  .ap-wc-shop-hero .ap-shop-hero-art::before,
  .ap-manus-original-wholesale .ap-shop-hero-art::before {
    background:linear-gradient(90deg,#202d26 2%,rgba(32,45,38,.78) 32%,rgba(32,45,38,.12) 100%);
  }
}
/* Original approved B2B form layout: match .wholesale-grid without the
 * alternative bespoke landing introduced in earlier WordPress adaptations. */
.ap-manus-original-wholesale .wholesale-layout {padding:clamp(58px,8vw,110px) 0 120px;}
.ap-manus-original-wholesale .wholesale-grid {
  display:grid;grid-template-columns:.85fr 1.15fr;
  gap:clamp(35px,8vw,115px);align-items:start;
}
.ap-manus-original-wholesale .ap-wholesale-original-form .ap-wholesale-widget {
  max-width:none;margin:0;
}
.ap-manus-original-wholesale .ap-wholesale-original-form .ap-wholesale-mail-form,
.ap-manus-original-wholesale .ap-wholesale-original-form .concept-form {
  background:#eee3d5;padding:clamp(25px,4vw,46px);border:0;
}
.ap-manus-original-wholesale .wholesale-aside .step-list {list-style:none;}
@media(max-width:800px){
  .ap-manus-original-wholesale .wholesale-grid {grid-template-columns:1fr;gap:32px;}
}
/* Header live-search suggestions adopt the original search component CSS.
 * Require hidden to override all display rules (including plugin resets). */
.ap-header-search {z-index:42;}
.ap-header-search .ap-search-suggestions[hidden] {display:none!important;}
.ap-search-suggestions__list {list-style:none;padding:0;margin:0;}
.ap-search-suggestions__item {
  display:flex;align-items:center;gap:12px;min-height:53px;
  padding:8px 15px;color:var(--forest);
  font-size:12px;line-height:1.35;
}
.ap-search-suggestions__item:hover,
.ap-search-suggestions__item.is-active,
.ap-search-suggestions__item:focus-visible {background:#f2e9dc;}

/*
 * 0.5.0 — Original Manus Shop EXACT visual components, not WooCommerce
 * default cards and an excessively long taxonomy tree.
 * Original reference: shop/index.html + styles.css + catalog-preview.css.
 * Currency, stock and purchasing remain WooCommerce-owned.
 */
body.woocommerce-shop .ap-wc-content,
body.tax-product_cat .ap-wc-content {
  padding-top:24px;
}
.ap-shop-catalog.shop-layout {padding:0 0 120px;}
.ap-shop-catalog .shop-toolbar {
  min-height:55px;display:flex;align-items:center;justify-content:space-between;
  gap:20px;margin:0 0 28px;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.ap-shop-catalog .shop-toolbar .ap-shop-count {
  flex:1;min-width:0;margin:0;color:var(--muted);font-size:12px;
}
.ap-shop-catalog .shop-toolbar .woocommerce-ordering {
  float:none;margin:0;flex:none;
}
.ap-shop-catalog .shop-toolbar .woocommerce-ordering select {
  min-height:35px;max-width:170px;padding:6px 12px;
  background:transparent;border:1px solid var(--line);font-size:12px;
}
.ap-shop-catalog .shop-toolbar .shop-filter-trigger {display:none;}
.ap-shop-catalog .shop-body {
  display:grid;grid-template-columns:220px minmax(0,1fr);
  gap:clamp(25px,5vw,70px);align-items:start;
}
.ap-shop-catalog .shop-filters {position:sticky;top:155px;align-self:start;}
.ap-shop-catalog .filter-group {
  padding:18px 0;border:0;border-top:1px solid var(--line);
}
.ap-shop-catalog .filter-group:last-child {border-bottom:1px solid var(--line);}
.ap-shop-catalog .filter-group h3 {
  display:block;margin:0 0 12px;color:var(--forest);
  font:800 10px/1.5 var(--sans,Arial,sans-serif);
  letter-spacing:.12em;text-transform:uppercase;
}
.ap-shop-catalog .ap-filter-description {
  margin:0;color:var(--muted);font-size:12px;line-height:1.6;
}
.ap-shop-catalog .filter-option {
  display:flex;align-items:center;width:100%;
  gap:9px;padding:6px 0;border:0;background:transparent;
  color:var(--muted);font-size:12px;font-weight:400;text-align:left;
  text-decoration:none;
}
.ap-shop-catalog .filter-option:hover,
.ap-shop-catalog .filter-option.is-active {color:var(--forest);font-weight:750;}
.ap-shop-catalog .search-row {
  display:flex;align-items:center;gap:10px;margin:0 0 21px;
  padding:0 0 11px;border-bottom:1px solid var(--forest);
}
.ap-shop-catalog .search-row input[type="search"] {
  width:100%;min-width:0;min-height:0;padding:6px 0;border:0!important;
  outline:0;background:transparent;color:var(--forest);
  font:400 25px/1.35 var(--serif,Georgia,serif);
}
.ap-shop-catalog .search-row input::placeholder {color:#a69d95;}
.ap-shop-catalog .search-row button {
  flex:none;padding:4px;border:0;background:transparent;color:var(--forest);
  font-size:24px;line-height:1;cursor:pointer;
}
.ap-shop-catalog .search-row:focus-within {border-color:var(--copper);}
.ap-shop-catalog .search-row button:focus-visible {outline:2px solid var(--copper);}
.ap-shop-results {min-width:0;}
.ap-shop-results .woocommerce-notices-wrapper:empty,
.ap-shop-results .woocommerce-products-header:empty {display:none;}
.ap-shop-results ul.products {clear:both;}
body.woocommerce .ap-shop-results ul.products,
body.woocommerce-page .ap-shop-results ul.products {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;margin:0 0 38px!important;
}
body.woocommerce .ap-shop-results ul.products li.product.product-card,
body.woocommerce-page .ap-shop-results ul.products li.product.product-card {
  display:block!important;float:none!important;width:auto!important;
  padding:0!important;margin:0!important;min-width:0;
  border:1px solid rgba(42,31,27,.08);background:var(--paper);
  box-shadow:none;transform:none;
}
.ap-shop-results ul.products li.product.product-card:hover {
  transform:none;box-shadow:0 8px 22px rgba(32,45,38,.07);
}
.ap-shop-results .product-card .product-card__image {
  display:block;position:relative;aspect-ratio:4/3;
  background:#e9dfd1;overflow:hidden;
}
.ap-shop-results .product-card .product-card__image img {
  display:block;width:100%;height:100%;aspect-ratio:4/3;
  object-fit:cover;margin:0!important;
  transition:transform .45s var(--ease);
}
.ap-shop-results .product-card:hover .product-card__image img {transform:scale(1.04);}
.ap-shop-results .product-card .product-card__body {padding:19px 20px 21px;}
.ap-shop-results .product-card .product-card__eyebrow {
  margin:0 0 7px;color:var(--copper-text);
  font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.ap-shop-results .product-card .product-card__body h3 {
  margin:0;color:var(--forest);font:500 25px/1.05 var(--serif,Georgia,serif);
}
.ap-shop-results .product-card .product-card__body h3 a {color:inherit;text-decoration:none;}
.ap-shop-results .product-card .product-card__meta {
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;margin-top:16px;color:var(--muted);
  font-size:11px;line-height:1.45;
}
.ap-shop-results .product-card .product-card__meta .ap-card-explore {
  margin-left:auto;color:var(--forest);font-size:10px;font-weight:800;
  letter-spacing:.08em;text-decoration:none;text-transform:uppercase;
}
.ap-shop-results .product-card .product-card__meta .ap-card-explore:hover {text-decoration:underline;}
.ap-shop-results .product-card .ap-card-availability {color:#805d4c;}
.ap-shop-results .product-card .ap-card-price {color:var(--forest);}
.ap-shop-results .product-card .ap-card-price .amount {font-weight:700;}
.ap-shop-results .product-card .ap-card-price del {font-weight:400;opacity:.65;}
.ap-shop-results .product-card .ap-card-price ins {text-decoration:none;}
@media(max-width:1100px) {
  .ap-shop-catalog .shop-body {grid-template-columns:185px minmax(0,1fr);gap:25px;}
  body.woocommerce .ap-shop-results ul.products,
  body.woocommerce-page .ap-shop-results ul.products {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:680px) {
  body.woocommerce-shop .ap-wc-content,body.tax-product_cat .ap-wc-content {padding-top:15px;}
  .ap-shop-catalog .shop-toolbar {margin-bottom:18px;}
  .ap-shop-catalog .shop-toolbar .shop-filter-trigger {display:inline-flex;}
  .ap-shop-catalog .shop-body {display:block;}
  .ap-shop-catalog .shop-filters {position:static;display:none;margin:0 0 25px;}
  .ap-shop-catalog .shop-filters.is-open {display:block;}
  .ap-shop-catalog .search-row input[type="search"] {font-size:20px;}
  body.woocommerce .ap-shop-results ul.products,
  body.woocommerce-page .ap-shop-results ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;
  }
  .ap-shop-results .product-card .product-card__image {aspect-ratio:4/3;}
  .ap-shop-results .product-card .product-card__body {padding:14px 13px 16px;}
  .ap-shop-results .product-card .product-card__body h3 {font-size:21px;}
  .ap-shop-results .product-card .product-card__meta {display:block;margin-top:9px;}
  .ap-shop-results .product-card .ap-card-explore {display:block;margin-top:7px;}
}
@media(max-width:420px) {
  .ap-shop-catalog .shop-toolbar {flex-wrap:wrap;gap:8px;}
  .ap-shop-catalog .shop-toolbar .woocommerce-ordering select {max-width:130px;}
  .ap-shop-results .product-card .product-card__body h3 {font-size:18px;}
}
@media(prefers-reduced-motion:reduce) {
  .ap-shop-results .product-card .product-card__image img {transition:none;}
}

/* Source product/apricots/index.html gallery/detail/accordion composition
 * with real WooCommerce variants, gallery and product information. */
body.single-product .ap-wc-content {padding-top:20px;}
.ap-manus-single.product-detail {padding:clamp(24px,4vw,52px) 0 100px;}
.ap-manus-single .ap-product-crumbs {
  color:var(--muted);margin:0 0 28px;font-size:10px;
}
.ap-manus-single .ap-product-crumbs span:last-child {color:var(--copper-text);}
body.single-product .ap-wc-content div.product.ap-product-manus {
  display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(30px,7vw,100px);align-items:start;
}
body.single-product .ap-product-manus .product-gallery,
body.single-product .ap-product-manus .product-info {min-width:0;}
body.single-product .ap-product-manus .product-gallery div.images,
body.single-product .ap-product-manus .product-info.summary {
  width:100%!important;float:none!important;clear:none!important;margin:0!important;
}
body.single-product .ap-product-manus .product-gallery .woocommerce-product-gallery {
  position:relative;overflow:visible;margin:0;width:100%!important;
}
body.single-product .ap-product-manus .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)) {
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__wrapper {
  min-width:0;grid-column:2;grid-row:1;
}
body.single-product .ap-product-manus .flex-control-thumbs {
  display:flex!important;flex-direction:column;gap:10px;
  grid-column:1;grid-row:1;margin:0!important;padding:0!important;
}
body.single-product .ap-product-manus .flex-control-thumbs li {
  width:72px!important;height:72px!important;float:none!important;
  overflow:hidden;border:1px solid transparent;background:#eadfce;
}
body.single-product .ap-product-manus .flex-control-thumbs li:has(img.flex-active) {border-color:var(--forest);}
body.single-product .ap-product-manus .flex-control-thumbs img {
  width:100%!important;height:100%!important;object-fit:cover;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__image,
body.single-product .ap-product-manus .woocommerce-product-gallery__image img {
  width:100%;height:auto;max-height:650px;background:#e9dfd1;
}
body.single-product .ap-product-manus .product-info > .eyebrow {
  color:var(--copper-text);margin:0 0 12px;
}
body.single-product .ap-product-manus .product-info .product_title {
  max-width:100%;margin:0 0 16px;
  color:var(--forest);font:500 clamp(36px,4.5vw,62px)/1.06 var(--serif,Georgia,serif);
}
body.single-product .ap-product-manus .product-info .woocommerce-product-details__short-description {
  font-size:14px;color:var(--muted);line-height:1.8;
}
body.single-product .ap-product-manus .product-info form.variations_form {margin:22px 0 18px;}
body.single-product .ap-product-manus .product-info .variations th,
body.single-product .ap-product-manus .product-info .variations td {padding:5px 0 11px;}
body.single-product .ap-product-manus .product-info .variations label {
  font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
}
body.single-product .ap-product-manus .product-info .variations select {
  min-height:44px;padding:8px 12px;background:var(--paper);
  border:1px solid var(--line);border-radius:0;
}
body.single-product .ap-product-manus .detail-accordion {margin-top:28px;}
body.single-product .ap-product-manus .detail-accordion details {
  border-top:1px solid var(--line);padding:0;
}
body.single-product .ap-product-manus .detail-accordion details:last-child {
  border-bottom:1px solid var(--line);
}
body.single-product .ap-product-manus .detail-accordion summary {
  display:flex;justify-content:space-between;align-items:center;
  padding:18px 0;color:var(--forest);font-size:11px;font-weight:800;
  letter-spacing:.10em;text-transform:uppercase;cursor:pointer;
}
body.single-product .ap-product-manus .detail-accordion summary span {
  font-size:18px;font-weight:400;
}
body.single-product .ap-product-manus .detail-accordion p,
body.single-product .ap-product-manus .detail-accordion .ap-detail-copy {
  margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.8;
}
body.single-product .ap-product-manus .detail-accordion a {
  color:var(--forest);text-decoration:underline;text-underline-offset:3px;
}
body.single-product .ap-manus-single-extras {margin-top:55px;clear:both;}
@media(max-width:800px) {
  body.single-product .ap-wc-content div.product.ap-product-manus {grid-template-columns:1fr;gap:26px;}
  body.single-product .ap-product-manus .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)) {grid-template-columns:1fr;}
  body.single-product .ap-product-manus .woocommerce-product-gallery__wrapper {grid-column:1;grid-row:1;}
  body.single-product .ap-product-manus .flex-control-thumbs {grid-column:1;grid-row:2;flex-direction:row;gap:10px;}
  body.single-product .ap-product-manus .flex-control-thumbs li {width:62px!important;height:62px!important;}
}

/* 0.6.0 — approved product-card purchase controls and responsive refined UI.
 * The photo/typography/card geometry stays the original Manus design. */
.ap-shop-results .product-card .product-card__meta {
  display:flex;flex-direction:column;align-items:stretch;gap:10px;
  margin-top:16px;
}
.ap-shop-results .product-card .ap-card-commercial {
  display:flex;align-items:center;min-height:23px;gap:8px;
  font-size:13px;line-height:1.5;color:var(--forest);
}
.ap-shop-results .product-card .ap-card-price {display:inline-block;font-size:13px;}
.ap-shop-results .product-card .ap-card-purchase {display:flex;align-items:center;min-height:40px;}
.ap-shop-results .product-card .ap-card-purchase .button,
.ap-shop-results .product-card .ap-card-purchase .added_to_cart {
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;
  width:100%;margin:0!important;padding:11px 16px!important;
  color:var(--paper)!important;background:var(--forest)!important;
  border:1px solid var(--forest);border-radius:1px!important;
  font:750 11px/1.5 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.08em;text-align:center;text-transform:uppercase;
  transition:background .2s,color .2s,border-color .2s;
}
.ap-shop-results .product-card .ap-card-purchase .button:hover {
  color:var(--forest)!important;background:transparent!important;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore {
  display:inline-flex;align-items:center;gap:8px;
  margin:0;color:var(--forest);
  font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  text-decoration:underline;text-underline-offset:5px;
  transition:color .2s;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore:hover {color:var(--copper-text);}
.ap-shop-results .product-card .product-card__status {
  position:absolute;top:12px;left:12px;right:auto;
  z-index:2;color:#fefbf3;background:var(--forest);opacity:.96;
  padding:6px 9px;font:700 9px/1.4 var(--sans,Arial,sans-serif);
  letter-spacing:.08em;text-transform:uppercase;
}
@media(max-width:680px) {
  .ap-shop-results .product-card .product-card__meta {display:flex;gap:10px;}
  .ap-shop-results .product-card .ap-card-purchase .button {padding:9px!important;font-size:10px!important;}
  .ap-shop-results .product-card .ap-card-price {font-size:11px;}
}

/*
 * 0.6.0 — Manus cart/checkout/account and policy presentation.
 * Real WC blocks/shortcodes render inside the approved editorial structures.
 */
.ap-wc-real-cart .ap-cart-preview.ap-wc-cart-grid {
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);
  gap:clamp(28px,5vw,72px);align-items:start;
}
.ap-wc-real-cart .ap-cart-preview__empty.ap-wc-cart-live {
  min-width:0;margin:0;padding:0;background:transparent;border:0;
  text-align:left;
}
.ap-wc-real-cart .ap-cart-preview__empty.ap-wc-cart-live .ap-wc-content {
  padding:0;margin:0;max-width:none;
}
.ap-wc-real-cart .ap-cart-how {align-self:start;min-width:0;}
.ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__main,
.ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__sidebar {
  flex-basis:auto!important;width:100%!important;max-width:100%!important;
}
.ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__content {
  display:block!important;
}
.ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__sidebar {
  padding:20px 0 0!important;
}
.ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__submit {margin-top:20px;}
.ap-wc-real-checkout .ap-checkout-guide {margin-top:35px;}
.ap-wc-real-checkout .ap-checkout-live {
  margin:clamp(40px,6vw,75px) 0 0;padding:clamp(25px,5vw,55px) 0 0;
  border-top:1px solid var(--line);max-width:none;
}
.ap-wc-real-checkout .ap-checkout-live .wc-block-checkout,
.ap-wc-real-checkout .ap-checkout-live form.checkout {
  width:100%;max-width:none;
}
.ap-wc-real-checkout .ap-checkout-guide__summary {height:max-content;}
.ap-wc-real-account .ap-account-live {
  max-width:1040px;margin:30px 0 0;padding:0 0 45px;
}
.ap-wc-real-account .ap-account-live .woocommerce {max-width:100%;}
.ap-wc-real-account .ap-manus-account-guide {
  margin:0 0 40px;max-width:100%;
}
.ap-wc-real-account .ap-help-card {min-width:0;}
.ap-manus-real-policy .ap-policies-page {padding-bottom:110px;}
.ap-manus-real-policy .ap-policy-body--live {overflow-wrap:anywhere;}
.ap-manus-real-policy .ap-policy-body--live > :first-child {margin-top:0;}
.ap-manus-real-policy .ap-policy-body--live h2,
.ap-manus-real-policy .ap-policy-body--live h3 {
  color:var(--forest);font-family:var(--serif,Georgia,serif);
  font-weight:500;line-height:1.22;
}
.ap-manus-real-policy .ap-policy-body--live h2 {font-size:clamp(23px,2.4vw,33px);}
.ap-manus-real-policy .ap-policy-body--live h3 {font-size:21px;}
.ap-manus-real-policy .ap-policy-body--live p,
.ap-manus-real-policy .ap-policy-body--live li {
  color:var(--muted);font-size:14px;line-height:1.85;
}
.ap-manus-real-policy .ap-policy-body--live a {
  color:var(--forest);text-decoration:underline;text-underline-offset:3px;
}
.ap-manus-real-policy .ap-policy-body--live table {width:100%;max-width:100%;border-collapse:collapse;}
.ap-manus-real-policy .ap-policy-body--live th,
.ap-manus-real-policy .ap-policy-body--live td {
  padding:12px;border:1px solid var(--line);vertical-align:top;
}
.footer-bottom .ap-footer-controls {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:20px;
}
.footer-bottom .ap-footer-controls a,
.footer-bottom .ap-cookie-settings-button {
  color:inherit;background:transparent;border:0;padding:0;
  font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
.footer-bottom .ap-cookie-settings-button:focus-visible {
  outline:2px solid var(--copper);outline-offset:5px;
}
@media(max-width:960px) {
  .ap-wc-real-cart .ap-cart-preview.ap-wc-cart-grid {grid-template-columns:1fr;}
  .ap-wc-real-cart .ap-cart-how {max-width:650px;}
}
@media(max-width:680px) {
  .ap-wc-real-checkout .ap-checkout-live {padding-top:25px;}
  .ap-wc-real-account .ap-account-live {margin-top:20px;}
  .ap-wc-real-cart .ap-wc-cart-live .wc-block-cart__main {overflow-x:auto;}
  .footer-bottom .ap-footer-controls {justify-content:flex-start;}
}

/*
 * 0.7.0 - root-cause repair for tiny WooCommerce gallery.
 *
 * Original Manus CSS creates a 72px + 1fr grid on .product-gallery, intended
 * for TWO direct children (thumb strip + hero image). Native WooCommerce
 * inserts ONE gallery child, which was allocated only the 72px column.
 * Do not apply that two-child grid to WooCommerce's native gallery parent.
 * Preserve WooCommerce photo URLs, variation hooks and native click lightbox.
 */
body.single-product .ap-product-manus .product-gallery {
  display:block!important;min-width:0;width:100%;position:relative;
}
body.single-product .ap-product-manus .product-gallery > .woocommerce-product-gallery,
body.single-product .ap-product-manus .product-gallery > div.images {
  display:block;position:relative;width:100%!important;
  max-width:100%!important;margin:0!important;float:none!important;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__wrapper {
  grid-column:auto;grid-row:auto;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__image {
  position:relative;margin:0;overflow:hidden;
  background:#e9dfd1;min-width:0;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__image > a {
  display:block;position:relative;width:100%;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__image img.ap-curated-photo,
body.single-product .ap-product-manus .woocommerce-product-gallery__image img.wp-post-image {
  display:block;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;object-fit:cover;
  aspect-ratio:4/3;background:#e9dfd1;
  transition:transform .4s ease;transform-origin:var(--ap-zoom-x,50%) var(--ap-zoom-y,50%);
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.single-product .ap-product-manus .woocommerce-product-gallery__image.ap-zoom-target {
    cursor:zoom-in;
  }
  body.single-product .ap-product-manus .woocommerce-product-gallery__image.ap-zoom-target.is-zooming img.ap-curated-photo,
  body.single-product .ap-product-manus .woocommerce-product-gallery__image.ap-zoom-target.is-zooming img.wp-post-image {
    transform:scale(1.65);
  }
}
body.single-product .ap-product-manus .woocommerce-product-gallery__trigger {
  z-index:3!important;width:42px!important;height:42px!important;top:16px!important;right:16px!important;
  background:rgba(255,251,245,.96)!important;border:1px solid rgba(26,47,36,.15)!important;
  border-radius:2px!important;
}
body.single-product .ap-product-manus .woocommerce-product-gallery__image--placeholder {
  min-height:360px;display:flex;align-items:center;justify-content:center;
}
body.single-product .ap-product-manus .product-info.summary {
  min-width:0;align-self:start;
}
body.single-product .ap-product-manus .product-info .woocommerce-variation-price .price,
body.single-product .ap-product-manus .product-info .summary p.price,
body.single-product .ap-product-manus .product-info > p.price {
  font-size:clamp(20px,2.1vw,29px)!important;
  color:var(--forest)!important;line-height:1.45!important;
  letter-spacing:-.025em;
}
body.single-product .ap-product-manus .product-info .variations_form .single_variation_wrap {
  margin-top:12px;padding-top:17px;border-top:1px solid var(--line);
}
body.single-product .ap-product-manus .product-info form.cart .quantity {margin-right:9px;}
body.single-product .ap-product-manus .product-info form.cart button.single_add_to_cart_button {
  min-height:50px;padding:14px 26px!important;transition:background .2s ease;
}
body.single-product .ap-product-manus .product-info .woocommerce-product-details__short-description {
  padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--line);
}
body.single-product .ap-product-manus .product-info .product_meta {
  padding:14px 0;border-bottom:1px solid var(--line);
  font-size:11px;opacity:.82;
}
body.single-product .ap-product-manus .detail-accordion .ap-detail-copy {
  max-width:100%;overflow-wrap:anywhere;
}
body.single-product .ap-product-manus .detail-accordion .ap-detail-copy ul {
  margin:0 0 24px;padding-left:21px;
}
body.single-product .ap-product-manus .detail-accordion .ap-detail-copy li {
  margin:0 0 8px;font-size:13px;line-height:1.75;color:var(--muted);
}
/* The source luxury card uses compact editorial typography and a confident CTA.
   Reserve decorative spacing for imagery, not blank empty card body. */
.ap-shop-results .product-card .product-card__body {
  display:flex;flex-direction:column;padding:18px 20px 22px;gap:0;min-width:0;
}
.ap-shop-results .product-card .product-card__body h3 {
  margin:5px 0 0;font:500 clamp(20px,1.75vw,26px)/1.15 var(--serif,Georgia,serif);
  overflow-wrap:break-word;
}
.ap-shop-results .product-card .product-card__meta {margin-top:auto;padding-top:19px;gap:13px;}
.ap-shop-results .product-card .ap-card-commercial {font-size:13px;}
.ap-shop-results .product-card .ap-card-price {font-size:14px;font-weight:550;}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore {
  width:100%;min-height:43px;justify-content:space-between;
  padding:11px 14px;border:1px solid var(--forest);
  color:var(--forest);font-size:11px;text-decoration:none;
  letter-spacing:.065em;
  transition:background .22s ease,color .22s ease;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore:hover,
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore:focus-visible {
  background:var(--forest);color:var(--paper);outline-offset:3px;
}
body.woocommerce .ap-shop-results ul.products,
body.woocommerce-page .ap-shop-results ul.products {gap:clamp(16px,2.3vw,27px);}
body.woocommerce .ap-shop-results ul.products li.product.product-card,
body.woocommerce-page .ap-shop-results ul.products li.product.product-card {
  display:flex!important;flex-direction:column!important;
  border:1px solid #ded6ca;min-width:0;
  transition:box-shadow .24s ease,border-color .24s ease;
}
body.woocommerce .ap-shop-results ul.products li.product.product-card:hover {
  border-color:#b7a18b;box-shadow:0 16px 36px rgba(36,52,40,.09);
}
.ap-shop-results .product-card__image img {
  will-change:auto;
}
@media(max-width:680px) {
  body.single-product .ap-product-manus .product-gallery {width:100%;}
  body.single-product .ap-product-manus .woocommerce-product-gallery__image img.ap-curated-photo,
  body.single-product .ap-product-manus .woocommerce-product-gallery__image img.wp-post-image {
    aspect-ratio:4/3;
  }
  .ap-shop-results .product-card .product-card__body {padding:13px 13px 17px;}
  .ap-shop-results .product-card .product-card__body h3 {font-size:19px;}
  .ap-shop-results .product-card .product-card__meta {padding-top:12px;}
  .ap-shop-results .product-card .ap-card-purchase .ap-card-explore {padding:9px 10px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce) {
  body.single-product .ap-product-manus .woocommerce-product-gallery__image img {transition:none!important;transform:none!important;}
}

/*
 * MANUS 0.8.0 — consolidated owner-approved luxury storefront polish.
 * Source photography only. Unified all-products/related cards, functional
 * variation/cart controls, source gallery, one-page policy center.
 */
body.single-product .ap-product-manus .product-gallery,
body.single-product .ap-product-manus .ap-curated-gallery {
  display:block!important;position:relative;width:100%;min-width:0;
}
.ap-curated-gallery__stage {
  position:relative;overflow:hidden;background:#e9dfd1;
  min-height:clamp(280px,32vw,560px);
}
.ap-curated-gallery__open {
  appearance:none;display:block;position:relative;
  width:100%;min-height:inherit;padding:0;border:0;
  background:transparent;overflow:hidden;cursor:zoom-in;
  color:var(--forest);text-align:left;
}
.ap-curated-gallery__open > img.ap-curated-photo {
  display:block;width:100%;height:100%;aspect-ratio:4/3;
  object-fit:cover;background:#e9dfd1;
  transition:transform .42s cubic-bezier(.2,.7,.2,1);
  transform-origin:var(--ap-zoom-x,50%) var(--ap-zoom-y,50%);
}
.ap-curated-gallery__open:focus-visible {
  outline:3px solid var(--copper);outline-offset:-5px;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .ap-curated-gallery__open.is-zooming > img.ap-curated-photo {transform:scale(1.48);}
}
.ap-curated-gallery__zoom-hint {
  position:absolute;bottom:18px;right:18px;display:inline-flex;
  align-items:center;gap:7px;padding:10px 13px;
  color:#fdf8f0;background:rgba(27,47,36,.92);
  font:800 10px/1.1 var(--sans,Arial,sans-serif);
  letter-spacing:.09em;text-transform:uppercase;
}
.ap-curated-gallery__foot {
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:10px;
  padding:15px 1px 0;color:var(--muted);
  font:650 10px/1.45 var(--sans,Arial,sans-serif);
  letter-spacing:.035em;
}
.ap-curated-lightbox[hidden] {display:none!important;}
.ap-curated-lightbox {
  position:fixed;z-index:999999;
  inset:0;display:grid;place-items:center;
  padding:clamp(16px,4vw,40px);background:rgba(17,28,22,.93);
}
html.ap-curated-modal-open {overflow:hidden;}
.ap-curated-lightbox__dialog {
  position:relative;display:flex;flex-direction:column;align-items:center;
  max-width:min(1100px,96vw);max-height:92vh;outline:none;
}
.ap-curated-lightbox__dialog img {
  display:block;width:auto;max-width:100%;
  max-height:calc(92vh - 80px);object-fit:contain;
  border:1px solid rgba(255,255,255,.13);
}
.ap-curated-lightbox__dialog p {
  margin:13px 0 0;color:#fcf8ee;text-align:center;
  font:500 17px/1.3 var(--serif,Georgia,serif);
}
.ap-curated-lightbox__close {
  position:absolute;top:-14px;right:-14px;
  display:grid;place-items:center;z-index:2;
  width:44px;height:44px;border-radius:50%;
  border:1px solid #e0d5c5;background:#fffaf1;color:#203326;
  font:400 29px/1 Arial;cursor:pointer;
}
.ap-curated-lightbox__close:focus-visible {outline:3px solid #d9a478;outline-offset:4px;}
.ap-approved-placeholder {
  aspect-ratio:4/3;min-height:150px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:14px;padding:20px;color:#695f55;background:#e9dfd1;text-align:center;
}
.ap-approved-placeholder img {width:clamp(70px,30%,140px)!important;height:auto!important;opacity:.7;}
.ap-approved-placeholder span {font-size:11px;letter-spacing:.07em;text-transform:uppercase;}
.ap-product-manus .product-info.summary .woocommerce-product-details__short-description {
  padding:17px 0 20px;margin:15px 0 18px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  color:var(--muted);font-size:13px;line-height:1.75;
}
.ap-product-manus .product-info.summary .product_title {
  letter-spacing:-.035em!important;font-size:clamp(34px,3.65vw,57px)!important;
  line-height:1.08!important;
}
.ap-product-manus .product-info.summary > p.price {
  display:block;color:var(--forest)!important;font-size:20px!important;
  font-weight:600!important;margin:17px 0!important;
}
.ap-product-manus .product-info.summary form.variations_form {
  padding:17px 0 12px;border-top:1px solid var(--line);
}
.ap-product-manus .product-info.summary .variations select {
  min-width:180px;min-height:48px;
  border:1px solid #c6b6a5;background:#fffaf4;
  padding:11px 15px;border-radius:6px;
}
.ap-product-manus .product-info.summary .single_add_to_cart_button {
  background:var(--forest)!important;color:#fff!important;
  border-radius:999px!important;min-height:49px!important;
  padding:13px 30px!important;transition:transform .2s ease,background .2s ease;
}
.ap-product-manus .product-info.summary .single_add_to_cart_button:not(:disabled):hover {
  background:#30543f!important;transform:translateY(-1px);
}
.ap-product-manus .product-info.summary .single_variation_wrap .woocommerce-variation-price {
  margin:10px 0;color:var(--forest);
}
.ap-product-manus .product-info.summary .stock.out-of-stock {
  display:inline-flex;align-items:center;gap:8px;
  color:#8f4a36!important;font-size:12px;font-weight:700;
}
.ap-product-manus .product-info.summary .stock.out-of-stock::before {
  content:"";width:6px;height:6px;border-radius:50%;background:#af6245;
}
.ap-product-manus .product-info.summary .detail-accordion {
  border-top:1px solid var(--line);margin-top:27px;
}
.ap-product-manus .product-info.summary .detail-accordion .ap-detail-copy li {
  padding:0 0 10px;border-bottom:1px solid rgba(47,61,49,.1);
  list-style-position:outside;
}
/* Related products use the exact same theme card template, never default WC. */
.ap-manus-single-extras .ap-curated-related {margin:55px 0 0;}
.ap-curated-related__intro {
  display:flex;justify-content:space-between;align-items:end;
  gap:20px;margin:0 0 27px;padding-top:22px;
  border-top:1px solid var(--line);
}
.ap-curated-related__intro h2 {
  margin:0!important;color:var(--forest);
  font:500 clamp(33px,4vw,53px)/1.1 var(--serif,Georgia,serif)!important;
}
.ap-curated-related__intro h2 em {color:var(--copper-text);}
.ap-curated-related__intro > a {
  padding-bottom:8px;color:var(--forest);
  font:800 10px/1.3 var(--sans,Arial,sans-serif);
  letter-spacing:.09em;text-transform:uppercase;
  text-decoration:underline;text-underline-offset:5px;
}
.ap-curated-related__grid.products {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,2.5vw,30px)!important;
  margin:0!important;padding:0!important;list-style:none;
}
body.single-product .ap-wc-content .ap-curated-related ul.products li.product.product-card {
  display:flex!important;flex-direction:column!important;
  float:none!important;clear:none!important;
  width:100%!important;margin:0!important;padding:0!important;
  min-width:0;background:#fff;border:1px solid #e3dcd4;
  border-radius:15px!important;overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease;
}
body.single-product .ap-curated-related ul.products li.product.product-card:hover {
  transform:translateY(-3px);
  box-shadow:0 15px 34px rgba(28,48,36,.10);
}
/* Shop and related: photo-forward calm Manus styling, rounded modern commerce CTA. */
.ap-shop-results .product-card.product,
.ap-curated-related .product-card.product {
  background:#fff!important;border:1px solid #e3dcd4!important;
  border-radius:15px!important;overflow:hidden!important;
  box-shadow:0 2px 7px rgba(28,48,36,.025);
}
.ap-shop-results .product-card .product-card__image,
.ap-curated-related .product-card .product-card__image {
  display:block;position:relative;aspect-ratio:1.15/1;
  overflow:hidden;background:#e9dfd1;
}
.ap-shop-results .product-card .product-card__image > img,
.ap-curated-related .product-card .product-card__image > img {
  display:block;width:100%!important;height:100%!important;
  aspect-ratio:auto!important;object-fit:cover;margin:0!important;
  transition:transform .5s cubic-bezier(.22,.65,.29,1);
}
.ap-shop-results .product-card:hover .product-card__image > img,
.ap-curated-related .product-card:hover .product-card__image > img {
  transform:scale(1.065);
}
.ap-shop-results .product-card .product-card__status,
.ap-curated-related .product-card .product-card__status {
  top:13px;left:13px;right:auto;border-radius:999px;
  padding:8px 12px;background:rgba(29,48,37,.94);
  color:#fffbf4;font:800 9px/1.2 var(--sans,Arial,sans-serif);
  letter-spacing:.09em;text-transform:uppercase;
}
.ap-shop-results .product-card .ap-card-on-sale,
.ap-curated-related .product-card .ap-card-on-sale {
  color:#673516;background:#e7b978;
}
.ap-shop-results .product-card .product-card__body,
.ap-curated-related .product-card .product-card__body {
  display:flex;flex:1;flex-direction:column;
  padding:20px 20px 22px;min-height:202px;min-width:0;
}
.ap-shop-results .product-card .product-card__eyebrow,
.ap-curated-related .product-card .product-card__eyebrow {
  margin:0 0 10px;color:var(--copper-text);font:800 9px/1.3 var(--sans,Arial,sans-serif);
  letter-spacing:.12em;text-transform:uppercase;
}
.ap-shop-results .product-card .product-card__body h3,
.ap-curated-related .product-card .product-card__body h3 {
  margin:0!important;min-height:0;padding:0!important;
  color:var(--forest);
  font:550 clamp(19px,1.65vw,24px)/1.15 var(--serif,Georgia,serif)!important;
  letter-spacing:-.017em;overflow-wrap:anywhere;
}
.ap-shop-results .product-card .product-card__body h3 a,
.ap-curated-related .product-card .product-card__body h3 a {
  color:inherit!important;text-decoration:none!important;
}
.ap-shop-results .product-card .ap-card-pack,
.ap-curated-related .product-card .ap-card-pack {
  margin:10px 0 0;color:#7a706a;font:400 12px/1.45 var(--sans,Arial,sans-serif);
}
.ap-shop-results .product-card .product-card__meta,
.ap-curated-related .product-card .product-card__meta {
  margin:auto 0 0;padding:21px 0 0;display:flex;flex-direction:column;
  gap:14px;color:var(--forest);font-size:13px;
}
.ap-shop-results .product-card .ap-card-commercial,
.ap-curated-related .product-card .ap-card-commercial {
  margin:0;min-height:21px;font-size:14px;line-height:1.4;
}
.ap-shop-results .product-card .ap-card-price,
.ap-curated-related .product-card .ap-card-price {
  color:var(--forest)!important;font-size:14px!important;
  font-weight:600!important;letter-spacing:-.01em;
}
.ap-shop-results .product-card .ap-card-purchase,
.ap-curated-related .product-card .ap-card-purchase {
  width:100%;display:block;min-height:43px;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore,
.ap-shop-results .product-card .ap-card-purchase .button,
.ap-curated-related .product-card .ap-card-purchase .ap-card-explore,
.ap-curated-related .product-card .ap-card-purchase .button {
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative;width:100%!important;min-height:45px!important;
  margin:0!important;padding:12px 19px!important;
  border:1px solid var(--forest)!important;border-radius:999px!important;
  background:var(--forest)!important;color:#fdfbf4!important;
  font:800 11px/1.3 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.045em!important;text-align:center!important;
  text-transform:uppercase!important;text-decoration:none!important;
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore span,
.ap-curated-related .product-card .ap-card-purchase .ap-card-explore span {
  position:absolute;right:17px;font-size:15px;
}
.ap-shop-results .product-card .ap-card-purchase .ap-card-explore:hover,
.ap-shop-results .product-card .ap-card-purchase .button:hover,
.ap-curated-related .product-card .ap-card-purchase .ap-card-explore:hover,
.ap-curated-related .product-card .ap-card-purchase .button:hover {
  background:#386044!important;border-color:#386044!important;
  color:#fff!important;box-shadow:0 7px 15px rgba(35,65,45,.15);
  transform:translateY(-1px);
}
.ap-shop-results .product-card .ap-card-purchase a:focus-visible,
.ap-curated-related .product-card .ap-card-purchase a:focus-visible {
  outline:2px solid var(--copper);outline-offset:4px;
}
.ap-shop-results .product-card .ap-card-purchase .added_to_cart,
.ap-curated-related .product-card .ap-card-purchase .added_to_cart {
  display:inline-flex;padding:7px 0!important;margin-top:6px!important;
  background:transparent!important;color:var(--forest)!important;border:0!important;
  font-size:10px!important;
}
.ap-shop-catalog .shop-body {gap:clamp(23px,3vw,46px);}
.ap-shop-catalog .shop-filters {max-width:220px;}
.ap-shop-catalog.shop-layout {padding-bottom:80px;}
/* One-page policies: contents do not leave the current page. */
.ap-one-page-policies .ap-policy-nav a {scroll-margin-top:130px;}
.ap-one-page-policies .ap-policy-section {scroll-margin-top:125px;}
.ap-one-page-policies .ap-policy-body--live {min-width:0;}
.ap-one-page-policies .ap-policy-pending {
  padding:20px 23px;background:#ede4d7;border-left:3px solid var(--copper);
  color:#594f45!important;
}
.ap-one-page-policies .ap-policy-final {margin-top:50px;}
.ap-one-page-policies .ap-policy-final a {color:var(--forest);text-decoration:underline;}
html:focus-within {scroll-behavior:smooth;}
@media(min-width:1550px) {
  body.woocommerce .ap-shop-results ul.products,
  body.woocommerce-page .ap-shop-results ul.products {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .ap-shop-catalog .shop-body {grid-template-columns:200px minmax(0,1fr);}
}
@media(max-width:1100px) {
  .ap-curated-related__grid.products {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px) {
  .ap-curated-related__grid.products {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;}
  .ap-curated-related__intro {align-items:start;flex-direction:column;gap:10px;}
  .ap-shop-results .product-card .product-card__body,
  .ap-curated-related .product-card .product-card__body {
    padding:13px 13px 16px;min-height:185px;
  }
  .ap-shop-results .product-card .product-card__body h3,
  .ap-curated-related .product-card .product-card__body h3 {font-size:18px!important;}
  .ap-shop-results .product-card .ap-card-price,
  .ap-curated-related .product-card .ap-card-price {font-size:12px!important;}
  .ap-shop-results .product-card .ap-card-purchase .ap-card-explore,
  .ap-shop-results .product-card .ap-card-purchase .button,
  .ap-curated-related .product-card .ap-card-purchase .ap-card-explore,
  .ap-curated-related .product-card .ap-card-purchase .button {
    font-size:9px!important;min-height:40px!important;padding:10px 9px!important;
  }
  .ap-curated-gallery__foot {font-size:9px;}
  .ap-curated-gallery__zoom-hint {right:10px;bottom:10px;font-size:9px;}
}
@media(max-width:380px) {
  .ap-curated-related__grid.products {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce) {
  html:focus-within {scroll-behavior:auto;}
  .ap-curated-gallery__open > img.ap-curated-photo,
  .ap-shop-results .product-card .product-card__image > img,
  .ap-curated-related .product-card .product-card__image > img {
    transform:none!important;transition:none!important;
  }
}

/* 0.8.0 final commerce presentation — one real Woo summary per page. */
.ap-manus-checkout .ap-shopping-guide,
.ap-manus-cart .ap-shopping-guide {
  padding-top:clamp(42px,6vw,86px);
  padding-bottom:clamp(65px,8vw,110px);
}
.ap-manus-checkout .ap-shopping-guide__top,
.ap-manus-cart .ap-shopping-guide__top {margin-bottom:clamp(24px,3.5vw,45px);}
.ap-manus-checkout .checkout-layout.ap-checkout-live {
  margin:0;padding:clamp(25px,4vw,54px);background:#eee6da;
  border:1px solid #e0d4c5;
}
.ap-manus-checkout .ap-checkout-steps {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;margin:0 0 22px;border:1px solid #e0d4c5;background:#e0d4c5;
}
.ap-manus-checkout .ap-checkout-steps > div {
  display:flex;align-items:center;gap:15px;
  min-width:0;padding:18px 21px;
  background:#f9f6ef;color:var(--forest);
  font-size:12px;font-weight:650;
}
.ap-manus-checkout .ap-checkout-steps span {
  color:var(--copper-text);font:600 20px/1 var(--serif,Georgia,serif);
}
.ap-manus-checkout .ap-checkout-live .wc-block-checkout,
.ap-manus-checkout .ap-checkout-live form.checkout {
  max-width:100%;width:100%;color:var(--forest);
}
.ap-manus-checkout .ap-checkout-live .wc-block-components-main,
.ap-manus-checkout .ap-checkout-live .wc-block-components-sidebar,
.ap-manus-checkout .ap-checkout-live #customer_details,
.ap-manus-checkout .ap-checkout-live #order_review,
.ap-manus-checkout .ap-checkout-live #order_review_heading {
  min-width:0;
}
.ap-manus-checkout .ap-checkout-live .wc-block-components-main {
  padding:clamp(21px,2.8vw,36px);
  background:#fffdf9;border:1px solid #e0d8cd;
}
.ap-manus-checkout .ap-checkout-live .wc-block-components-sidebar {
  background:#f9f5ed;padding:clamp(18px,2.5vw,28px);
  border:1px solid #dcd1c3;
}
.ap-manus-checkout .ap-checkout-live .wc-block-components-title,
.ap-manus-checkout .ap-checkout-live h3 {
  color:var(--forest);font-family:var(--serif,Georgia,serif);
}
.ap-manus-checkout .ap-checkout-live input,
.ap-manus-checkout .ap-checkout-live select,
.ap-manus-checkout .ap-checkout-live textarea {
  border-radius:5px!important;
}
.ap-manus-checkout .ap-checkout-live .wc-block-components-checkout-place-order-button,
.ap-manus-checkout .ap-checkout-live #place_order {
  border-radius:999px!important;min-height:49px!important;
  color:#fff!important;background:var(--forest)!important;
}
.ap-manus-cart .ap-manus-real-cart {
  margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;
}
.ap-manus-cart .ap-manus-real-cart .ap-wc-cart-live {
  max-width:100%;margin:0;padding:0 0 30px;
}
.ap-manus-cart .ap-wc-cart-live .wc-block-cart__content {
  display:flex!important;align-items:flex-start;
  gap:clamp(20px,3.5vw,55px);
}
.ap-manus-cart .ap-wc-cart-live .wc-block-cart__main {
  flex:1 1 65%;min-width:0;
}
.ap-manus-cart .ap-wc-cart-live .wc-block-cart__sidebar {
  flex:0 0 min(35%,365px);
  padding:clamp(18px,2.4vw,29px)!important;
  background:#f4eee4;border:1px solid #dcd2c4;
}
.ap-manus-cart .ap-wc-cart-live .wc-block-cart__submit-button {
  border-radius:999px!important;
}
.ap-manus-cart .ap-manus-cart-steps {
  margin-top:45px;padding-top:27px;border-top:1px solid var(--line);
}
.ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(15px,3vw,44px);list-style:none;margin:18px 0 0;padding:0;
}
.ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps li {
  display:flex;gap:12px;min-width:0;
}
.ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps > li > span {
  color:var(--copper-text);font:500 25px/1.2 var(--serif,Georgia,serif);
}
.ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps strong {
  font-size:12px;color:var(--forest);
}
.ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps p {
  margin:6px 0 0;font-size:12px;line-height:1.65;color:var(--muted);
}
.ap-benefit-bar__social a.ap-benefit-social-icon,
.ap-mobile-social a.ap-benefit-social-icon {
  position:relative;z-index:6;pointer-events:auto!important;
  display:inline-grid;place-items:center;
  min-width:24px;min-height:27px;
}
.ap-benefit-bar__social a.ap-benefit-social-icon:focus-visible,
.ap-mobile-social a.ap-benefit-social-icon:focus-visible {
  color:#fdf7e8;outline:2px solid #e5ab7e;outline-offset:3px;
}
@media(max-width:960px) {
  .ap-manus-cart .ap-wc-cart-live .wc-block-cart__content {
    display:block!important;
  }
  .ap-manus-cart .ap-wc-cart-live .wc-block-cart__sidebar {
    width:100%!important;max-width:100%!important;
    margin-top:25px;
  }
}
@media(max-width:680px) {
  .ap-manus-checkout .checkout-layout.ap-checkout-live {padding:15px;}
  .ap-manus-checkout .ap-checkout-steps > div {
    display:flex;flex-direction:column;align-items:start;
    gap:6px;padding:13px 9px;font-size:10px;
  }
  .ap-manus-checkout .ap-checkout-live .wc-block-components-main,
  .ap-manus-checkout .ap-checkout-live .wc-block-components-sidebar {padding:13px;}
  .ap-manus-cart .ap-manus-cart-steps .ap-shopping-steps {
    grid-template-columns:1fr;gap:19px;
  }
}

/*
 * MANUS 0.8.1 — final owner-requested compact cards and guaranteed
 * native Related Products bypass. Preserve the 0.8 photograph/CTA language.
 */

/* Stop flexible cards stretching white copy areas to match their row.
 * Reserve a two-line title so commercial details still align gracefully.
 */
body.woocommerce .ap-shop-results ul.products li.product.product-card,
body.woocommerce-page .ap-shop-results ul.products li.product.product-card,
body.single-product .ap-manus-single-extras .ap-curated-related ul.products li.product.product-card {
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  border-radius:15px!important;
  overflow:hidden!important;
}
.ap-shop-results .product-card .product-card__body,
body.single-product .ap-manus-single-extras .ap-curated-related .product-card__body {
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  padding:16px 18px 18px!important;
  min-height:0!important;
  height:auto!important;
  gap:0!important;
}
.ap-shop-results .product-card .product-card__eyebrow,
body.single-product .ap-manus-single-extras .ap-curated-related .product-card__eyebrow {
  margin:0 0 7px!important;
}
.ap-shop-results .product-card .product-card__body h3,
body.single-product .ap-manus-single-extras .ap-curated-related .product-card__body h3 {
  margin:0!important;
  min-height:2.3em!important;
  font-size:clamp(19px,1.6vw,23px)!important;
  line-height:1.15!important;
}
.ap-shop-results .product-card .ap-card-pack,
body.single-product .ap-manus-single-extras .ap-curated-related .ap-card-pack {
  margin:7px 0 0!important;
  line-height:1.3!important;
  font-size:11px!important;
}
.ap-shop-results .product-card .product-card__meta,
body.single-product .ap-manus-single-extras .ap-curated-related .product-card__meta {
  margin:14px 0 0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.ap-shop-results .product-card .ap-card-commercial,
body.single-product .ap-manus-single-extras .ap-curated-related .ap-card-commercial {
  min-height:0!important;
  line-height:1.25!important;
}
.ap-shop-results .product-card .ap-card-purchase,
body.single-product .ap-manus-single-extras .ap-curated-related .ap-card-purchase {
  min-height:0!important;
}
/* Stronger Woo selectors prevent its default related-grid floats winning. */
body.single-product .ap-manus-single-extras section.ap-curated-related {
  display:block!important;margin:45px 0 0!important;
  clear:both!important;
}
body.single-product .ap-manus-single-extras section.ap-curated-related > .ap-curated-related__intro {
  display:flex!important;align-items:flex-end!important;
  justify-content:space-between!important;flex-wrap:wrap;
}
body.single-product .ap-manus-single-extras section.ap-curated-related ul.ap-curated-related__grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:clamp(14px,2.2vw,27px)!important;
  padding:0!important;margin:0!important;
  list-style:none!important;
}
body.single-product .ap-manus-single-extras section.ap-curated-related ul.ap-curated-related__grid > li.product.product-card {
  width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  float:none!important;clear:none!important;
}
body.single-product .ap-manus-single-extras section.ap-curated-related .product-card__image {
  width:100%!important;aspect-ratio:1.15/1!important;
}
body.single-product .ap-manus-single-extras section.ap-curated-related .product-card__image > img.ap-curated-photo {
  display:block;width:100%!important;height:100%!important;
  max-width:100%!important;object-fit:cover!important;
}
body.single-product .ap-manus-single-extras section.ap-curated-related .ap-card-purchase .ap-card-explore,
body.single-product .ap-manus-single-extras section.ap-curated-related .ap-card-purchase .button {
  display:flex!important;width:100%!important;
  color:#fcfbf7!important;background:var(--forest)!important;
  border:1px solid var(--forest)!important;
  border-radius:999px!important;
  font-size:11px!important;
  min-height:44px!important;align-items:center!important;
  justify-content:center!important;
}
/* Preview social icons must be buttons: WP intercepts & disables
 * external <a> links inside Customizer preview. Storefront keeps anchors.
 */
.ap-benefit-bar__social button.ap-social-preview-button,
.ap-mobile-social button.ap-social-preview-button {
  appearance:none!important;
  display:inline-grid!important;place-items:center!important;
  width:27px!important;height:28px!important;
  min-width:27px!important;min-height:28px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  color:#f2e9dd!important;background:transparent!important;
  font:inherit!important;line-height:1!important;
  cursor:pointer!important;pointer-events:auto!important;
  position:relative;z-index:10;
}
.ap-benefit-bar__social button.ap-social-preview-button:hover,
.ap-mobile-social button.ap-social-preview-button:hover {
  color:#e0ab83!important;
}
.ap-benefit-bar__social button.ap-social-preview-button:focus-visible,
.ap-mobile-social button.ap-social-preview-button:focus-visible {
  outline:2px solid #e0ab83!important;outline-offset:3px;
}
.ap-benefit-bar__social button.ap-social-preview-button svg,
.ap-mobile-social button.ap-social-preview-button svg {
  display:block;width:16px!important;height:16px!important;
}
@media(max-width:1000px) {
  body.single-product .ap-manus-single-extras section.ap-curated-related ul.ap-curated-related__grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px) {
  .ap-shop-results .product-card .product-card__body,
  body.single-product .ap-manus-single-extras .ap-curated-related .product-card__body {
    padding:13px 13px 14px!important;
  }
  .ap-shop-results .product-card .product-card__body h3,
  body.single-product .ap-manus-single-extras .ap-curated-related .product-card__body h3 {
    font-size:18px!important;
  }
  .ap-shop-results .product-card .product-card__meta,
  body.single-product .ap-manus-single-extras .ap-curated-related .product-card__meta {
    margin-top:11px!important;gap:8px!important;
  }
  body.single-product .ap-manus-single-extras section.ap-curated-related ul.ap-curated-related__grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}
@media(max-width:380px) {
  body.single-product .ap-manus-single-extras section.ap-curated-related ul.ap-curated-related__grid {
    grid-template-columns:1fr!important;
  }
}

/*
 * MANUS 0.8.2 — home "most loved" luxury cards. The approved editorial left
 * column remains untouched; right cards share Shop All PHP and Woo truth.
 * Compact, touch-friendly, no false reviews/stock/discounts.
 */
.ap-loved {overflow:hidden;}
.ap-loved__layout {
  grid-template-columns:minmax(240px,.91fr) minmax(0,3.35fr);
  align-items:start;
}
.ap-loved__intro {max-width:345px;}
.ap-loved__intro .display {
  max-width:320px;
  font-size:clamp(34px,3.5vw,53px);
  line-height:1.07;
}
.ap-loved__grid.ap-home-featured-grid {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:start!important;
  gap:clamp(12px,1.25vw,19px)!important;
  list-style:none!important;
  margin:0!important;padding:0!important;
  min-width:0;
}
.ap-loved .ap-home-featured-grid > li.product-card {
  display:flex!important;
  flex-direction:column!important;
  align-self:stretch!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:#fffdf9!important;
  border:1px solid #ded7cd!important;
  border-radius:15px!important;
  overflow:hidden!important;
  box-shadow:0 2px 8px rgba(29,48,36,.03)!important;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.ap-loved .ap-home-featured-grid > li.product-card:hover {
  transform:translateY(-5px);
  border-color:#bda68d!important;
  box-shadow:0 18px 34px rgba(29,48,36,.13)!important;
}
.ap-loved .ap-home-featured-grid .product-card__image {
  display:block!important;
  position:relative!important;
  aspect-ratio:1.05/1!important;
  width:100%!important;
  height:auto!important;
  overflow:hidden!important;
  background:#e6dacb;
}
.ap-loved .ap-home-featured-grid .product-card__image > img.ap-curated-photo {
  display:block!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
.ap-loved .ap-home-featured-grid > li.product-card:hover img.ap-curated-photo {
  transform:scale(1.065)!important;
}
.ap-loved .ap-home-featured-grid .product-card__image::after {
  content:"↗";
  display:grid;place-items:center;
  position:absolute;z-index:3;
  bottom:13px;right:13px;
  width:36px;height:36px;
  color:var(--forest);
  background:#fffaf3;
  border:1px solid rgba(24,44,30,.12);
  border-radius:50%;
  font:600 19px/1 var(--sans,Arial,sans-serif);
  opacity:0;transform:translateY(6px);
  transition:opacity .2s ease,transform .2s ease;
  pointer-events:none;
}
@media(hover:hover) {
  .ap-loved .ap-home-featured-grid .product-card__image:hover::after,
  .ap-loved .ap-home-featured-grid > li.product-card:focus-within .product-card__image::after {
    opacity:1;transform:translateY(0);
  }
}
.ap-loved .ap-home-featured-grid .product-card__status {
  top:12px!important;left:12px!important;
  right:auto!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:rgba(29,48,37,.93)!important;
  color:#fffaf5!important;
  font:800 9px/1.1 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.07em!important;text-transform:uppercase!important;
}
.ap-loved .ap-home-featured-grid .product-card__body {
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  padding:16px 15px 17px!important;
  gap:0!important;
}
.ap-loved .ap-home-featured-grid .product-card__eyebrow {
  margin:0 0 7px!important;
  color:var(--copper-text)!important;
  font:800 9px/1.3 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.11em!important;text-transform:uppercase!important;
}
.ap-loved .ap-home-featured-grid .product-card__body h3 {
  margin:0!important;
  min-height:2.3em!important;
  color:var(--forest)!important;
  font:550 clamp(19px,1.55vw,23px)/1.15 var(--serif,Georgia,serif)!important;
  letter-spacing:-.01em!important;
  overflow-wrap:anywhere!important;
}
.ap-loved .ap-home-featured-grid .product-card__body h3 a {
  color:inherit!important;text-decoration:none!important;
}
.ap-loved .ap-home-featured-grid .ap-card-pack {
  margin:8px 0 0!important;
  color:#796f64!important;font-size:11px!important;
  line-height:1.3!important;
}
.ap-loved .ap-home-featured-grid .product-card__meta {
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:auto 0 0!important;
  padding:17px 0 0!important;
}
.ap-loved .ap-home-featured-grid .ap-card-commercial {
  min-height:20px!important;
  line-height:1.3!important;
}
.ap-loved .ap-home-featured-grid .ap-card-price {
  font:650 13px/1.3 var(--sans,Arial,sans-serif)!important;
  color:var(--forest)!important;
}
.ap-loved .ap-home-featured-grid .ap-card-purchase {
  width:100%!important;
  min-height:0!important;
}
.ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore,
.ap-loved .ap-home-featured-grid .ap-card-purchase .button {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  position:relative;
  width:100%!important;
  min-width:0!important;
  min-height:43px!important;
  margin:0!important;
  padding:11px 13px!important;
  border-radius:999px!important;
  border:1px solid var(--forest)!important;
  background:var(--forest)!important;
  color:#fffcf6!important;
  font:800 10px/1.3 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.035em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore span {
  position:absolute;right:12px;font-size:14px;line-height:1;
}
.ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore:hover,
.ap-loved .ap-home-featured-grid .ap-card-purchase .button:hover {
  background:#376347!important;
  border-color:#376347!important;
  color:#fff!important;
  box-shadow:0 8px 17px rgba(29,48,37,.17);
  transform:translateY(-1px);
}
.ap-loved .ap-home-featured-grid .ap-card-purchase a:focus-visible {
  outline:3px solid var(--copper)!important;outline-offset:3px;
}
.ap-loved .ap-home-featured-grid .ap-card-purchase .added_to_cart {
  display:inline-block!important;
  border:0!important;background:transparent!important;
  padding:7px 0 0!important;color:var(--forest)!important;
  font-size:11px!important;
}
@media(max-width:1220px) {
  .ap-loved__layout {grid-template-columns:minmax(210px,.8fr) minmax(0,3.3fr);}
  .ap-loved__grid.ap-home-featured-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .ap-loved .ap-home-featured-grid .product-card__body {padding:12px 11px 14px!important;}
  .ap-loved .ap-home-featured-grid .product-card__body h3 {font-size:18px!important;}
  .ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .button {font-size:9px!important;padding:10px 7px!important;}
}
@media(max-width:1050px) {
  .ap-loved__layout {grid-template-columns:1fr;gap:25px;}
  .ap-loved__intro {max-width:620px;}
  .ap-loved__intro .display {max-width:600px;}
  .ap-loved__intro > p:not(.eyebrow) {max-width:540px;}
}
@media(max-width:740px) {
  .ap-loved__grid.ap-home-featured-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;}
  .ap-loved .ap-home-featured-grid .product-card__body {padding:13px 12px 15px!important;}
  .ap-loved .ap-home-featured-grid .product-card__body h3 {font-size:19px!important;}
}
@media(max-width:390px) {
  .ap-loved__grid.ap-home-featured-grid {gap:9px!important;}
  .ap-loved .ap-home-featured-grid .product-card__body h3 {font-size:17px!important;}
  .ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .button {
    font-size:8.5px!important;padding:10px 8px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ap-loved .ap-home-featured-grid > li.product-card,
  .ap-loved .ap-home-featured-grid .product-card__image > img.ap-curated-photo,
  .ap-loved .ap-home-featured-grid .product-card__image::after {
    transition:none!important;
  }
  .ap-loved .ap-home-featured-grid > li.product-card:hover,
  .ap-loved .ap-home-featured-grid > li.product-card:hover img.ap-curated-photo {
    transform:none!important;
  }
}

/*
 * Manus product cards v1.0.3 — MOBILE-FIRST compact, natural-height rows.
 * The older 1fr rows made every row as tall as the single tallest row on
 * the entire page. 3/4-line title min-heights added unwanted white space.
 * Each row now follows only its own tallest item; text is never truncated.
 */
.ap-shop-results ul.products,
.ap-loved__grid.ap-home-featured-grid,
.ap-curated-related ul.products {
  grid-auto-rows: auto !important;
  align-items: stretch !important;
}
.ap-shop-results ul.products > li.product.product-card,
.ap-loved .ap-home-featured-grid > li.product-card,
.ap-curated-related ul.products > li.product.product-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: auto !important;
  box-sizing: border-box;
}
.ap-shop-results .product-card .product-card__body,
.ap-loved .ap-home-featured-grid .product-card__body,
.ap-curated-related .product-card .product-card__body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.ap-shop-results .product-card .product-card__body h3,
.ap-loved .ap-home-featured-grid .product-card__body h3,
.ap-curated-related .product-card .product-card__body h3 {
  min-height: 0 !important;
}
.ap-shop-results .product-card .product-card__meta,
.ap-loved .ap-home-featured-grid .product-card__meta,
.ap-curated-related .product-card .product-card__meta {
  margin-top: auto !important;
}
@media (max-width: 740px) {
  .ap-shop-results ul.products,
  .ap-loved__grid.ap-home-featured-grid,
  .ap-curated-related ul.products {
    column-gap: 10px !important;
    row-gap: 14px !important;
  }
  .ap-shop-results .product-card .product-card__body,
  .ap-loved .ap-home-featured-grid .product-card__body,
  .ap-curated-related .product-card .product-card__body {
    min-height: 0 !important;
    padding: 11px 10px 12px !important;
  }
  .ap-shop-results .product-card .product-card__eyebrow,
  .ap-loved .ap-home-featured-grid .product-card__eyebrow,
  .ap-curated-related .product-card .product-card__eyebrow {
    margin-bottom: 5px !important;
    font-size: 8px !important;
  }
  .ap-shop-results .product-card .product-card__body h3,
  .ap-loved .ap-home-featured-grid .product-card__body h3,
  .ap-curated-related .product-card .product-card__body h3 {
    font-size: clamp(15px, 4.15vw, 18px) !important;
    line-height: 1.13 !important;
    min-height: 0 !important;
  }
  .ap-shop-results .product-card .ap-card-pack,
  .ap-loved .ap-home-featured-grid .ap-card-pack,
  .ap-curated-related .product-card .ap-card-pack {
    margin: 6px 0 0 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  .ap-shop-results .product-card .product-card__meta,
  .ap-loved .ap-home-featured-grid .product-card__meta,
  .ap-curated-related .product-card .product-card__meta {
    padding-top: 9px !important;
    gap: 7px !important;
  }
  .ap-shop-results .product-card .ap-card-commercial,
  .ap-loved .ap-home-featured-grid .ap-card-commercial,
  .ap-curated-related .product-card .ap-card-commercial {
    min-height: 0 !important;
  }
  .ap-shop-results .product-card .ap-card-price,
  .ap-loved .ap-home-featured-grid .ap-card-price,
  .ap-curated-related .product-card .ap-card-price {
    font-size: 11px !important;
  }
  .ap-shop-results .product-card .ap-card-purchase .ap-card-explore,
  .ap-shop-results .product-card .ap-card-purchase .button,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .button,
  .ap-curated-related .product-card .ap-card-purchase .ap-card-explore,
  .ap-curated-related .product-card .ap-card-purchase .button {
    min-height: 40px !important;
    padding: 9px 7px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
  }
  /* Decorative arrow was colliding with ADD TO CART on narrow cards. */
  .ap-shop-results .product-card .ap-card-purchase .ap-card-explore span,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore span,
  .ap-curated-related .product-card .ap-card-purchase .ap-card-explore span {
    display: none !important;
  }
}

/* AFGHAN PRIME PHASE 12 MOBILE TAP TARGETS v1.0.0 BEGIN
 * Keep the approved Manus visual composition. Increase touch *hit areas*,
 * not decorative icon dimensions, on actual storefront interactions.
 * Scoped to small screens and current WooCommerce HTML / Cart Block.
 */
@media (max-width: 740px) {
  .ap-shop-catalog .shop-toolbar .woocommerce-ordering select,
  .ap-shop-catalog .shop-toolbar .shop-filter-trigger {
    min-height: 44px !important;
  }
  .ap-shop-catalog .search-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px !important;
    flex-shrink: 0;
  }
  .ap-shop-catalog .filter-option,
  .ap-shop-filter-children a,
  .ap-shop-filter-root {
    display: flex;
    align-items: center;
    min-height: 44px !important;
    box-sizing: border-box;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
  .ap-shop-results .product-card .ap-card-purchase .ap-card-explore,
  .ap-shop-results .product-card .ap-card-purchase .button,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .ap-card-explore,
  .ap-loved .ap-home-featured-grid .ap-card-purchase .button,
  .ap-curated-related .product-card .ap-card-purchase .ap-card-explore,
  .ap-curated-related .product-card .ap-card-purchase .button {
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .ap-loved .ap-home-featured-grid .ap-card-purchase .added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
  }
  /* WooCommerce owns native cart update events; presentation only. */
  .ap-manus-cart .wc-block-components-quantity-selector__button {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  .ap-manus-cart .wc-block-cart-item__remove-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding-block: 9px !important;
  }
  .ap-manus-cart .wc-block-cart__submit-button,
  .ap-manus-checkout .wc-block-components-button {
    min-height: 44px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap-shop-catalog .filter-option {
    transition: none !important;
  }
}
/* AFGHAN PRIME PHASE 12 MOBILE TAP TARGETS v1.0.0 END */

/* AFGHAN PRIME PHASE 13b EXACT SMALL CONTROL FIX v1.0.0 BEGIN
 * Based on measured Phase 13 inventory (not generic component guessing):
 * Help Center (27.4x44), Footer Nuts (27.5x44), Woo product
 * Select Options (121x38), shop pagination (40x40), Cart HOME (37.7x44).
 * These are real clickable surfaces; text/branding remain unchanged.
 */
@media (max-width: 740px) {
  .ap-benefit-bar__support a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
  .site-footer .footer-group > a {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
  .ap-wp-main a.wp-block-button__link.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
  .ap-shop-catalog .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
  .ap-wc-real-cart nav.breadcrumbs a {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
}
/* AFGHAN PRIME PHASE 13b EXACT SMALL CONTROL FIX v1.0.0 END */
