/* Shop + PDP — BlueStone structure, Aussify charcoal / copper / cream. */

:root {
  --al-ink: #0f2744;
  --al-brand: #1e6fff;
  --al-gold: #e0b423;
  --al-ivory: #eef3fa;
  --al-border: #d7e2f0;
  --al-border2: #c5d4e8;
  --al-muted: #5b6b82;
  --al-green: #2f6b3c;
  --al-r: 8px;
}

body.sscomic-shop .ss-store-main,
body.single-product .ss-store-main {
  background: #f7f9fc;
  padding-bottom: 0;
}

.ss-store-main .wrap,
.wrap {
  width: min(var(--ss-container-max, 1660px), calc(100% - 48px));
  margin-inline: auto;
}

/* Category hero */
.cat-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 32px 36px;
  background-color: #0F2744;
  background-image: var(--ss-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--ss-radius-banner, 1.5rem);
  border-bottom: 0;
}

.cat-hero.ss-has-banner::before,
.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 39, 68, 0.88) 0%, rgba(15, 39, 68, 0.5) 58%, rgba(10, 28, 51, 0.62) 100%);
}

.cat-hero h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--al-ivory);
  margin: 0 0 6px;
}

.cat-hero p {
  font-size: 14px;
  color: rgba(238, 243, 250, 0.88);
  max-width: 60ch;
  margin: 0;
}

.cat-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cat-hero-stats { display: flex; gap: 24px; flex-shrink: 0; }
.cat-stat { text-align: center; }

.cat-stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--al-ivory);
  line-height: 1;
}

.cat-stat b em {
  color: var(--al-gold);
  font-style: normal;
}

.cat-stat span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: rgba(245, 241, 235, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.subcats {
  padding: 14px 0;
  border-bottom: 1px solid var(--al-border);
  background: #faf8f4;
  overflow-x: auto;
  scrollbar-width: none;
}

.subcats-inner { display: flex; gap: 8px; }

.subcat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--al-border2);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--al-ink);
  background: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.subcat:hover { border-color: var(--al-ink); }

.subcat.on {
  border-color: var(--al-brand);
  background: #f8efe6;
  color: var(--al-brand);
}

.subcat-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--al-muted);
  background: var(--al-border);
  border-radius: 99px;
  padding: 1px 6px;
}

.subcat.on .subcat-count {
  background: rgba(176, 106, 52, 0.14);
  color: var(--al-brand);
}

.cat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 28px 0 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

.sidebar { position: sticky; top: 88px; }

.filter-section {
  border-bottom: 1px solid var(--al-border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--al-ink);
  cursor: pointer;
  text-align: left;
}

.filter-title svg {
  width: 16px;
  height: 16px;
  stroke: var(--al-muted);
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}

.filter-title.is-closed svg { transform: rotate(-90deg); }
.filter-body { display: flex; flex-direction: column; gap: 8px; }
.filter-body.is-hidden { display: none; }
.price-bands { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }

.filter-check,
.star-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13px;
  color: var(--al-ink);
}

.filter-check input,
.star-filter input {
  width: 16px;
  height: 16px;
  accent-color: var(--al-brand);
  flex-shrink: 0;
}

