/*
 * ALG — Single product page styles
 * Dark theme with gold accents. Tokens from style.css :root.
 */

body.single-product .woocommerce-page-header,
body.single-product .botiga-page-header,
body.single-product .page-header,
body.single-product .woocommerce-breadcrumb,
body.single-product header.entry-header,
body.single-product .related.products > h2,
body.single-product .related.products {
  display: none !important;
}

body.single-product main#main,
body.single-product .alg-product-main {
  background: var(--c-bg-page);
  padding: 0 !important;
}

/* ── PAGE WRAPPER ─────────────────────────── */
.alg-product {
  background: var(--c-bg-page);
  color: var(--c-white);
  padding: 2.5rem 0 5rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
}

.alg-product__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ── BREADCRUMB ───────────────────────────── */
.alg-product__crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 2rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.4);
}

a.alg-product__crumb,
.alg-product__crumb {
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none !important;
  transition: color var(--t-fast) ease;
}

a.alg-product__crumb:hover { color: var(--c-yellow) !important; }

.alg-product__crumb.is-current {
  color: var(--c-white) !important;
  font-weight: var(--fw-bold);
}

.alg-product__sep {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.2);
}

/* ── 2-COL GRID ───────────────────────────── */
.alg-product__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* ── GALLERY (left) ───────────────────────── */
.alg-product__gallery {
  display: flex;
  flex-direction: row;
  gap: 12px;
  position: sticky;
  top: 100px;
}

/* Vertical thumbnail strip on the left */
.alg-product__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 84px;
  flex-shrink: 0;
}

.alg-product__thumb {
  position: relative;
  background: rgba(255,255,255,0.05) !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  padding: 0 !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
  width: 100%;
  transition: border-color var(--t-fast) ease;
}

.alg-product__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  box-sizing: border-box;
}

.alg-product__thumb:hover {
  border-color: rgba(255,255,255,0.3) !important;
}

.alg-product__thumb.is-active {
  border-color: var(--c-yellow) !important;
}

.alg-product__thumb-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  pointer-events: none;
}

/* Main image fills remaining width */
.alg-product__main-img {
  flex: 1 1 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alg-product__main-img img,
.alg-product__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  padding: 0 !important;
  box-sizing: border-box;
}

/* ── INFO (right) ─────────────────────────── */
.alg-product__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Category pill */
.alg-product__cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(196,163,90,0.12);
  border: 1px solid rgba(196,163,90,0.3);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow) !important;
  text-decoration: none !important;
  width: fit-content;
  transition: background var(--t-fast) ease;
}

.alg-product__cat-pill:hover {
  background: rgba(196,163,90,0.22);
}

.alg-product h1.alg-product__title,
.alg-product .alg-product__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 3.25vw, 2.5rem) !important;
  font-weight: var(--fw-bold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  color: var(--c-white) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── INLINE STARS ROW ─────────────────────── */
.alg-product__stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.alg-product__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.alg-product__star {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.18);
}

.alg-product__star.is-filled {
  color: #C4A35A;
}

.alg-product__stars-sep {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
  line-height: 1;
}

button.alg-product__review-inline-btn,
.alg-product__review-inline-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.45) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: color var(--t-fast) ease;
}

.alg-product__review-inline-btn:hover {
  color: var(--c-white) !important;
}

.alg-product__desc p {
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 0 0.25rem !important;
}
.alg-product__desc p:last-child { margin-bottom: 0 !important; }

/* ── ACTIONS BAR ──────────────────────────── */
.alg-product__actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

button.alg-product__like,
.alg-product__like {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 34px !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(212,111,119,0.25) !important;
  background: rgba(212,111,119,0.1) !important;
  color: #E88B93 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}

.alg-product__like:hover,
.alg-product__like.is-liked {
  background: rgba(212,111,119,0.18) !important;
  border-color: rgba(212,111,119,0.45) !important;
}

.alg-product__like-icon { flex: 0 0 auto; }
.alg-product__like-icon--on { display: none; }
.alg-product__like.is-liked .alg-product__like-icon--off { display: none; }
.alg-product__like.is-liked .alg-product__like-icon--on { display: inline-block; }

.alg-product__like-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5ch;
  font-variant-numeric: tabular-nums;
}

button.alg-product__share,
.alg-product__share {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.55) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.alg-product__share:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--c-white) !important;
}

.alg-product__share[data-copied="1"]::after {
  content: 'Link copied';
  position: absolute;
  background: #222;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  margin-top: 56px;
}

/* ── PRICE ROW ────────────────────────────── */
.alg-product__price-row {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.15rem 0;
}

.alg-product__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: 1;
}

