/* ============================
   AliensBuilds — Shop background
   ============================ */

:root {
  /* daca ai deja variabilele astea, poti sterge */
  --ab-accent: #65ff64;
  --ab-text: #e9e9f1;
  --ab-border: rgba(255, 255, 255, 0.1);
  --ab-item-bg: rgba(0, 0, 0, 0.22);
  --ab-muted: rgba(233, 233, 241, 0.7);
}

/* Shop background is now loaded from a dedicated stylesheet on archive pages only. */

/* ============================
   Step 2 — Shop Header (Hero)
   ============================ */

/* full width */
.ab-shop-header {
  width: 100%;
  padding: 42px 0 18px 0;
}

/* continut centrat ca pe site */
.ab-shop-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

/* titlu: bold, o singura culoare */
.ab-shop-header__title {
  margin: 0 0 10px 0;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ab-text);
  text-shadow: 2px 2px 4px #000000;
}

/* doar Minecraft verde */
.ab-txt-green {
  color: var(--ab-accent);
}

/* subtext */
.ab-shop-header__subtitle {
  margin: 0 0 18px 0;
  max-width: 62ch;
  color: var(--ab-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .ab-shop-header__title {
    font-size: 34px;
  }
}

/* ============================
   Search bar (1:1 design)
   ============================ */

.ab-shop-header__search {
  margin-top: 18px;
  max-width: 520px;
}

.ab-shop-header__search form {
  display: flex;
  align-items: center;
  gap: 10px;

  height: 44px;
  padding: 0 14px;

  border-radius: 14px;

  /* gradient exact ca in imagine */
  background: linear-gradient(
    90deg,
    rgba(16, 26, 22, 0.85),
    rgba(22, 45, 36, 0.85)
  );

  border: 1px solid rgba(101, 255, 100, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(101, 255, 100, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

/* iconita */
.ab-search-icon {
  font-size: 16px;
  color: var(--ab-accent);
  opacity: 0.9;
}

/* input */
.ab-shop-header__search input[type="search"] {
  flex: 1;
  height: 100%;

  border: 0;
  background: transparent;
  outline: none;

  color: var(--ab-text);
  font-size: 14px;
  font-weight: 500;
}

.ab-shop-header__search input::placeholder {
  color: rgba(180, 190, 200, 0.6);
}

/* ============================
   Step 3 — Sidebar filters
   ============================ */

.ab-shop-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 100px 60px 100px;
}

@media (max-width: 1100px) {
  .ab-shop-shell {
    grid-template-columns: 1fr;
    padding: 20px 22px 60px 22px;
  }
}

/* disable storefront defaults */
.site-content,
.content-area,
.widget-area {
  float: none !important;
  width: auto !important;
}

.storefront-breadcrumb {
  display: none;
}

.ab-shop-sidebar {
  width: 100%;
}

/* card-uri (widget-uri) */
.ab-shop-sidebar .ab-filter-card {
  padding: 0px;
  border-radius: 0px;
  background-color: #0d111800;
  border: 1px solid rgb(255 255 255 / 0%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  margin-bottom: 14px;
}

/* titlu widget (ex: Filter by price / Product categories) */
.ab-shop-sidebar .ab-filter-title,
.ab-shop-sidebar .widget-title {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ab-text);
}

/* text mic (labels) */
.ab-shop-sidebar,
.ab-shop-sidebar p,
.ab-shop-sidebar label {
  color: var(--ab-muted);
  font-size: 13px;
}

/* main products */
.ab-shop-main {
  min-width: 0;
}

/* Card widget */
.ab-filter-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(7, 10, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}

.ab-filter-title {
  margin: 0 0 14px 0;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(233, 233, 241, 0.85);
}

.woocommerce .widget_price_filter .price_slider_wrapper {
  margin-top: 8px;
}

/* slider track */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--ab-accent);
  opacity: 0.95;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  width: 14px;
  height: 14px;
  top: -4px;
  border-radius: 50%;
  border: 2px solid var(--ab-accent);
  background: rgba(8, 10, 14, 0.95);
  box-shadow: 0 0 0 3px rgba(101, 255, 100, 0.12);
}

.woocommerce .widget_price_filter .price_slider_amount {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
}

/* min/max price text (Woo prints it) */
.woocommerce .widget_price_filter .price_label {
  display: none;
}

/* Price filter button */
.woocommerce .widget_price_filter .price_slider_amount .button {
  grid-column: 1 / -1;
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(101, 255, 100, 0.35);
  background: rgba(101, 255, 100, 0.12);
  color: var(--ab-text);
  font-weight: 800;
}

.woocommerce .widget_price_filter input[type="text"],
.woocommerce .widget_price_filter input[type="number"] {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ab-text);
  padding: 0 10px;
}

/* Categories list -> pills style */
.woocommerce .widget_product_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.woocommerce .widget_product_categories li {
  margin: 0;
}

.woocommerce .widget_product_categories a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ab-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

/* count badge */
.woocommerce .widget_product_categories .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 26px;
  height: 22px;
  padding: 0 8px;

  border-radius: 999px;
  background: rgba(101, 255, 100, 0.14);
  border: 1px solid rgba(101, 255, 100, 0.25);
  color: var(--ab-text);
  font-size: 12px;
  opacity: 0.95;
}

/* hover/active */
.woocommerce .widget_product_categories a:hover {
  border-color: rgba(101, 255, 100, 0.45);
}

.woocommerce .widget_product_categories .current-cat > a {
  border-color: rgba(101, 255, 100, 0.65);
  box-shadow: 0 0 0 2px rgba(101, 255, 100, 0.12);
}

/* generic widget lists in our filter cards */
.ab-filter-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ab-filter-card li {
  margin: 0;
}

/* checkbox row */
.ab-filter-card label {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;

  color: rgba(233, 233, 241, 0.92);
  font-weight: 600;
  font-size: 13px;
}

.ab-filter-card label:hover {
  border-color: rgba(101, 255, 100, 0.35);
}

/* checkbox look */
.ab-filter-card input[type="checkbox"],
.ab-filter-card input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ab-accent);
}

/* little count badge if present */
.ab-filter-card .count {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.85;

  padding: 2px 8px;
  border-radius: 999px;

  background: rgba(101, 255, 100, 0.14);
  border: 1px solid rgba(101, 255, 100, 0.22);
}

/* ============================
   Category list rows (match mockup #2)
   ============================ */

/* lista pe verticala, ca in poza */
.ab-shop-sidebar .ab-filter-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* fiecare rand */
.ab-shop-sidebar .ab-filter-card li {
  margin: 0;
}

/* rand clickable (label sau link) */
.ab-shop-sidebar .ab-filter-card a,
.ab-shop-sidebar .ab-filter-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: none;
  border: none;
  color: var(--ab-text);
  font-size: 16px;
  text-shadow: 2px 2px 4px #000000;
  font-weight: 700;
  cursor: pointer;
}

/* hover */
.ab-shop-sidebar .ab-filter-card a:hover,
.ab-shop-sidebar .ab-filter-card label:hover {
  border-color: rgba(101, 255, 100, 0.35);
}

/* checkbox mic si discret (sa nu strice look-ul) */
.ab-shop-sidebar .ab-filter-card input[type="checkbox"],
.ab-shop-sidebar .ab-filter-card input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--ab-accent);
  opacity: 0.9;
}

/* count badge in dreapta */
.ab-shop-sidebar .ab-filter-card .count {
  margin-left: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 34px;
  height: 22px;
  padding: 0 10px;

  border-radius: 6px;
  background: rgba(101, 255, 100, 0.9);
  color: rgba(10, 12, 18, 0.95);
  font-weight: 900;
  font-size: 12px;
}

/* text verde pentru linkuri de categorie (ca in mockup) */
.woocommerce .widget_product_categories a {
  color: var(--ab-accent);
}

/* force readable headings in sidebar */
.ab-shop-sidebar h2,
.ab-shop-sidebar h3,
.ab-shop-sidebar .widget-title {
  opacity: 1 !important;
  color: var(--ab-text) !important;
}

/* ensure no max-width on shell */
.ab-shop-shell {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* ============================
   Woo Blocks - Category list (count badge inside the row)
   Target: #block-10 (Product Categories block)
   ============================ */

.ab-shop-sidebar #block-10 .wc-block-product-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* Fiecare categorie = rand "card", cu 2 coloane (nume + badge) si rand separat pt copii */
.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "link count"
    "children children";
  align-items: center;
  gap: 0px;
  padding: 0px;
  border-radius: 12px;
  background: none;
  border: none;
}

.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item > a {
  grid-area: link;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  min-width: 0;
  text-decoration: none;
  color: var(--ab-text);
  text-shadow: 2px 2px 4px #000000;
  font-weight: 700;
  min-height: 50px;
  outline: none !important;
}

/* Hover pe tot randul (casuta), dar reactioneaza si link-ul */
.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item:hover {
  border-color: rgba(101, 255, 100, 0.35);
}

/* Badge count in dreapta, in aceeasi casuta */
.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item-count {
  grid-area: count;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Daca tema adauga paranteze din CSS, le omoram */
.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item-count::before,
.ab-shop-sidebar #block-10 .wc-block-product-categories-list-item-count::after {
  content: "" !important;
}

/* Lista de sub-categorii sa fie sub rand, cu indent */
.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list-item
  > .wc-block-product-categories-list {
  grid-area: children;
  margin-top: 10px;
  padding-left: 0px;
  gap: 10px;
}

/* Optional: emoji/imagini sa fie consistente */
.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list-item__name
  img.emoji {
  width: 16px;
  height: 16px;
}

/* ============================
   Step 4 — Products (AB custom loop)
   Goal:
   - NO grey box over image by default
   - title + tags sit at bottom
   - on hover: bottom action bar slides in + title/tags move up
   ============================ */

/* --- grid --- */
.ab-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 18px;
}
@media (max-width: 1400px) {
  .ab-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .ab-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ab-product-grid {
    grid-template-columns: 1fr;
  }
}

/* --- card --- */
.ab-product-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgba(10, 12, 18, 0.55);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.ab-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(101, 255, 100, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* OUT OF STOCK — diagonal slash (nu pana in capat) + text, animated */

.ab-product-card.outofstock {
  opacity: 0.65;
}

.ab-product-card.outofstock:hover {
  opacity: 1 !important;
}

.ab-product-card.outofstock .ab-product-media {
  position: relative;
  overflow: hidden;
}

/* linia diagonala (scurta, cu spatii la capete) */
.ab-product-card.outofstock .ab-product-media::before {
  content: "";
  position: absolute;

  top: 50%;
  left: 50%;

  width: 80%; /* <-- scurta, nu atinge capetele */
  height: 2px;

  transform: translate(-50%, -50%) rotate(-32deg) scaleX(1); /* mai pe diagonala */
  transform-origin: center;

  background: rgba(0, 0, 0, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  z-index: 9;
  pointer-events: none;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

/* textul pe mijloc */
.ab-product-card.outofstock .ab-product-media::after {
  content: "OUT OF STOCK";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
  transform-origin: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 1);
  border: none;
  color: rgb(255 0 174 / 95%);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 10;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* hover: se strange spre mijloc si dispare */
.ab-product-card.outofstock:hover .ab-product-media::before {
  transform: translate(-50%, -50%) rotate(-12deg) scaleX(0);
  opacity: 0;
}

.ab-product-card.outofstock:hover .ab-product-media::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-12deg) scale(0.95);
}

/* --- image --- */
.ab-product-media {
  position: relative;
}
.ab-product-thumb,
.ab-product-media img {
  display: block;
  width: 100%;
  height: 420px; /* mai inalt / “poster” */
  object-fit: cover;
}

/* --- single overlay gradient (for readability) --- */
.ab-product-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.04) 35%,
    rgba(0, 0, 0, 0.88)
  );
}

