/* Aroma product page — sits under the site header */
html.aroma-product-page,
html.single-product,
html:has(body.aroma-product-page),
html:has(body.single-product),
body.aroma-product-page,
body.single-product{
  overflow-x:hidden !important;overflow-y:auto;
  overscroll-behavior-x:none;touch-action:pan-y;
  width:100%;max-width:100%;position:relative;
  -webkit-text-size-adjust:100%
}
body.aroma-product-page #wikishop-app,
body.single-product #wikishop-app,
body.aroma-product-page #wikishop-main,
body.single-product #wikishop-main,
body.aroma-product-page .wikishop-container,
body.single-product .wikishop-container,
body.aroma-product-page .wikishop-footer,
body.single-product .wikishop-footer,
body.aroma-product-page .aroma-pdp-app,
body.aroma-product-page .aroma-pdp,
body.aroma-product-page .aroma-pdp-top,
body.aroma-product-page .aroma-pdp-gallery,
body.aroma-product-page .aroma-pdp-actions,
body.aroma-product-page .aroma-pdp-info,
body.aroma-product-page .aroma-pdp-tabs-wrap,
body.aroma-product-page .aroma-pdp-related,
body.aroma-product-page .aroma-pdp-rel-viewport{
  max-width:100%;min-width:0;box-sizing:border-box
}
body.aroma-product-page #wikishop-app,
body.single-product #wikishop-app,
body.aroma-product-page #wikishop-main,
body.single-product #wikishop-main,
body.aroma-product-page .aroma-pdp-app,
body.aroma-product-page .aroma-pdp,
body.aroma-product-page .aroma-pdp-top,
body.aroma-product-page .aroma-pdp-gallery,
body.aroma-product-page .aroma-pdp-actions,
body.aroma-product-page .aroma-pdp-info,
body.aroma-product-page .aroma-pdp-tabs-wrap,
body.aroma-product-page .aroma-pdp-related,
body.aroma-product-page .aroma-pdp-rel-viewport{
  overflow-x:hidden
}
.aroma-pdp-app{
  max-width:1180px;margin:0 auto;padding:12px 14px 24px;
  font-family:inherit;color:var(--aroma-text,#0f172a)
}
.aroma-pdp{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:100%;overflow-x:hidden}
.aroma-pdp-backbar{display:none}
.aroma-pdp-top{
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;align-items:start;
  grid-template-areas:
    "gallery info"
    "actions info"
}
.aroma-pdp-gallery{grid-area:gallery}
.aroma-pdp-actions{grid-area:actions}
.aroma-pdp-info{grid-area:info}
.aroma-pdp-gallery,.aroma-pdp-info,.aroma-pdp-actions,.aroma-pdp-tabs-wrap{
  background:#fff;border:1px solid #eef2f7;border-radius:20px;
  box-shadow:0 4px 20px rgba(30,41,59,.06)
}
.aroma-pdp-gallery{padding:12px;align-self:start;height:auto;overflow:hidden;position:relative}
.aroma-pdp-info{padding:16px}
.aroma-pdp-main{
  width:100%;border:0;background:#f8fafc;border-radius:16px;padding:8px;cursor:zoom-in;
  display:block;aspect-ratio:1/1;max-height:460px;position:relative;z-index:1;overflow:hidden;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent
}
.aroma-pdp-main img{display:block;width:100%;height:100%;object-fit:contain;margin:0 auto;pointer-events:none}
.aroma-pdp-thumbs{
  display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:2px;
  max-width:100%;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;
  position:relative;z-index:2
}
.aroma-pdp-thumb{
  flex:0 0 68px;width:68px;height:68px;min-width:44px;min-height:44px;border-radius:12px;border:1px solid #e2e8f0;background:#fff;
  padding:4px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent
}
.aroma-pdp-thumb.on{border-color:var(--aroma-icon);box-shadow:0 0 0 2px color-mix(in srgb,var(--aroma-icon) 25%,transparent)}
.aroma-pdp-thumb img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.aroma-pdp-cats{font-size:12px;color:#475569;margin-bottom:6px}
.aroma-pdp-cats a{color:var(--aroma-icon,#c830f8);text-decoration:none}
.aroma-pdp-title{font-size:22px;font-weight:800;margin:0 0 8px;line-height:1.45}
.aroma-pdp-rate{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.aroma-pdp-stars{color:#f59e0b;letter-spacing:1px;font-size:16px}
.aroma-pdp-rate a{font-size:12px;color:var(--aroma-icon,#c830f8);font-weight:700;text-decoration:none}
.aroma-pdp-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.aroma-pdp-actions{padding:12px;align-self:start}
.aroma-pdp-tool{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;
  border-radius:12px;border:1px solid #e2e8f0;background:#fff;color:#334155;
  font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none;
  touch-action:manipulation
}
.aroma-pdp-tool:hover{color:var(--aroma-icon);border-color:var(--aroma-icon)}
.aroma-pdp-tool.is-on,.aroma-wish-btn.is-on{
  color:#fff;background:var(--aroma-icon,#c830f8);border-color:var(--aroma-icon,#c830f8)
}
.aroma-pdp-tool.is-busy{opacity:.7;pointer-events:none}
.aroma-pdp-specs{border-radius:14px;overflow:hidden;border:1px solid #eef2f7;margin-bottom:14px}
.aroma-pdp-spec{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;font-size:13px;background:#fff}
.aroma-pdp-spec:nth-child(odd){background:#f8fafc}
.aroma-pdp-spec span{color:#475569}
.aroma-pdp-spec b{font-weight:800;text-align:left}
.aroma-pdp-price,.aroma-pdp-price .woocommerce-Price-amount{font-size:22px;font-weight:800}
.aroma-pdp-stock{font-size:12.5px;color:#16a34a;font-weight:700;margin:6px 0 2px}
.aroma-pdp-updated{font-size:11px;color:#475569;margin-bottom:10px}

/* Variations — always show real selects (theme swatches may have been stripped) */
.aroma-pdp-buy form.cart,.aroma-pdp-buy .variations_form{display:flex;flex-direction:column;gap:10px;width:100%}
.aroma-pdp-buy table.variations{width:100%;border-collapse:collapse;margin:0}
.aroma-pdp-buy .variations tr{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eef2f7}
.aroma-pdp-buy .variations th,.aroma-pdp-buy .variations td{
  display:block;padding:0 !important;border:0 !important;background:transparent !important;text-align:right
}
.aroma-pdp-buy .variations label{font-size:13px;font-weight:700;color:#475569}
.aroma-pdp-buy .variations select,
.aroma-pdp-buy .variations .value select{
  display:block !important;visibility:visible !important;opacity:1 !important;
  width:100% !important;max-width:100% !important;height:44px !important;
  border:1px solid #e2e8f0 !important;border-radius:12px !important;
  padding:0 12px !important;font:inherit !important;font-size:16px !important;
  background:#fff !important;color:#0f172a !important;
  appearance:auto !important;-webkit-appearance:menulist !important;
  position:static !important;clip:auto !important;transform:none !important;
  pointer-events:auto !important
}
.aroma-pdp-buy .reset_variations{font-size:12px;font-weight:700;color:var(--aroma-icon)}
.aroma-pdp-buy .woocommerce-variation-price,
.aroma-pdp-buy .woocommerce-variation-availability,
.aroma-pdp-buy .woocommerce-variation-description,
.aroma-pdp-buy .wd-swatches-product,
.aroma-pdp-buy .swatches-select,
.aroma-pdp-buy .wd-attr-selected{display:none !important}
.aroma-pdp-buy table.variations{display:table !important}
.aroma-pdp-sticky{display:none}
.aroma-pdp-info > form.cart,
.aroma-pdp-info > p.price,
.aroma-pdp-info > .price{display:none !important}
.aroma-pdp-buy .quantity{display:inline-flex;align-items:center;border:1px solid #e2e8f0;border-radius:999px;overflow:hidden;background:#fff}
.aroma-pdp-buy .qty{width:52px;height:44px;border:0;text-align:center;font:inherit;font-weight:800;font-size:16px}
.aroma-pdp-buy .woocommerce-variation-add-to-cart,
.aroma-pdp-buy form.cart:not(.variations_form){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.aroma-pdp-buy .single_add_to_cart_button,
.aroma-pdp-buy button.button{
  flex:1;min-height:48px;border:0;border-radius:14px !important;color:#fff !important;
  background:linear-gradient(90deg,var(--aroma-icon),var(--aroma-purple));
  font:inherit;font-size:15px;font-weight:800;cursor:pointer;padding:0 18px
}

/* Hide leftover WP/Woodmart variation + price blocks dumped after our form */
.aroma-pdp-extra table.variations,
.aroma-pdp-extra .single_variation_wrap,
.aroma-pdp-extra form.cart,
.aroma-pdp-extra .woocommerce-variation,
.aroma-pdp-extra p.price,
.aroma-pdp-extra .price,
.aroma-pdp-extra .stock,
.aroma-pdp-extra .reset_variations,
.aroma-pdp-extra .quantity{display:none !important}
.aroma-pdp-extra{margin-top:12px;display:flex;flex-direction:column;gap:10px;max-width:100%;min-width:0;overflow-x:hidden}
.aroma-pdp-extra img,.aroma-pdp-extra iframe,.aroma-pdp-extra table{max-width:100%}
body.aroma-product-page .snapppay-widget,
body.aroma-product-page .digipay-widget,
body.aroma-product-page .torobpay-widget,
body.aroma-product-page .tarpay-widget,
body.single-product .snapppay-widget,
body.single-product .digipay-widget,
body.single-product .torobpay-widget,
body.single-product .tarpay-widget,
body.aroma-product-page iframe{
  max-width:100% !important;width:100% !important;min-width:0 !important;box-sizing:border-box;overflow:hidden !important;white-space:normal;flex-wrap:wrap
}
body.aroma-product-page .snapppay-widget *,
body.aroma-product-page .digipay-widget *,
body.aroma-product-page .torobpay-widget *,
body.aroma-product-page .tarpay-widget *{
  max-width:100% !important;min-width:0 !important;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word
}
.aroma-pdp-extra img{max-height:36px;width:auto}

/* Below-the-fold sections: skip rendering until scrolled near (Speed Index) */
.aroma-pdp-tabs-wrap{
  content-visibility:auto;contain-intrinsic-size:auto 520px
}

.aroma-pdp-tabs-wrap{overflow:hidden;max-width:100%;min-width:0;contain:inline-size}
.aroma-pdp-tabs{
  display:flex;gap:0;overflow-x:auto;border-bottom:1px solid #eef2f7;background:#f8fafc;
  max-width:100%;min-width:0;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y
}
.aroma-pdp-tab{
  flex:1 0 auto;min-height:48px;min-width:88px;border:0;background:transparent;
  display:flex;align-items:center;justify-content:center;gap:6px;
  color:#475569;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:0 12px
}
.aroma-pdp-tab.on{color:var(--aroma-text,#2c2e2e);background:#fff;box-shadow:inset 0 -2px 0 var(--aroma-icon)}
.aroma-pdp-pane{padding:18px 16px}
.aroma-pdp-pane[hidden]{display:none !important}
.aroma-pdp-pane h2{margin:0 0 10px;font-size:18px}
.aroma-pdp-html{font-size:14px;line-height:1.9;color:#334155}
.aroma-pdp-related h2,.aroma-pdp-related h3{margin:0 0 10px;font-size:16px;text-align:right}
/* Grid + contain:inline-size so 210px cards cannot inflate document scrollWidth
   on RTL / iOS. Outer clips; only .aroma-pdp-rel-track is the swipe scroller. */
.aroma-pdp-related{
  display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  overflow-x:hidden;overflow-y:visible;contain:inline-size
}
.aroma-pdp-rel-viewport{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  overflow-x:hidden;overflow-y:visible;contain:inline-size
}
.aroma-pdp-rel-track{
  display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:none;padding-bottom:6px;
  width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;
  cursor:grab;scrollbar-width:none;box-sizing:border-box;contain:inline-size
}
.aroma-pdp-rel-track::-webkit-scrollbar{display:none}
.aroma-pdp-rel-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.aroma-pdp-card{
  flex:0 0 210px;width:210px;max-width:210px;min-width:0;box-sizing:border-box;scroll-snap-align:start;background:#fff;border:1px solid #eef2f7;
  border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px;-webkit-user-drag:none
}
.aroma-pdp-card-img{display:block;width:100%;max-width:100%;height:150px;background:#f8fafc;border-radius:12px;overflow:hidden}
.aroma-pdp-card-img img{width:100%;max-width:100%;height:100%;object-fit:contain;contain-intrinsic-size:210px 150px}
.aroma-pdp-card h4{font-size:13px;margin:0;line-height:1.5;min-height:2.8em;color:inherit;text-decoration:none}
.aroma-pdp-card a{text-decoration:none;color:inherit}
.aroma-pdp-card-bot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.aroma-pdp-card-go{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--aroma-icon);color:#fff !important;font-weight:800}
.aroma-pdp-zoom{position:fixed;inset:0;width:auto;height:auto;max-width:none;z-index:1000;background:rgba(15,23,42,.78);display:grid;place-items:center;padding:20px;box-sizing:border-box}
.aroma-pdp-zoom[hidden]{display:none !important}
.aroma-pdp-zoom img{max-width:min(92%,860px);max-height:86vh;object-fit:contain;border-radius:12px;background:#fff}
.aroma-pdp-zoom-x{position:absolute;top:16px;left:16px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;font-size:24px;cursor:pointer;z-index:1}
body.aroma-pdp-zoom-open{overflow:hidden}
body.aroma-pdp-zoom-open .aroma-pdp-sticky,
body.aroma-pdp-zoom-open .wikishop-bottom-nav,
body.aroma-pdp-zoom-open .wikishop-back-top{
  visibility:hidden;pointer-events:none
}

.aroma-shopbar,.aroma-shop-sheet,.aroma-shop-sheet-bg{display:none}

@media(max-width:900px){
  .aroma-pdp-app{padding:8px 10px 168px}
  .aroma-pdp-buy .single_add_to_cart_button,
  .aroma-pdp-buy button.single_add_to_cart_button,
  .aroma-pdp-buy .quantity{
    position:absolute !important;width:1px !important;height:1px !important;
    padding:0 !important;margin:-1px !important;overflow:hidden !important;
    clip:rect(0,0,0,0) !important;border:0 !important
  }
  .aroma-pdp-buy .woocommerce-variation-add-to-cart{min-height:0;padding:0;margin:0;gap:0}
  .aroma-pdp-buy .variations tr{grid-template-columns:1fr}
  .aroma-pdp-sticky{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    position:fixed;inset-inline:8px;left:8px;right:8px;bottom:calc(72px + env(safe-area-inset-bottom));
    width:auto;max-width:none;min-width:0;box-sizing:border-box;overflow:hidden;
    z-index:48;background:rgba(255,255,255,.98);border:1px solid color-mix(in srgb,var(--aroma-icon) 22%,#fff);
    border-radius:18px;padding:8px 10px;box-shadow:0 10px 28px color-mix(in srgb,var(--aroma-icon) 18%,transparent)
  }
  .aroma-pdp-sticky-meta{min-width:0;flex:1 1 auto;overflow:hidden}
  .aroma-pdp-sticky-meta b{display:block;font-size:13px;color:var(--aroma-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .aroma-pdp-sticky-meta span{display:block;font-size:11px;color:#16a34a;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .aroma-pdp-sticky-btn{
    flex:0 1 auto;min-width:0;max-width:58%;height:46px;border:0;border-radius:14px;color:#fff !important;
    background:linear-gradient(90deg,var(--aroma-icon),var(--aroma-purple));
    font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:0 14px;box-shadow:0 6px 16px color-mix(in srgb,var(--aroma-icon) 28%,transparent);white-space:nowrap
  }
  .aroma-pdp-sticky-btn:disabled{opacity:.55;cursor:not-allowed}
  .aroma-pdp-backbar{
    display:flex;align-items:center;gap:10px;margin-bottom:8px;
    background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:6px 10px
  }
  .aroma-pdp-back{
    display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;
    border-radius:12px;background:#f8fafc;color:var(--aroma-icon);font-weight:800;text-decoration:none;font-size:13px
  }
  .aroma-pdp-back-title{flex:1;min-width:0;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .aroma-pdp-top{
    grid-template-columns:1fr;
    grid-template-areas:
      "gallery"
      "actions"
      "info"
  }
  .aroma-pdp-title{font-size:18px}
  .aroma-pdp-main{max-height:300px}
  .aroma-pdp-gallery,.aroma-pdp-info,.aroma-pdp-actions{padding:12px}
  .aroma-shopbar{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;inset-inline:0;
    min-height:64px;z-index:50;background:#fff;border-top:1px solid #e2e8f0;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));gap:2px
  }
  .aroma-shopbar-i{
    min-width:48px;min-height:48px;border:0;background:0;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:3px;color:#334155;text-decoration:none;
    font:inherit;font-size:10px;font-weight:700;border-radius:12px;cursor:pointer
  }
  .aroma-shopbar-i.on,.aroma-shopbar-i:hover{color:var(--aroma-icon)}
  .aroma-shopbar-cart{position:relative;display:grid;place-items:center}
  .aroma-shopbar-cart b{
    position:absolute;top:-6px;left:-8px;min-width:16px;height:16px;padding:0 4px;
    background:var(--aroma-icon);color:#fff;border-radius:999px;font-size:9px;display:grid;place-items:center
  }
  .aroma-shop-sheet-bg{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:60}
  .aroma-shop-sheet-bg[hidden]{display:none !important}
  .aroma-shop-sheet{
    display:block;position:fixed;inset-inline:0;bottom:0;z-index:61;background:#fff;
    border-radius:20px 20px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));
    max-height:72vh;overflow:auto
  }
  .aroma-shop-sheet[hidden]{display:none !important}
  .aroma-shop-sheet h3{margin:0 0 12px;font-size:16px}
  .aroma-shop-sheet-x{position:absolute;top:10px;left:12px;width:40px;height:40px;border:0;background:#f1f5f9;border-radius:50%;font-size:22px}
  .aroma-shop-search{display:flex;gap:8px}
  .aroma-shop-search input{flex:1;height:44px;border:1px solid #e2e8f0;border-radius:12px;padding:0 12px;font:inherit}
  .aroma-shop-cats{display:flex;flex-direction:column;gap:6px}
  .aroma-shop-cats a{display:block;padding:12px;border-radius:12px;background:#f8fafc;color:inherit;text-decoration:none;font-weight:700}
	body.aroma-product-page .aroma-mtabs{display:none !important}
}

/* Stage 2 — silver gallery / above-fold buy */
.aroma-pdp-gallery{
  background:#faf8f5;
  border-color:#ece8e1;
  box-shadow:0 8px 24px rgba(28,31,36,.05)
}
.aroma-pdp-main{
  background:linear-gradient(180deg,#fff,#f6f6f6);
  border-radius:18px;
  border:1px solid #e8e4ec
}
.aroma-pdp-thumb{
  border-radius:10px;
  background:#f6f6f6
}
.aroma-pdp-thumb.on{
  border-color:var(--aroma-icon,#c830f8);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--aroma-icon,#c830f8) 22%,transparent)
}
.aroma-pdp-cats a{color:var(--aroma-icon,#c830f8)}
.aroma-pdp-rate a{color:var(--aroma-icon,#c830f8)}
.aroma-pdp-tab.on{color:var(--aroma-text,#2c2e2e);box-shadow:inset 0 -2px 0 var(--aroma-icon,#c830f8)}
.aroma-pdp-price-box{
  background:#f6f6f6;
  border:1px solid #e8e4ec;
  border-radius:16px;
  padding:14px 14px 12px;
  margin:0 0 12px
}
.aroma-pdp-price,.aroma-pdp-price .woocommerce-Price-amount{font-size:24px;color:var(--aroma-text,#1d1c20)}
.aroma-pdp-buy .single_add_to_cart_button,
.aroma-pdp-buy button.button{
  background:var(--aroma-blue,#c830f8) !important;
  box-shadow:0 8px 18px color-mix(in srgb,var(--aroma-blue,#c830f8) 22%,transparent) !important;
  border-radius:999px !important;
  min-height:52px;
  letter-spacing:.01em
}
.aroma-pdp-trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  list-style:none;
  margin:0;
  padding:0
}
.aroma-pdp-trust li{
  text-align:center;
  font-size:11px;
  font-weight:800;
  color:#909898;
  background:#fff;
  border:1px solid #e8e4ec;
  border-radius:12px;
  padding:8px 6px;
  line-height:1.45
}
.aroma-pdp-spec.is-silver{
  background:#f3f0f5
}
.aroma-pdp-spec.is-silver span{color:var(--aroma-icon,#c830f8);font-weight:700}
.aroma-pdp-sticky-btn{
  background:var(--aroma-blue,#c830f8) !important;
  border-radius:999px !important
}
@media(max-width:640px){
  .aroma-pdp-trust{grid-template-columns:1fr;gap:6px}
}

