/* Deliberately minimal: imported designs own their visual style. */
.wpst-aihtml-root{position:relative;width:100%;min-width:0;isolation:isolate}
.wpst-aihtml-root,.wpst-aihtml-root *,.wpst-aihtml-root *::before,.wpst-aihtml-root *::after{box-sizing:border-box}
.wpst-aihtml-root.wpst-aihtml-full{width:100vw;max-width:100vw;position:relative;left:50%;margin-left:-50vw}
.wpst-aihtml-missing{padding:18px;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;color:#475569;font:14px/1.5 system-ui,sans-serif}

/* v3.3.115 — Header, Footer and Mega Menu compatibility.
   Context marking is per-widget (no global theme/header override). */
.wpst-aihtml-root[data-wpst-context-resolved="header"].wpst-aihtml-full,
.wpst-aihtml-root[data-wpst-context-resolved="footer"].wpst-aihtml-full,
.wpst-aihtml-root[data-wpst-context-resolved="mega"].wpst-aihtml-full{
  width:100%!important;max-width:100%!important;left:auto!important;
  margin-left:0!important;margin-right:0!important;
}
/* Elementor shells on the ancestor chain of an explicitly cleaned AI design.
   The imported design root and all its descendants keep their own CSS. */
.wpst-aihtml-context-shell{
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  padding:0!important;margin-block:0!important;
}
/* Reset only AI HTML panel shells. Never affect ordinary Elementor mega menus. */
.wpst-elementor-mega-panel.wpst-aihtml-context-panel{
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  padding:0!important;
}

/* WooCommerce product list: one AI HTML design repeated per real product. */
.wpst-aihtml-product-grid{display:grid;grid-template-columns:repeat(var(--wpst-ai-wc-columns,4),minmax(0,1fr));gap:20px;width:100%;max-width:100%}
.wpst-aihtml-product-cell{min-width:0}
.wpst-aihtml-product-cell .wpst-aihtml-root{width:100%;max-width:100%}
@media(max-width:1024px){.wpst-aihtml-product-grid{grid-template-columns:repeat(min(2,var(--wpst-ai-wc-columns,4)),minmax(0,1fr))}}
@media(max-width:767px){.wpst-aihtml-product-grid{grid-template-columns:minmax(0,1fr)}}


/* v3.3.118 — AI HTML WooCommerce single-product canvas width fix.
   WooCommerce hooks/themes may nest single-product content in a boxed column;
   this fix is activated ONLY for AI-generated single-product templates.
   The imported design's own inner max-width and CSS are not modified. */
body.single-product.wpst-wc-ai-single-fullwidth {
  overflow-x:clip;
}
body.single-product.wpst-wc-ai-single-fullwidth .wpst-wc-ai-single-canvas {
  display:block!important;
  position:relative!important;
  box-sizing:border-box;
  width:100vw!important;
  max-width:none!important;
  min-width:0;
  margin:0 0 0 calc(50% - 50vw)!important;
  padding:0!important;
  float:none!important;
  clear:both;
  background:transparent;
  overflow:visible;
}
body.single-product.wpst-wc-ai-single-fullwidth .wpst-wc-ai-single-canvas > .wpst-wc-single-template-output,
body.single-product.wpst-wc-ai-single-fullwidth .wpst-wc-ai-single-canvas > .wpst-wc-single-template-output > .elementor {
  box-sizing:border-box;
  display:block;
  width:100%!important;
  max-width:none!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
}
/* Prevent ordinary Elementor section defaults from boxing the AI canvas. */
body.single-product.wpst-wc-ai-single-fullwidth .wpst-wc-ai-single-canvas > .wpst-wc-single-template-output > .elementor > .e-con,
body.single-product.wpst-wc-ai-single-fullwidth .wpst-wc-ai-single-canvas > .wpst-wc-single-template-output > .elementor > .elementor-section {
  width:100%!important;
  max-width:none!important;
  min-width:0;
}
/* Some themes clip full-bleed descendants of the product content canvas. */
body.single-product.wpst-wc-ai-single-fullwidth :is(#primary,#content,.site-content,.content-area,.site-main,.woocommerce):has(.wpst-wc-ai-single-canvas) {
  overflow:visible!important;
}

/* v3.3.119 — Only AI HTML WooCommerce shop/category archive canvas. */
body.wpst-wc-ai-archive-fullwidth{overflow-x:clip}
body.wpst-wc-ai-archive-fullwidth .wpst-wc-ai-archive-canvas{
  display:block!important;position:relative!important;box-sizing:border-box;
  width:100vw!important;max-width:none!important;min-width:0;
  margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;
  float:none!important;clear:both;background:transparent;overflow:visible;
}
body.wpst-wc-ai-archive-fullwidth .wpst-wc-ai-archive-canvas > .wpst-wc-archive-template-output,
body.wpst-wc-ai-archive-fullwidth .wpst-wc-ai-archive-canvas > .wpst-wc-archive-template-output > .elementor{
  display:block;width:100%!important;max-width:none!important;min-width:0;margin:0!important;padding:0!important
}
body.wpst-wc-ai-archive-fullwidth .wpst-wc-ai-archive-canvas > .wpst-wc-archive-template-output > .elementor > .e-con,
body.wpst-wc-ai-archive-fullwidth .wpst-wc-ai-archive-canvas > .wpst-wc-archive-template-output > .elementor > .elementor-section{
  width:100%!important;max-width:none!important;min-width:0
}
body.wpst-wc-ai-archive-fullwidth :is(#primary,#content,.site-content,.content-area,.site-main,.woocommerce):has(.wpst-wc-ai-archive-canvas){overflow:visible!important}
.wpst-aihtml-shop-grid{display:grid;grid-template-columns:repeat(var(--wpst-ai-wc-columns,4),minmax(0,1fr));gap:20px;width:100%;max-width:100%}
.wpst-aihtml-shop-cell{min-width:0}
.wpst-aihtml-shop-cell .wpst-aihtml-root{max-width:100%;width:100%}
.wpst-aihtml-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.wpst-aihtml-shop-toolbar .woocommerce-ordering{margin:0}
.wpst-aihtml-shop-pagination{margin-block:28px}
.wpst-aihtml-shop-pagination ul.page-numbers{list-style:none;display:flex;gap:9px;padding:0;margin:0;flex-wrap:wrap}
.wpst-aihtml-shop-pagination a,.wpst-aihtml-shop-pagination span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:8px;padding:0 10px}
.wpst-aihtml-shop-pagination .current{background:#0f172a;color:white}
.wpst-aihtml-shop-fallback{border:1px solid #e2e8f0;border-radius:10px;padding:14px;height:100%}
.wpst-aihtml-shop-fallback img{width:100%;height:auto}
.wpst-aihtml-shop-fallback h3{margin:14px 0 8px;font-size:16px}
@media(max-width:1024px){.wpst-aihtml-shop-grid{grid-template-columns:repeat(min(2,var(--wpst-ai-wc-columns,4)),minmax(0,1fr))}}
@media(max-width:767px){.wpst-aihtml-shop-grid{grid-template-columns:minmax(0,1fr)}}

/* v3.3.121 — Stable dynamic WC archive grid, even when source template CSS is strong. */
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid {
  display:grid!important;
  grid-template-columns:repeat(var(--wpst-ai-wc-columns,4),minmax(0,1fr))!important;
  gap:clamp(12px,1.4vw,24px)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  align-items:stretch;
}
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid > .wpst-aihtml-shop-cell {
  min-width:0!important;width:100%!important;max-width:100%!important;
  margin:0!important;box-sizing:border-box;overflow-wrap:break-word;word-break:normal;
}
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-fallback {
  display:flex;flex-direction:column;width:100%;min-width:0;height:100%;background:#fff;
  border:1px solid #e6eaf2;border-radius:14px;overflow:hidden;padding:0;
  box-shadow:0 6px 22px rgba(16,35,70,.04);overflow-wrap:break-word;word-break:normal;
}
.wpst-aihtml-shop-fallback-media{display:block;aspect-ratio:1/1;background:#f7f9fd;overflow:hidden}
.wpst-aihtml-shop-fallback-media img{display:block!important;width:100%!important;height:100%!important;object-fit:contain;padding:8px;box-sizing:border-box}
.wpst-aihtml-shop-fallback-info{padding:16px;display:flex;flex-direction:column;gap:12px;flex:1;min-width:0}
.wpst-aihtml-shop-fallback-info h3{margin:0;font-size:clamp(14px,1.2vw,17px);line-height:1.45;font-weight:750;white-space:normal;word-break:normal;overflow-wrap:break-word}
.wpst-aihtml-shop-fallback-info h3 a{color:#101d35;text-decoration:none}
.wpst-aihtml-shop-fallback-price{font-size:clamp(16px,1.5vw,22px);font-weight:800;color:#101d35;margin-top:auto}
.wpst-aihtml-shop-fallback-price del{font-size:.72em;opacity:.55;margin-right:6px}
.wpst-aihtml-shop-sale{align-self:flex-start;border-radius:6px;background:#fff0f1;color:#cf173d;padding:4px 8px;font-size:11px;font-weight:750}
.wpst-aihtml-shop-fallback a.wpst-aihtml-shop-buy{display:inline-flex;justify-content:center;align-items:center;min-height:40px;background:linear-gradient(110deg,#8b1cf6,#ff6531)!important;color:#fff!important;text-decoration:none;border:none;border-radius:9px;font-size:13px;font-weight:750;line-height:1.3;white-space:normal;text-align:center;padding:10px}
/* Dynamic categories and price facets are read live from WooCommerce on each request. */
.wpst-aihtml-shop-filter-panel{width:100%;max-width:100%;box-sizing:border-box;background:#fff;border-radius:12px;color:#12213a;font-size:14px}
.wpst-aihtml-shop-filter-panel h3{font-size:18px;font-weight:800;margin:0 0 14px;color:inherit}
.wpst-aihtml-shop-filter-form{display:flex;flex-direction:column;gap:18px;margin:0!important}
.wpst-aihtml-shop-facet{min-width:0;border:0;border-top:1px solid #e7eaf2;margin:0;padding:14px 0 0}
.wpst-aihtml-shop-facet legend{padding:0;font-size:14px;font-weight:750;float:none;width:auto;color:#152545;margin-bottom:10px}
.wpst-aihtml-shop-categories{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow-y:auto}
.wpst-aihtml-shop-category,.wpst-aihtml-shop-check{display:flex;align-items:center;gap:8px;color:#243653;font-size:13px;cursor:pointer;min-width:0}
.wpst-aihtml-shop-category input,.wpst-aihtml-shop-check input{width:15px;height:15px;flex-shrink:0;accent-color:#9323ed;margin:0}
.wpst-aihtml-shop-category span{min-width:0;flex:1;overflow-wrap:break-word}
.wpst-aihtml-shop-category small{color:#8b95a7}
.wpst-aihtml-shop-price-range{display:flex;gap:7px;align-items:center}
.wpst-aihtml-shop-price-range input{min-width:0!important;width:45%!important;max-width:none!important;min-height:38px!important;border:1px solid #dce3ef!important;border-radius:8px!important;background:#fff!important;color:#182844!important;padding:7px!important;font-size:13px!important}
.wpst-aihtml-shop-price-hint{display:block;font-size:11px;color:#64748b;margin-top:7px}
.wpst-aihtml-shop-filter-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wpst-aihtml-shop-filter-actions button{border:0;border-radius:8px;padding:10px 18px;background:linear-gradient(110deg,#8b1cf6,#ff6531);color:white;font-weight:750;cursor:pointer}
.wpst-aihtml-shop-filter-actions a{color:#334155;text-decoration:none;font-size:13px}
.wpst-aihtml-shop-category-tabs{display:flex;gap:8px;align-items:stretch;width:100%;overflow-x:auto;padding:8px 2px;scrollbar-width:thin}
.wpst-aihtml-shop-tab{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:9px 13px;min-width:100px;border:1px solid #e4eaf3;background:#fff;border-radius:11px;color:#132744;text-decoration:none;box-sizing:border-box;font-weight:700;font-size:12px}
.wpst-aihtml-shop-tab.is-active{border-color:#a020f0;box-shadow:0 0 0 1px #a020f0}
.wpst-aihtml-shop-tab img{width:42px!important;height:42px!important;max-width:none!important;object-fit:contain}
.wpst-aihtml-shop-tab-icon{font-size:24px;color:#8b1cf6}
.wpst-aihtml-shop-auto-filters{padding:16px;border:1px solid #e7eaf2;border-radius:14px;margin-bottom:18px;max-width:100%}
@media(max-width:1024px){body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid{grid-template-columns:minmax(0,1fr)!important}.wpst-aihtml-shop-fallback-info{padding:14px}.wpst-aihtml-shop-price-range input{font-size:12px!important}}

/* v3.3.123 — Archive product placement and nested CSS-grid safety.
   Only dynamically generated WooCommerce shop collections are affected. */
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-autolist[data-wpst-shop-auto-placement="1"] {
  box-sizing:border-box!important;display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  float:none!important;clear:both;
}
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"] {
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:repeat(var(--wpst-ai-effective-cols,var(--wpst-ai-wc-columns,4)),minmax(0,1fr))!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  grid-auto-flow:row!important;align-items:stretch!important;
  writing-mode:horizontal-tb!important;
}
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"] > .wpst-aihtml-shop-cell {
  box-sizing:border-box!important;display:block!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  writing-mode:horizontal-tb!important;word-break:normal!important;
}
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-cell .wpst-aihtml-shop-fallback,
body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-cell .wpst-aihtml-shop-fallback * {
  writing-mode:horizontal-tb!important;word-break:normal!important;
}
@media (max-width:1024px) {
  body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"] {
    --wpst-ai-effective-cols:2;
  }
}
@media (max-width:767px) {
  body.wpst-wc-ai-archive-fullwidth .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"] {
    --wpst-ai-effective-cols:1;
  }
}

/* v3.3.125 — Managed shop catalogue. This is scoped to the AI HTML archive
   widget and never modifies ordinary WooCommerce grids or header templates. */
body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed {
  display:grid!important;grid-template-columns:minmax(200px,228px) minmax(0,1fr)!important;
  gap:clamp(14px,1.7vw,25px)!important;align-items:start!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  box-sizing:border-box!important;clear:both!important;
}
body .wpst-aihtml-shop-managed > .wpst-aihtml-shop-managed-filters{
  min-width:0!important;max-width:100%!important;grid-column:1!important;
}
body .wpst-aihtml-shop-managed > .wpst-aihtml-shop-managed-content{
  display:block!important;min-width:0!important;max-width:100%!important;
  width:100%!important;grid-column:2!important;overflow:visible!important;
}
body .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"]{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:clamp(10px,1.1vw,18px)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;align-items:stretch!important;
}
body .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid > .wpst-aihtml-shop-cell {
  display:block!important;width:auto!important;max-width:none!important;min-width:0!important;
  grid-column:auto!important;grid-row:auto!important;
}
body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback-info{
  padding:clamp(9px,1vw,16px)!important;gap:9px!important;
}
body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback h3{
  font-size:clamp(12px,1.15vw,16px)!important;line-height:1.35!important;
}
body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback-price{
  font-size:clamp(13px,1.4vw,21px)!important;
}
@media(max-width:1100px){
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:767px){
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed{
    display:block!important;width:100%!important;min-width:0!important;
  }
  body .wpst-aihtml-shop-managed > .wpst-aihtml-shop-managed-filters{
    display:block!important;width:100%!important;grid-column:auto!important;margin-bottom:14px!important;
  }
  body .wpst-aihtml-shop-managed > .wpst-aihtml-shop-managed-content{
    display:block!important;width:100%!important;min-width:0!important;grid-column:auto!important;
  }
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"]{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback-info{
    padding:9px!important;gap:7px!important;
  }
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback h3{
    font-size:12px!important;overflow-wrap:break-word!important;
  }
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-fallback-price{
    font-size:14px!important;
  }
  body .wpst-aihtml-shop-managed .wpst-aihtml-shop-buy{
    min-height:36px!important;padding:7px 5px!important;font-size:11px!important;
  }
}

/* v3.3.126 — Mobile WooCommerce filters must never inherit the imported
   design's oversized checkbox/label styles. Keep products immediately visible. */
body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-filters .wpst-aihtml-shop-mobile-toggle{
  display:none!important;position:relative!important;width:100%!important;
  min-height:44px!important;border:1px solid #e4eaf3!important;
  padding:10px 14px!important;border-radius:10px!important;
  background:#fff!important;color:#152545!important;
  font:700 14px/1.4 system-ui,sans-serif!important;text-align:left!important;
  cursor:pointer!important;box-sizing:border-box!important;
}
@media (max-width:767px){
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed {
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;overflow:visible!important;padding-bottom:76px!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-filters {
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;margin:0 0 12px!important;padding:0!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-filters .wpst-aihtml-shop-mobile-toggle{
    display:block!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-filters:not(.is-open) > .wpst-aihtml-shop-filter-panel{
    display:none!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-filters.is-open > .wpst-aihtml-shop-filter-panel{
    display:block!important;margin-top:8px!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed-content{
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;margin:0!important;padding:0!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid[data-wpst-shop-grid="1"]{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;min-width:0!important;
    max-width:100%!important;margin:0!important;padding:0!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-managed .wpst-aihtml-shop-grid > .wpst-aihtml-shop-cell{
    min-width:0!important;max-width:100%!important;width:auto!important;
    display:block!important;grid-column:auto!important;
  }
  body .wpst-aihtml-root[data-wpst-ai-html="1"] .wpst-aihtml-shop-category-tabs{
    max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
    flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;
  }
}

/* v3.3.129 — WooCommerce product gallery button refinement. */
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-host {
  position:relative!important;
  padding-left:118px!important;
  box-sizing:border-box!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-main-image {
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery {
  position:absolute!important;
  inset:18px!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  z-index:4!important;
  pointer-events:none!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery > * {pointer-events:auto!important;}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-controls {
  display:contents!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-controls button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;
  border:1px solid rgba(226,232,240,.98)!important;border-radius:999px!important;
  font-size:28px!important;font-weight:600!important;line-height:1!important;
  color:#243452!important;background:rgba(255,255,255,.95)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.14)!important;
  padding:0!important;cursor:pointer!important;opacity:1!important;visibility:visible!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-controls button:hover {
  transform:translateY(-1px)!important;box-shadow:0 18px 38px rgba(15,23,42,.18)!important;background:#fff!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-prev,
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-next,
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-expand,
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-counter {
  position:absolute!important;z-index:6!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-prev {
  left:104px!important;top:50%!important;transform:translateY(-50%)!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-next {
  right:14px!important;top:50%!important;transform:translateY(-50%)!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-expand {
  right:14px!important;top:14px!important;font-size:20px!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-counter {
  left:104px!important;bottom:14px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:64px!important;height:40px!important;padding:0 14px!important;border-radius:999px!important;
  font-size:15px!important;font-weight:700!important;letter-spacing:.02em!important;
  color:#fff!important;background:rgba(15,23,42,.78)!important;backdrop-filter:blur(8px)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.2)!important;white-space:nowrap!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumbs {
  position:absolute!important;left:0!important;top:52px!important;bottom:0!important;
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:12px!important;align-items:stretch!important;
  width:86px!important;max-width:86px!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;
  padding:0 2px 56px 0!important;margin:0!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumbs::-webkit-scrollbar {display:none!important;}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb {
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 92px!important;width:86px!important;height:92px!important;min-width:86px!important;
  min-height:92px!important;max-width:86px!important;box-sizing:border-box!important;
  padding:0!important;margin:0!important;border:2px solid rgba(226,232,240,.98)!important;
  background:#fff!important;border-radius:18px!important;overflow:hidden!important;
  position:relative!important;cursor:pointer!important;opacity:1!important;visibility:visible!important;
  box-shadow:0 8px 22px rgba(15,23,42,.08)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb:hover {
  transform:translateY(-2px)!important;box-shadow:0 16px 30px rgba(15,23,42,.12)!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb.is-active {
  border-color:#9c24ef!important;box-shadow:0 0 0 2px rgba(156,36,239,.16), 0 18px 34px rgba(15,23,42,.16)!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb img {
  width:100%!important;height:100%!important;max-width:100%!important;
  min-width:0!important;object-fit:cover!important;display:block!important;
  position:static!important;margin:0!important;padding:0!important;
}
.wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-autoplace[hidden] {display:none!important;}

@media (max-width: 1024px) {
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-host {padding-left:96px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery {inset:14px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumbs {top:46px!important;width:70px!important;max-width:70px!important;gap:10px!important;padding-bottom:52px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb {width:70px!important;max-width:70px!important;min-width:70px!important;height:78px!important;min-height:78px!important;flex-basis:78px!important;border-radius:14px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-controls button {width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;font-size:24px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-prev,
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-counter {left:86px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-next,
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-expand {right:10px!important;}
}

@media(max-width:767px) {
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-host {
    padding-left:0!important;padding-bottom:108px!important;
  }
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery {
    inset:12px!important auto auto 12px!important;right:12px!important;bottom:12px!important;
  }
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumbs {
    left:0!important;right:0!important;top:auto!important;bottom:0!important;
    flex-direction:row!important;align-items:center!important;width:auto!important;max-width:none!important;min-width:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;padding:0 92px 0 0!important;gap:8px!important;
  }
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-thumb {
    flex-basis:62px!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;max-width:62px!important;border-radius:12px!important;
  }
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-controls button {
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;font-size:22px!important;
  }
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-prev {left:10px!important;top:calc(50% - 38px)!important;transform:translateY(-50%)!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-next {right:10px!important;top:calc(50% - 38px)!important;transform:translateY(-50%)!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-expand {right:10px!important;top:10px!important;font-size:17px!important;}
  .wpst-aihtml-root[data-wpst-product-detail="1"] .wpst-ai-wc-gallery-counter {
    left:10px!important;bottom:74px!important;min-width:54px!important;height:32px!important;padding:0 12px!important;font-size:12px!important;
  }
}

/* v3.3.130 — Native WooCommerce flows retain functional form sizing. */
.wpst-aihtml-root .wpst-ai-woo-native {width:100%;min-width:0;max-width:100%;box-sizing:border-box;clear:both}
.wpst-aihtml-root .wpst-ai-woo-native .woocommerce {max-width:100%;min-width:0;box-sizing:border-box}
.wpst-aihtml-root .wpst-ai-woo-native input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.wpst-aihtml-root .wpst-ai-woo-native select,
.wpst-aihtml-root .wpst-ai-woo-native textarea {max-width:100%;box-sizing:border-box}
.wpst-aihtml-root .wpst-ai-woo-native .form-row {min-width:0}
@media(max-width:767px) {
 .wpst-aihtml-root .wpst-ai-woo-native .col2-set,
 .wpst-aihtml-root .wpst-ai-woo-native .col2-set .col-1,
 .wpst-aihtml-root .wpst-ai-woo-native .col2-set .col-2 {float:none!important;width:100%!important;max-width:100%!important;margin:0 0 18px!important}
 .wpst-aihtml-root .wpst-ai-woo-native table.shop_table {display:block;overflow-x:auto;max-width:100%}
 .wpst-aihtml-root .wpst-ai-woo-native .woocommerce-MyAccount-navigation,
 .wpst-aihtml-root .wpst-ai-woo-native .woocommerce-MyAccount-content {float:none!important;width:100%!important;max-width:100%!important}
}
