/* ==========================================================================
   WEAVES & WEFTS - LUXURY PRODUCT DETAIL PAGE STYLES (VELORA REFERENCE STYLES)
   ========================================================================== */

:root {
  --color-pdp-burgundy: #8B0D24;
  --color-pdp-wine: #6E081C;
  --color-pdp-ivory: #ffffff;
  --color-pdp-beige: #f5f5f5;
  --color-pdp-gold: #C8A86B;
  --color-pdp-text: #121212;
  --color-pdp-text-light: rgba(18, 18, 18, 0.75);
  --color-pdp-white: #ffffff;
  --color-pdp-border: #e8e8e8;
  
  --font-serif-pdp: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans-pdp: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  
  --transition-luxury: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-luxury: none;
  --shadow-hover: none;
}

body.pdp-page {
  background-color: var(--color-pdp-white);
  color: var(--color-pdp-text);
  font-family: var(--font-sans-pdp);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Base Headings & Dividers */
.pdp-serif {
  font-family: var(--font-serif-pdp);
}

.thin-divider {
  height: 1px;
  background-color: var(--color-pdp-border);
  border: none;
  margin: 20px 0;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.pdp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-pdp-text-light);
  font-family: var(--font-sans-pdp);
}

.pdp-breadcrumb a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.pdp-breadcrumb a:hover {
  color: var(--color-pdp-text);
  text-decoration: underline;
}

.pdp-breadcrumb span {
  margin: 0 6px;
  color: rgba(18, 18, 18, 0.3);
}

/* ==========================================================================
   MAIN PDP CONTAINER
   ========================================================================== */
.pdp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 50px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN: GALLERY SYSTEM (Vertical Thumbnails on left of display)
   ========================================================================== */
.pdp-gallery-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
  grid-column: 1;
}

.pdp-thumbnails-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 80px;
  flex-shrink: 0;
}

.pdp-thumbnails-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: hidden;
}

.pdp-thumbnails-scroll-btn {
  background: #fff;
  border: 1px solid var(--color-pdp-border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-pdp-text);
  transition: var(--transition-fast);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pdp-thumbnails-scroll-btn:hover {
  border-color: var(--color-pdp-text);
  background: var(--color-pdp-beige);
}

.pdp-thumbnail-card {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-pdp-border);
  background-color: var(--color-pdp-white);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 2px;
  box-sizing: border-box;
}

.pdp-thumbnail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.pdp-thumbnail-card:hover {
  border-color: var(--color-pdp-text);
}

.pdp-thumbnail-card:hover img {
  opacity: 1;
}

.pdp-thumbnail-card.active {
  border-color: var(--color-pdp-text);
  border-width: 1.5px;
}

.pdp-thumbnail-card.active img {
  opacity: 1;
}

.pdp-hero-image-display {
  flex-grow: 1;
  aspect-ratio: 4/5;
  border-radius: 8px;
  border: 1px solid var(--color-pdp-border);
  background-color: var(--color-pdp-beige);
  overflow: hidden;
  position: relative;
}

.pdp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-out;
  cursor: zoom-in;
}

.pdp-gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-pdp-text);
  color: var(--color-pdp-white);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 5;
}

.pdp-gallery-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-pdp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-pdp-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--transition-fast);
  z-index: 5;
  padding: 0;
}

.pdp-gallery-zoom-btn:hover {
  transform: scale(1.06);
  border-color: var(--color-pdp-text);
}

.pdp-gallery-zoom-btn svg {
  stroke: currentColor;
}

/* ==========================================================================
   RIGHT COLUMN: PRODUCT DETAILS (Sticky details panel)
   ========================================================================== */
.pdp-details-panel {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  position: sticky;
  top: 110px;
}

/* Tag / New Arrival Pill */
.pdp-badge-wrapper-velora {
  margin-bottom: 8px;
}

.pdp-tag-velora {
  background-color: rgba(139, 13, 36, 0.06);
  color: var(--color-pdp-burgundy);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  display: inline-block;
  text-transform: uppercase;
}

.pdp-product-title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-pdp-text);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

/* Ratings Compact */
.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-stars {
  display: flex;
  color: var(--color-pdp-text);
  gap: 2px;
}

.pdp-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.pdp-review-count {
  font-size: 0.8rem;
  color: var(--color-pdp-text-light);
  text-decoration: underline;
  cursor: pointer;
}