.price-range {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-range input[type="number"] {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 1.5px solid var(--al-border2);
  border-radius: var(--al-r);
  padding: 7px 10px;
  font-size: 13px;
  font-family: inherit;
}

.price-sep { color: var(--al-muted); }

.price-go {
  padding: 7px 14px;
  background: var(--al-ink);
  color: #fff;
  border: 0;
  border-radius: var(--al-r);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.price-go:hover { background: var(--al-brand); }
.gold-stars { color: var(--al-gold); letter-spacing: 0.5px; }

.active-filters {
  background: var(--al-ivory);
  border: 1px solid var(--al-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.active-filters-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--al-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--al-border2);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  margin: 2px;
}

.filter-tag a {
  color: var(--al-muted);
  text-decoration: none;
  font-size: 13px;
}

.clear-all {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--al-brand);
  text-decoration: none;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.toolbar-left { font-size: 13px; color: var(--al-muted); }
.toolbar-left strong { color: var(--al-ink); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }

.sort-select,
body.sscomic-theme .woocommerce-ordering select {
  border: 1.5px solid var(--al-border2);
  border-radius: var(--al-r);
  padding: 7px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--al-ink);
  background: #fff;
}

.view-btns {
  display: flex;
  border: 1.5px solid var(--al-border2);
  border-radius: var(--al-r);
  overflow: hidden;
}

.view-btn {
  border: 0;
  background: #fff;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--al-muted);
}

.view-btn.on { background: var(--al-ink); color: #fff; }
.view-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.ss-store-main .cat-right ul.products,
.cat-right ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

@media (max-width: 1200px) {
  .ss-store-main .cat-right ul.products,
  .cat-right ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 800px) {
  .ss-store-main .cat-right ul.products,
  .cat-right ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .cat-hero { padding: 24px 20px; min-height: 180px; }
  .cat-hero h1 { font-size: 22px; }
}

.cat-right ul.products.is-list {
  grid-template-columns: 1fr !important;
}

.cat-right ul.products.is-list li.product {
  flex-direction: row !important;
  align-items: stretch;
}

.cat-right ul.products.is-list .ss-card-media {
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
}

.cat-right ul.products.is-list .ss-card-foot {
  margin-top: auto;
}

.cat-right ul.products .ss-card a.ss-card-add,
.ss-store-main ul.products .ss-card a.ss-card-add {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  border-radius: 50%;
}

.ss-cat-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--al-muted);
}

body.sscomic-theme .woocommerce-pagination {
  display: flex;
  justify-content: center;
  padding: 36px 0 8px;
}

body.sscomic-theme .woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none !important;
  border: 0 !important;
}

body.sscomic-theme .woocommerce-pagination a.page-numbers,
body.sscomic-theme .woocommerce-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px !important;
  padding: 0 12px;
  border: 1.5px solid var(--al-border2);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--al-ink);
  text-decoration: none;
}

body.sscomic-theme .woocommerce-pagination span.page-numbers.current {
  background: var(--al-ink) !important;
  border-color: var(--al-ink) !important;
  color: #fff !important;
}

/* PDP — BlueStone 3-column structure, Aussify navy / sapphire */
body.single-product .ss-store-main {
  background: #f7f9fc;
}

body.single-product .ss-pdp-wrap > .wrap,
body.single-product .ss-pdp-wrap .ss-breadcrumbs.wrap,
body.single-product .below-fold .wrap,
body.single-product .ss-pdp-promises.wrap,
body.single-product .al-trust-wrap.wrap,
body.single-product .related.products.wrap {
  width: min(1200px, calc(100% - 48px));
}

.ss-pdp-wrap { padding-bottom: 56px; }

.ss-pdp-wrap .ss-breadcrumbs.wrap,
.ss-breadcrumbs.wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--al-muted);
}

.ss-breadcrumbs a { color: var(--al-brand); font-weight: 600; text-decoration: none; }
.ss-breadcrumbs a:hover { text-decoration: underline; }

body.single-product .sku,
body.single-product .product_meta,
body.sscomic-theme .ss-pdp-sku,
.ss-pdp-sku {
  display: none !important;
}

body.sscomic-theme.single-product .pdp-main,
body.sscomic-theme.single-product .ss-pdp-grid,
body.sscomic-theme .pdp-main,
body.sscomic-theme .ss-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr) minmax(280px, 320px) !important;
  gap: 28px 32px;
  padding: 16px 0 28px;
  align-items: start;
  min-width: 0;
}

body.sscomic-theme .ss-pdp-gallery {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start;
  min-width: 0;
  max-width: 540px;
  overflow: visible;
}

.ss-pdp-thumbs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  max-width: 68px;
  overflow: hidden;
}

.ss-pdp-thumbs,
.thumb-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 68px;
  max-width: 68px;
  max-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ss-pdp-thumbs::-webkit-scrollbar,
.thumb-strip::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ss-pdp-thumb-chev {
  display: grid;
  place-items: center;
  width: 28px;
  height: 20px;
  border: 0;
  background: none;
  color: var(--al-ink);
  cursor: pointer;
  padding: 0;
}

