/* SHOP PAGE */

.shop-hero {
  background: var(--ivory-warm);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--plum-mist);
}
@media (min-width: 768px) { .shop-hero { padding: 96px 0 80px; } }
.shop-hero-inner { max-width: 880px; }
.shop-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.shop-hero-title {
  font-size: clamp(40px, 7vw, 80px);
  color: var(--plum-deepest);
}
.shop-hero-copy p {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}
.shop-hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--plum-mist);
}
.shop-hero-rail-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.shop-hero-rail-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold-deep);
}
.shop-hero-rail-item strong {
  color: var(--plum-deepest);
  font-weight: 600;
}

/* TOOLBAR */
.shop { padding: 56px 0 80px; }
.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--plum-mist);
  margin-bottom: 32px;
}
@media (min-width: 900px) { .shop-toolbar { flex-direction: row; align-items: flex-end; } }
.shop-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.shop-filter-group { display: flex; flex-direction: column; gap: 8px; }
.shop-filter-group label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-chip {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--plum-mist);
  background: var(--ivory);
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.2s;
}
.shop-chip:hover { border-color: var(--plum-soft); color: var(--plum-deepest); }
.shop-chip.active {
  background: var(--plum-deepest);
  color: var(--ivory);
  border-color: var(--plum-deepest);
}
.shop-select {
  padding: 10px 32px 10px 14px;
  font-family: inherit;
  font-size: 13px;
  color: var(--plum-deepest);
  border: 1px solid var(--plum-mist);
  background: var(--ivory);
  border-radius: 2px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2333' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  min-width: 200px;
}
.shop-count {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* GRID */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
}
@media (min-width: 600px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shop-card-media {
  position: relative;
  cursor: pointer;
}
.shop-card-frame { width: 100%; }
.shop-card-photo { aspect-ratio: 4/5; }
.shop-card-photo.tone-1 { background: repeating-linear-gradient(135deg, oklch(0.82 0.06 320) 0, oklch(0.82 0.06 320) 14px, oklch(0.95 0.02 320) 14px, oklch(0.95 0.02 320) 28px); }
.shop-card-photo.tone-2 { background: repeating-linear-gradient(135deg, oklch(0.86 0.05 60) 0, oklch(0.86 0.05 60) 14px, oklch(0.96 0.02 80) 14px, oklch(0.96 0.02 80) 28px); }
.shop-card-photo.tone-3 { background: repeating-linear-gradient(135deg, oklch(0.78 0.06 280) 0, oklch(0.78 0.06 280) 14px, oklch(0.93 0.02 280) 14px, oklch(0.93 0.02 280) 28px); }
.shop-card-photo.tone-4 { background: repeating-linear-gradient(135deg, oklch(0.85 0.04 30) 0, oklch(0.85 0.04 30) 14px, oklch(0.96 0.01 30) 14px, oklch(0.96 0.01 30) 28px); }

.shop-card-tags {
  position: absolute;
  top: 18px; left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.shop-card-tag {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 9px;
  background: var(--ivory);
  color: var(--plum-deepest);
}
.shop-card-tag.tag-bestseller { background: var(--plum-deepest); color: var(--gold); }
.shop-card-tag.tag-new { background: var(--gold); color: var(--plum-deepest); }
.shop-card-tag.tag-bridal { background: var(--ivory); color: var(--plum-deepest); border: 1px solid var(--gold); }
.shop-card-tag.tag-handpainted { background: var(--ivory); color: var(--plum-deepest); border: 1px solid var(--plum-deepest); }

.shop-card-quick {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ivory);
  color: var(--plum-deepest);
  padding: 10px 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transition: all 0.25s;
  z-index: 2;
  white-space: nowrap;
}
.shop-card-media:hover .shop-card-quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.shop-card-quick:hover { background: var(--plum-deepest); color: var(--ivory); }

.shop-card-info { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.shop-card-meta {
  display: flex; gap: 4px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.shop-card-shape { color: var(--muted); }
.shop-card-name {
  font-size: 20px;
  color: var(--plum-deepest);
}
.shop-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--plum-mist);
  margin-top: 6px;
}
.shop-card-price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--plum-deepest);
  font-weight: 500;
}
.shop-card-buy {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum-deepest);
  font-weight: 500;
}
.shop-card-buy:hover { color: var(--gold-deep); }