/* Price Block */
.pdp-price-container {
  margin-bottom: 24px;
}

.pdp-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.pdp-current-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-pdp-text);
}

.pdp-original-price {
  font-size: 1.15rem;
  color: rgba(18, 18, 18, 0.4);
  text-decoration: line-through;
}

.pdp-discount-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-pdp-white);
  background-color: var(--color-pdp-burgundy);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.pdp-tax-notice {
  font-size: 0.8rem;
  color: var(--color-pdp-text-light);
}

.pdp-tax-notice a {
  color: inherit;
  text-decoration: underline;
}

/* Short Description */
.pdp-short-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-pdp-text-light);
  margin-bottom: 24px;
}

.pdp-short-desc p {
  margin: 0 0 12px 0;
}

.pdp-short-desc video,
.pdp-short-desc iframe,
.pdp-description-content video,
.pdp-description-content iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  margin: 12px 0;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Attribute Selectors */
.pdp-attributes-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.pdp-attribute-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attribute-label-row-velora {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdp-attribute-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-pdp-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.selected-option-val {
  font-weight: 400;
  color: var(--color-pdp-text-light);
  text-transform: none;
  margin-left: 6px;
}

.pdp-option-guide-link {
  font-size: 0.75rem;
  color: var(--color-pdp-text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.pdp-option-guide-link:hover {
  color: var(--color-pdp-text);
  text-decoration: underline;
}

.pdp-option-guide-link svg {
  stroke: currentColor;
}

.pdp-attribute-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-chip {
  background-color: var(--color-pdp-white);
  border: 1px solid var(--color-pdp-border);
  color: var(--color-pdp-text);
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pdp-chip:hover {
  border-color: var(--color-pdp-text);
}

.pdp-chip.active {
  background-color: var(--color-pdp-burgundy);
  border-color: var(--color-pdp-burgundy);
  color: var(--color-pdp-white);
  font-weight: 500;
  box-shadow: none;
}

/* Color Swatches (Double Ring outline for active) */
.pdp-color-swatches {
  gap: 12px;
}

.pdp-chip-color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-pdp-border);
  box-sizing: border-box;
  background: var(--color-pdp-white);
  flex-shrink: 0;
}

.pdp-chip-color .color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}

.pdp-chip-color:hover {
  border-color: var(--color-pdp-text);
  transform: scale(1.05);
}

.pdp-chip-color.active {
  border: 1.5px solid var(--color-pdp-burgundy);
  transform: scale(1.05);
  box-shadow: none;
  padding: 2px; /* spaces inner color dot to leave white ring */
}

.pdp-chip-color.active .color-dot {
  width: 100%;
  height: 100%;
}

/* Purchase Section (Flex Layout row) */
.pdp-purchase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  align-items: stretch;
}

.purchase-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.pdp-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-pdp-border);
  background-color: var(--color-pdp-white);
  border-radius: 4px;
  height: 48px;
  width: 110px;
  justify-content: space-between;
  padding: 0 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.pdp-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-pdp-text);
}

.pdp-qty-btn:hover {
  color: var(--color-pdp-burgundy);
}

.pdp-qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-family: var(--font-sans-pdp);
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  color: var(--color-pdp-text);
  outline: none;
}

.pdp-qty-input::-webkit-inner-spin-button,
.pdp-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-btn {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition-fast);
  cursor: pointer;
  box-sizing: border-box;
  border: none;
}

.pdp-btn-cart {
  background-color: var(--color-pdp-burgundy);
  color: var(--color-pdp-white);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-btn-cart:hover {
  background-color: var(--color-pdp-wine);
}

.cart-btn-icon {
  stroke: currentColor;
}

.pdp-wishlist-toggle-btn {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--color-pdp-border);
  background-color: var(--color-pdp-white);
  color: var(--color-pdp-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
  padding: 0;
  box-sizing: border-box;
}

.pdp-wishlist-toggle-btn:hover {
  border-color: var(--color-pdp-text);
}

.pdp-wishlist-toggle-btn svg {
  stroke: currentColor;
  fill: none;
  transition: var(--transition-fast);
}

.pdp-wishlist-toggle-btn.active svg {
  fill: #c62828;
  stroke: #c62828;
}

.pdp-btn-buy {
  background-color: var(--color-pdp-white);
  color: var(--color-pdp-burgundy);
  border: 1.5px solid var(--color-pdp-burgundy);
  box-shadow: none;
}

.pdp-btn-buy:hover {
  background-color: rgba(139, 13, 36, 0.03);
}

/* Trust Bar (Velora style) */
.pdp-trust-bar-velora {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--color-pdp-border);
  padding-top: 20px;
}