.ss-pdp-thumb-chev[hidden] {
  display: none !important;
}

.ss-pdp-thumb,
.thumb {
  width: 100%;
  height: 68px;
  max-height: 68px;
  padding: 2px;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.ss-pdp-thumb.is-active,
.ss-pdp-thumb.on {
  opacity: 1;
  border: 2px solid #1e6fff;
  box-shadow: none;
  background: #fff;
}

.ss-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.main-img-wrap,
.ss-pdp-main {
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 1;
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  outline: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: zoom-in;
}

.ss-pdp-slide {
  position: absolute;
  inset: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0 !important;
}

.ss-pdp-main img,
.ss-pdp-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

.ss-pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--al-border);
  background: #fff;
  color: var(--al-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ss-pdp-nav-prev { left: 8px; }
.ss-pdp-nav-next { right: 8px; }

.ss-pdp-nav:hover {
  border-color: var(--al-brand);
  color: var(--al-brand);
}

.ss-pdp-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--al-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 0.35rem auto 0.85rem;
}

.ss-pdp-promise {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--al-border);
}

.ss-pdp-promise:last-child { border-right: 0; }

.ss-pdp-promise-ico {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ss-pdp-promise-ico svg,
.ss-pdp-promise-ico .ss-al-ico {
  width: 28px;
  height: 28px;
  display: block;
}

.ss-pdp-promise strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--al-ink);
}

.ss-pdp-promise div span {
  font-size: 12px;
  color: var(--al-muted);
}

.ss-pdp-main.is-zooming img {
  transform: scale(1.6);
  cursor: zoom-out;
}

.img-badge,
.ss-pdp-sale-tag {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 6;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: var(--al-brand) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.img-wish,
.img-zoom {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--al-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.img-wish { top: 12px; right: 12px; }
.img-zoom { bottom: 12px; right: 12px; width: 32px; height: 32px; }

.img-wish svg,
.img-zoom svg {
  width: 17px;
  height: 17px;
  stroke: var(--al-muted);
  fill: none;
  stroke-width: 1.8;
}

.img-wish.is-active svg,
.img-wish:hover svg { stroke: var(--al-brand); fill: var(--al-brand); }

.ss-pdp-info {
  min-width: 0;
  overflow-wrap: break-word;
  overflow: visible;
  z-index: 1;
  padding-top: 2px;
}

.ss-pdp-info,
.ss-pdp-buy,
.ss-pdp-gallery {
  min-width: 0;
}

.deal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.deal-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.deal-tag-hot { background: var(--al-brand); color: #fff; }
.deal-tag-gold { background: var(--al-ivory); color: var(--al-gold); border: 1px solid var(--al-border2); }

.ss-pdp-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: var(--al-ink);
  margin: 0 0 10px;
}

.ss-pdp-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--al-border);
}

.ss-rating-hover {
  position: relative;
  display: inline-flex;
  z-index: 8;
}

.ss-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px 12px 5px 10px;
  background: #eef3fa;
  border: 1px solid #d7e2f0;
  border-radius: 999px;
}

.ss-rating-trigger,
.ss-rating-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--al-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.ss-rating-avg { color: var(--al-ink); }

.ss-rating-count { color: #1e6fff; }

.ss-rating-count:hover,
.ss-rating-see:hover {
  color: #1558d6;
  text-decoration: underline;
}

.ss-rating-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 22rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}

.ss-rating-popover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.ss-rating-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 1.4rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #d7e2f0;
  border-top: 1px solid #d7e2f0;
  transform: rotate(45deg);
}

.ss-rating-hover:hover .ss-rating-popover,
.ss-rating-hover:focus-within .ss-rating-popover,
.ss-rating-hover.is-open .ss-rating-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ss-rating-pop-avg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #0f2744;
  font-size: 14px;
}

.ss-rating-pop-avg strong {
  font-size: 18px;
  font-weight: 800;
}

.ss-rating-pop-count {
  margin: 0 0 12px;
  font-size: 12px;
  color: #5b6b82;
}

