/* =========================================================
   Regenix 2026 – Product page
   Load AFTER css/regenix-home.css (buttons, type, colors,
   product cards and badges come from that file).
   ========================================================= */
.rgx {
	--rgx-header-space:80px;
}
/* Keep the gallery in view while reading a long description (desktop only) */
@media (min-width: 861px) {
  .rgx-pdp__gallery { position: sticky; top: calc(var(--rgx-header-space, 120px) - 20px); }
}
.rgx-pdp__details { margin-top: 24px; }
.rgx-pdp__details p { margin: 0 0 14px; }
/* Breadcrumbs */
.rgx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--rgx-muted); margin-bottom: 28px; }
.rgx-crumbs a { color: var(--rgx-muted); text-decoration: none; }
.rgx-crumbs a:hover { color: var(--rgx-azure); text-decoration: underline; }
.rgx-crumbs [aria-current] { color: var(--rgx-ink); }
.rgx-crumbs + .rgx-pdp__grid { margin-top: 0; }
#products section {
	padding-top:25px;
}
@media (max-width: 600px) { .rgx-crumbs [aria-current], .rgx-crumbs [aria-current] ~ *, .rgx-crumbs span:last-of-type { display: none; } }
.rgx-pdp { padding: var(--rgx-header-space, 120px) 0 clamp(56px, 7vw, 96px); }
.rgx-pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.rgx-pdp {
	padding-top:30px;
}
.rgx-toggles details p, .rgx-toggles details span, .rgx-toggles details li, .rgx-toggles details div, .rgx-pdp__details p, .rgx-pdp__details span, .rgx-pdp__details li, .rgx-pdp__details div {
	font-size:16px !important;
	color:#1f2a30 !important;
}
/* ---------- Gallery ---------- */
.rgx-pdp__main { position: relative; border-radius: 10px; overflow: hidden; background: #f1f2f4; /*aspect-ratio: 4 / 3;*/ }
.rgx-pdp__main img { width: 100%; height: 100% !important; object-fit: contain; display: block; cursor: zoom-in; }
.rgx-pdp__zoom {
  position: absolute; right: 18px; bottom: 18px;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--rgx-line);
  background: #fff; color: var(--rgx-ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.rgx-pdp__zoom svg { width: 18px; height: 18px; }
.rgx-pdp__thumbs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; align-items: flex-end; }
.rgx-pdp__thumbs button {
  width: 56px; padding: 0 0 6px; border: 0; background: none; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.rgx-pdp__thumbs button.is-active { border-bottom-color: var(--rgx-ink); }
.rgx-pdp__thumbs img { width: 100%; height: 60px !important; display: block; border-radius: 2px; object-fit:cover; }

/* ---------- Details ---------- */
.rgx .rgx-pdp__info h1 { color: var(--rgx-azure); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.15; margin: 4px 0 22px; }
.rgx-pdp__price { font-family: var(--rgx-serif); font-size: 26px; color: var(--rgx-azure); margin-bottom: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rgx-pdp__price s { color: var(--rgx-muted); font-size: 20px; }
.rgx-pdp__price .rgx-badge { position: static; font-family: var(--rgx-sans); }
.rgx-pdp__price:empty { display: none; }

.rgx .rgx-pdp__label { display: block; font-size: 14px; font-weight: 400; color: var(--rgx-muted); margin: 0 0 10px; }

.rgx-pdp__variants ul { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; padding: 0; }
.rgx-pdp__variants img { width: 56px; height: 56px !important; object-fit: cover; border-radius: 6px; border: 1px solid var(--rgx-line); }

.rgx-qty {
  display: inline-flex; align-items: center; height: 46px;
  border: 1px solid var(--rgx-line); border-radius: 999px; background: transparent; margin-bottom: 26px;
}
.rgx-qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--rgx-ink); cursor: pointer; line-height: 1; }
.rgx-qty input {
  width: 36px; border: 0; background: none; text-align: center; font: inherit; font-size: 15px; color: var(--rgx-ink);
  -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.rgx-qty input::-webkit-outer-spin-button, .rgx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.rgx-btn--block { display: flex; width: 100%; justify-content: center; }
.rgx-pdp__form .rgx-btn + .rgx-btn { margin-top: 10px; }
.rgx-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.rgx .rgx-pdp__note { font-size: 13px; color: var(--rgx-muted); margin: 14px 0 0; }
.rgx .rgx-pdp__note--cart { color: var(--rgx-azure); margin-top: 6px; }
.rgx-pdp__info .rgx-divider { margin: 28px 0; }
.rgx .rgx-pdp__desc { font-size: 16px; line-height: 1.6; margin: 0 0 8px; }

/* Long description – shown as-is if it can't be split into toggles */
.rgx-pdp__details { font-size: 14px; line-height: 1.65; }
.rgx-pdp__details ul { padding-left: 1.2em; }

/* Toggles */
.rgx-toggles { margin-top: 24px; border-top: 1px solid var(--rgx-line); }
.rgx-toggles details { border-bottom: 1px solid var(--rgx-line); }
.rgx-toggles summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 36px 24px 0;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rgx-azure);
}
.rgx-toggles summary::-webkit-details-marker { display: none; }
.rgx-toggles summary::before,
.rgx-toggles summary::after {             /* + / – icon */
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 13px; height: 1.5px; background: var(--rgx-azure); transition: transform 0.2s ease;
}
.rgx-toggles summary::after { transform: rotate(90deg); }
.rgx-toggles details[open] summary::after { transform: rotate(0deg); }
.rgx-toggles details > div { padding: 0 0 24px; color: var(--rgx-ink); }
.rgx-toggles details > div > :last-child { margin-bottom: 0; }
.rgx .rgx-pdp__resale { font-style: italic; font-size: 15px; margin: 22px 0 0; }

@media (max-width: 860px) {
  .rgx-pdp__grid { grid-template-columns: 1fr; }
}

/* ---------- Zoom ---------- */
.rgx-zoom { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.rgx-zoom::backdrop { background: rgba(2, 30, 42, 0.82); }
.rgx-zoom img { display: block; max-width: 94vw; max-height: 94vh; width: auto; height: auto; border-radius: 6px; }
.rgx-zoom__close {
  position: fixed; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 999px;
  border: 0; background: var(--rgx-ivory); color: var(--rgx-azure); font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- You may also like ---------- */
.rgx-related { padding-top: clamp(40px, 5vw, 72px); }
.rgx .rgx-related__title { text-align: center; margin-bottom: 44px; }
.rgx-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rgx-related .rgx-card__media { aspect-ratio: 3 / 2.1; }
.rgx-related .rgx-card h3 { font-size: 16px; margin: 18px 0 6px; }
.rgx-related .rgx-price { font-size: 22px; color: var(--rgx-azure); }
@media (max-width: 860px) { .rgx-related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rgx-related__grid { grid-template-columns: 1fr; } }
.rgx-related .rgx-card__media img { position: absolute; inset: 0; }