.trust-item-velora {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.trust-item-velora svg {
  width: 18px;
  height: 18px;
  color: var(--color-pdp-text);
  flex-shrink: 0;
  margin-top: 1px;
  stroke: currentColor;
}

.trust-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-title-velora {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-pdp-text);
  line-height: 1.2;
}

.trust-desc-velora {
  font-size: 0.7rem;
  color: var(--color-pdp-text-light);
  line-height: 1.2;
}

/* ==========================================================================
   HORIZONTAL INFO TABS SECTION
   ========================================================================== */
.pdp-info-tabs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  border-top: 1px solid var(--color-pdp-border);
}

.pdp-tabs-nav-velora {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  border-bottom: 1px solid var(--color-pdp-border);
  margin-bottom: 28px;
}

.pdp-tab-btn-velora {
  background: none;
  border: none;
  font-family: var(--font-sans-pdp);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-pdp-text-light);
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.pdp-tab-btn-velora:hover {
  color: var(--color-pdp-text);
}

.pdp-tab-btn-velora::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-pdp-burgundy);
  transition: var(--transition-fast);
}

.pdp-tab-btn-velora.active {
  color: var(--color-pdp-burgundy);
  font-weight: 600;
}

.pdp-tab-btn-velora.active::after {
  width: 100%;
}

.pdp-tabs-content-velora {
  position: relative;
}

.pdp-tab-panel-velora {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel-grid-velora {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 40px;
  align-items: start;
}

.panel-left-content-velora {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-pdp-text-light);
}

.panel-left-content-velora p {
  margin-top: 0;
  margin-bottom: 16px;
}

.panel-bullets-list-velora {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-bullets-list-velora li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-pdp-text);
  font-weight: 500;
}

.panel-bullets-list-velora li svg {
  width: 16px;
  height: 16px;
  color: var(--color-pdp-text);
  flex-shrink: 0;
  stroke: currentColor;
}

.panel-right-image-velora {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-pdp-border);
  background-color: var(--color-pdp-beige);
}

.panel-right-image-velora img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-meta-info-velora {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 16px;
  margin-top: 16px;
}

.pdp-meta-info-velora .pdp-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-pdp-text-light);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pdp-meta-info-velora .pdp-meta-val {
  font-size: 0.85rem;
  color: var(--color-pdp-text);
}

/* ==========================================================================
   ARTISAN REVIEWS (FULL WIDTH BLOCK)
   ========================================================================== */
.pdp-reviews-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  border-top: 1px solid var(--color-pdp-border);
  box-sizing: border-box;
}

.pdp-reviews-container {
  max-width: 1000px;
  margin: 0 auto;
}

.pdp-reviews-summary-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  background-color: var(--color-pdp-beige);
  border: 1px solid var(--color-pdp-border);
  padding: 30px;
  border-radius: 6px;
  box-shadow: none;
  margin-bottom: 40px;
  align-items: center;
}

.pdp-reviews-score-col {
  text-align: center;
  border-right: 1px solid var(--color-pdp-border);
  padding-right: 20px;
}

.pdp-big-score {
  font-size: 4rem;
  font-weight: 600;
  font-family: var(--font-serif-pdp);
  color: var(--color-pdp-text);
  line-height: 1;
}

.pdp-score-stars {
  justify-content: center;
  margin: 8px 0;
  color: var(--color-pdp-text) !important;
}

.pdp-breakdown-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-breakdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.pdp-breakdown-label {
  width: 44px;
  font-weight: 500;
}

.pdp-bar-bg {
  flex-grow: 1;
  height: 5px;
  background-color: rgba(18, 18, 18, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.pdp-bar-fill {
  height: 100%;
  background-color: var(--color-pdp-text);
  border-radius: 3px;
}

.pdp-breakdown-pct {
  width: 32px;
  text-align: right;
  color: var(--color-pdp-text-light);
}

.pdp-reviews-photos-section {
  margin-bottom: 40px;
}

.pdp-reviews-photos-title {
  font-family: var(--font-serif-pdp);
  font-size: 1.5rem;
  color: var(--color-pdp-text);
  margin-bottom: 20px;
  font-weight: 400;
  text-align: center;
}

.pdp-reviews-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pdp-review-photo-card {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-pdp-border);
  position: relative;
  cursor: pointer;
}

.pdp-review-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-luxury);
}