/* gradient verde (doar pe hover), cu fade smooth */
.ab-product-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(101, 255, 100, 0.06),
    rgba(101, 255, 100, 0.02) 35%,
    rgba(101, 255, 100, 0.22)
  );

  opacity: 0;
  transition: opacity 0.2s ease;
}

.ab-product-card:hover .ab-product-overlay::after {
  opacity: 1;
}

/* SALE badge */
.ab-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(101, 255, 100, 0.92);
  color: rgba(10, 12, 18, 0.95);
  font-weight: 900;
  font-size: 12px;
}

/* --- overlay layout --- */
.ab-product-float {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* top row: price badge (no lock) */
.ab-product-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: flex-start;
  justify-self: right;
}

.ab-product-price-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  color: rgba(233, 233, 241, 0.95);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.ab-product-price-float del {
  color: rgba(41, 41, 41, 0.45); /* gri deschis */
  text-decoration: line-through;
  font-size: 15px;
  margin-right: 5px;
}

/* bottom content: DEFAULT = no box */
.ab-product-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;

  display: grid;
  gap: 8px;

  transform: translateY(0);
  transition: transform 0.2s ease;
}

/* title readability */
.ab-product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.85);
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.ab-product-title a {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.ab-product-title a:hover {
  color: rgba(101, 255, 100, 0.95);
}

/* tags */
.ab-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ab-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px; /* ca in mock */
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(233, 233, 241, 0.92);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

/* emojis sizing */
.ab-product-title img.emoji {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
}
.ab-product-tag img.emoji {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

/* actions bar: hidden by default */
.ab-product-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 14px 14px;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  height: 74px; /* IMPORTANT: rezervam spatiu clar */
  display: flex;
  align-items: center;
  gap: 10px;
}

/* the button itself */
.ab-product-actions .button {
  width: 100%;
  height: 40px;
  border-radius: 12px;

  border: 1px solid rgba(101, 255, 100, 0.4);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ab-text);
  font-weight: 900;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Keep Add to cart as single primary action */
.ab-product-actions .button.add_to_cart_button,
.ab-product-actions .button.ajax_add_to_cart,
.ab-product-actions .button.product_type_simple,
.ab-product-actions .button.product_type_variable {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

/* Replace Woo "View cart" inline link with side drawer */
.ab-product-actions a.added_to_cart,
.ab-product-actions .added_to_cart.wc-forward {
  display: none !important;
}

/* hover behavior:
   - bar slides in
   - bottom content moves up by bar height */
.ab-product-card:hover .ab-product-actions {
  opacity: 1;
}

.ab-product-card:hover .ab-product-bottom {
  transform: translateY(-72px); /* urca peste bara */
}

/* optional hover button tint */
.ab-product-card:hover .ab-product-actions .button {
  background: rgba(101, 255, 100, 0.16);
}
.ab-product-actions .button:hover {
  background: rgba(101, 255, 100, 0.22);
}

/* ==========================
   Side Cart Drawer (Shop)
   ========================== */
.ab-cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 11, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
  z-index: 9997;
}

.ab-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(330px, 94vw);
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.26s ease;
  background:
    linear-gradient(180deg, rgba(8, 18, 15, 0.985), rgba(4, 11, 9, 0.985)),
    #050c0a;
  border-left: 1px solid rgba(101, 255, 100, 0.26);
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.52);
  z-index: 9998;
  display: flex;
  flex-direction: column;
}

body.ab-cart-drawer-open {
  overflow: hidden;
}

body.ab-cart-drawer-open .ab-cart-drawer {
  transform: translateX(0);
}

body.ab-cart-drawer-open .ab-cart-drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ab-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(101, 255, 100, 0.2);
}

.ab-cart-drawer__title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #dfffc8;
}

.ab-cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(101, 255, 100, 0.35);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #dfffc8;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.ab-cart-drawer__close::before {
  content: "\00d7";
  font-size: 30px;
  line-height: 1;
}

.ab-cart-drawer__close:hover {
  color: #dfffc8 !important;
  background: rgba(101, 255, 100, 0.16);
}

.ab-cart-drawer__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 14px 18px 18px;
}

.ab-cart-drawer .widget_shopping_cart_content {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ab-cart-drawer ul.woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(101, 255, 100, 0.45) rgba(0, 0, 0, 0.18);
  padding-right: 15px;
}

.ab-cart-drawer ul.woocommerce-mini-cart::-webkit-scrollbar {
  width: 8px;
}

.ab-cart-drawer ul.woocommerce-mini-cart::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.ab-cart-drawer ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
  background: rgba(101, 255, 100, 0.45);
  border-radius: 999px;
}

.ab-cart-drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "content"
    "qty";
  row-gap: 2px;
  align-items: start;
  padding: 8px 34px 8px 0;
  border-bottom: 1px solid rgba(101, 255, 100, 0.18);
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a.remove {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(223, 248, 207, 0.75) !important;
  text-indent: 0 !important;
  font-size: 0;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(101, 255, 100, 0.25);
  background: rgba(0, 0, 0, 0.22);
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a.remove::before {
  content: "\00d7";
  font-size: 16px;
  line-height: 1;
  top: 2px;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a.remove:hover {
  color: #ff7373 !important;
  border-color: rgba(255, 115, 115, 0.4);
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a:not(.remove) {
  grid-area: content;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #e9f8df;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a:not(.remove) {
  white-space: normal;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 52px;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #e9f8df;
  word-break: normal;
  overflow-wrap: break-word;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__price {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(223, 248, 207, 0.86);
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__price
  .woocommerce-Price-amount,
.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__price
  .woocommerce-Price-amount
  bdi {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a:not(.remove)
  > img:not(.emoji) {
  width: 92px;
  height: 52px;
  min-width: 92px;
  min-height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(101, 255, 100, 0.26);
  margin: 0 !important;
  float: none !important;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  > a:not(.remove)
  img.emoji {
  display: none !important;
}

.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .ab-mini-cart-item__quantity-source,
.ab-cart-drawer
  ul.woocommerce-mini-cart
  li.woocommerce-mini-cart-item
  .quantity {
  display: none !important;
}

.ab-cart-drawer p.woocommerce-mini-cart__total.total {
  margin: 14px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(101, 255, 100, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dfffc8;
  font-size: 15px;
  font-weight: 700;
}

.ab-cart-drawer p.woocommerce-mini-cart__total.total strong {
  color: rgba(223, 248, 207, 0.86);
  letter-spacing: 0.2px;
}

.ab-cart-drawer p.woocommerce-mini-cart__total.total .amount,
.ab-cart-drawer p.woocommerce-mini-cart__total.total .woocommerce-Price-amount {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.ab-cart-drawer p.woocommerce-mini-cart__buttons.buttons {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-cart-drawer p.woocommerce-mini-cart__buttons.buttons .button {
  order: 2;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(101, 255, 100, 0.42);
  background: rgba(0, 0, 0, 0.28);
  color: #dff8cf;
  text-decoration: none;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ab-cart-drawer
  p.woocommerce-mini-cart__buttons.buttons
  .button.checkout.wc-forward {
  order: 1;
  background: linear-gradient(180deg, #73dd20, #5fc811);
  border-color: rgba(160, 255, 122, 0.75);
  color: #071007;
  box-shadow: 0 8px 18px rgba(101, 255, 100, 0.26);
}

.ab-cart-drawer
  p.woocommerce-mini-cart__buttons.buttons
  .button:not(.checkout).wc-forward {
  order: 2;
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(101, 255, 100, 0.48);
  color: #dfffc8;
}

.ab-cart-drawer p.woocommerce-mini-cart__buttons.buttons .button:hover {
  filter: brightness(1.05);
}

.ab-cart-drawer p.woocommerce-mini-cart__empty-message {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(101, 255, 100, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #dff8cf;
}

@media (max-width: 520px) {
  .ab-cart-drawer__title {
    font-size: 20px;
  }
}

.ab-shadow-divider {
  width: 100%;
  height: 140px; /* ajustezi dupa gust */
  background: linear-gradient(
    to bottom,
    rgba(12, 17, 21, 0) 0%,
    rgba(12, 17, 21, 0.3) 40%,
    rgba(12, 17, 21, 0.72) 100%
  );
}

.site-main {
  margin-bottom: 0px !important;
}

.content-area {
  margin-bottom: 0px !important;
}

/* lista */
.wc-block-product-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* item-ul (card) */
.wc-block-product-categories-list-item {
  position: relative;
  margin: 10px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 17, 21, 0.55);
}

/* link-ul ocupa tot card-ul */
.wc-block-product-categories-list-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #e9e9f1;
}

/* overlay pt contrast (sa se citeasca textul) */
.wc-block-product-categories-list-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* layer-ul cu imaginea */
.wc-block-product-categories-list-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  transform: scale(1.02);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* hover */
.wc-block-product-categories-list-item:hover::after {
  opacity: 0.55;
  transform: scale(1.06);
}

/* count-ul din dreapta (daca vrei sa arate ca badge) */
.wc-block-product-categories-list-item-count {
  position: relative;
  z-index: 2;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  color: rgba(233, 233, 241, 0.85);
  font-size: 12px;
}

/* Builds (parinte): fundal + animatie doar pe primul rand, fara sa acopere subcategoriile */
.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  ) {
  grid-template-columns: 1fr;
  grid-template-areas:
    "link"
    "children";
}

.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  )
  > a {
  grid-area: link;
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  )
  > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/all.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  transform: scale(1.02);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  )
  > a
  > * {
  position: relative;
  z-index: 1;
}

.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  )
  > .wc-block-product-categories-list-item-count {
  grid-area: link;
  justify-self: end;
  align-self: center;
  position: relative;
  z-index: 2;
}

.ab-shop-sidebar
  #block-10
  .wc-block-product-categories-list--depth-0
  > .wc-block-product-categories-list-item:has(
    > a:is(
        [href$="/product-category/builds/"],
        [href$="/product-category/builds"]
      )
  ):hover
  > a::after {
  opacity: 0.55;
  transform: scale(1.06);
}

/* Exclusive */
.wc-block-product-categories-list-item
  > a[href*="/product-category/builds/exclusive/"]::after,
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/exclusive/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/exclusive.webp");
}

/* Non-Exclusive */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/non-exclusive/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/nonexclusive.webp");
}

/* Hub */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/hub/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/hub.webp");
}

/* Survival */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/survival/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/survival.webp");
}

/* Factions */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/factions/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/factions.webp");
}

/* Skyblock */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/skyblock/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/skyblock.webp");
}

/* Skywars */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/skywars/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/skywars.webp");
}

/* Mini Games */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/mini-games/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/games.webp");
}

/* BedWars (depth-2) */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/bedwars/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/bedwars.webp");
}

/* The Bridge (depth-2) */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/the-bridge/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/bridge.webp");
}

/* Prison */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/prison/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/prison.webp");
}

/* PVP */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/pvp/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/pvp.webp");
}

/* Halloween */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/halloween/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/halloween.webp");
}

/* Winter */
.wc-block-product-categories-list-item:has(
    > a[href*="/product-category/builds/winter/"]
  )::after {
  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/winter.webp");
}

/* heading Price */
.wp-block-woocommerce-product-filter-price > .wp-block-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* icon custom */
.wp-block-woocommerce-product-filter-price > .wp-block-heading::before {
  content: "";
  display: inline-block;

  width: 40px;
  height: 40px;

  background-image: url("/shop/wp-content/themes/new-aliensbuilds/assets/images/categories/coins.webp"); /* AICI */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  flex-shrink: 0;
}

/* titlul Price */
.wp-block-woocommerce-product-filter-price > .wp-block-heading {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 16px; /* ← marime text */
  font-weight: 700; /* optional */
  color: #ffffff; /* ← culoare text */
}