.ss-rating-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ss-rating-bars li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.ss-rating-bar-label { color: #5b6b82; text-align: right; }
.ss-rating-bar-track {
  display: block;
  height: 8px;
  overflow: hidden;
  background: #eef3fa;
  border: 1px solid #d7e2f0;
  border-radius: 999px;
}
.ss-rating-bar-fill {
  display: block;
  height: 100%;
  background: #4ba3f0;
}
.ss-rating-bar-pct {
  text-align: right;
  color: #1e6fff;
  font-weight: 600;
}

.ss-rating-see {
  display: inline-block;
  margin-top: 12px;
  color: #1e6fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ss-rating-stars {
  position: relative;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #d5cfc4;
}

.ss-rating-stars::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--ss-star-fill, 0%);
  overflow: hidden;
  color: var(--al-gold);
  white-space: nowrap;
}

.ss-pdp-meta-div {
  width: 1px;
  height: 14px;
  background: var(--al-border);
}

body.sscomic-theme .ss-pdp-sku,
.ss-pdp-sku {
  display: inline !important;
  font-size: 12px;
  color: var(--al-muted);
  font-weight: 600;
}

.ss-pdp-short {
  display: none;
}

.ss-pdp-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-pdp-info .ss-pdp-points li {
  max-height: 4.85em;
  overflow: hidden;
}

.ss-pdp-points li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #24344c;
  min-width: 0;
}

.ss-pdp-points li strong {
  color: var(--al-ink);
  font-weight: 800;
}

.ss-pdp-points li::before {
  content: "•";
  color: var(--al-brand);
  font-weight: 800;
  flex: 0 0 auto;
}

.ss-pdp-buy {
  position: sticky;
  top: 96px;
  align-self: start;
  min-width: 0;
}
body.admin-bar .ss-pdp-buy { top: 128px; }

.ss-pdp-price-big {
  margin-bottom: 6px;
  color: #1e6fff;
  line-height: 1;
}

.ss-pdp-price-big .cur { font-size: 24px; font-weight: 800; }
.ss-pdp-price-big .amt { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.ss-pdp-price-big sup { font-size: 16px; font-weight: 800; }

.ss-gst-note { font-size: 12px; color: var(--al-muted); margin: 0 0 8px; }
.ss-ship-free { font-size: 12px; font-weight: 700; color: var(--al-green); margin: 0 0 5px; }
.ss-ship-date { font-size: 12px; color: var(--al-muted); margin: 0 0 8px; }
.ss-in-stock { font-size: 12px; font-weight: 700; color: var(--al-green); margin: 0 0 14px; }
.ss-in-stock.is-out { color: var(--al-brand); }

body.sscomic-theme .ss-pdp-cart form.cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

body.sscomic-theme .ss-pdp-cart .quantity,
body.sscomic-theme .ss-pdp-cart .quantity[data-type="type-2"] {
  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;
}

body.sscomic-theme .ss-pdp-cart .single_add_to_cart_button {
  grid-column: 1 / -1;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 18px !important;
  font-size: 16px;
  font-weight: 800;
  background: #1e6fff !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  aspect-ratio: auto !important;
  min-height: 50px !important;
  height: 50px !important;
  max-height: 52px !important;
}

body.sscomic-theme .ss-pdp-cart .single_add_to_cart_button:hover {
  background: #1558d6 !important;
}

body.single-product .ss-pdp-cart p.stock {
  display: none !important;
}

.ss-trust-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--al-border);
  margin-top: 16px;
}

.ss-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--al-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--al-ink);
  text-decoration: none;
}

.ss-trust-row:last-child { border-bottom: 0; }

.ss-trust-ico {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  font-size: 0;
  flex-shrink: 0;
}

.ss-trust-ico svg,
.ss-trust-ico .ss-al-ico {
  width: 20px;
  height: 20px;
  display: block;
}

.ss-trust-row .arr { margin-left: auto; color: var(--al-muted); font-weight: 400; }

.ss-pdp-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--al-border);
}

.ss-pdp-h2-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.ss-pdp-h2-bar::before {
  content: "";
  width: 4px;
  height: 22px;
  background: #0f2744;
  border-radius: 2px;
}