/* CUSTOMISE BANNER */
.shop-custom {
  margin-top: 80px;
  padding: 0;
}
.shop-custom-frame {
  background: var(--plum-deepest);
  color: var(--ivory);
  padding: 12px;
  position: relative;
}
.shop-custom-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.shop-custom-inner {
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
@media (min-width: 768px) { .shop-custom-inner { padding: 80px 56px; } }
.shop-custom-script {
  font-family: var(--font-script);
  font-size: 64px;
  color: var(--gold);
  line-height: 0.8;
}
.shop-custom-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--ivory);
}
.shop-custom-title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--gold);
  font-size: 1.4em;
  vertical-align: -0.1em;
}
.shop-custom-inner p {
  color: oklch(0.85 0.03 320);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
}
.shop-custom-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  width: 100%;
}
.shop-custom-actions .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
@media (max-width: 480px) {
  .shop-custom-actions .btn-whatsapp {
    width: 100%;
    padding: 16px 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }
}
.shop-custom-note {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.75 0.04 320);
}

/* QUICK VIEW MODAL */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.20 0.18 280 / 0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade 0.2s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.qv-modal {
  background: var(--ivory);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--gold);
}
.qv-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid var(--plum-mist);
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--plum-deepest);
}
.qv-close:hover { background: var(--plum-deepest); color: var(--ivory); }
.qv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) { .qv-grid { grid-template-columns: 1fr 1fr; } }
.qv-frame { padding: 24px; }
.qv-photo { aspect-ratio: 4/5; }
.qv-info { padding: 32px 32px 40px; display: flex; flex-direction: column; gap: 16px; }
.qv-name { font-size: 36px; color: var(--plum-deepest); }
.qv-price { font-family: var(--font-display); font-size: 28px; color: var(--gold-deep); }
.qv-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--plum-mist);
  border-bottom: 1px solid var(--plum-mist);
}
.qv-spec > div { display: flex; flex-direction: column; gap: 2px; }
.qv-spec span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.qv-spec strong { font-size: 14px; color: var(--plum-deepest); font-weight: 500; }
.qv-info p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.qv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* =============================================================================
   SIZE SELECTORS — S / M / L (replaces Shape filter + spec line)
   ============================================================================= */
.shop-card-sizes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
}
.shop-card-sizes-lbl {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.shop-card-size-row {
  display: inline-flex;
  gap: 6px;
}
.shop-card-size {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--plum-mist);
  background: var(--ivory);
  color: var(--plum-deepest);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.shop-card-size:hover { border-color: var(--gold-deep); }
.shop-card-size.active {
  background: var(--plum-deepest);
  color: var(--ivory);
  border-color: var(--plum-deepest);
}

/* QUICK VIEW size block */
.qv-size-block { margin: 4px 0 18px; }
.qv-size-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--plum-deepest);
  margin-bottom: 10px;
}
.qv-size-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.qv-size {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--plum-mist);
  background: var(--ivory);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.qv-size:hover { border-color: var(--gold-deep); }
.qv-size.active {
  background: var(--plum-deepest);
  border-color: var(--plum-deepest);
}
.qv-size.active .qv-size-letter,
.qv-size.active .qv-size-desc { color: var(--ivory); }
.qv-size-letter {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--plum-deepest);
  line-height: 1;
}
.qv-size-desc {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.3;
}
@media (max-width: 600px) {
  .qv-size { padding: 10px 12px; }
  .qv-size-letter { font-size: 18px; }
  .qv-size-desc { font-size: 9px; }
}