/* box-urile min/max */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__left.text
  input,
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__right.text
  input {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 64px;
  height: 28px;
  padding: 0 12px;

  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);

  color: #fff;
  font-weight: 900;
  font-size: 12px;

  text-align: center;
  box-shadow: none;
}

/* fara highlight mov */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__left.text
  input:focus,
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__right.text
  input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ===========================
   Minecraft-ish (clean) slider
   doar pe bar + thumbs
   =========================== */

.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range {
  position: relative;
  height: 14px;
}

/* TRACK (bara de fundal) */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  .range-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  height: 6px;
  border-radius: 2px; /* mai "blocky" */
  background: rgba(255, 255, 255, 0.18);

  /* pixel border */
  border: 1px solid rgba(0, 0, 0, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* SELECTIA (low -> high) - ca "grass strip" */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  left: var(--low);
  right: calc(100% - var(--high));

  height: 6px;
  border-radius: 2px;

  /* dirt -> grass subtil */
  background: linear-gradient(to right, #6b4a2a 0%, #65ff64 100%);
}

.wc-block-product-filter-price-slider__range:before {
  background: none !important;
}

/* Inputs overlay */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;

  width: 100%;
  height: 14px;
  background: transparent;
  margin: 0;

  pointer-events: none; /* doar thumb-ul ramane drag */
  z-index: 2;
}

/* Hide default tracks */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}

/* THUMB = "emerald block" (simplu) */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;

  width: 14px;
  height: 14px;
  border-radius: 3px; /* patrat-ish */

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.2)),
    #65ff64;
  border: 1px solid rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Firefox thumb */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 3px;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.2)),
    #65ff64;
  border: 1px solid rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Focus = fara mov, doar accent discret */
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]:focus,
.wp-block-woocommerce-product-filter-price
  .wc-block-product-filter-price-slider__range
  input[type="range"]:focus-visible {
  outline: none !important;
}

/* 1) ascunde titlul Status */
.wp-block-woocommerce-product-filter-status > .wp-block-heading {
  display: none !important;
}

/* 1) ascunde randul Out of stock */
.wp-block-woocommerce-product-filter-status
  .wc-block-product-filter-checkbox-list__item:has(input[value="outofstock"]) {
  display: none !important;
}

/* ===========================
   AliensBuilds — Pagination
   =========================== */

.woocommerce nav.woocommerce-pagination {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end; /* ca in poza ta, in dreapta */
}

/* lista */
.woocommerce nav.woocommerce-pagination ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;

  backdrop-filter: blur(8px);
}

/* elemente */
.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}

/* link + current */
.woocommerce nav.woocommerce-pagination ul.page-numbers a.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 36px;
  height: 34px;
  padding: 0 12px;

  border-radius: 10px;
  text-decoration: none;

  font-weight: 800;
  font-size: 13px;
  color: rgba(233, 233, 241, 0.85);

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

/* hover */
.woocommerce nav.woocommerce-pagination ul.page-numbers a.page-numbers:hover {
  color: #ffffff;
  border-color: rgba(101, 255, 100, 0.55);
  box-shadow: 0 0 0 2px rgba(101, 255, 100, 0.18);
  transform: translateY(-1px);
}

/* current page */
.woocommerce
  nav.woocommerce-pagination
  ul.page-numbers
  span.page-numbers.current {
  color: #0b0f14;
  background: #65ff64;
  border-color: rgba(101, 255, 100, 0.95);
  box-shadow: 0 8px 18px rgba(101, 255, 100, 0.18);
}

/* dots */
.woocommerce nav.woocommerce-pagination ul.page-numbers span.page-numbers.dots {
  min-width: 28px;
  padding: 0 10px;
  background: transparent;
  border-color: transparent;
  color: rgba(233, 233, 241, 0.55);
}

/* next arrow */
.woocommerce nav.woocommerce-pagination ul.page-numbers a.next.page-numbers {
  min-width: 44px;
  font-size: 16px;
  padding: 0 14px;
}

/* scapa de focus-ul mov */
.woocommerce nav.woocommerce-pagination a:focus,
.woocommerce nav.woocommerce-pagination a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.woocommerce nav.woocommerce-pagination {
  justify-content: center;
}

