/* ---------- Single Product Detail Page -------------------------------------------------- */
/* ---------- Product Detail Single Page ---------- */
.himaluxe.pdp {
  max-width: 1280px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

/* ---------- GALLERY ---------- */

.himaluxe.pdp .gallery {
	display: block;
  margin: 0;
}

.himaluxe.pdp .main-image {
    background: #f4f4f4;
    border-radius: 20px;
    padding: 0; 
    max-height: 75%;
    overflow: hidden;
}

.himaluxe.pdp .main-image img#activeImage {
    width: 100%;
}

.himaluxe.pdp .thumbs {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.himaluxe.pdp .thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.himaluxe.pdp .thumb img {
  max-width: 100%;
}

.himaluxe.pdp .thumb.active {
  border: 2px solid #1a73e8;
}

/* ---------- DETAILS ---------- */

.himaluxe.pdp .details h1 {
  font-size: 32px;
  line-height: 1.2;
}

.himaluxe.pdp .meta-row {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
}

.himaluxe.pdp .stock {
  background: #ffe5b4;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.himaluxe.pdp .price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.himaluxe.pdp .old-price {
  text-decoration: line-through;
  color: #e53935;
}

.himaluxe.pdp .price {
  font-size: 28px;
  font-weight: 700;
}

.himaluxe.pdp .rating {
  margin: 8px 0;
  color: #555;
}

.himaluxe.pdp hr {
  margin: 24px 0;
  border: none;
  border-top: 1px dashed #ddd;
}

/* ---------- OPTIONS ---------- */

.himaluxe.pdp .option {
  margin-bottom: 24px;
}

.himaluxe.pdp .swatches, .sizes {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.himaluxe.pdp .swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.himaluxe.pdp .green { background: #9ccc65; }
.himaluxe.pdp .gray { background: #eee; }
.himaluxe.pdp .blue { background: #4a90e2; }

.himaluxe.pdp .size {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
}

.himaluxe.pdp .active {
  border-color: #111;
}

.himaluxe.pdp .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- QTY ---------- */

.himaluxe.pdp .qty-box {
  display: inline-flex;
  gap: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 12px;
}

.himaluxe.pdp .qty-box #qty {
	padding-top: 5px;
	font-size: 20px;
}

/* ---------- CTA ---------- */

.himaluxe.pdp .cta {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.himaluxe.pdp .buy {
	flex: 1;
	border: 2px solid #111;
	background: #fff;
	padding: 14px;
	border-radius: 12px;
	color: #000;
}

.himaluxe.pdp .dbs-add-to-cart {
  flex: 1;
  background: #111;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
}

.himaluxe.pdp .delivery {
	color: #000;
}
/* ---------- TABS ---------- */

.tabs {
  max-width: 1280px;
  margin: 60px auto 0;
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #ddd;
}

.tab {
	background: none;
	border: none;
	padding-bottom: 12px;
	font-weight: 600;
	color: #000;
}

.tab.active {
	border-bottom: 3px solid #111;
	background: #000;
	color: #fff;

}

.tab-content {
  max-width: 1280px;
  margin: 24px auto;
}
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}












/* Product Detail New (scoped under .himaluxe-ui) */

.himaluxe-ui .pd-icon{
  border:0;background:transparent;padding:0;cursor:pointer;color:var(--hx-text-2);
  display:grid;place-items:center;
}
.himaluxe-ui .pd-cart{ position:relative; }
.himaluxe-ui .pd-cartdot{
  position:absolute; right:-2px; top:-1px;
  width:8px; height:8px; border-radius:999px;
  background:#2f80ed;
}

.himaluxe-ui .pd-wrap{ padding-top: 20px; }

.himaluxe-ui .pd-grid{
  display:grid;
  grid-template-columns: 620px 1fr;
  gap: 56px;
  align-items:start;
}
.himaluxe-ui .hx-product__badges.variant {
	position: relative;
	top: 30px;
	left: 10px;
	display: flex;
	z-index: 9999;
}

.himaluxe-ui .hx-product__badges.no_variant {
	position: relative;
	top: 30px;
	left: 10px;
	display: flex;
	z-index: 9999;
}

.himaluxe-ui .pd-gallery{ width:100%; }

.himaluxe-ui .pd-stage{
  background: var(--hx-surface-2);
  border-radius: 20px;
  overflow:hidden;
  position:relative;
  max-height: 520px;
  display:grid;
  place-items:center;
}
.himaluxe-ui .pd-stage__img{
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.himaluxe-ui .pd-dots{
  position:absolute;
  left:0; right:0; bottom: 14px;
  display:flex;
  justify-content:center;
  gap: 8px;
}
.himaluxe-ui .pd-dot{
  width: 7px; height: 7px;
  border-radius: 999px;
  border:0;
  background: #d6d6d6;
  cursor:pointer;
}
.himaluxe-ui .pd-dot.is-active{ background:#2a2a2a; }

.himaluxe-ui .pd-dot-no-var{
  width: 7px; height: 7px;
  border-radius: 999px;
  border:0;
  background: #d6d6d6;
  cursor:pointer;
}
.himaluxe-ui .pd-dot-no-var.is-active{ background:#2a2a2a; }


.himaluxe-ui .pd-thumbs{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  gap: 12px;
}
.himaluxe-ui .pd-thumbnav{
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--hx-border);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  color:var(--hx-text-2);
}
.himaluxe-ui .pd-thumbrail{
  display:flex;
  gap: 12px;
  overflow:hidden;
}
.himaluxe-ui .pd-thumb{
  width: 78px; height: 78px;
  border-radius: 14px;
  background: var(--hx-surface-2);
  border: 2px solid transparent;
  padding: 0;
  cursor:pointer;
  overflow:hidden;
  flex: 0 0 auto;
}
.himaluxe-ui .pd-thumb img{
  width:100%; height:100%; object-fit:cover;
}
.himaluxe-ui .pd-thumb.is-active{
  border-color:#2a2a2a;
  background:#fff;
}

.himaluxe-ui .pd-summary{ padding-top: 4px; }
.himaluxe-ui .pd-title{
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.himaluxe-ui .pd-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.himaluxe-ui .pd-actions-mini{ display:flex; gap: 10px; }
.himaluxe-ui .pd-mini{
  width: 30px; height: 30px;
  border-radius: 10px;
  border: 1px solid var(--hx-border);
  background:#fff;
  color: #000 !important;
  display:grid; place-items:center;
  cursor:pointer;
  color: var(--hx-text-2);
  padding: 5px;
}

.himaluxe-ui .pd-pricebar{
  display:flex;
  align-items:baseline;
  gap: 12px;
  flex-wrap:wrap;
  margin: 6px 0 18px;
}
.himaluxe-ui .pd-old{
  color:#ff3b30;
  text-decoration: line-through;
  font-weight: 700;
  font-size: 13px;
}
.himaluxe-ui .pd-price{
  font-weight: normal;
  font-size: 24px;
  color: var(--hx-text);
}
.himaluxe-ui .pd-vat{
  font-size: 12px;
  color: var(--hx-text-3);
}
.himaluxe-ui .pd-rating{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 16px;
  color: var(--hx-text-3);
  font-size: 12px;
}
.himaluxe-ui .pd-star{ color: #f2b01e; }
.himaluxe-ui .pd-star b{ color: var(--hx-text-2); font-weight:800; }

.himaluxe-ui .pd-toprow-no-var{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.himaluxe-ui .pd-pricebar-no-var{
  display:flex;
  align-items:baseline;
  gap: 12px;
  flex-wrap:wrap;
  margin: 6px 0 18px;
}
.himaluxe-ui .pd-old-no-var{
  color:#ff3b30;
  text-decoration: line-through;
  font-weight: 700;
  font-size: 13px;
}
.himaluxe-ui .pd-price-no-var{
  font-weight: 900;
  font-size: 18px;
  color: var(--hx-text);
}
.himaluxe-ui .pd-vat-no-var{
  font-size: 12px;
  color: var(--hx-text-3);
}
.himaluxe-ui .pd-rating-no-var{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 16px;
  color: var(--hx-text-3);
  font-size: 12px;
}
.himaluxe-ui .pd-star-no-var{ color: #f2b01e; }
.himaluxe-ui .pd-star-no-var   b{ color: var(--hx-text-2); font-weight:800; }

.himaluxe-ui .pd-desc .pd-sectiontitle{
  font-size: 13px;
  font-weight: 800;
  color: var(--hx-text);
  margin-bottom: 6px;
}

.himaluxe-ui .pd-opts{
  margin-top: 18px;
  display:grid;
  gap: 18px;
}

.himaluxe-ui .pd-opt{ display:grid; gap: 10px; }
.himaluxe-ui .pd-opt__head{ display:flex; align-items:center; gap:10px; }
.himaluxe-ui .pd-opt__head--between{ justify-content:space-between; }

.himaluxe-ui .pd-sizechart{
  font-size: 12px;
  color: var(--hx-text-3);
  border: 1px solid var(--hx-border);
  padding: 6px 10px;
  border-radius: 999px;
  background:#fff;
}

.himaluxe-ui .pd-value{ font-weight: 800; color: var(--hx-text-2); }

.pd-swatch.is-disabled,
.pd-size.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.himaluxe-ui .pd-swatches{ display:flex; gap: 10px; align-items:center; }
.himaluxe-ui .pd-swatch{
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1px solid var(--hx-border-2);
  background: var(--sw, #efefef);
  cursor:pointer;
  position:relative;
  padding: 0;
}
.himaluxe-ui .pd-swatch.is-active{
  outline: 2px solid rgba(47,128,237,.25);
  border-color: rgba(47,128,237,.55);
}
.himaluxe-ui .pd-swatch--slash::after{
  content:"";
  position:absolute; inset: 3px;
  border-left: 2px solid #ff3b30;
  transform: rotate(45deg);
  transform-origin:center;
}

.himaluxe-ui .pd-sizes{ display:flex; gap: 10px; align-items:center; }
.himaluxe-ui .pd-size{
  min-width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--hx-border);
  background:#fff;
  cursor:pointer;
  font-weight: 700;
  font-size: 12px;
  color: var(--hx-text-2);
  display:grid; place-items:center;
  position:relative;
  padding: 0;
}
.himaluxe-ui .pd-size.is-active{
  border-color: #2a2a2a;
  color: var(--hx-text);
}
.himaluxe-ui .pd-size.is-disabled::after {
    content: "";
    background: linear-gradient(
    135deg,
    transparent 47%,
    #ff3b30 48%,
    #ff3b30 51%,
    transparent 51%
  );
    pointer-events: none;
    position: absolute;
    inset: 0px;
    transform: rotate(90deg);
    top: 5px;
}

.himaluxe-ui .pd-cta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}
.himaluxe-ui .pd-cta-no-var{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}
.himaluxe-ui .pd-terms{
  font-size: 12px;
  color: var(--hx-text-3);
  text-decoration: underline;
  width: fit-content;
}
.himaluxe-ui .pd-tabs{
  margin-top: 26px;
}
.himaluxe-ui .pd-tabpanes{ padding-top: 14px; }

.himaluxe-ui .pd-pane{ display:none; }
.himaluxe-ui .pd-pane.is-active{ display:block; }

.himaluxe-ui .pd-panegrid{
  display:grid;
  grid-template-columns: 1fr 520px;
  gap: 26px;
  align-items:start;
}
.himaluxe-ui .pd-bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--hx-text-2);
  font-size: 14px;
  line-height: 1.8;
}
.himaluxe-ui .pd-paneimg{
  background: var(--hx-surface-2);
  border-radius: 16px;
  overflow:hidden;
}
.himaluxe-ui .pd-paneimg img {
	width: 100%;
	height: 290px;
	object-fit: cover;
	border-radius: 12px;
}
.hx-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
.hx-modal.active {
    display: block;
}
.hx-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}
.hx-modal-content {
    position: relative;
    max-width: 30%;
    margin: 5vh auto;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    padding: 20px;
}
.hx-modal-content img {
    max-width: 100%;
    max-height: 80vh;
}
.hx-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 600px) {
  .hx-modal-content {
    max-width: 90%;
  }
}

/* ======================================================
   HIMALUXE – PDP ULTRA SUBTLE MOTION SYSTEM
   Felt, not seen. Luxury-grade restraint.
====================================================== */

:root {
  --pdp-ease: cubic-bezier(.25,.46,.45,.94);
  --pdp-fast: 90ms;
  --pdp-base: 160ms;
  --pdp-slow: 420ms;
}

/* ------------------------------------------------------
   Accessibility
------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .himaluxe.pdp *,
  .himaluxe-ui .pd-wrap * {
    transition: none !important;
    animation: none !important;
  }
}

/* ======================================================
   PAGE ENTRY – Silent Fade
====================================================== */

.himaluxe.pdp,
.himaluxe-ui .pd-wrap {
  animation: pdp-fade-in 220ms var(--pdp-ease) both;
}

@keyframes pdp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======================================================
   HERO IMAGE – Controlled Zoom (Approved)
====================================================== */

.himaluxe.pdp .main-image img#activeImage,
.himaluxe-ui .pd-stage__img {
  transition:
    transform var(--pdp-slow) var(--pdp-ease),
    filter var(--pdp-slow) var(--pdp-ease);
  will-change: transform;
}

@media (hover:hover) {
  .himaluxe.pdp .main-image:hover img#activeImage,
  .himaluxe-ui .pd-stage:hover .pd-stage__img {
    transform: scale(1.04);
    filter: brightness(1.01);
  }
}

/* ======================================================
   THUMBNAILS – Precision Feedback
====================================================== */

.himaluxe.pdp .thumb,
.himaluxe-ui .pd-thumb {
  transition:
    border-color var(--pdp-fast) var(--pdp-ease),
    opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .thumb:hover,
  .himaluxe-ui .pd-thumb:hover {
    opacity: 0.85;
  }
}

/* ======================================================
   TITLE & PRICE – Optical Presence
====================================================== */

.himaluxe.pdp .details h1,
.himaluxe-ui .pd-title {
  transition: opacity var(--pdp-base) var(--pdp-ease);
}

.himaluxe.pdp .price,
.himaluxe-ui .pd-price {
  transition: opacity var(--pdp-base) var(--pdp-ease);
}

/* ======================================================
   STOCK / META PILLS – Calm Emphasis
====================================================== */

.himaluxe.pdp .stock,
.himaluxe-ui .pd-rating,
.himaluxe-ui .pd-vat {
  transition: opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .stock:hover,
  .himaluxe-ui .pd-rating:hover {
    opacity: 0.85;
  }
}

/* ======================================================
   COLOR SWATCHES – Intent Confirmation
====================================================== */

.himaluxe.pdp .swatch,
.himaluxe-ui .pd-swatch {
  transition:
    border-color var(--pdp-fast) var(--pdp-ease),
    opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .swatch:hover,
  .himaluxe-ui .pd-swatch:hover {
    opacity: 0.85;
  }
}

/* ======================================================
   SIZE OPTIONS – Precision Selection
====================================================== */

.himaluxe.pdp .size,
.himaluxe-ui .pd-size {
  transition:
    border-color var(--pdp-fast) var(--pdp-ease),
    color var(--pdp-fast) var(--pdp-ease),
    opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .size:hover,
  .himaluxe-ui .pd-size:hover {
    opacity: 0.85;
  }
}

/* ======================================================
   QTY CONTROL – Mechanical Feel
====================================================== */

.himaluxe.pdp .qty-box,
.himaluxe-ui .hx-qty,
.himaluxe-ui .hx-qty-no-var {
  transition: opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .qty-box:hover {
    opacity: 0.9;
  }
}

/* ======================================================
   CTA BUTTONS – Weight Without Bounce
====================================================== */

.himaluxe.pdp .buy,
.himaluxe.pdp .dbs-add-to-cart,
.himaluxe-ui .pd-cta button {
  transition:
    background var(--pdp-fast) var(--pdp-ease),
    color var(--pdp-fast) var(--pdp-ease),
    opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .himaluxe.pdp .buy:hover,
  .himaluxe.pdp .dbs-add-to-cart:hover,
  .himaluxe-ui .pd-cta button:hover {
    opacity: 0.92;
  }
}

.himaluxe.pdp .buy:active,
.himaluxe.pdp .dbs-add-to-cart:active {
  opacity: 0.85;
}

/* ======================================================
   TABS – Editorial Calm
====================================================== */

.tab,
.himaluxe-ui .pd-tab {
  transition:
    color var(--pdp-fast) var(--pdp-ease),
    opacity var(--pdp-fast) var(--pdp-ease);
}

@media (hover:hover) {
  .tab:hover,
  .himaluxe-ui .pd-tab:hover {
    opacity: 0.8;
  }
}

/* ======================================================
   TAB CONTENT – Gentle Presence
====================================================== */

.tab-panel.active,
.himaluxe-ui .pd-pane.is-active {
  animation: pdp-panel-fade 160ms var(--pdp-ease) both;
}

@keyframes pdp-panel-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======================================================
   MODAL (Image / Zoom) – Silent Reveal
====================================================== */

.hx-modal-content {
  animation: pdp-modal-in 200ms var(--pdp-ease) both;
}

@keyframes pdp-modal-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pd-gallery .hx-product__badges.variant span.hx-badge.hx-badge--pink {
    z-index: 8888;
    margin-left: auto;
    margin-right: 4%;
    margin-bottom: -1%;
    padding: 5px 10px;
    line-height: 10px;
}
.pd-gallery.no_variant .hx-product__badges.no_variant span.hx-badge.hx-badge--pink {
    z-index: 8888;
    margin-left: auto;
    margin-right: 4%;
    margin-bottom: -1%;
    padding: 5px 10px;
    line-height: 10px;
}


@media (max-width: 600px) {
  .himaluxe-ui .pd-sizes {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 400px;
    overflow: scroll;
}
}