.ss-pdp-desc p {
  font-size: 14px;
  line-height: 1.8;
  color: #24344c;
  margin: 0 0 16px;
}

.ss-pdp-about-points {
  margin-top: 4px;
}

.spec-table {
  display: grid;
  grid-template-columns: minmax(140px, 280px) minmax(0, 1fr);
  border: 1px solid var(--al-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.spec-table div {
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--al-border);
}

.spec-table .spec-key { color: var(--al-muted); font-weight: 600; }
.spec-table .spec-val { color: var(--al-ink); font-weight: 700; }
.spec-table .spec-odd { background: #f5f8fd; }
.spec-table .spec-head {
  background: #e8eef8;
  color: var(--al-ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ss-reviews-summary {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 24px;
  background: #f5f8fd;
  border: 1px solid var(--al-border);
  border-radius: 12px;
  margin-bottom: 28px;
  align-items: center;
}

.ss-reviews-score { text-align: center; }
.ss-reviews-num { font-size: 52px; font-weight: 800; line-height: 1; }
.ss-reviews-count { font-size: 12px; color: var(--al-muted); margin-top: 6px; }
.ss-reviews-bars { display: flex; flex-direction: column; gap: 7px; }

.ss-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.ss-reviews-bar-label { width: 28px; text-align: right; color: var(--al-muted); }
.ss-reviews-bar-track { flex: 1; height: 8px; background: #eef3fa; border-radius: 99px; overflow: hidden; }
.ss-reviews-bar-fill { height: 100%; background: #4ba3f0; }
.ss-reviews-bar-pct { width: 36px; text-align: right; color: var(--al-muted); }

.ss-review-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--al-muted);
}

.rf-btn {
  border: 1.5px solid var(--al-border2);
  background: #fff;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.rf-btn.rf-on { background: var(--al-ink); color: #fff; border-color: var(--al-ink); }

.rv-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--al-border);
}

.rv-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rv-who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }

.rv-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.rv-date { font-size: 11px; color: var(--al-muted); }
.rv-verified { font-size: 11px; color: var(--al-green); font-weight: 700; margin: 6px 0; }
.rv-title {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--al-ink);
  letter-spacing: -0.02em;
}
.rv-body { font-size: 14px; line-height: 1.65; color: var(--al-ink); margin-top: 8px; }
.rv-body.collapsed { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.rv-helpful {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--al-muted);
}

.rv-helpful-btn {
  border: 1.5px solid var(--al-border2);
  background: #fff;
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--al-ink);
}

.rv-helpful-btn em {
  font-style: normal;
  color: var(--al-muted);
}

.rv-helpful-btn.is-on,
.rv-helpful-btn:hover {
  border-color: #1e6fff;
  color: #1e6fff;
}