.pdp-review-photo-card:hover img {
  transform: scale(1.05);
}

.pdp-review-photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(18, 18, 18, 0.05);
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 2;
}

.pdp-review-photo-card:hover::before {
  opacity: 1;
}

/* Reviews List */
.pdp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-review-card {
  background-color: var(--color-pdp-white);
  border: 1px solid var(--color-pdp-border);
  padding: 24px;
  border-radius: 4px;
  box-shadow: none;
}

.pdp-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pdp-reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-pdp-beige);
  color: var(--color-pdp-text);
  font-weight: 500;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-pdp-border);
}

.pdp-reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
}


.pdp-review-date {
  font-size: 0.75rem;
  color: var(--color-pdp-text-light);
}

.pdp-review-stars {
  color: var(--color-pdp-text);
  margin-bottom: 8px;
}

.pdp-review-stars svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.pdp-review-title {
  font-family: var(--font-serif-pdp);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-pdp-burgundy);
  margin: 0 0 6px 0;
}

.pdp-review-body {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-pdp-text-light);
  margin: 0;
}

/* ==========================================================================
   CROSS SELL: COMPLETE THE LOOK
   ========================================================================== */
.pdp-cross-sell-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--color-pdp-beige);
  border-top: 1px solid var(--color-pdp-border);
  border-bottom: 1px solid var(--color-pdp-border);
  box-sizing: border-box;
}

.pdp-cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.pdp-cross-card {
  background-color: var(--color-pdp-white);
  border-radius: 4px;
  border: 1px solid var(--color-pdp-border);
  box-shadow: none;
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pdp-cross-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-color: var(--color-pdp-text);
}

.pdp-cross-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--color-pdp-beige);
  overflow: hidden;
}

.pdp-cross-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-luxury);
}

.pdp-cross-card:hover .pdp-cross-img-wrap img {
  transform: scale(1.04);
}

.pdp-cross-details {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pdp-cross-title {
  font-family: var(--font-serif-pdp);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-pdp-text);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.pdp-cross-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-pdp-text-light);
  margin-bottom: 12px;
}

.pdp-cross-btn {
  width: 100%;
  height: 36px;
  background-color: transparent;
  border: 1px solid var(--color-pdp-text);
  color: var(--color-pdp-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition-fast);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pdp-cross-btn:hover {
  background-color: var(--color-pdp-text);
  color: var(--color-pdp-white);
}

/* ==========================================================================
   CAROUSEL SYSTEM: YOU MAY ALSO LIKE
   ========================================================================== */
.pdp-carousel-section {
  padding: 60px 20px;
  background-color: var(--color-pdp-white);
  box-sizing: border-box;
}

.pdp-carousel-outer {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 44px;
}

.pdp-carousel-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 2px 20px;
  scrollbar-width: none;
}

.pdp-carousel-container::-webkit-scrollbar {
  display: none;
}

.pdp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-pdp-white);
  color: var(--color-pdp-text);
  border: 1px solid var(--color-pdp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
  z-index: 10;
  cursor: pointer;
}

.pdp-carousel-arrow:hover {
  background-color: var(--color-pdp-text);
  color: var(--color-pdp-white);
  border-color: var(--color-pdp-text);
  transform: translateY(-50%) scale(1.05);
}

.pdp-carousel-arrow.prev { left: 0; }
.pdp-carousel-arrow.next { right: 0; }

.pdp-carousel-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.pdp-carousel-container .product-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background-color: var(--color-pdp-white);
  border: 1px solid var(--color-pdp-border);
  border-radius: 4px;
  transition: var(--transition-fast);
  box-shadow: none;
  box-sizing: border-box;
}

.pdp-carousel-container .product-card:hover {
  border-color: var(--color-pdp-text);
}

.pdp-carousel-container .product-image-wrapper {
  border-bottom: 1px solid var(--color-pdp-border);
  border-radius: 4px 4px 0 0;
}