.alg-product__price .woocommerce-Price-amount,
.alg-product__price .amount,
.alg-product__price bdi {
  color: var(--c-white) !important;
}

.alg-product__price del {
  opacity: 0.4;
  margin-right: 12px;
  font-size: 0.7em;
}

.alg-product__price ins {
  background: transparent;
  text-decoration: none;
}

/* ── REVIEWS PILLS ────────────────────────── */
.alg-product__reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 14px;
}

.alg-product__rating--trigger,
.alg-product__review-count--trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  cursor: pointer;
  outline: none;
}

.alg-product__rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(196,163,90,0.12);
  border: 1px solid rgba(196,163,90,0.25);
  color: var(--c-yellow);
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 27px;
}

.alg-product__review-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 27px;
}

.alg-product__recommend {
  color: #5CB85C;
  font-size: 14px;
  font-weight: 600;
}

.alg-product__recommend strong {
  color: #5CB85C;
  font-weight: 700;
}

/* ── BUY SECTION ──────────────────────────── */
.alg-product__buy {
  margin-top: 0.25rem;
}

.alg-product__buy::before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  margin: 0.5rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.single-product .alg-product__buy .botiga-single-addtocart-wrapper,
.alg-product__buy .botiga-single-addtocart-wrapper,
body.single-product .alg-product__buy form.cart,
.alg-product__buy form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: auto !important;
}

body.single-product .alg-product__buy form.cart .quantity,
body.single-product .alg-product__buy .quantity,
.alg-product__buy .quantity {
  display: none !important;
}

/* Qty stepper — dark */
body.single-product .alg-product__buy .alg-product__qty,
.alg-product__buy .alg-product__qty,
div.alg-product__qty {
  display: inline-flex !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 29.5px !important;
  overflow: hidden !important;
  height: 54px !important;
  background: rgba(255,255,255,0.05) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  vertical-align: middle;
  box-shadow: none !important;
}

body.single-product .alg-product__qty .alg-product__qty-btn,
button.alg-product__qty-btn,
.alg-product__qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,0.45) !important;
  font-family: var(--font-sans) !important;
  font-size: 1.15rem !important;
  font-weight: var(--fw-bold) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  user-select: none;
  box-shadow: none !important;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.alg-product__qty-btn:hover {
  background: rgba(255,255,255,0.07) !important;
  color: var(--c-white) !important;
}

body.single-product .alg-product__qty-input,
input.alg-product__qty-input,
.alg-product__qty-input {
  width: 56px !important;
  min-width: 56px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,0.1) !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 !important;
  color: var(--c-white) !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: var(--fw-medium) !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  -moz-appearance: textfield;
  outline: none !important;
  box-shadow: none !important;
}
.alg-product__qty-input::-webkit-outer-spin-button,
.alg-product__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to Cart — gold pill, fills remaining width */
.alg-product__buy button.single_add_to_cart_button,
.alg-product__buy .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 54px !important;
  flex: 1 1 auto !important;
  min-width: 160px !important;
  padding: 12px 28px !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: #1a1a1a !important;
  background: #C4A35A !important;
  border: 0 !important;
  border-radius: 29.5px !important;
  cursor: pointer !important;
  transition: filter var(--t-fast) ease, transform var(--t-fast) ease;
  box-shadow: none !important;
}

.alg-product__buy button.single_add_to_cart_button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.alg-product__buy button.single_add_to_cart_button.is-disabled,
.alg-product__buy button.single_add_to_cart_button:disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  transform: none !important;
  filter: none !important;
}

/* Already in cart */
.alg-product__cart-state {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.alg-product__cart-state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(92,184,92,0.1);
  border: 1px solid rgba(92,184,92,0.3);
  color: #5CB85C;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
}

.alg-product__cart-bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212,111,119,0.1);
  border: 1px solid rgba(212,111,119,0.25);
  color: #E88B93 !important;
  text-decoration: none !important;
}

/* Out of Stock notice */
.alg-product__oos-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.22);
  border-radius: 12px;
}

.alg-product__oos-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220,53,69,0.14);
  color: #E55565;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alg-product__oos-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alg-product__oos-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #E55565;
}

.alg-product__oos-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Contact-for-price button */
.alg-product__price-row a.alg-contact-for-price,
a.alg-contact-for-price.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 54px !important;
  padding: 12px 28px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  background: var(--c-yellow) !important;
  border: 0 !important;
  border-radius: 29.5px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: filter var(--t-fast) ease, transform var(--t-fast) ease;
}
a.alg-contact-for-price.button:hover {
  filter: brightness(1.08);
  color: #1a1a1a !important;
  transform: translateY(-1px);
}

/* ── META CARDS ───────────────────────────── */
.alg-product__meta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0.5rem;
}