.rv-readmore {
  margin-top: 6px;
  border: 0;
  background: none;
  color: var(--al-brand);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.ss-load-more-wrap { text-align: center; margin-top: 24px; }

.ss-load-more {
  border: 1.5px solid var(--al-border2);
  background: #fff;
  border-radius: 99px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.related.products.wrap {
  padding: 40px 0 56px;
  border-top: 1px solid var(--al-border);
}

.related .sec-head {
  text-align: left;
}

.related .sec-head h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 18px;
  color: #0f2744;
  text-align: left;
}

.related ul.products,
.ss-related-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 16px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

body.single-product .related ul.products li.product,
body.single-product .ss-related-grid > li.product {
  flex: 0 1 calc((100% - 64px) / 5);
  width: calc((100% - 64px) / 5) !important;
  max-width: calc((100% - 64px) / 5);
  min-width: 0;
  margin: 0 !important;
  text-align: left;
}

/* Compact related banners — shorter than shop squares, contain + white pad */
body.single-product .related .ss-card-media {
  aspect-ratio: auto;
  height: 200px;
  max-height: 200px;
  background: #fff;
}

body.single-product .related .ss-card-image,
body.single-product .related .ss-card-image.ss-product-art {
  padding: 20px !important;
  background: #fff !important;
}

.ss-pdp-sticky { display: none !important; }

/* Product card image banners — edge-to-edge, no stroke */
body.sscomic-theme .ss-card,
body.sscomic-theme .ss-store-main ul.products li.product,
body.sscomic-theme .ss-home ul.products li.product,
body.single-product .related .ss-card {
  background: transparent !important;
}

body.sscomic-theme .ss-card-media,
body.sscomic-theme ul.products li.product .ss-card-media {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border-radius: 8px;
  overflow: hidden;
}

body.sscomic-theme .ss-card-image,
body.sscomic-theme .ss-card-image.ss-product-art,
body.sscomic-theme ul.products li.product .ss-card-image {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

body.sscomic-theme .ss-card-image img,
body.sscomic-theme .ss-card-img,
body.sscomic-theme ul.products li.product .ss-card-image img,
body.single-product .related .ss-card-image img,
body.single-product .related .ss-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.sscomic-theme .ss-pdp-main,
body.sscomic-theme .main-img-wrap {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  overflow: hidden;
}

body.sscomic-theme .ss-pdp-thumb,
body.sscomic-theme .thumb {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  overflow: hidden;
}

body.sscomic-theme .ss-pdp-thumb.is-active,
body.sscomic-theme .ss-pdp-thumb.on {
  border: 2px solid #1e6fff !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.sscomic-theme.single-product .pdp-main,
  body.sscomic-theme.single-product .ss-pdp-grid,
  body.sscomic-theme .pdp-main,
  body.sscomic-theme .ss-pdp-grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr) !important;
  }
  .ss-pdp-buy { grid-column: 1 / -1; position: static; max-width: 360px; }
}

@media (max-width: 800px) {
  body.sscomic-theme.single-product .pdp-main,
  body.sscomic-theme.single-product .ss-pdp-grid,
  body.sscomic-theme .pdp-main,
  body.sscomic-theme .ss-pdp-grid,
  .ss-reviews-summary,
  .spec-table {
    grid-template-columns: 1fr !important;
  }
  body.sscomic-theme .ss-pdp-gallery {
    display: flex !important;
    flex-direction: column;
    max-width: 100%;
  }
  body.sscomic-theme .ss-pdp-thumbs-col {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    order: 2;
  }
  .ss-pdp-thumb-chev { display: none !important; }
  .ss-pdp-thumbs {
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    order: 2;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    scrollbar-width: none;
  }
  .ss-pdp-thumb,
  .thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    max-height: 56px;
  }
  .ss-pdp-main { order: 1; min-height: 0; max-height: 340px; max-width: 340px; padding: 0; }
  .ss-pdp-info { order: 2; }
  .ss-pdp-buy { order: 3; max-width: none; }
  .ss-pdp-slide { inset: 0; padding: 0; }
  .ss-pdp-promises { grid-template-columns: 1fr 1fr; }
  .ss-pdp-promise:nth-child(2) { border-right: 0; }
  .ss-pdp-promise:nth-child(1),
  .ss-pdp-promise:nth-child(2) { border-bottom: 1px solid var(--al-border); }
  .ss-pdp-info .ss-pdp-points li {
    max-height: none;
  }
}

/* PDP hero — mock 3-column gallery / info / buy box */
.ss-pdp-crumbbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
}

.ss-pdp-crumbbar .ss-breadcrumbs {
  padding: 0;
  flex: 1 1 auto;
}

.ss-crumb-current { color: var(--al-muted); }

.ss-pdp-crumbbar .ss-pdp-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.ss-pdp-tool {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #0f2744;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.ss-pdp-tool svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.ss-pdp-tool:hover,
.ss-pdp-tool.is-active {
  color: #1e6fff;
}

.ss-pdp-tool.is-copied {
  color: #2f6b3c;
}

.ss-pdp-gallery {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  gap: 10px 12px !important;
  align-items: start;
  max-width: 540px;
}

.ss-pdp-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ss-pdp-thumb {
  position: relative;
}

.ss-pdp-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 39, 68, 0.58);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
}