/* ==========================================================================
   LUXURY BRAND STORY SECTION
   ========================================================================== */
.pdp-brand-story-section {
  background-color: var(--color-pdp-white);
  border-top: 1px solid var(--color-pdp-border);
  padding: 80px 20px;
  box-sizing: border-box;
}

.pdp-brand-story-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.pdp-story-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--color-pdp-gold);
  padding: 12px;
  border-radius: 4px;
}

.pdp-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.pdp-story-content-col {
  display: flex;
  flex-direction: column;
}

.pdp-story-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-pdp-gold);
  margin-bottom: 12px;
}

.pdp-story-title {
  font-family: var(--font-serif-pdp);
  font-size: 2.4rem;
  color: var(--color-pdp-text);
  line-height: 1.2;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.pdp-story-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-pdp-text-light);
  margin: 0 0 20px 0;
}

.pdp-story-quote {
  font-family: var(--font-serif-pdp);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-pdp-burgundy);
  margin: 12px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--color-pdp-gold);
}

/* ==========================================================================
   MOBILE STICKY ADD TO BAG BAR
   ========================================================================== */
.pdp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-pdp-white);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
  border-top: 1px solid var(--color-pdp-border);
  padding: 10px 16px;
  display: none;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.pdp-sticky-bar.visible {
  display: flex;
  transform: translateY(0);
}

.pdp-sticky-product {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 50%;
}

.pdp-sticky-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--color-pdp-border);
}

.pdp-sticky-meta {
  display: flex;
  flex-direction: column;
}

.pdp-sticky-title {
  font-family: var(--font-sans-pdp);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--color-pdp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-sticky-price {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-pdp-text-light);
}

.pdp-sticky-actions {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 55%;
}

.pdp-sticky-action-btn {
  flex: 1;
  height: 40px;
  background-color: var(--color-pdp-text);
  color: var(--color-pdp-white);
  border: none;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0 4px;
  box-sizing: border-box;
  white-space: nowrap;
}

.pdp-sticky-btn-cart {
  background-color: var(--color-pdp-burgundy);
  color: #ffffff;
}

.pdp-sticky-btn-cart:hover {
  background-color: var(--color-pdp-wine);
}

.pdp-sticky-btn-buy {
  background-color: #ffffff;
  color: var(--color-pdp-burgundy);
  border: 1.5px solid var(--color-pdp-burgundy);
}

.pdp-sticky-btn-buy:hover {
  background-color: rgba(139, 13, 36, 0.05);
}

.pdp-sticky-action-btn:hover {
  opacity: 0.95;
}

body.sticky-active-padding {
  padding-bottom: 60px !important;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE SYSTEM)
   ========================================================================== */