.alg-product__meta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.alg-product__meta-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(196,163,90,0.1);
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.alg-product__meta-body { flex: 1 1 auto; min-width: 0; }

.alg-product__meta-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}

.alg-product__meta-value {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-white);
}

.alg-product__meta-value a { color: var(--c-white) !important; text-decoration: none; }
.alg-product__meta-value a:hover { color: var(--c-yellow) !important; }

/* ── REVIEWS SECTION ──────────────────────── */
.alg-product__reviews-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0.5rem;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
}

.alg-product__reviews-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.alg-product__reviews-section-kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

.alg-product__reviews-section-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  margin: 4px 0 0;
}

.alg-product__review-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  min-width: 110px;
  height: 38px;
  border: 1px solid rgba(196,163,90,0.35);
  border-radius: 8px;
  background: rgba(196,163,90,0.1);
  color: var(--c-yellow);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast) ease;
}

.alg-product__review-open:hover { background: rgba(196,163,90,0.2); }

.alg-product__reviews-list { display: grid; gap: 10px; }

.alg-product__review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.alg-product__review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.alg-product__review-author {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-white);
}

.alg-product__review-date {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.alg-product__review-stars { display: inline-flex; gap: 3px; line-height: 1; }
.alg-product__review-star { color: rgba(255,255,255,0.18); font-size: 1rem; }
.alg-product__review-star.is-filled { color: var(--c-yellow); }

.alg-product__review-content {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.alg-product__reviews-empty {
  text-align: center;
  padding: 20px 0;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

/* ── REVIEW MODAL ─────────────────────────── */
.alg-product__review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alg-product__review-modal[hidden] { display: none !important; }

.alg-product__review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.alg-product__review-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.alg-product__review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--t-fast) ease;
}

.alg-product__review-modal-close:hover { background: rgba(255,255,255,0.1); }

.alg-product__review-modal-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-right: 48px;
}

.alg-product__review-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-white);
}

.alg-product__review-modal-copy {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.alg-product__review-modal-rating {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.alg-product__review-modal-star {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  color: rgba(255,255,255,0.25);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.alg-product__review-modal-star.is-active {
  background: rgba(196,163,90,0.14);
  color: var(--c-yellow);
  border-color: rgba(196,163,90,0.4);
}

.alg-product__review-field {
  width: 100%;
  min-height: 130px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
  outline: none;
  transition: border-color var(--t-fast) ease;
}

.alg-product__review-field:focus { border-color: rgba(196,163,90,0.45); }

.alg-product__review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.alg-product__review-cancel {
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.65);
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--t-fast) ease;
}

.alg-product__review-cancel:hover { background: rgba(255,255,255,0.06); }

.alg-product__review-submit {
  border: 0;
  background: var(--c-yellow);
  color: #1a1a1a;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: filter var(--t-fast) ease;
}

.alg-product__review-submit:hover { filter: brightness(1.08); }

.alg-no-scroll { overflow: hidden; }

/* ── RELATED PRODUCTS ─────────────────────── */
.alg-product__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.alg-product h2.alg-product__related-title,
.alg-product .alg-product__related-title {
  font-family: var(--font-display) !important;
  font-size: 1.5rem !important;
  font-weight: var(--fw-bold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: var(--c-white) !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
}

.alg-product__related .alg-bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

body.single-product .alg-product__related .alg-bestsellers__card h3.alg-bestsellers__title,
body.single-product .alg-product__related .alg-bestsellers__title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: var(--fw-bold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.single-product .alg-product__related .alg-bestsellers__title a {
  color: #ffffff !important;
  text-decoration: none !important;
}
body.single-product .alg-product__related .alg-bestsellers__title a:hover {
  color: var(--c-yellow) !important;
}

body.single-product .alg-product__related .alg-bestsellers__desc {
  color: rgba(255,255,255,0.6) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.single-product .alg-product__related .alg-bestsellers__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  text-align: left !important;
}

body.single-product .alg-product__related .alg-bestsellers__price,
body.single-product .alg-product__related .alg-bestsellers__price bdi,
body.single-product .alg-product__related .alg-bestsellers__price .amount {
  color: #ffffff !important;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .alg-product__inner { padding: 0 32px; }
  .alg-product__grid { grid-template-columns: 1fr; gap: 32px; }
  .alg-product__gallery { position: static; top: auto; }
  .alg-product__related .alg-bestsellers__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .alg-product { padding: 1.5rem 0 4rem; }
  .alg-product__inner { padding: 0 20px; }
  .alg-product__thumbs { width: 64px; }
  .alg-product__buy form.cart { width: 100%; }
  .alg-product__buy button.single_add_to_cart_button { flex: 1 1 auto; }
}
