.product-image-frame { aspect-ratio:1 / 1; overflow:hidden; }
.product-image-frame .gh-carousel-host { position:relative; width:100%; height:100%; overflow:hidden!important; }
.product-image-frame .gh-carousel-frame { width:100%; height:100%; aspect-ratio:1!important; }
.product-image-frame .gh-carousel-controls { position:absolute; inset:auto 0 0; z-index:2; min-height:38px; padding:2px 0; background:linear-gradient(180deg,transparent,rgba(255,255,255,.72)); }
.gh-carousel-host { display:block!important; aspect-ratio:auto!important; overflow:visible; background:none!important; }
.gh-carousel-frame { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1; overflow:hidden; background:#f3f0e9; color:#827c73; }
.gh-carousel-frame .gh-carousel-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gh-carousel-frame .gh-carousel-slide[hidden] { display:none!important; }
.gh-carousel-controls { display:flex; align-items:center; justify-content:center; gap:2px; min-height:40px; padding:4px 0; background:#fff; }
.gh-carousel-controls button { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; background:transparent; cursor:pointer; color:#8e8270; }
.gh-carousel-dot::before { content:''; width:7px; height:7px; border-radius:10px; background:#d7d0c5; transition:width .2s,background .2s; }
.gh-carousel-dot[aria-current="true"]::before { width:18px; background:#ab8244; }
.gh-carousel-controls button:focus-visible { outline:2px solid #ab8244; outline-offset:-3px; border-radius:8px; }
.gh-carousel-pause { font:12px/1 sans-serif; }
.muli-card-thumb:has(.product-card-carousel) { overflow:visible; }
.product-card-carousel .gh-carousel-controls { position:absolute; inset:auto 0 0; z-index:5; min-height:40px; padding:2px 0; background:linear-gradient(transparent,rgba(255,255,255,.82)); }
.catalog-card-image.gh-carousel-host { height:auto; }
.hero-image-manager { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 4px; }
.hero-image-item { position:relative; width:90px; padding:6px; border:1px solid #e5ded2; border-radius:8px; background:#fff; cursor:grab; transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
.hero-image-item:active { cursor:grabbing; }
.hero-image-item.is-dragging { opacity:.42; transform:scale(.96); }
.hero-image-item.is-drop-target { border-color:#a77b30; box-shadow:0 0 0 2px #a77b3030; }
.hero-drag-handle { position:absolute; z-index:1; top:8px; left:8px; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; color:#fff; background:#2a2927b8; font-size:16px; line-height:1; cursor:grab; }
.hero-image-item img { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:4px; }
.hero-image-item button { display:block; width:100%; margin-top:6px; border:0; padding:3px 0; background:none; color:#886735; font-size:11px; cursor:pointer; }
@media(prefers-reduced-motion:reduce) { .gh-carousel-dot::before { transition:none; } }
/* Product actions below image */.product-card-carousel.gh-carousel-host { position:relative; width:100%; flex:0 0 auto; }.muli-card-thumb:has(.product-card-carousel) { aspect-ratio:auto; overflow:visible; display:flex; flex-direction:column; }.muli-card-thumb .muli-card-actions { position:relative; inset:auto; width:auto; margin:12px 10px 0; opacity:1; transform:none; }@media (max-width:600px) { .muli-card-thumb .muli-card-actions { gap:4px; margin:10px 8px 0; } .muli-card-thumb .muli-card-actions .action-btn:not(.btn-heart) { padding:7px 4px; font-size:clamp(.62rem,2vw,.8rem); } }/* Product card actions after details */.muli-card { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; border-radius:10px; box-shadow:0 8px 24px rgba(34,44,40,.055); }.muli-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(34,44,40,.11); }.muli-card-thumb:has(.product-card-carousel) { display:contents; aspect-ratio:auto; overflow:visible; }.product-card-carousel.gh-carousel-host { position:relative; grid-column:1; grid-row:1; width:100%; flex:0 0 auto; overflow:hidden; border-radius:10px 10px 0 0; }.product-card-carousel .gh-carousel-frame { overflow:hidden; border-radius:10px 10px 0 0; }.muli-card-info { grid-column:1; grid-row:2; display:flex; flex-direction:column; align-items:center; padding:18px 18px 12px; text-align:center; flex:1 1 auto; }.muli-card-series { margin:0 0 8px; font-size:.76rem; letter-spacing:.08em; }.muli-card-title { display:flex; align-items:center; justify-content:center; min-height:2.7em; margin:0 0 8px; line-height:1.35; }.muli-card-price { margin-top:auto; padding-top:6px; }.muli-card-thumb .muli-card-actions { grid-column:1; grid-row:3; position:relative; inset:auto; width:auto; margin:0 16px 18px; gap:8px; opacity:1; transform:none; }.muli-card-thumb .muli-card-actions .action-btn { min-height:42px; padding:9px 8px; border-radius:4px; white-space:nowrap; font-size:.82rem; }.muli-card-thumb .muli-card-actions .action-btn:nth-child(2) { background:var(--muli-text-dark); color:#fff; border-color:var(--muli-text-dark); }.muli-card-thumb .muli-card-actions .action-btn:nth-child(2):hover { filter:brightness(.9); }.muli-card-thumb .muli-card-actions .action-btn.btn-heart { flex:0 0 42px; font-size:1.2rem; }@media (max-width:600px) { .muli-card-info { padding:14px 12px 10px; } .muli-card-thumb .muli-card-actions { margin:0 12px 14px; gap:6px; } .muli-card-thumb .muli-card-actions .action-btn { min-height:40px; padding:8px 4px; font-size:clamp(.62rem,2.6vw,.78rem); } .muli-card-thumb .muli-card-actions .action-btn.btn-heart { flex-basis:40px; } }
.product-card-carousel > .gh-carousel-controls { position:relative !important; inset:auto !important; z-index:5; min-height:40px; background:#fff; opacity:1 !important; visibility:visible !important; }
/* Keep the carousel controls over the image without a full-width white strip. */
.product-card-carousel.gh-carousel-host { position:relative; overflow:hidden; }
.product-card-carousel > .gh-carousel-controls { position:absolute !important; inset:auto auto 12px 50% !important; transform:translateX(-50%); display:flex; width:max-content; min-height:32px; padding:0 7px; gap:1px; border:1px solid rgba(255,255,255,.62); border-radius:999px; background:rgba(255,255,255,.74) !important; box-shadow:0 2px 10px rgba(26,31,28,.12); backdrop-filter:blur(8px); }
.product-card-carousel > .gh-carousel-controls button { width:27px; height:30px; }
@media(prefers-reduced-transparency:reduce) { .product-card-carousel > .gh-carousel-controls { background:#fff !important; } }

/* Manual product galleries: controls never cover the product photography. */
.product-card-carousel > .gh-carousel-controls {
  inset:auto auto 12px 50% !important;
  min-height:30px;
  background:rgba(35,38,37,.72) !important;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
}
.product-card-carousel .gh-carousel-dot::before { background:rgba(255,255,255,.62); }
.product-card-carousel .gh-carousel-dot[aria-current="true"]::before { background:#fff; }
.muli-card-info { min-height:196px; }
.muli-card-title {
  display:-webkit-box;
  min-height:3.9em;
  max-height:3.9em;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-height:1.3;
  text-overflow:ellipsis;
}
.product-image-frame:has(.gh-carousel-detail) { aspect-ratio:auto; overflow:visible; background:transparent; }
.product-image-frame .gh-carousel-detail.gh-carousel-host {
  display:grid !important;
  grid-template-columns:84px minmax(0,1fr);
  gap:20px;
  height:auto;
  overflow:visible !important;
}
.product-image-frame .gh-carousel-detail .gh-carousel-thumbnails {
  grid-column:1;
  grid-row:1;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:650px;
  overflow-y:auto;
  padding:2px;
}
.gh-carousel-thumbnail { flex:none; width:72px; height:72px; padding:0; border:2px solid transparent; border-radius:9px; background:#f7f6f3; cursor:pointer; overflow:hidden; }
.gh-carousel-thumbnail[aria-current="true"] { border-color:#35594d; }
.gh-carousel-thumbnail img { width:100% !important; height:100% !important; object-fit:cover !important; transform:none !important; }
.product-image-frame .gh-carousel-detail .gh-carousel-frame {
  grid-column:2;
  grid-row:1;
  aspect-ratio:1 !important;
  background:#f7f6f3;
  overflow:hidden;
  border-radius:8px;
}
.product-image-frame .gh-carousel-detail .gh-carousel-slide { object-fit:contain; transform:none !important; }
.gh-carousel-arrow { position:absolute; top:50%; z-index:3; width:42px; height:42px; padding:0; border:1px solid #ddd; border-radius:50%; background:rgba(255,255,255,.9); color:#2d3935; font:32px/1 sans-serif; cursor:pointer; transform:translateY(-50%); }
.gh-carousel-arrow.is-previous { left:12px; }
.gh-carousel-arrow.is-next { right:12px; }
.gh-carousel-arrow:hover { background:#fff; border-color:#35594d; }
.product-card-carousel .gh-carousel-arrow,
.catalog-card-image .gh-carousel-arrow { width:34px; height:34px; border:0; background:rgba(35,38,37,.72); color:#fff; font-size:26px; opacity:0; transition:opacity .15s ease,background .15s ease; }
.product-card-carousel .gh-carousel-arrow.is-previous,
.catalog-card-image .gh-carousel-arrow.is-previous { left:8px; }
.product-card-carousel .gh-carousel-arrow.is-next,
.catalog-card-image .gh-carousel-arrow.is-next { right:8px; }
.product-card-carousel:hover .gh-carousel-arrow,
.product-card-carousel:focus-within .gh-carousel-arrow,
.catalog-card-image:hover .gh-carousel-arrow,
.catalog-card-image:focus-within .gh-carousel-arrow { opacity:1; }
.product-card-carousel .gh-carousel-arrow:hover,
.catalog-card-image .gh-carousel-arrow:hover { background:rgba(35,38,37,.9); }
@media(hover:none) { .product-card-carousel .gh-carousel-arrow, .catalog-card-image .gh-carousel-arrow { opacity:1; } }
.catalog-card-image.gh-carousel-host { position:relative; }
.catalog-card-image .gh-carousel-controls { position:absolute; left:50%; bottom:10px; z-index:5; width:max-content; min-height:30px; padding:0 6px; border-radius:999px; background:rgba(35,38,37,.72); transform:translateX(-50%); }
.catalog-card-image .gh-carousel-dot::before { background:rgba(255,255,255,.62); }
.catalog-card-image .gh-carousel-dot[aria-current="true"]::before { background:#fff; }
@media(max-width:700px) {
  .product-image-frame .gh-carousel-detail.gh-carousel-host { grid-template-columns:minmax(0,1fr); gap:10px; }
  .product-image-frame .gh-carousel-detail .gh-carousel-frame { grid-column:1; grid-row:1; }
  .product-image-frame .gh-carousel-detail .gh-carousel-thumbnails { grid-column:1; grid-row:2; flex-direction:row; max-height:none; overflow-x:auto; }
  .muli-card-info { min-height:175px; }
}

/* Homepage cards: a framed image with manual arrows and a separate thumbnail row. */
.product-card-carousel.gh-carousel-card {
  overflow:visible;
  padding:14px 14px 0;
  border-radius:10px 10px 0 0;
}
.product-card-carousel.gh-carousel-card .gh-carousel-frame {
  width:100%;
  border-radius:6px;
}
.product-card-carousel.gh-carousel-card .gh-carousel-slide {
  object-fit:contain;
  transform:none !important;
}
.product-card-carousel.gh-carousel-card > .gh-carousel-card-thumbnails {
  position:static !important;
  display:flex;
  justify-content:flex-start;
  gap:7px;
  width:100%;
  min-height:60px;
  margin:0;
  padding:9px 0 4px;
  overflow-x:auto;
  scrollbar-width:none;
  border:0;
  border-radius:0;
  background:transparent !important;
  box-shadow:none;
  transform:none;
}
.product-card-carousel.gh-carousel-card > .gh-carousel-card-thumbnails::-webkit-scrollbar { display:none; }
.product-card-carousel .gh-carousel-card-thumbnails .gh-carousel-thumbnail {
  flex:0 0 49px;
  width:49px;
  height:49px;
  border-radius:6px;
}
.product-card-carousel .gh-carousel-arrow {
  width:36px;
  height:36px;
  opacity:1;
  border:1px solid rgba(32,45,39,.12);
  background:rgba(255,255,255,.94);
  color:#263b34;
  box-shadow:0 2px 7px rgba(0,0,0,.1);
}
.product-card-carousel .gh-carousel-arrow:hover { background:#fff; }
@media(max-width:600px) {
  .product-card-carousel.gh-carousel-card { padding:8px 8px 0; }
  .product-card-carousel.gh-carousel-card > .gh-carousel-card-thumbnails { min-height:49px; gap:5px; padding:6px 0 2px; }
  .product-card-carousel .gh-carousel-card-thumbnails .gh-carousel-thumbnail { flex-basis:39px; width:39px; height:39px; }
  .product-card-carousel .gh-carousel-arrow { width:30px; height:30px; font-size:23px; }
}