/* Tablet Viewports */
@media screen and (max-width: 1023px) {
  .pdp-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 16px;
  }
  
  .pdp-gallery-wrapper {
    position: static;
    flex-direction: column-reverse; /* main image on top, thumbnails below */
    grid-column: 1 / -1;
    width: 100%;
    gap: 16px;
    min-width: 0;
  }
  
  .pdp-details-panel {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  
  .pdp-thumbnails-col {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; /* Prevent vertical collapse in column-reverse flex container */
  }
  
  .pdp-thumbnails-vertical {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 6px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  
  .pdp-thumbnails-scroll-btn {
    display: none;
  }
  
  .pdp-thumbnail-card {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }

  .pdp-hero-image-display {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tab-panel-grid-velora {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .panel-right-image-velora {
    aspect-ratio: 1.8;
  }

  .pdp-reviews-summary-row {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 24px;
  }

  .pdp-reviews-score-col {
    border-right: none;
    border-bottom: 1px solid var(--color-pdp-border);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .pdp-cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pdp-carousel-container .product-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .pdp-brand-story-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pdp-story-img-frame {
    max-width: 440px;
    margin: 0 auto;
  }
}

/* Mobile Viewports */
@media screen and (max-width: 767px) {
  .pdp-breadcrumb {
    padding: 12px 16px 4px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pdp-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .pdp-container {
    padding: 8px 16px 30px;
    gap: 20px;
  }

  .pdp-product-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  /* Keep thumbnails visible on mobile horizontal bar instead of hiding them */
  .pdp-thumbnails-col {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0; /* Prevent vertical collapse in column-reverse flex container */
    overflow: hidden;
  }

  .pdp-thumbnail-card {
    width: 50px;
    height: 50px;
  }

  .pdp-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }

  .pdp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.15);
    transition: var(--transition-fast);
    cursor: pointer;
  }

  .pdp-dot.active {
    background-color: var(--color-pdp-text);
    width: 14px;
    border-radius: 3px;
  }

  .pdp-price-wrapper {
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .pdp-current-price {
    font-size: 1.3rem;
  }

  .pdp-chip {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .pdp-qty-selector {
    width: 80px;
    height: 40px;
  }
  
  .pdp-qty-btn {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .pdp-btn {
    height: 40px;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .pdp-wishlist-toggle-btn {
    width: 40px;
    height: 40px;
  }

  .purchase-actions-row {
    flex-wrap: nowrap !important;
    gap: 8px;
  }

  .pdp-trust-bar-velora {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    margin-top: 16px;
    padding-top: 16px;
  }

  .pdp-trust-bar-velora .trust-item-velora:last-child {
    grid-column: span 2;
    justify-content: center;
  }

  .pdp-reviews-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pdp-carousel-outer {
    padding: 0;
  }

  .pdp-carousel-arrow {
    display: none;
  }

  .pdp-carousel-container .product-card {
    flex: 0 0 78%;
  }

  .pdp-brand-story-section {
    padding: 30px 16px;
  }

  .pdp-story-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   COLOR & CRAFT DISCLAIMER MODAL
   ========================================================================== */
.pdp-color-disclaimer-trigger {
  background: none;
  border: none;
  color: var(--color-pdp-burgundy);
  font-family: var(--font-sans-pdp);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: auto; /* align to the right side of the flex row */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.pdp-color-disclaimer-trigger:hover {
  color: var(--color-pdp-gold);
}

.attribute-label-row-velora {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Modal Overlay with Blur (Glassmorphism Backdrop) */
.pdp-disclaimer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
}

.pdp-disclaimer-modal.active {
  opacity: 1;
  visibility: visible;
}

.pdp-disclaimer-modal #pdp-disclaimer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.4s ease;
}

/* Modal Content Box */
.pdp-disclaimer-content {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid rgba(200, 168, 107, 0.35); /* Subtle gold border */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 40px;
  z-index: 2;
  transform: translateY(25px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
}

.pdp-disclaimer-modal.active .pdp-disclaimer-content {
  transform: translateY(0) scale(1);
}

/* Close Button */
.pdp-disclaimer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-pdp-text-light);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  line-height: 1;
}

.pdp-disclaimer-close:hover {
  color: var(--color-pdp-burgundy);
  transform: rotate(90deg);
}

/* Modal Body elements */
.pdp-disclaimer-header {
  text-align: center;
  margin-bottom: 24px;
}

.pdp-disclaimer-header h2 {
  font-family: var(--font-serif-pdp);
  color: var(--color-pdp-burgundy);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 6px 0;
  letter-spacing: 0.02em;
}

.pdp-disclaimer-header .gold-flower {
  color: var(--color-pdp-gold);
  font-size: 1.1rem;
  display: inline-block;
}

.pdp-disclaimer-text {
  font-family: var(--font-sans-pdp);
  font-size: 0.9rem;
  color: var(--color-pdp-text-light);
  line-height: 1.6;
}

.pdp-disclaimer-text p {
  margin: 0 0 16px;
}

.pdp-disclaimer-text p:last-child {
  margin-bottom: 0;
}

.pdp-disclaimer-text .disclaimer-highlight {
  font-family: var(--font-sans-pdp);
  font-weight: 600;
  color: var(--color-pdp-burgundy);
  border-top: 1px dashed var(--color-pdp-gold);
  padding-top: 14px;
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

/* Mobile Slide Up / Bottom Sheet styling */
@media screen and (max-width: 767px) {
  .pdp-disclaimer-modal {
    align-items: flex-end; /* Align to bottom */
  }

  .pdp-disclaimer-content {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0; /* Rounded top corners only */
    border: none;
    border-top: 1px solid rgba(200, 168, 107, 0.4);
    padding: 32px 24px 40px;
    transform: translateY(100%); /* Slide from bottom */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .pdp-disclaimer-modal.active .pdp-disclaimer-content {
    transform: translateY(0);
  }

  .pdp-disclaimer-header h2 {
    font-size: 1.4rem;
  }
}