.ss-pdp-highlights,
.ss-pdp-spectiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ss-pdp-highlights li,
.ss-pdp-spectiles li {
  background: #fff;
  border: 1px solid #e4ecf6;
  border-radius: 12px;
  padding: 10px 8px 9px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.ss-pdp-hi-ico {
  width: 28px;
  height: 28px;
  color: #1e6fff;
  display: grid;
  place-items: center;
}

.ss-pdp-hi-ico svg,
.ss-pdp-feat-ico svg,
.ss-pdp-buy-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.ss-pdp-highlights strong,
.ss-pdp-spectiles strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f2744;
  line-height: 1.2;
}

.ss-pdp-highlights li > span:last-child,
.ss-pdp-spectiles li > span:last-child {
  font-size: 11px;
  color: #5b6b82;
  line-height: 1.3;
}

.ss-pdp-brand {
  margin: 0 0 6px;
  color: #1e6fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ss-pdp-title {
  font-size: 24px;
  margin: 0 0 10px;
}

.ss-pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.ss-pdp-chips li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3fa;
  border: 1px solid #d7e2f0;
  font-size: 12px;
  font-weight: 700;
  color: #0f2744;
}

.ss-pdp-stars-row {
  border-bottom: 0;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.ss-pdp-info .ss-rating-chip {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.ss-pdp-sold {
  font-size: 13px;
  font-weight: 600;
  color: #5b6b82;
}

.ss-pdp-pitch {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #24344c;
}

.ss-pdp-featrows {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ss-pdp-featrows li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ss-pdp-feat-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef5ff;
  color: #1e6fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ss-pdp-featrows strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f2744;
  line-height: 1.3;
}

.ss-pdp-featrows li > span > span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #5b6b82;
  line-height: 1.4;
}

.ss-pdp-spectiles {
  padding-top: 12px;
  border-top: 1px solid #e8eef8;
}

.ss-pdp-buy {
  background: #fff;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
}

.ss-pdp-save {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1e6fff;
  font-size: 12px;
  font-weight: 800;
}

.ss-pdp-price-big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #0f2744;
  margin-bottom: 4px;
}

.ss-pdp-now {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ss-pdp-was {
  font-size: 16px;
  font-weight: 600;
  color: #8a97ab;
}

.ss-stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2f6b3c;
  vertical-align: middle;
}

.ss-ship-date,
.ss-pdp-deliver {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #24344c;
  margin: 0 0 8px;
}

.ss-pdp-buy-ico {
  width: 18px;
  height: 18px;
  color: #1e6fff;
  flex: 0 0 auto;
  margin-top: 1px;
}

.ss-pdp-change {
  margin-left: auto;
  border: 0;
  background: none;
  color: #1e6fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.ss-pdp-change:hover { text-decoration: underline; }

.ss-pdp-postcode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.ss-pdp-postcode[hidden] { display: none !important; }

.ss-pdp-postcode input {
  width: 88px;
  height: 36px;
  border: 1.5px solid #d7e2f0;
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 700;
}

.ss-pdp-postcode button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #1e6fff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ss-pdp-postcode .ss-postcode-msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
  color: #5b6b82;
}

.ss-pdp-qty {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1.5px solid #d7e2f0;
  border-radius: 12px;
  overflow: hidden;
  margin: 4px 0 12px;
  background: #fff;
}

.ss-pdp-qty button {
  width: 40px;
  height: 44px;
  border: 0;
  background: #fff;
  color: #0f2744;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.ss-pdp-qty [data-ss-qty-value] {
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  color: #0f2744;
}

.ss-pdp-trustlines {
  list-style: none;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #e8eef8;
  display: grid;
  gap: 10px;
}

.ss-pdp-trustlines li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f2744;
}

.ss-pdp-secure {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e8eef8;
}

.ss-pdp-secure > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #5b6b82;
}

.ss-pdp-secure .ss-footer-payments {
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
}

.ss-pdp-secure .ss-pay {
  width: 38px;
  height: 24px;
}

@media (max-width: 800px) {
  .ss-pdp-crumbbar {
    align-items: flex-start;
  }

  .ss-pdp-stage {
    display: contents;
  }

  .ss-pdp-main { order: 1; }
  .ss-pdp-thumbs-col { order: 2; }
  .ss-pdp-highlights { order: 3; }

  .ss-pdp-highlights,
  .ss-pdp-spectiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ss-pdp-featrows li {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