/* =========================
   Cart / Checkout – layout
   ========================= */

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Remove Storefront purple focus ring on Cart / Checkout and keep AB accent */
body.woocommerce-cart a:focus,
body.woocommerce-cart button:focus,
body.woocommerce-cart .button:focus,
body.woocommerce-cart .button.alt:focus,
body.woocommerce-cart input:focus,
body.woocommerce-cart textarea:focus,
body.woocommerce-cart select:focus,
body.woocommerce-cart input[type="button"]:focus,
body.woocommerce-cart input[type="reset"]:focus,
body.woocommerce-cart input[type="submit"]:focus,
body.woocommerce-cart input[type="email"]:focus,
body.woocommerce-cart input[type="tel"]:focus,
body.woocommerce-cart input[type="url"]:focus,
body.woocommerce-cart input[type="password"]:focus,
body.woocommerce-cart input[type="search"]:focus,
body.woocommerce-checkout a:focus,
body.woocommerce-checkout button:focus,
body.woocommerce-checkout .button:focus,
body.woocommerce-checkout .button.alt:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout input[type="button"]:focus,
body.woocommerce-checkout input[type="reset"]:focus,
body.woocommerce-checkout input[type="submit"]:focus,
body.woocommerce-checkout input[type="email"]:focus,
body.woocommerce-checkout input[type="tel"]:focus,
body.woocommerce-checkout input[type="url"]:focus,
body.woocommerce-checkout input[type="password"]:focus,
body.woocommerce-checkout input[type="search"]:focus,
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart button:focus-visible,
body.woocommerce-cart .button:focus-visible,
body.woocommerce-cart .button.alt:focus-visible,
body.woocommerce-cart input:focus-visible,
body.woocommerce-cart textarea:focus-visible,
body.woocommerce-cart select:focus-visible,
body.woocommerce-cart input[type="button"]:focus-visible,
body.woocommerce-cart input[type="reset"]:focus-visible,
body.woocommerce-cart input[type="submit"]:focus-visible,
body.woocommerce-cart input[type="email"]:focus-visible,
body.woocommerce-cart input[type="tel"]:focus-visible,
body.woocommerce-cart input[type="url"]:focus-visible,
body.woocommerce-cart input[type="password"]:focus-visible,
body.woocommerce-cart input[type="search"]:focus-visible,
body.woocommerce-checkout a:focus-visible,
body.woocommerce-checkout button:focus-visible,
body.woocommerce-checkout .button:focus-visible,
body.woocommerce-checkout .button.alt:focus-visible,
body.woocommerce-checkout input:focus-visible,
body.woocommerce-checkout textarea:focus-visible,
body.woocommerce-checkout select:focus-visible,
body.woocommerce-checkout input[type="button"]:focus-visible,
body.woocommerce-checkout input[type="reset"]:focus-visible,
body.woocommerce-checkout input[type="submit"]:focus-visible,
body.woocommerce-checkout input[type="email"]:focus-visible,
body.woocommerce-checkout input[type="tel"]:focus-visible,
body.woocommerce-checkout input[type="url"]:focus-visible,
body.woocommerce-checkout input[type="password"]:focus-visible,
body.woocommerce-checkout input[type="search"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.wc-block-components-sidebar-layout,
.wc-block-cart__main,
.wc-block-cart__sidebar {
  background: rgba(6, 7, 11, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(101, 255, 100, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.wc-block-cart__main {
  padding: 22px;
}

.wc-block-cart__sidebar {
  padding: 22px;
}

.entry-title,
.wc-block-cart__totals-title {
  color: #e9e9f1;
  font-size: 28px;
  margin-bottom: 18px;
}

/* Checkout page title - match Cart title badge style */
body.woocommerce-checkout .entry-header {
  text-align: center;
  margin-bottom: 20px;
}

body.woocommerce-checkout .entry-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 10px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(112, 255, 61, 0.5);
  background: linear-gradient(
    180deg,
    rgba(33, 86, 20, 0.68),
    rgba(9, 27, 12, 0.78)
  );
  color: #d3ffac;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(115, 255, 43, 0.35),
    0 2px 0 rgba(0, 0, 0, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.5);
}

@media (max-width: 760px) {
  body.woocommerce-checkout .entry-title {
    font-size: 24px;
    padding: 10px 14px 8px;
  }
}

.wc-block-cart-items {
  border-collapse: separate;
  border-spacing: 0 14px;
}

.wc-block-cart-items__row {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.wc-block-cart-item__image img {
  border-radius: 12px;
}

.wc-block-components-product-name {
  font-weight: 600;
  color: #e9e9f1;
}

.wc-block-cart-item__prices,
.wc-block-cart-item__total {
  color: #65ff64;
  font-weight: 600;
}

.wc-block-components-quantity-selector__input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9e9f1;
}

.wc-block-components-quantity-selector__button {
  color: #65ff64;
}

.wc-block-cart-item__remove-link {
  color: rgba(233, 233, 241, 0.6);
  font-size: 13px;
}

.wc-block-cart-item__remove-link:hover {
  color: #ff5c5c;
}

.wc-block-components-totals-item__label {
  color: rgba(233, 233, 241, 0.7);
}

.wc-block-components-totals-item__value {
  color: #e9e9f1;
  font-weight: 700;
}

.wc-block-components-button,
.wc-block-cart__submit-button {
  border-radius: 14px;
  border: 1px solid rgba(101, 255, 100, 0.55);
  background: rgba(101, 255, 100, 0.12);
  color: #e9e9f1;
  font-weight: 600;
}

.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover {
  background: rgba(101, 255, 100, 0.18);
}

.wc-block-components-express-payment {
  margin-top: 18px;
}

.wc-block-components-express-payment__event-buttons li {
  margin-bottom: 10px;
}

/* =========================
   Checkout - Cart-like theme
   ========================= */
body.woocommerce-checkout {
  --ab-checkout-accent: #73ff2b;
  --ab-checkout-accent-dark: #2a7f10;
  --ab-checkout-text: #e9f7e2;
  --ab-checkout-muted: rgba(224, 242, 215, 0.72);
  --ab-checkout-panel: rgba(4, 16, 8, 0.72);
  --ab-checkout-line: rgba(117, 255, 70, 0.3);
  background-color: #030a05;
  background-image: url("../images/cart_background.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--ab-checkout-text);
}

body.woocommerce-checkout::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% -15%,
      rgba(120, 255, 90, 0.22),
      transparent 50%
    ),
    linear-gradient(180deg, rgba(3, 9, 5, 0.55), rgba(2, 5, 3, 0.84));
  pointer-events: none;
  z-index: 0;
}

body.woocommerce-checkout .site {
  position: relative;
  z-index: 1;
  background: transparent;
}

body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area {
  background: transparent;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1320px;
  margin: 0 auto 60px;
  padding: 14px 24px 30px;
}

body.woocommerce-checkout .wc-block-checkout.is-large {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
  align-items: start;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  gap: 22px;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(7, 24, 12, 0.84), rgba(3, 13, 7, 0.88)),
    var(--ab-checkout-panel);
  border: 1px solid var(--ab-checkout-line);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(140, 255, 93, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.46);
  padding: 18px;
}

body.woocommerce-checkout .wc-block-checkout__main {
  width: 100%;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  align-self: start;
}

body.woocommerce-checkout
  .wc-block-components-checkout-step__heading-container
  .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-express-payment__title,
body.woocommerce-checkout
  .wc-block-components-checkout-order-summary__title-text {
  color: #d8ffb5;
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 12px;
  border: 1px solid rgba(116, 255, 70, 0.2);
  border-radius: 8px;
  background: rgba(3, 12, 7, 0.58);
}

body.woocommerce-checkout
  .wc-block-components-checkout-step__heading-container {
  margin: 0;
  padding: 12px 12px 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  margin: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__content {
  padding: 12px;
}

body.woocommerce-checkout .wc-block-components-express-payment {
  border-radius: 8px;
  border: 1px solid rgba(116, 255, 70, 0.26);
  background: rgba(3, 12, 7, 0.58);
  padding: 10px 12px;
}

body.woocommerce-checkout
  .wc-block-components-express-payment__title-container {
  margin-bottom: 8px;
}

body.woocommerce-checkout
  .wc-block-components-express-payment-continue-rule--checkout {
  color: var(--ab-checkout-muted);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout
  .wc-block-components-combobox-control
  .components-combobox-control__input {
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(112, 255, 67, 0.32) !important;
  background: rgba(2, 10, 6, 0.78) !important;
  color: #e8ffd9 !important;
  font-weight: 700;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label {
  color: rgba(223, 248, 207, 0.75);
}

/* Country/State selects - remove Woo gray background */
body.woocommerce-checkout .wc-blocks-components-select,
body.woocommerce-checkout .wc-blocks-components-select__container {
  background: rgba(2, 10, 6, 0.78) !important;
  border-radius: 4px;
}

body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout #billing-country,
body.woocommerce-checkout #billing-state {
  -webkit-appearance: none;
  appearance: none;
  background-color: rgba(2, 10, 6, 0.78) !important;
  background-image: none !important;
  color: #e8ffd9 !important;
  border: 1px solid rgba(112, 255, 67, 0.32) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus-visible {
  border-color: rgba(141, 255, 79, 0.62) !important;
  box-shadow: 0 0 0 1px rgba(141, 255, 79, 0.22) !important;
}

body.woocommerce-checkout .wc-blocks-components-select__expand {
  fill: #dff8cf !important;
  opacity: 0.9;
}

body.woocommerce-checkout .wc-blocks-components-select__select option {
  background: #0b1f12;
  color: #e8ffd9;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder {
  color: rgba(223, 248, 207, 0.62);
}

body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice,
body.woocommerce-checkout .wc-block-checkout__terms {
  color: var(--ab-checkout-muted);
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
  border: 1px solid rgba(116, 255, 70, 0.22);
  border-radius: 6px;
  background: rgba(4, 14, 8, 0.66);
}

body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control {
  background: transparent;
  border: 0;
}

body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control-accordion-option {
  border: 1px solid rgba(116, 255, 70, 0.22);
  border-radius: 6px;
  background: rgba(4, 14, 8, 0.66);
  overflow: hidden;
}

body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control-accordion-option
  + .wc-block-components-radio-control-accordion-option {
  margin-top: 10px;
}

body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control-accordion-content {
  border-top: 1px solid rgba(116, 255, 70, 0.22) !important;
  background: rgba(2, 10, 6, 0.58);
  padding: 10px 12px 12px;
}

body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control__option,
body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control__option-checked {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted
  > .wc-block-components-radio-control__option,
body.woocommerce-checkout
  .wc-block-checkout__payment-method
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: rgba(141, 255, 79, 0.62);
  box-shadow: inset 0 0 0 1px rgba(141, 255, 79, 0.2);
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(112, 255, 64, 0.2);
  padding: 8px 0;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  margin: 0;
  padding-bottom: 0;
  align-self: center;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(120, 255, 71, 0.34);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  padding: 0 0 0 10px;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
}

body.woocommerce-checkout
  .wc-block-components-order-summary-item__description
  .wc-block-components-product-name {
  margin: 0;
  line-height: 1.25;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  margin: 0;
  padding-top: 0;
  align-self: center;
}

body.woocommerce-checkout
  .wc-block-components-order-summary-item__quantity
  > span[aria-hidden="true"] {
  background: rgba(9, 33, 18, 0.88);
  border: 1px solid rgba(120, 255, 71, 0.38);
  color: #dfffc0;
}

/* Checkout Order Summary cleanup:
   - hide quantity badge bubble
   - hide secondary price under title
   - hide product metadata/description */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-checkout
  .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout
  .wc-block-components-order-summary-item__individual-price,
body.woocommerce-checkout .wc-block-components-product-metadata {
  display: none !important;
}

body.woocommerce-checkout
  .wc-block-components-order-summary-item
  .wc-block-components-product-name,
body.woocommerce-checkout
  .wc-block-components-order-summary-item__individual-price,
body.woocommerce-checkout
  .wc-block-components-order-summary-item__total-price
  .wc-block-components-product-price__value,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item-tax-value {
  color: #8fff5a;
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-order-summary-item img.emoji,
body.woocommerce-checkout .wc-block-components-product-metadata img.emoji {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

body.woocommerce-checkout .wc-block-components-product-metadata {
  color: rgba(223, 248, 207, 0.7);
}

body.woocommerce-checkout .wc-block-components-panel {
  border-radius: 6px;
  border: 1px solid rgba(116, 255, 70, 0.22);
  background: rgba(3, 12, 7, 0.55);
  margin-bottom: 12px;
}

body.woocommerce-checkout .wc-block-components-panel__button {
  color: #deffc6;
  font-weight: 700;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-panel {
  overflow: hidden;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-panel__button {
  padding: 10px 14px !important;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-panel__content {
  padding: 0 14px 12px !important;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-totals-coupon__form {
  margin: 0 !important;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-totals-coupon__form
  .wc-block-components-text-input {
  margin: 0 !important;
}

body.woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block
  .wc-block-components-totals-coupon__button {
  margin: 0 !important;
  min-height: 44px;
}

body.woocommerce-checkout
  .wc-block-components-totals-wrapper
  .wc-block-components-totals-item {
  border-bottom: 1px solid rgba(118, 255, 73, 0.2);
}

body.woocommerce-checkout
  .wc-block-components-checkout-place-order-button.contained,
body.woocommerce-checkout
  .wc-block-components-button.wc-block-components-checkout-place-order-button.contained {
  min-height: 46px;
  border-radius: 4px !important;
  border: 1px solid rgba(126, 255, 78, 0.68) !important;
  background: linear-gradient(180deg, #73d51d, #4d9f16) !important;
  color: #f3ffe9 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 18px rgba(0, 0, 0, 0.36);
}

body.woocommerce-checkout
  .wc-block-components-checkout-place-order-button.contained:hover,
body.woocommerce-checkout
  .wc-block-components-button.wc-block-components-checkout-place-order-button.contained:hover {
  background: linear-gradient(180deg, #89f630, #5ebd1c) !important;
  color: #ffffff !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: #dff8cf !important;
  text-decoration: none !important;
  font-weight: 700;
}

body.woocommerce-checkout
  .wc-block-components-checkout-return-to-cart-button:hover {
  color: #9bff65 !important;
}

body.woocommerce-checkout .wc-block-components-divider {
  border-color: rgba(114, 255, 66, 0.2) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 10px;
  border: 1px solid rgba(117, 255, 70, 0.35) !important;
  background: rgba(9, 33, 18, 0.78) !important;
  color: #dff8cf !important;
}

@media (max-width: 1100px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    padding: 10px 14px 24px;
  }

  body.woocommerce-checkout .wc-block-checkout.is-large {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  body.woocommerce-checkout #content .col-full {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ============================================
   Order received / view order (thank you page)
   ============================================ */
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-view-order .woocommerce-order {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #e8f6df;
}

body.woocommerce-order-received .woocommerce-notice--success,
body.woocommerce-view-order .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-view-order .woocommerce-thankyou-order-received {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(117, 255, 70, 0.35);
  background: rgba(9, 28, 15, 0.78);
  color: #dfffc7;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-info {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(117, 255, 70, 0.3);
  background: rgba(10, 29, 16, 0.74);
  color: rgba(224, 244, 210, 0.92);
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-info::before {
  color: #9fff68;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(117, 255, 70, 0.24);
  background: rgba(5, 13, 9, 0.68);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.form-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.form-row-first,
body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.form-row-last {
  grid-column: auto;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  label {
  color: #e4f7d7;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  input.input-text {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(117, 255, 70, 0.28);
  background: rgba(6, 16, 10, 0.74);
  color: #efffe5;
  padding: 0 12px;
  outline: none;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  input.input-text:focus {
  border-color: rgba(117, 255, 70, 0.62);
  box-shadow: 0 0 0 2px rgba(117, 255, 70, 0.16);
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .password-input {
  position: relative;
  display: block;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .password-input
  input.input-text {
  padding-right: 50px;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .password-input
  .show-password-input {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 42px;
  height: calc(100% - 2px);
  border-left: 1px solid rgba(117, 255, 70, 0.2);
  border-radius: 0 9px 9px 0;
  background: rgba(6, 16, 10, 0.9);
  color: rgba(225, 244, 212, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .password-input
  .show-password-input::after {
  color: rgba(225, 244, 212, 0.82);
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(224, 244, 210, 0.9);
  font-weight: 600;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .woocommerce-form-login__rememberme
  input {
  accent-color: #7af038;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.form-row:has(.woocommerce-form-login__rememberme) {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.lost_password {
  grid-column: 1 / -1;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.lost_password
  a {
  color: #9fff68;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  p.lost_password
  a:hover {
  color: #ddffc8;
}

body.woocommerce-order-received
  .woocommerce-order
  form.woocommerce-form-login.login
  .clear {
  display: none;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-view-order .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-order-received .woocommerce ul.order_details::before,
body.woocommerce-order-received .woocommerce ul.order_details::after,
body.woocommerce-view-order .woocommerce ul.order_details::before,
body.woocommerce-view-order .woocommerce ul.order_details::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-view-order .woocommerce-order-overview li {
  float: none;
  width: auto;
  margin: 0;
  padding: 12px;
  min-height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(117, 255, 70, 0.2);
  background: rgba(5, 14, 9, 0.72);
  color: rgba(224, 244, 210, 0.78);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  line-height: 1.45;
}

body.woocommerce-order-received .woocommerce-order-overview li strong,
body.woocommerce-view-order .woocommerce-order-overview li strong {
  display: block;
  margin-top: 6px;
  color: #efffe5;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

body.woocommerce-order-received .woocommerce-order section,
body.woocommerce-view-order .woocommerce-order section {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(117, 255, 70, 0.2);
  background: rgba(5, 13, 9, 0.62);
}

body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-view-order .woocommerce-order h2 {
  margin: 0 0 12px;
  color: #dfffc7;
  font-size: 26px;
  font-weight: 800;
}

body.woocommerce-order-received .woocommerce-order table.shop_table,
body.woocommerce-order-received .woocommerce-order table.woocommerce-table,
body.woocommerce-view-order .woocommerce-order table.shop_table,
body.woocommerce-view-order .woocommerce-order table.woocommerce-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(117, 255, 70, 0.2);
  background: rgba(6, 16, 10, 0.66);
}

body.woocommerce-order-received .woocommerce-order table thead th,
body.woocommerce-view-order .woocommerce-order table thead th {
  background: rgba(10, 24, 14, 0.88);
  color: #dfffc7;
  border-color: rgba(117, 255, 70, 0.18);
}

body.woocommerce-order-received .woocommerce-order table th,
body.woocommerce-order-received .woocommerce-order table td,
body.woocommerce-view-order .woocommerce-order table th,
body.woocommerce-view-order .woocommerce-order table td {
  border-color: rgba(117, 255, 70, 0.14);
  color: rgba(225, 244, 212, 0.88);
  background: transparent;
}

body.woocommerce-order-received .woocommerce-order table a,
body.woocommerce-view-order .woocommerce-order table a {
  color: #9fff68;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order table a:hover,
body.woocommerce-view-order .woocommerce-order table a:hover {
  color: #ddffc8;
}

body.woocommerce-order-received .woocommerce-order .button,
body.woocommerce-order-received .woocommerce-order button.button,
body.woocommerce-order-received .woocommerce-order input.button,
body.woocommerce-view-order .woocommerce-order .button,
body.woocommerce-view-order .woocommerce-order button.button,
body.woocommerce-view-order .woocommerce-order input.button {
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(117, 255, 70, 0.52);
  background: linear-gradient(180deg, #7ced33, #5dc21f);
  color: #06180a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0 14px;
  align-content: center;
}

table:not(.has-background) tbody tr:nth-child(2n) td,
fieldset,
fieldset legend {
  background-color: transparent;
}

body.woocommerce-order-received .woocommerce-order .button:hover,
body.woocommerce-view-order .woocommerce-order .button:hover {
  background: linear-gradient(180deg, #97ff4b, #6dd028);
}

body.woocommerce-order-received .woocommerce-order .order-again,
body.woocommerce-view-order .woocommerce-order .order-again {
  margin-top: 14px;
}

/* Order received / view order: remove link underline from content area */
body.woocommerce-order-received .hentry .entry-content a,
body.woocommerce-my-account .hentry .entry-content a,
body.woocommerce-view-order .hentry .entry-content a {
  text-decoration: none !important;
}

/* ============================================
   Wordfence 2FA prompt (WooCommerce login)
   ============================================ */
body.woocommerce-account form.woocommerce-form-login.login,
body.woocommerce-my-account form.woocommerce-form-login.login {
  position: relative;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-prompt-overlay,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      rgba(2, 14, 8, 0.72) 0%,
      rgba(2, 14, 8, 0.88) 100%
    ),
    radial-gradient(
      500px 280px at 50% 0%,
      rgba(118, 255, 74, 0.1) 0%,
      rgba(118, 255, 74, 0) 70%
    );
  border: 1px solid rgba(118, 255, 74, 0.24);
  backdrop-filter: blur(2px);
}

/* Inline mode: used when we pre-render the 2FA prompt from URL token. */
body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline {
  position: static;
  inset: auto;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-prompt-wrapper,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 16px 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(118, 255, 74, 0.34);
  background: rgba(3, 20, 11, 0.92);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(118, 255, 74, 0.08) inset;
  color: #e8f7de;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline
  #wfls-prompt-wrapper,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline
  #wfls-prompt-wrapper {
  width: 100%;
  margin: 0 0 12px;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline
  .ab-wfls-inline-title,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-overlay.ab-wfls-inline
  .ab-wfls-inline-title {
  margin: 0 0 8px;
  color: #dbffc5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-prompt-wrapper p,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper
  p {
  margin: 0 0 10px;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper
  p:last-child,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper
  p:last-child {
  margin-bottom: 0;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper
  label,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-prompt-wrapper
  label {
  color: #dfffc7;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-token,
body.woocommerce-my-account form.woocommerce-form-login.login #wfls-token {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(118, 255, 74, 0.34);
  background: rgba(6, 19, 11, 0.86);
  color: #f2ffe9;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
  outline: none;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-token:focus,
body.woocommerce-my-account form.woocommerce-form-login.login #wfls-token:focus {
  border-color: rgba(118, 255, 74, 0.72);
  box-shadow: 0 0 0 2px rgba(118, 255, 74, 0.18);
}

body.woocommerce-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper {
  margin-top: 4px;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper
  label,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper
  label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(225, 244, 212, 0.92);
  font-weight: 600;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper
  input[type="checkbox"],
body.woocommerce-my-account
  form.woocommerce-form-login.login
  .wfls-remember-device-wrapper
  input[type="checkbox"] {
  accent-color: #7af038;
}

body.woocommerce-account form.woocommerce-form-login.login #wfls-token-submit,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-token-submit {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(118, 255, 74, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #83f43a, #61c81f);
  color: #07180b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.woocommerce-account
  form.woocommerce-form-login.login
  #wfls-token-submit:hover,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  #wfls-token-submit:hover {
  background: linear-gradient(180deg, #98ff4e, #6fd42a);
}

body.woocommerce-account
  form.woocommerce-form-login.login
  .wfls-2fa-code-help,
body.woocommerce-my-account
  form.woocommerce-form-login.login
  .wfls-2fa-code-help {
  color: #9fff68;
}

@media (max-width: 600px) {
  body.woocommerce-account form.woocommerce-form-login.login #wfls-prompt-overlay,
  body.woocommerce-my-account
    form.woocommerce-form-login.login
    #wfls-prompt-overlay {
    padding: 12px;
  }

  body.woocommerce-account form.woocommerce-form-login.login #wfls-prompt-wrapper,
  body.woocommerce-my-account
    form.woocommerce-form-login.login
    #wfls-prompt-wrapper {
    padding: 14px 12px 12px;
  }
}

body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-customer-details
  address,
body.woocommerce-view-order
  .woocommerce-order
  .woocommerce-customer-details
  address {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(117, 255, 70, 0.2);
  background: rgba(6, 16, 10, 0.62);
  color: rgba(225, 244, 212, 0.9);
  line-height: 1.6;
}

body.woocommerce-order-received
  .woocommerce-order
  .wc-payment-gateway-method-logo-wrapper,
body.woocommerce-view-order
  .woocommerce-order
  .wc-payment-gateway-method-logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1050px) {
  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-view-order .woocommerce-order-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.woocommerce-order-received
    .woocommerce-order
    form.woocommerce-form-login.login {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  body.woocommerce-order-received
    .woocommerce-order
    form.woocommerce-form-login.login
    p.form-row:has(.woocommerce-form-login__rememberme) {
    align-items: flex-start;
  }

  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-view-order .woocommerce-order-overview {
    grid-template-columns: 1fr 1fr;
  }

  body.woocommerce-order-received .woocommerce-order section,
  body.woocommerce-view-order .woocommerce-order section {
    padding: 10px;
  }

  body.woocommerce-order-received .woocommerce-order h2,
  body.woocommerce-view-order .woocommerce-order h2 {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-view-order .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .woocommerce-order table.shop_table,
  body.woocommerce-order-received .woocommerce-order table.woocommerce-table,
  body.woocommerce-view-order .woocommerce-order table.shop_table,
  body.woocommerce-view-order .woocommerce-order table.woocommerce-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================
   Single Product Hero Background
   ========================= */
body.single-product {
  --ab-single-hero-image: none;
  --ab-single-hero-zone-height: clamp(300px, 30vw, 470px);
  --ab-single-seam-color: #01180d;
}

/* Remove global site top offset only on single product pages */
body.single-product .site {
  padding-top: 0 !important;
}

body.single-product #page {
  overflow-x: hidden;
}

/* Real hero section (separate div) above content */
body.single-product .ab-single-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--ab-single-hero-zone-height);
  margin: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(2, 24, 13, 0.08) 0%,
      rgba(2, 24, 13, 0.24) 36%,
      rgba(1, 24, 13, 0) 72%
    ),
    var(--ab-single-hero-image) center 22% / cover no-repeat;
  filter: saturate(1.02) contrast(1.01);
}

/* Keep the seam clean: no extra blend layer over the wave. */
body.single-product .ab-single-hero-top::after {
  content: none;
  display: none;
}

body.single-product .ab-single-hero-title {
  position: relative;
  z-index: 4;
  max-width: min(92vw, 1200px);
  padding: 12px 22px;
  border-radius: 10px;
  background: rgba(3, 10, 18, 0.46);
  border: 1px solid rgba(137, 255, 90, 0.34);
  color: #e8ffd4;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.75),
    0 0 14px rgba(114, 255, 64, 0.24);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.4px;
}

body.single-product .site-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ab-single-seam-color);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(101, 255, 100, 0.025) 0 1px,
    transparent 1px 52px
  );
}

body.single-product .site-content::before {
  content: none;
  display: none;
}

body.single-product .site-content::after {
  content: none;
  display: none;
}

body.single-product .site-content > .col-full {
  position: relative;
  z-index: 3;
}

body.single-product .ab-single-hero-top .shapedividers_com-3007 {
  overflow: hidden;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

body.single-product .ab-single-hero-top .shapedividers_com-3007::before {
  content: "";
  font-family: "shape divider from ShapeDividers.com";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw;
  background-size: 102% 115px;
  background-position: 50% 100%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%2301180d"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%2301180d"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%2301180d"/></svg>');
}

@media (min-width: 2100px) {
  body.single-product .ab-single-hero-top .shapedividers_com-3007::before {
    background-size: 102% calc(2vw + 115px);
  }
}

/* From the description section downward: fade from solid seam color to transparent. */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  position: relative;
  z-index: 2;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: min(120vh, 980px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 24, 13, 1) 0%,
    rgba(1, 24, 13, 0.84) 30%,
    rgba(1, 24, 13, 0.5) 66%,
    rgba(1, 24, 13, 0) 100%
  );
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper > * {
  position: relative;
  z-index: 1;
}

/* =========================
   Single Product Content
   ========================= */
body.single-product #content .col-full {
  position: relative;
  max-width: 1320px;
  padding-top: 14px;
  padding-bottom: 46px;
}

body.single-product #primary.content-area {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product #main.site-main {
  margin-bottom: 0 !important;
}

body.single-product .site-main,
body.single-product .site-main p,
body.single-product .site-main li,
body.single-product .site-main span {
  color: rgba(226, 235, 244, 0.86);
}

body.single-product .site-main h1,
body.single-product .site-main h2,
body.single-product .site-main h3,
body.single-product .site-main h4 {
  color: #e9ffd7;
}

body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 30px;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.86), rgba(4, 10, 18, 0.84)),
    rgba(8, 16, 28, 0.7);
  border: 1px solid rgba(126, 255, 78, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 22px 40px rgba(0, 0, 0, 0.45);
}

body.single-product div.product .images,
body.single-product div.product .summary {
  margin: 0;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  margin-bottom: 12px !important;
  border-radius: 14px;
  border: 1px solid rgba(126, 255, 78, 0.22);
  overflow: hidden !important;
  background: rgba(5, 12, 18, 0.62);
}

body.single-product
  .woocommerce-product-gallery
  .woocommerce-product-gallery__image
  img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs::before,
body.single-product .woocommerce-product-gallery .flex-control-thumbs::after {
  content: none !important;
  display: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 8px;
  border: 1px solid rgba(126, 255, 78, 0.2);
  opacity: 0.75;
}

body.single-product
  .woocommerce-product-gallery
  .flex-control-thumbs
  li
  img.flex-active,
body.single-product
  .woocommerce-product-gallery
  .flex-control-thumbs
  li
  img:hover {
  opacity: 1;
  border-color: rgba(126, 255, 78, 0.48);
}

body.single-product
  .woocommerce-product-gallery
  .woocommerce-product-gallery__trigger {
  right: 12px !important;
  left: auto !important;
  top: 12px !important;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(126, 255, 78, 0.36);
  background: rgba(5, 12, 18, 0.72);
}

body.single-product div.product .summary {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(126, 255, 78, 0.2);
  background: rgba(5, 11, 20, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body.single-product div.product .summary .product_title.entry-title {
  margin: 0 0 12px;
  color: #ebffdc;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0.2px;
}

body.single-product div.product p.price {
  margin: 0 0 14px !important;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  color: #8fff5a !important;
  text-shadow: 0 0 12px rgba(126, 255, 78, 0.2);
}

body.single-product
  div.product
  .woocommerce-product-details__short-description {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(8, 17, 24, 0.66);
  border: 1px solid rgba(126, 255, 78, 0.16);
}

body.single-product
  div.product
  .woocommerce-product-details__short-description
  p {
  margin: 0;
  color: rgba(235, 246, 255, 0.9);
}

body.single-product div.product form.cart {
  margin: 0;
  padding: 8px 0 0;
}

body.single-product div.product form.cart .quantity {
  display: none !important;
}

body.single-product .single_add_to_cart_button.button.alt {
  min-height: 46px;
  min-width: 180px;
  border-radius: 10px !important;
  border: 1px solid rgba(126, 255, 78, 0.75) !important;
  background: linear-gradient(180deg, #83ef2f, #59bc1b) !important;
  color: #071007 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 10px 18px rgba(0, 0, 0, 0.35);
}

body.single-product .single_add_to_cart_button.button.alt:hover {
  background: linear-gradient(180deg, #95ff3d, #67cc22) !important;
  color: #051005 !important;
}

body.single-product .summary .wcpay-express-checkout-wrapper,
body.single-product .summary .ppc-button-wrapper {
  margin-top: 12px;
}

body.single-product .summary #wcpay-express-checkout-element,
body.single-product .summary #ppc-button-ppcp-gateway {
  padding: 2px;
  border-radius: 10px;
  border: 1px solid rgba(126, 255, 78, 0.24);
  background: rgba(2, 8, 14, 0.8);
  overflow: hidden;
}

body.single-product div.product .product_meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(126, 255, 78, 0.2);
  color: rgba(223, 238, 248, 0.76);
}

body.single-product div.product .product_meta a {
  color: #b8ff8c;
  text-decoration: none;
}

body.single-product div.product .product_meta a:hover {
  color: #d9ffc1;
  border-bottom-color: rgba(126, 255, 78, 0.72);
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  margin-top: 6px;
  padding: 20px 24px 24px;
  border-radius: 16px;
  border: 1px solid rgba(126, 255, 78, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.8), rgba(4, 10, 18, 0.74)),
    rgba(8, 16, 28, 0.65);
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li::after {
  content: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(126, 255, 78, 0.26);
  background: rgba(3, 10, 18, 0.72);
  color: #dff8cf;
  font-weight: 800;
  text-decoration: none;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  border-color: rgba(126, 255, 78, 0.7);
  background: rgba(12, 34, 16, 0.82);
  color: #edffde;
}

body.single-product .woocommerce-Tabs-panel--description > h2:first-of-type {
  display: none;
}

body.single-product .woocommerce-Tabs-panel {
  margin: 0;
  padding: 8px 4px 0;
  color: rgba(228, 236, 246, 0.9);
}

body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel h4 {
  color: #e8ffd4;
}

body.single-product .woocommerce-Tabs-panel hr {
  border: 0;
  height: 1px;
  background: rgba(126, 255, 78, 0.24);
}

body.single-product .woocommerce-Tabs-panel a {
  color: #9bff65;
}

body.single-product .woocommerce-Tabs-panel a:hover {
  color: #d9ffc0;
}

body.single-product section.related.products {
  margin-top: 24px;
  padding: 20px 24px 24px;
  border-radius: 16px;
  border: 1px solid rgba(126, 255, 78, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.75), rgba(4, 10, 18, 0.7)),
    rgba(8, 16, 28, 0.58);
}

body.single-product section.related.products > h2 {
  margin: 0 0 16px;
  color: #e8ffd4;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
}

body.single-product section.related.products ul.products {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.single-product section.related.products ul.products li.product {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 255, 78, 0.18);
  background: rgba(5, 11, 20, 0.78);
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

body.single-product section.related.products ul.products li.product:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 255, 78, 0.45);
}

body.single-product section.related.products ul.products li.product a {
  text-decoration: none;
}

body.single-product section.related.products ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 10px;
}

body.single-product section.related.products .woocommerce-loop-product__title {
  margin: 0 0 8px;
  color: #ebffdc;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

body.single-product section.related.products .price {
  margin: 0 0 12px;
  color: #8fff5a !important;
  font-weight: 800;
}

body.single-product section.related.products .button {
  width: 100%;
  min-height: 42px;
  border-radius: 10px !important;
  border: 1px solid rgba(126, 255, 78, 0.62) !important;
  background: linear-gradient(180deg, #83ef2f, #59bc1b) !important;
  color: #071007 !important;
  font-weight: 900 !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

body.single-product section.related.products .button:hover {
  background: linear-gradient(180deg, #95ff3d, #67cc22) !important;
}

body.single-product section.related.products .onsale {
  top: 16px;
  left: 16px;
  min-height: 28px;
  min-width: 62px;
  border-radius: 999px;
  border: 1px solid rgba(126, 255, 78, 0.58);
  background: linear-gradient(180deg, #83ef2f, #59bc1b);
  color: #071007;
  font-weight: 900;
}

body.single-product .storefront-product-pagination {
  position: static !important;
  transform: none !important;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.single-product .storefront-product-pagination a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(126, 255, 78, 0.22);
  background: rgba(5, 11, 20, 0.72);
  text-decoration: none !important;
}

body.single-product .storefront-product-pagination a::after {
  display: none !important;
}

body.single-product .storefront-product-pagination a img {
  width: 54px;
  height: 54px;
  margin: 0 !important;
  border-radius: 8px;
  object-fit: cover;
}

body.single-product .storefront-product-pagination__title {
  color: #e9ffd8;
  font-weight: 700;
}

@media (max-width: 1100px) {
  body.single-product div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.single-product #content .col-full {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  body.single-product .woocommerce-tabs.wc-tabs-wrapper,
  body.single-product section.related.products {
    padding: 16px;
  }

  body.single-product section.related.products ul.products {
    grid-template-columns: 1fr;
  }

  body.single-product .storefront-product-pagination {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Single Product - Layout Hotfix
   ========================= */
body.single-product div.product {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product div.product .images,
body.single-product div.product .woocommerce-product-gallery {
  float: left !important;
  width: 48% !important;
  margin: 0 4% 22px 0 !important;
}

body.single-product div.product .summary {
  float: right !important;
  width: 48% !important;
  margin: 0 0 22px !important;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
  clear: both !important;
}

body.single-product section.related.products,
body.single-product .storefront-product-pagination {
  clear: both !important;
}

body.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.single-product section.related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  .woocommerce-loop-product__title {
  word-break: normal !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  body.single-product div.product .images,
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }
}

/* =========================
   Single Product - Visual Cleanup
   ========================= */
body.single-product div.product .summary {
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26) !important;
  background: rgba(6, 14, 24, 0.62) !important;
}

body.single-product
  div.product
  .woocommerce-product-details__short-description {
  border: 0 !important;
  background: linear-gradient(
      90deg,
      rgba(126, 255, 78, 0.12),
      rgba(126, 255, 78, 0)
    )
    rgba(8, 17, 24, 0.52) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
}

body.single-product .summary #wcpay-express-checkout-element,
body.single-product .summary #ppc-button-ppcp-gateway {
  border: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  margin-top: 2px !important;
  padding: 12px 14px 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 24, 0.72),
    rgba(5, 10, 18, 0.66)
  ) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

body.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 8px !important;
  gap: 6px !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 7px 12px !important;
  border: 0 !important;
  background: rgba(10, 19, 30, 0.78) !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  background: rgba(33, 70, 24, 0.85) !important;
}

body.single-product .woocommerce-Tabs-panel {
  padding: 2px 2px 0 !important;
}

body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3 {
  margin-top: 0.25em;
  margin-bottom: 0.5em;
}

body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel ul {
  margin-bottom: 0.7em;
}

body.single-product section.related.products {
  margin-top: 14px !important;
  padding: 12px 14px 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent;
}

body.single-product section.related.products > h2 {
  margin: 0 0 10px !important;
  text-align: center;
  font-size: clamp(22px, 2vw, 28px) !important;
}

body.single-product section.related.products ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.single-product section.related.products ul.products li.product {
  clear: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: rgba(8, 16, 26, 0.58) !important;
  box-shadow: none !important;
  padding: 8px !important;
}

body.single-product section.related.products ul.products li.product img {
  aspect-ratio: 4 / 3 !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
}

body.single-product section.related.products .woocommerce-loop-product__title {
  font-size: 15px !important;
  margin-bottom: 4px !important;
}

body.single-product section.related.products .price {
  margin-bottom: 8px !important;
  font-size: 13px;
}

body.single-product section.related.products .button {
  min-height: 34px !important;
  font-size: 11px !important;
  letter-spacing: 0.35px !important;
  border: 0 !important;
}

@media (max-width: 1100px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   Single Product - Related Products Final Pass
   ========================= */
body.single-product section.related.products {
  max-width: 1280px;
  margin-inline: auto;
}

body.single-product section.related.products ul.products,
body.single-product .site-main section.related.products ul.products.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product section.related.products ul.products li.product,
body.single-product section.related.products ul.products.columns-3 li.product,
body.single-product section.related.products ul.products li.product.first,
body.single-product section.related.products ul.products li.product.last {
  position: relative;
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
}

/* Kill legacy clearfix pseudo-elements that can leave weird spacing */
body.single-product section.related.products ul.products::before,
body.single-product section.related.products ul.products::after,
body.single-product section.related.products ul.products li.product::before,
body.single-product section.related.products ul.products li.product::after,
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link::before {
  content: none !important;
  display: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link {
  position: relative;
  display: block;
  text-decoration: none;
  isolation: isolate;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  > img:not(.emoji) {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
  border-radius: 10px !important;
  margin: 0 0 10px !important;
  box-shadow: none !important;
  transition: transform 0.24s ease;
}

/* White frame inside image by default */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  transition:
    top 0.24s ease,
    left 0.24s ease,
    right 0.24s ease,
    border-color 0.24s ease;
}

body.single-product
  section.related.products
  ul.products
  li.product:hover
  > a.woocommerce-LoopProduct-link
  > img:not(.emoji) {
  transform: translateY(-1px) scale(1.01);
}

/* On hover frame moves out so interior frame is no longer visible */
body.single-product
  section.related.products
  ul.products
  li.product:hover
  > a.woocommerce-LoopProduct-link::after {
  top: -2px;
  left: -2px;
  right: -2px;
  border-color: rgba(255, 255, 255, 0.95);
}

body.single-product section.related.products ul.products li.product .button {
  margin-top: auto;
  width: auto !important;
  padding: 0 22px !important;
  align-self: flex-start;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  min-height: 38px !important;
  font-size: 12px !important;
  border-radius: 10px !important;
  align-self: center;
}

body.single-product section.related.products > h2 {
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.05;
  margin-bottom: 14px !important;
}

body.single-product section.related.products .price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.08;
  font-weight: 900 !important;
  margin-bottom: 12px !important;
}

body.single-product
  section.related.products
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(28px, 2.2vw, 34px);
  color: #e8ffd4 !important;
}

body.single-product section.related.products .price del {
  font-size: 0.6em;
  opacity: 0.65;
  margin-right: 8px;
}

body.single-product
  section.related.products
  .price
  del
  .woocommerce-Price-amount.amount {
  font-size: 1em;
  color: rgba(232, 255, 212, 0.62) !important;
}

body.single-product section.related.products .price ins {
  text-decoration: none;
}

body.single-product section.related.products .onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  padding: 7px 10px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Keep emoji normal size near title (do not style as product image) */
body.single-product
  section.related.products
  .woocommerce-loop-product__title
  img.emoji {
  width: 1em !important;
  height: 1em !important;
  margin: 0 0.35em 0 0 !important;
  vertical-align: -0.13em;
  display: inline-block !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* On related cards, hide Woo inline "View cart" and rely on side drawer */
body.single-product section.related.products a.added_to_cart,
body.single-product section.related.products .added_to_cart.wc-forward {
  display: none !important;
}

@media (max-width: 1100px) {
  body.single-product section.related.products ul.products,
  body.single-product
    .site-main
    section.related.products
    ul.products.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.single-product section.related.products ul.products,
  body.single-product
    .site-main
    section.related.products
    ul.products.columns-3 {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   Related Products - Typography Polish
   ========================= */
body.single-product section.related.products .woocommerce-loop-product__title {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.18;
}

body.single-product
  section.related.products
  .woocommerce-loop-product__title
  img.emoji {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  margin: 0 !important;
  vertical-align: middle !important;
  transform: translateY(1px);
}

body.single-product section.related.products .price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px !important;
  line-height: 1;
  font-weight: 800 !important;
}

/* Regular price (non-sale) */
body.single-product
  section.related.products
  .price
  > .woocommerce-Price-amount.amount {
  font-size: clamp(28px, 2vw, 34px) !important;
  font-weight: 800 !important;
  color: #e8f3ff !important;
}

/* Sale current price */
body.single-product
  section.related.products
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(28px, 2vw, 34px) !important;
  font-weight: 800 !important;
  color: #e8f3ff !important;
}

/* Keep currency symbol same style/color as value */
body.single-product
  section.related.products
  .price
  .woocommerce-Price-currencySymbol {
  color: inherit !important;
  opacity: 1 !important;
  font-size: 1em !important;
  font-weight: inherit !important;
}

/* Old/slashed price: readable, not tiny */
body.single-product section.related.products .price del {
  order: -1;
  margin: 0 !important;
  opacity: 0.58 !important;
  text-decoration-thickness: 2px;
}

body.single-product
  section.related.products
  .price
  del
  .woocommerce-Price-amount.amount {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: rgba(232, 243, 255, 0.76) !important;
}

body.single-product section.related.products .price ins {
  text-decoration: none !important;
  background: none !important;
}

/* SALE badge compact in the corner */
body.single-product section.related.products .onsale {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: max-content !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  top: 12px !important;
  right: 12px !important;
}

/* =========================
   Single Product - Micro Fixes
   ========================= */
/* Zoom trigger should stay below main nav/header layers */
body.single-product
  .woocommerce-product-gallery
  .woocommerce-product-gallery__trigger {
  z-index: 3 !important;
}

/* Compact prev/next floating product cards */
body.single-product .storefront-product-pagination a[rel="prev"],
body.single-product .storefront-product-pagination a[rel="next"] {
  width: 320px !important;
  gap: 8px !important;
}

body.single-product .storefront-product-pagination a[rel="prev"] {
  right: -280px !important;
  padding-right: 10px !important;
}

body.single-product .storefront-product-pagination a[rel="next"] {
  left: -280px !important;
  padding-left: 10px !important;
}

body.single-product .storefront-product-pagination a[rel="prev"] img,
body.single-product .storefront-product-pagination a[rel="next"] img {
  margin: 0 !important;
}

body.single-product
  .storefront-product-pagination
  a[rel="prev"]
  .storefront-product-pagination__title,
body.single-product
  .storefront-product-pagination
  a[rel="next"]
  .storefront-product-pagination__title {
  margin: 0 !important;
  max-width: 190px;
  line-height: 1.2;
}

/* =========================
   Related Products - Overlay Image Layout
   ========================= */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link {
  position: relative !important;
  display: block !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  > img:not(.emoji) {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 10px !important;
}

/* Darken bottom of image for text readability */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.46) 28%,
    rgba(0, 0, 0, 0.08) 58%,
    rgba(0, 0, 0, 0) 78%
  );
}

/* Inner frame default */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 8px !important;
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  aspect-ratio: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 8px !important;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

/* Hover: frame expands outward and fades out */
body.single-product
  section.related.products
  ul.products
  li.product:hover
  > a.woocommerce-LoopProduct-link::after {
  transform: scale(1.12);
  opacity: 0;
}

/* Title + price overlay on image */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  position: absolute !important;
  left: 14px;
  right: 14px;
  bottom: 46px;
  z-index: 3;
  margin: 0 !important;
  color: #f5ffef !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.16;
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title
  img.emoji {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  margin: 0 !important;
  transform: none !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price {
  position: absolute !important;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: baseline;
  gap: 8px;
  color: #e8f3ff !important;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.62);
}

/* Keep add to cart below image overlay */
body.single-product section.related.products ul.products li.product .button {
  margin-top: 12px !important;
}

/* =========================
   Related Products - Price Fine Tune
   ========================= */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price {
  right: auto !important;
  width: max-content;
  padding-right: 42px;
  gap: 0 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(16px, 1.55vw, 20px) !important;
  font-weight: 800 !important;
  color: #eef6ff !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  color: inherit !important;
  opacity: 1 !important;
  font-size: 1em !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  top: -8px;
  right: 0;
  margin: 0 !important;
  order: initial !important;
  opacity: 0.8 !important;
  line-height: 1 !important;
  text-decoration-thickness: 1.5px;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(238, 246, 255, 0.78) !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  ins {
  margin: 0 !important;
  text-decoration: none !important;
  background: none !important;
}

/* =========================
   Related Products - Price/Badge Balance
   ========================= */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price {
  font-size: 0 !important;
  right: auto !important;
  width: max-content !important;
  padding-right: 34px !important;
  display: inline-flex !important;
  align-items: flex-end;
  gap: 0 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(13px, 1.25vw, 16px) !important;
  font-weight: 800 !important;
  color: #edf5ff !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  color: inherit !important;
  opacity: 0.96 !important;
  font-size: 1em !important;
  font-weight: inherit !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  top: -9px !important;
  right: 0 !important;
  margin: 0 !important;
  opacity: 0.72 !important;
  line-height: 1 !important;
  text-decoration-thickness: 1.5px;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(228, 236, 245, 0.78) !important;
}

/* Softer SALE badge */
body.single-product section.related.products .onsale {
  background: rgba(22, 38, 24, 0.9) !important;
  color: #d4f3c5 !important;
  border: 1px solid rgba(170, 227, 146, 0.4) !important;
  box-shadow: none !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.25px !important;
  padding: 5px 9px !important;
}

/* =========================
   Related Products - Title + Price Row
   ========================= */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-wrap: wrap;
  align-content: flex-end;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  > img:not(.emoji) {
  flex: 0 0 100%;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  order: 2;
  position: relative !important;
  left: auto;
  right: auto;
  bottom: auto;
  margin: -42px 0 0 14px !important;
  max-width: calc(100% - 140px);
  font-size: clamp(18px, 1.75vw, 25px) !important;
  line-height: 1.12;
  z-index: 3;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title::after {
  content: " -";
  margin-left: 8px;
  opacity: 0.92;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price {
  order: 3;
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  margin: -42px 0 0 0 !important;
  padding-right: 0 !important;
  display: inline-flex !important;
  align-items: baseline;
  gap: 0 !important;
  z-index: 3;
}

/* current price in-row with title */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(16px, 1.45vw, 20px) !important;
  font-weight: 800 !important;
  color: #eef6ff !important;
}

/* old price in bottom-right of the image */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  right: 14px;
  bottom: 14px;
  margin: 0 !important;
  opacity: 0.76 !important;
  text-decoration: none !important; /* custom strike for browser consistency */
  z-index: 3;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  position: relative;
  display: inline-block;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(236, 243, 252, 0.8) !important;
}

/* Consistent strike line in Chrome + Firefox */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
  transform: translateY(-50%);
}

/* =========================
   Related Products - FINAL Stabilizer
   ========================= */
body.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.single-product section.related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link {
  display: block !important;
  position: relative !important;
  height: clamp(210px, 22vw, 300px) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  position: absolute !important;
  left: 14px !important;
  right: 112px !important;
  bottom: 14px !important;
  margin: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title::after {
  content: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title
  img.emoji {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  z-index: 5 !important;
  font-size: 0 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price::before {
  content: "-" !important;
  margin-right: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(14px, 1.1vw, 17px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  font-size: 1em !important;
  font-weight: inherit !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  right: 0 !important;
  bottom: 19px !important;
  margin: 0 !important;
  opacity: 0.82 !important;
  text-decoration: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  position: relative !important;
  display: inline-block !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 52% !important;
  height: 1px !important;
  background: currentColor !important;
  transform: translateY(-50%) !important;
}

body.single-product section.related.products ul.products li.product .onsale {
  background: rgba(141, 231, 77, 0.9) !important;
  color: #112315 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
}

/* =========================
   Related Products - Hard Reset
   ========================= */
body.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product section.related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  background: rgba(4, 12, 24, 0.58) !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 10px 10px 12px !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(210px, 22vw, 300px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(2, 7, 15, 0.86) 0%,
    rgba(2, 7, 15, 0.48) 36%,
    rgba(2, 7, 15, 0.06) 72%
  );
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 2;
  transition:
    transform 0.26s ease,
    opacity 0.26s ease;
}

body.single-product
  section.related.products
  ul.products
  li.product:hover
  > a.woocommerce-LoopProduct-link::after {
  transform: scale(1.055);
  opacity: 0;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease;
}

body.single-product
  section.related.products
  ul.products
  li.product:hover
  > a.woocommerce-LoopProduct-link
  > img {
  transform: scale(1.035);
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  position: absolute !important;
  left: 14px !important;
  right: 126px !important;
  bottom: 14px !important;
  z-index: 3;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(18px, 1.5vw, 24px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #f3f8ef !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title
  img.emoji {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  vertical-align: middle !important;
  transform: translateY(0) !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  z-index: 3;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price::before {
  content: "-" !important;
  margin-right: 6px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(242, 249, 255, 0.92);
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(14px, 1.15vw, 18px) !important;
  font-weight: 800 !important;
  color: #f2f7fd !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: 1em !important;
  font-weight: inherit !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  right: 0 !important;
  bottom: 20px !important;
  margin: 0 !important;
  opacity: 0.8 !important;
  text-decoration: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  position: relative;
  display: inline-block;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(231, 239, 247, 0.82) !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
  transform: translateY(-50%);
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  ins {
  text-decoration: none !important;
  margin: 0 !important;
}

body.single-product section.related.products ul.products li.product .onsale {
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(141, 231, 77, 0.9) !important;
  color: #102112 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  z-index: 4;
}

body.single-product section.related.products ul.products li.product .button {
  width: auto !important;
  min-width: 120px !important;
  margin: 10px 0 0 !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  ins {
  margin: 0 !important;
  text-decoration: none !important;
}

/* =========================
   Related Products - Recovery Layout
   ========================= */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link {
  display: block !important;
  align-content: normal !important;
}

/* cancel previous forced dash after title */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title::after {
  content: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  position: absolute !important;
  left: 14px;
  right: 120px;
  bottom: 16px;
  margin: 0 !important;
  z-index: 3;
  font-size: clamp(17px, 1.55vw, 22px) !important;
  font-weight: 800 !important;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price {
  position: absolute !important;
  left: auto !important;
  right: 14px !important;
  bottom: 16px !important;
  margin: 0 !important;
  width: auto !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: baseline;
  gap: 0 !important;
  z-index: 3;
  line-height: 1;
  font-size: 0 !important;
}

/* separator between title and current price */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price::before {
  content: "-";
  margin-right: 6px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(239, 247, 255, 0.92);
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(13px, 1.2vw, 16px) !important;
  font-weight: 800 !important;
  color: #edf5ff !important;
  line-height: 1;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  color: inherit !important;
  opacity: 1 !important;
  font-size: 1em !important;
  font-weight: inherit !important;
}

/* old price -> right-bottom corner, above current price */
body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  right: 0 !important;
  bottom: 18px !important;
  margin: 0 !important;
  opacity: 0.74 !important;
  line-height: 1 !important;
  text-decoration: none !important; /* use custom strike, same in all browsers */
  z-index: 3;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  position: relative;
  display: inline-block;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(228, 236, 245, 0.78) !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
  transform: translateY(-50%);
}
/* =========================
   Related Products - ABSOLUTE FINAL
   ========================= */
body.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

@media (max-width: 980px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

body.single-product section.related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link {
  display: block !important;
  position: relative !important;
  height: clamp(210px, 22vw, 300px) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title {
  position: absolute !important;
  left: 14px !important;
  right: 112px !important;
  bottom: 14px !important;
  margin: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title::after {
  content: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .woocommerce-loop-product__title
  img.emoji {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  z-index: 10 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price::before {
  content: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  > ins
  .woocommerce-Price-amount.amount {
  font-size: clamp(14px, 1.1vw, 17px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  .woocommerce-Price-currencySymbol {
  font-size: 1em !important;
  font-weight: inherit !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del {
  position: absolute !important;
  right: 0 !important;
  bottom: 19px !important;
  margin: 0 !important;
  opacity: 0.82 !important;
  text-decoration: none !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount {
  position: relative !important;
  display: inline-block !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

body.single-product
  section.related.products
  ul.products
  li.product
  > a.woocommerce-LoopProduct-link
  .price
  del
  .woocommerce-Price-amount.amount::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 52% !important;
  height: 1px !important;
  background: currentColor !important;
  transform: translateY(-50%) !important;
}

body.single-product section.related.products ul.products li.product .onsale {
  background: rgba(141, 231, 77, 0.9) !important;
  color: #112315 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
}
/* =========================
   Single Product Tabs - Centered Description Only
   ========================= */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  padding-top: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description {
  float: none !important;
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product
  .woocommerce-tabs
  .woocommerce-Tabs-panel--description
  > h2:first-of-type {
  display: none !important;
}

/* Single product success notice replaced by right cart drawer feedback */
body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .woocommerce > .woocommerce-message {
  display: none !important;
}

/* Single product: hide Woo "View cart" inline link next to Add to cart */
body.single-product form.cart .added_to_cart,
body.single-product form.cart .added_to_cart.wc-forward {
  display: none !important;
}

/* Themed inline add-to-cart error shown by JS (no redirect/reload) */
.woocommerce-notices-wrapper .ab-inline-cart-error {
  list-style: none !important;
  width: min(100%, 980px);
  margin: 0 auto 20px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 116, 94, 0.58) !important;
  border-radius: 12px;
  background: linear-gradient(
    120deg,
    rgba(72, 21, 16, 0.92),
    rgba(45, 14, 12, 0.9)
  ) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.woocommerce-notices-wrapper .ab-inline-cart-error::before {
  content: none !important;
  display: none !important;
}

.woocommerce-notices-wrapper .ab-inline-cart-error li {
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 12px 14px !important;
  color: #ffe9e0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.woocommerce-notices-wrapper .ab-inline-cart-error li::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 120, 0.75);
  background: rgba(255, 94, 65, 0.22);
  color: #ffc1b0;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

.woocommerce-notices-wrapper .ab-inline-cart-error a.wc-forward.button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(125, 255, 79, 0.58);
  background: rgba(20, 61, 31, 0.86);
  color: #deffcc !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1;
}

.woocommerce-notices-wrapper .ab-inline-cart-error a.wc-forward.button::after {
  content: "→" !important;
  font-family: inherit !important;
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
}

.woocommerce-notices-wrapper .ab-inline-cart-error a.wc-forward.button:hover {
  background: rgba(24, 74, 38, 0.94);
  border-color: rgba(148, 255, 104, 0.82);
  color: #ffffff !important;
}

@media (max-width: 700px) {
  .woocommerce-notices-wrapper .ab-inline-cart-error a.wc-forward.button {
    margin-left: 0;
  }
}

/* Single product: sold-individually duplicate add notice */
body.single-product .woocommerce .woocommerce-error {
  list-style: none !important;
  width: min(100%, 960px);
  margin: 0 auto 20px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 116, 94, 0.58) !important;
  border-radius: 12px;
  background: linear-gradient(
    120deg,
    rgba(72, 21, 16, 0.92),
    rgba(45, 14, 12, 0.9)
  ) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

body.single-product .woocommerce .woocommerce-error::before {
  content: none !important;
  display: none !important;
}

body.single-product .woocommerce .woocommerce-error li {
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 12px 14px !important;
  color: #ffe9e0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

body.single-product .woocommerce .woocommerce-error li::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 120, 0.75);
  background: rgba(255, 94, 65, 0.22);
  color: #ffc1b0;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

body.single-product .woocommerce .woocommerce-error img.emoji {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
}

body.single-product .woocommerce .woocommerce-error a.wc-forward.button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(125, 255, 79, 0.58);
  background: rgba(20, 61, 31, 0.86);
  color: #deffcc !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1;
}

body.single-product .woocommerce .woocommerce-error a.wc-forward.button::after {
  content: "→" !important;
  font-family: inherit !important;
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
}

body.single-product .woocommerce .woocommerce-error a.wc-forward.button:hover {
  background: rgba(24, 74, 38, 0.94);
  border-color: rgba(148, 255, 104, 0.82);
  color: #ffffff !important;
}

@media (max-width: 700px) {
  body.single-product .woocommerce .woocommerce-error a.wc-forward.button {
    margin-left: 0;
  }
}

/* ============================================
   Shop archive mobile polish (mobile only)
   Scope: shop + product category/tag archives
   ============================================ */
@media (max-width: 700px) {
  body.woocommerce-shop #block-9,
  body.tax-product_cat #block-9,
  body.tax-product_tag #block-9 {
    display: none !important;
  }

  body.woocommerce-shop #content .col-full,
  body.tax-product_cat #content .col-full,
  body.tax-product_tag #content .col-full {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-shop .ab-shop-header,
  body.tax-product_cat .ab-shop-header,
  body.tax-product_tag .ab-shop-header {
    padding: 16px 0 8px !important;
  }

  body.woocommerce-shop .ab-shop-header__inner,
  body.tax-product_cat .ab-shop-header__inner,
  body.tax-product_tag .ab-shop-header__inner {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.woocommerce-shop .ab-shop-header__subtitle,
  body.tax-product_cat .ab-shop-header__subtitle,
  body.tax-product_tag .ab-shop-header__subtitle {
    margin-bottom: 10px !important;
  }

  body.woocommerce-shop .ab-shop-header__search,
  body.tax-product_cat .ab-shop-header__search,
  body.tax-product_tag .ab-shop-header__search {
    max-width: none !important;
    margin-top: 8px !important;
  }

  body.woocommerce-shop .ab-shop-shell,
  body.tax-product_cat .ab-shop-shell,
  body.tax-product_tag .ab-shop-shell {
    gap: 10px !important;
    margin: 0 !important;
    padding: 6px 0 26px !important;
  }

  body.woocommerce-shop .ab-shadow-divider,
  body.tax-product_cat .ab-shadow-divider,
  body.tax-product_tag .ab-shadow-divider {
    height: 22px !important;
  }

  body.woocommerce-shop .ab-shop-sidebar,
  body.tax-product_cat .ab-shop-sidebar,
  body.tax-product_tag .ab-shop-sidebar {
    padding: 0 !important;
  }

  body.woocommerce-shop .ab-shop-sidebar .ab-filter-card,
  body.tax-product_cat .ab-shop-sidebar .ab-filter-card,
  body.tax-product_tag .ab-shop-sidebar .ab-filter-card {
    margin-bottom: 8px !important;
  }

  body.woocommerce-shop .ab-shop-main,
  body.tax-product_cat .ab-shop-main,
  body.tax-product_tag .ab-shop-main {
    padding: 0 !important;
  }

  body.woocommerce-shop .ab-shop-toolbar,
  body.tax-product_cat .ab-shop-toolbar,
  body.tax-product_tag .ab-shop-toolbar {
    padding: 0 !important;
    margin-bottom: 12px !important;
  }

  body.woocommerce-shop .ab-product-grid,
  body.tax-product_cat .ab-product-grid,
  body.tax-product_tag .ab-product-grid {
    gap: 12px !important;
    padding: 0 8px !important;
  }

  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 8px 6px !important;
  }

  body.woocommerce-shop ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Mobile categories -> 2 columns */
  body.woocommerce-shop
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list,
  body.tax-product_cat
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list,
  body.tax-product_tag
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.woocommerce-shop
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list--depth-0
    > .wc-block-product-categories-list-item:has(
      > a[href*="/product-category/builds/"]
    ),
  body.tax-product_cat
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list--depth-0
    > .wc-block-product-categories-list-item:has(
      > a[href*="/product-category/builds/"]
    ),
  body.tax-product_tag
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list--depth-0
    > .wc-block-product-categories-list-item:has(
      > a[href*="/product-category/builds/"]
    ) {
    grid-column: 1 / -1 !important;
  }

  body.woocommerce-shop
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item,
  body.tax-product_cat
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item,
  body.tax-product_tag
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item {
    border-radius: 11px !important;
  }

  body.woocommerce-shop
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item
    > a,
  body.tax-product_cat
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item
    > a,
  body.tax-product_tag
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item
    > a {
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
    gap: 6px !important;
  }

  body.woocommerce-shop
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item-count,
  body.tax-product_cat
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item-count,
  body.tax-product_tag
    .ab-shop-sidebar
    #block-10
    .wc-block-product-categories-list-item-count {
    min-width: 28px !important;
    height: 20px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    margin-right: 6px !important;
  }

  body.woocommerce-shop nav.woocommerce-pagination,
  body.tax-product_cat nav.woocommerce-pagination,
  body.tax-product_tag nav.woocommerce-pagination {
    margin-top: 10px !important;
    padding: 0 !important;
  }

  body.woocommerce-shop nav.woocommerce-pagination ul.page-numbers,
  body.tax-product_cat nav.woocommerce-pagination ul.page-numbers,
  body.tax-product_tag nav.woocommerce-pagination ul.page-numbers {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px !important;
  }

  body.woocommerce-shop
    nav.woocommerce-pagination
    ul.page-numbers
    a.page-numbers,
  body.woocommerce-shop
    nav.woocommerce-pagination
    ul.page-numbers
    span.page-numbers,
  body.tax-product_cat
    nav.woocommerce-pagination
    ul.page-numbers
    a.page-numbers,
  body.tax-product_cat
    nav.woocommerce-pagination
    ul.page-numbers
    span.page-numbers,
  body.tax-product_tag
    nav.woocommerce-pagination
    ul.page-numbers
    a.page-numbers,
  body.tax-product_tag
    nav.woocommerce-pagination
    ul.page-numbers
    span.page-numbers {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 6px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }

  body.woocommerce-shop
    nav.woocommerce-pagination
    ul.page-numbers
    a.next.page-numbers,
  body.tax-product_cat
    nav.woocommerce-pagination
    ul.page-numbers
    a.next.page-numbers,
  body.tax-product_tag
    nav.woocommerce-pagination
    ul.page-numbers
    a.next.page-numbers {
    min-width: 28px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }
}

/* ============================================
   Shop archive no-results notice (themed)
   ============================================ */
body.woocommerce-shop .woocommerce-no-products-found,
body.tax-product_cat .woocommerce-no-products-found,
body.tax-product_tag .woocommerce-no-products-found,
body.post-type-archive-product .woocommerce-no-products-found {
  margin: 10px 0 18px;
}

body.woocommerce-shop .woocommerce-no-products-found .woocommerce-info,
body.tax-product_cat .woocommerce-no-products-found .woocommerce-info,
body.tax-product_tag .woocommerce-no-products-found .woocommerce-info,
body.post-type-archive-product .woocommerce-no-products-found .woocommerce-info {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 16px 12px 44px !important;
  border-radius: 12px;
  border: 1px solid rgba(117, 255, 70, 0.36) !important;
  background: linear-gradient(
    120deg,
    rgba(10, 33, 18, 0.88),
    rgba(9, 24, 15, 0.84)
  ) !important;
  color: #dff8cf !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.woocommerce-shop .woocommerce-no-products-found .woocommerce-info::before,
body.tax-product_cat .woocommerce-no-products-found .woocommerce-info::before,
body.tax-product_tag .woocommerce-no-products-found .woocommerce-info::before,
body.post-type-archive-product .woocommerce-no-products-found .woocommerce-info::before {
  color: #9fff68 !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%);
}