/* Hu3Hmong — PLP & PDP */

.shop-main {
  padding: 32px 0 72px;
  min-height: 60vh;
  overflow-x: hidden;
}

/* ── PLP Layout ── */
.plp-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  min-width: 0;
}

.plp-toolbar {
  display: none;
  gap: 12px;
  margin-bottom: 20px;
}

.plp-toolbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(75, 31, 94, 0.05);
  border: 1px solid rgba(75, 31, 94, 0.15);
  border-radius: var(--radius);
  color: var(--purple-950);
  font-weight: 600;
  font-size: 0.875rem;
}

.plp-head {
  margin-bottom: 28px;
}

.plp-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 6px;
}

.plp-head__sub {
  color: rgba(75, 31, 94, 0.6);
  font-size: 0.9375rem;
}

.plp-head__keyword {
  color: var(--red);
  font-weight: 700;
}

/* Sidebar filter */
.plp-sidebar {
  background: #ffffff;
  border: 1px solid rgba(75, 31, 94, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow);
}

.plp-sidebar__title {
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plp-sidebar__close {
  display: none;
  color: rgba(75, 31, 94, 0.5);
  font-size: 1.125rem;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 12px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  color: rgba(75, 31, 94, 0.8);
  font-size: 0.875rem;
  transition: color 0.25s;
}

.filter-check:hover {
  color: var(--purple-950);
}

.filter-check--category {
  text-decoration: none;
}

.filter-check__radio {
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(75, 31, 94, 0.5);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-check--category.is-active {
  color: var(--purple-950);
  font-weight: 700;
}

.filter-check--category.is-active .filter-check__radio {
  border: 5px solid var(--gold);
}

.filter-check input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1px solid rgba(75, 31, 94, 0.15);
  border-radius: var(--radius);
  color: var(--purple-950);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
}

.filter-select option {
  background: #ffffff;
  color: var(--purple-950);
}

.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1400;
}

.filter-backdrop.is-open {
  display: block;
}

/* Product grid */
.plp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  min-width: 0;
  align-items: stretch;
}

.plp-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(75, 31, 94, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow);
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 163, 78, 0.4);
  box-shadow: 0 16px 40px rgba(75, 31, 94, 0.12);
}

.plp-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(75, 31, 94, 0.08), rgba(201, 163, 78, 0.12));
  flex: 0 0 auto;
}

.plp-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.plp-card:hover .plp-card__img-wrap img {
  transform: none;
}

.plp-card__badges {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
}

.plp-card__favorite {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  gap: 4px;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid rgba(75, 31, 94, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--purple-800);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(75, 31, 94, 0.12);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.plp-card__favorite:hover,
.plp-card__favorite:focus-visible {
  transform: translateY(-1px);
  color: var(--red);
}

.plp-card__favorite:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.plp-card__favorite.is-active {
  border-color: rgba(198, 40, 57, 0.2);
  background: rgba(198, 40, 57, 0.08);
  color: var(--red);
}

.plp-card__favorite:disabled,
.pdp-favorite:disabled {
  cursor: default;
}

.plp-card__favorite-count {
  min-width: 1ch;
}

.plp-card__badge {
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 6px 16px rgba(41, 16, 54, 0.12);
}

.plp-card__badge--red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--white);
}

.plp-card__badge--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--purple-950);
}

.plp-card__body {
  padding: 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.plp-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--purple-950);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.plp-card__name a {
  color: inherit;
}

.plp-card__name a:hover {
  color: var(--red);
}

.plp-card__prices {
  display: flex;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  min-height: 34px;
}

.plp-card__price {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.2;
  white-space: nowrap;
}

.plp-card__price--old {
  font-size: 0.75rem;
  color: rgba(75, 31, 94, 0.4);
  text-decoration: line-through;
  white-space: nowrap;
}

.plp-card__meta {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: rgba(75, 31, 94, 0.6);
  min-height: 16px;
}

.plp-card__sold {
  font-weight: 500;
}

.plp-card__btn {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #ef4444, var(--gold));
  color: var(--white);
  font-weight: 800;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 9px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  margin-top: auto;
}

.plp-card__btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.plp-card__btn:disabled,
.plp-card__btn.is-disabled {
  cursor: not-allowed;
  background: #e5e7eb;
  color: #6b7280;
  box-shadow: none;
  filter: none;
  transform: none;
}

.plp-card__badge--gray {
  background: #f3f4f6;
  color: #4b5563;
}

.plp-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(75, 31, 94, 0.5);
}

.plp-empty i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: rgba(75, 31, 94, 0.2);
}

/* ── PDP ── */
.pdp-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  min-width: 0;
}

.pdp-gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fffdf8;
  border: 2px solid rgba(251, 191, 36, 0.15);
  margin-bottom: 14px;
}

.pdp-gallery__main img,
.pdp-gallery__main video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pdp-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pdp-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  background: #fffdf8;
}

.pdp-gallery__thumb:hover {
  transform: scale(1.05);
}

.pdp-gallery__thumb--active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

.pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pdp-gallery__thumb--video::after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  font-size: 1rem;
}

.pdp-info__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 10px;
  line-height: 1.2;
}

.pdp-info__prices {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pdp-info__price {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pdp-info__price--old {
  font-size: 1.125rem;
  color: rgba(75, 31, 94, 0.4);
  text-decoration: line-through;
  -webkit-text-fill-color: rgba(75, 31, 94, 0.4);
}

.pdp-info__badge {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  margin-bottom: 0;
  align-self: center;
}

.pdp-info__meta {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(75, 31, 94, 0.15);
}

.pdp-info__sold {
  font-size: 0.8125rem;
  color: rgba(75, 31, 94, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pdp-info__sold::after {
  content: "|";
  margin-left: 16px;
  color: rgba(75, 31, 94, 0.2);
}

.pdp-info__sold strong {
  color: var(--purple-950);
  font-weight: 700;
}

.pdp-info__divider {
  display: none;
}

.pdp-info__delivery,
.pdp-info__production {
  font-size: 0.8125rem;
  color: rgba(75, 31, 94, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pdp-info__production::after {
  content: "|";
  margin-left: 16px;
  color: rgba(75, 31, 94, 0.2);
}

.pdp-info__delivery strong,
.pdp-info__production strong {
  color: var(--purple-950);
  font-weight: 700;
}

.pdp-gifts {
  background: rgba(251, 191, 36, 0.08);
  border: 2px solid rgba(251, 191, 36, 0.45);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.pdp-gifts__title {
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.pdp-gifts__item {
  font-size: 0.875rem;
  color: rgba(75, 31, 94, 0.8);
  padding-left: 20px;
  position: relative;
}

.pdp-gifts__item::before {
  content: '🎁';
  position: absolute;
  left: 0;
}

.pdp-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 18px;
}

.pdp-quantity__label {
  min-width: 90px;
  flex-shrink: 0;
  color: var(--purple-950);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pdp-quantity__control {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1.5px solid rgba(75, 31, 94, 0.16);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.pdp-quantity__btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-950);
  font-size: 1rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.pdp-quantity__btn:hover {
  background: rgba(75, 31, 94, 0.06);
  color: var(--red);
}

.pdp-quantity__value {
  min-width: 42px;
  text-align: center;
  color: var(--purple-950);
  font-weight: 800;
  font-size: 0.95rem;
}

.pdp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
}

.pdp-actions .pdp-favorite--actions {
  display: none;
}

.pdp-actions .btn-cta {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 14px 10px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.pdp-actions .btn-cta:disabled {
  cursor: not-allowed;
  background: #e5e7eb;
  color: #6b7280;
  box-shadow: none;
}

.pdp-actions__secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px 10px;
  border: 2px solid rgba(75, 31, 94, 0.35);
  border-radius: 999px;
  color: var(--purple-950);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.pdp-actions__secondary:hover {
  background: rgba(75, 31, 94, 0.06);
  border-color: var(--purple-800);
  transform: translateY(-2px);
}

.pdp-actions__secondary.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
}

.pdp-engagement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(75, 31, 94, 0.1);
  border-bottom: 1px solid rgba(75, 31, 94, 0.1);
}

.pdp-engagement__share,
.pdp-share-buttons,
.pdp-favorite {
  display: inline-flex;
  align-items: center;
}

.pdp-engagement__share {
  gap: 10px;
  min-width: 0;
}

.pdp-engagement__label {
  color: var(--purple-950);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.pdp-share-buttons {
  gap: 7px;
}

.pdp-share-btn,
.pdp-favorite {
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(75, 31, 94, 0.14);
  border-radius: 50%;
  background: #ffffff;
  color: var(--purple-800);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pdp-share-btn:hover,
.pdp-share-btn:focus-visible,
.pdp-favorite:hover,
.pdp-favorite:focus-visible {
  transform: translateY(-1px);
  border-color: var(--purple-800);
  background: rgba(75, 31, 94, 0.06);
}

.pdp-share-btn:focus-visible,
.pdp-favorite:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pdp-share-btn--facebook {
  color: #1877f2;
}

.pdp-share-btn--zalo {
  color: #0068ff;
}

.pdp-favorite {
  width: auto;
  min-width: 48px;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px;
}

.pdp-favorite.is-active {
  border-color: rgba(198, 40, 57, 0.25);
  background: rgba(198, 40, 57, 0.08);
  color: var(--red);
}

.pdp-stock-note {
  margin: -8px 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pdp-stock-note--out {
  color: #dc2626;
}

.pdp-accordion {
  border-top: 1px solid rgba(75, 31, 94, 0.1);
}

.pdp-accordion__item {
  border-bottom: 1px solid rgba(75, 31, 94, 0.1);
}

.pdp-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--purple-950);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
}

.pdp-accordion__trigger i {
  transition: transform 0.3s;
  color: var(--gold);
}

.pdp-accordion__item.is-open .pdp-accordion__trigger i {
  transform: rotate(180deg);
}

.pdp-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.pdp-accordion__item.is-open .pdp-accordion__body {
  max-height: 300px;
}

.pdp-accordion__content {
  padding: 0 0 16px;
  color: rgba(75, 31, 94, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
}

.pdp-accordion__content ul {
  padding-left: 18px;
  list-style: disc;
}

.pdp-not-found {
  text-align: center;
  padding: 80px 20px;
  color: rgba(75, 31, 94, 0.6);
}

.pdp-not-found a {
  display: inline-block;
  margin-top: 20px;
  color: var(--purple-800);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .plp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .plp-layout {
    grid-template-columns: 1fr;
  }

  .plp-toolbar {
    display: flex;
  }

  .plp-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100%;
    z-index: 1500;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .plp-sidebar.is-open {
    transform: translateX(0);
  }

  .plp-sidebar__close {
    display: block;
  }
}

@media (max-width: 480px) {
  /* ================== PDP Tối Ưu Mobile ================== */
  /* Tăng Touch Target (44x44px) */
  .pdp-quantity__btn {
    width: 44px;
    height: 44px;
  }
  .pdp-quantity__control {
    min-height: 44px;
  }

  /* ================== PLP Tối Ưu Mobile ================== */
  .plp-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: clamp(8px, 2vw, 12px);
  }
  .plp-card__name {
    font-size: clamp(0.75rem, 3.5vw, 0.875rem);
    min-height: 2.6em;
  }
  .plp-card__price {
    font-size: clamp(0.875rem, 4vw, 1rem);
  }
  .plp-card__btn {
    padding: clamp(6px, 1.5vw, 8px) 8px;
    font-size: clamp(0.6rem, 2.5vw, 0.7rem);
    min-height: 32px;
  }
  .plp-card__body {
    padding: clamp(6px, 2vw, 10px);
  }
}

/* Mobile fit pass: keep shop pages inside portrait phone width */
@media (max-width: 768px) {
  .shop-main {
    padding: 20px 0 100px;
  }

  .shop-main .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }

  .plp-layout,
  .pdp-wrap,
  .pdp-grid,
  .pdp-gallery,
  .pdp-info,
  .related-section,
  .related-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .plp-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
  }

  .plp-head {
    margin-bottom: 16px;
  }

  .plp-head__title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.15;
  }

  .plp-head__sub {
    font-size: 0.8125rem;
  }

  .plp-toolbar {
    gap: 8px;
    margin-bottom: 14px;
  }

  .plp-toolbar__btn {
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  .plp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .plp-card {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }

  .plp-card__body {
    padding: 7px;
  }

  .plp-card__badges {
    top: 6px;
    left: 6px;
    right: 6px;
    gap: 3px;
  }

  .plp-card__badge {
    padding: 3px 6px;
    font-size: 0.5rem;
    letter-spacing: 0;
  }

  .plp-card__name {
    font-size: 0.75rem;
    line-height: 1.4;
    min-height: 2.8em;
    margin-bottom: 4px;
  }

  .plp-card__prices {
    gap: 3px 5px;
    margin-bottom: 4px;
    min-height: 30px;
  }

  .plp-card__price {
    font-size: 0.9375rem;
  }

  .plp-card__price--old {
    font-size: 0.6875rem;
  }

  .plp-card__meta {
    margin-bottom: 5px;
    font-size: 0.6875rem;
    min-height: 15px;
  }

  .plp-card__btn {
    min-height: 29px;
    padding: 6px;
    border-radius: 8px;
    font-size: 0.5625rem;
    letter-spacing: 0;
  }

  .plp-sidebar {
    width: min(320px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 18px;
  }

  .pdp-grid {
    gap: 22px;
  }

  .pdp-gallery__main {
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .pdp-gallery__thumbs {
    gap: 8px;
  }

  .pdp-gallery__thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
  }

  .pdp-info__name {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    margin-bottom: 12px;
  }

  .pdp-info__price {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .pdp-info__meta {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .pdp-info > .pdp-option-group,
  .pdp-info > .pdp-quantity {
    display: none;
  }
  
  .pdp-info__sold::after,
  .pdp-info__production::after {
    display: none;
  }

  .pdp-gifts {
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 18px;
  }

  .pdp-engagement {
    justify-content: flex-start;
  }

  .pdp-engagement .pdp-favorite--engagement {
    display: none;
  }

  .pdp-actions {
    flex-direction: row;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #ffffff;
    gap: 8px;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(75, 31, 94, 0.1);
    z-index: 1000;
  }

  .pdp-actions .pdp-favorite--actions {
    display: inline-flex;
    flex: 0 0 auto;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .pdp-actions .pdp-favorite--actions [data-favorite-count] {
    display: none;
  }

  .pdp-actions .btn-cta.pdp-actions__add {
    flex: 0 0 auto;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(198, 40, 57, 0.35);
  }

  .pdp-actions .btn-cta.pdp-actions__add span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pdp-actions .btn-cta.pdp-actions__add i {
    font-size: 1rem;
  }

  .pdp-actions__secondary {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.8125rem;
  }

  .related-section {
    padding: 28px 0 48px;
  }

  .related-section__head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .related-section__more {
    padding: 7px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .related-card {
    border-radius: 14px;
  }

  .related-card__body {
    padding: 10px;
  }

  .related-card__name {
    font-size: 0.8125rem;
    min-height: 2.8em;
  }

  .related-card__price {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {

  .plp-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   Sản phẩm liên quan
   ══════════════════════════════════════════ */

.related-section {
  padding: 40px 0 64px;
  border-top: 1px solid rgba(75, 31, 94, 0.08);
  margin-top: 8px;
}

.related-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.related-section__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--purple-950);
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-section__title i {
  color: var(--red);
  font-size: 1.1rem;
}

.related-section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-800);
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid rgba(75, 31, 94, 0.2);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.related-section__more:hover {
  background: rgba(75, 31, 94, 0.05);
  border-color: var(--purple-800);
  color: var(--purple-950);
}

/* Related grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Related card */
.related-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(75, 31, 94, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(75, 31, 94, 0.13);
  border-color: rgba(201, 163, 78, 0.4);
}

.related-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(75, 31, 94, 0.05);
}

.related-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.related-card:hover .related-card__img-wrap img {
  transform: none;
}

.related-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.related-card__body {
  padding: 14px 16px 16px;
}

.related-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-950);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  line-height: 1.4;
}

.related-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.related-card__price {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--red);
}

.related-card__price--old {
  font-size: 0.8125rem;
  color: rgba(75, 31, 94, 0.4);
  text-decoration: line-through;
}

/* Related — Responsive */
@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .related-section__title {
    font-size: 1.125rem;
  }
}

@media (max-width: 400px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .related-section,
  .related-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .related-section {
    padding: 28px 0 48px;
  }

  .related-section__head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .related-section__more {
    padding: 7px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .related-card {
    border-radius: 14px;
    min-width: 0;
  }

  .related-card__body {
    padding: 10px;
  }

  .related-card__name {
    font-size: 0.8125rem;
    min-height: 2.8em;
  }

  .related-card__price {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Option selection groups for color/size */
.pdp-option-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pdp-option-group__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple-950);
  margin-bottom: 0;
  min-width: 90px;
  flex-shrink: 0;
}

.pdp-option-group--custom {
  align-items: center;
}

.pdp-custom-input.is-invalid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 57, 0.12);
}

.pdp-option-error {
  margin: 6px 0 0;
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pdp-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pdp-option-btn {
  padding: 8px 16px;
  border: 1.5px solid rgba(75, 31, 94, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-950);
  background: var(--white);
  transition: all 0.2s ease;
  cursor: pointer;
}

.pdp-option-btn:hover {
  background: rgba(75, 31, 94, 0.05);
  border-color: var(--purple-800);
  color: var(--purple-950);
}

.pdp-option-btn:disabled,
.pdp-option-btn.is-disabled {
  cursor: not-allowed;
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  opacity: 0.78;
}

.pdp-option-btn:disabled:hover,
.pdp-option-btn.is-disabled:hover {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  transform: none;
}

.pdp-option-btn.is-selected {
  background: var(--purple-950);
  color: var(--white);
  border-color: var(--purple-950);
  box-shadow: 0 4px 12px rgba(75, 31, 94, 0.25);
}

.pdp-option-btn__soldout {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  font-size: 0.5625rem;
  line-height: 1;
  font-weight: 800;
  color: #dc2626;
}

.pdp-option-btn.pdp-option-btn--with-img .pdp-option-btn__soldout {
  margin-left: 0;
}

.pdp-option-btn.pdp-option-btn--with-img {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 4px;
}

.pdp-option-btn__img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(75, 31, 94, 0.15);
  flex-shrink: 0;
}

.pdp-option-btn.is-selected .pdp-option-btn__img {
  border-color: var(--white);
}

/* Detailed Description & Size Chart */
.pdp-details-section {
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0;
  background: transparent;
}

.pdp-details-section__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(75, 31, 94, 0.1);
}

.pdp-details-section__content {
  color: rgba(75, 31, 94, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pdp-details-section__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--purple-950);
  margin: 32px 0 16px;
}

.table-responsive {
  overflow-x: auto;
  margin-bottom: 24px;
}

.pdp-details-section__content .table {
  overflow-x: auto;
  margin: 24px 0;
}

.pdp-details-section__content .table table,
.pdp-details-section__content > table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  text-align: center;
}

.pdp-size-chart {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  text-align: center;
}

.pdp-details-section__content .table th,
.pdp-details-section__content .table td,
.pdp-details-section__content > table th,
.pdp-details-section__content > table td,
.pdp-size-chart th,
.pdp-size-chart td {
  padding: 12px 16px;
  border: 1px solid rgba(75, 31, 94, 0.1);
}

.pdp-details-section__content .table th,
.pdp-details-section__content > table th,
.pdp-size-chart th {
  background: rgba(75, 31, 94, 0.05);
  color: var(--purple-950);
  font-weight: 700;
}

.pdp-details-section__content .table tbody tr:hover,
.pdp-details-section__content > table tbody tr:hover,
.pdp-size-chart tbody tr:hover {
  background: rgba(251, 191, 36, 0.05);
}

.size-note {
  font-size: 0.85rem;
  color: rgba(75, 31, 94, 0.6);
}

@media (max-width: 480px) {
  .pdp-option-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pdp-option-group__label {
    min-width: auto;
  }
  .pdp-quantity {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .pdp-quantity__label {
    min-width: auto;
  }
}

/* ══════════════════════════════════════════
   Mục Bình luận & Đánh giá (Shopee style)
   ══════════════════════════════════════════ */

.pdp-tabs-container {
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0;
}

.pdp-tabs-header {
  display: flex;
  border-bottom: 2px solid rgba(75, 31, 94, 0.08);
  gap: 32px;
  margin-bottom: 28px;
}

.pdp-tab-btn {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(75, 31, 94, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 4px;
  position: relative;
  transition: color var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.pdp-tab-btn:hover {
  color: var(--purple-800);
}

.pdp-tab-btn.active {
  color: var(--purple-950);
  border-bottom-color: var(--gold);
}

.pdp-tab-count {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.75;
}

.pdp-tab-panel {
  display: none;
}

.pdp-tab-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

/* Rating Overview */
.pdp-reviews-overview {
  display: flex;
  align-items: center;
  gap: 36px;
  background: rgba(75, 31, 94, 0.02);
  border: 1px solid rgba(75, 31, 94, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 32px;
}

.pdp-reviews-overview__score {
  text-align: center;
  min-width: 180px;
  flex-shrink: 0;
  border-right: 1px dashed rgba(75, 31, 94, 0.12);
  padding-right: 24px;
}

.pdp-reviews-overview__avg {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}

.pdp-reviews-overview__max {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(75, 31, 94, 0.4);
}

.pdp-reviews-overview__stars {
  margin: 6px 0;
  font-size: 0.95rem;
}

.pdp-reviews-overview__total-count {
  font-size: 0.8125rem;
  color: rgba(75, 31, 94, 0.6);
  font-weight: 600;
  text-transform: capitalize;
}

.pdp-reviews-overview__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pdp-review-filter-btn {
  background: #ffffff;
  border: 1px solid rgba(75, 31, 94, 0.15);
  color: var(--purple-950);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.pdp-review-filter-btn:hover {
  background: rgba(75, 31, 94, 0.04);
  border-color: rgba(75, 31, 94, 0.35);
}

.pdp-review-filter-btn.active {
  background: var(--purple-950);
  color: var(--white);
  border-color: var(--purple-950);
  box-shadow: 0 4px 12px rgba(75, 31, 94, 0.18);
}

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

.pdp-review-item {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(75, 31, 94, 0.12);
}

.pdp-review-item:last-child {
  border-bottom: none;
}

.pdp-review-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pdp-review-item__content {
  flex: 1;
  min-width: 0;
}

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

.pdp-review-item__user {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--purple-950);
}

.pdp-review-item__rating {
  font-size: 0.6875rem;
  margin-bottom: 6px;
}

.pdp-review-item__meta {
  font-size: 0.75rem;
  color: rgba(75, 31, 94, 0.45);
  margin-bottom: 10px;
}

.pdp-review-item__body {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: rgba(75, 31, 94, 0.85);
  margin-bottom: 10px;
}

/* Attachments */
.pdp-review-item__media {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pdp-review-item__media-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(75, 31, 94, 0.08);
  cursor: zoom-in;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gray-100);
}

.pdp-review-item__media-img-wrap.is-expanded {
  width: 280px;
  height: 280px;
  cursor: zoom-out;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.pdp-review-item__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Merchant response */
.pdp-review-item__merchant-reply {
  background: rgba(201, 163, 78, 0.06);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 14px;
}

.pdp-review-item__merchant-title {
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-review-item__merchant-reply p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(75, 31, 94, 0.75);
}

/* Likes/Helpful */
.pdp-review-item__actions {
  margin-top: 8px;
}

.pdp-review-helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(75, 31, 94, 0.45);
  padding: 6px 12px;
  border: 1px solid rgba(75, 31, 94, 0.1);
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pdp-review-helpful-btn:hover {
  background: rgba(75, 31, 94, 0.04);
  color: var(--purple-800);
  border-color: rgba(75, 31, 94, 0.2);
}

.pdp-review-helpful-btn.active {
  background: rgba(198, 40, 57, 0.08);
  color: var(--red);
  border-color: var(--red);
}

/* Empty State */
.pdp-review-empty {
  text-align: center;
  padding: 48px 16px;
  color: rgba(75, 31, 94, 0.4);
}

.pdp-review-empty i {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.pdp-review-empty p {
  font-size: 0.875rem;
  font-weight: 500;
}

.customer-notifications {
  margin-bottom: 20px;
}

.customer-notifications__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--purple-950);
  font-weight: 800;
}

.customer-notifications__head small {
  color: rgba(75, 31, 94, 0.55);
  font-size: 0.75rem;
}

.customer-notifications__list {
  display: grid;
  gap: 8px;
}

.customer-notification {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid rgba(75, 31, 94, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}

.customer-notification.is-unread {
  border-color: rgba(198, 40, 57, 0.28);
  background: rgba(198, 40, 57, 0.035);
}

.customer-notification__title {
  color: var(--purple-950);
  font-size: 0.875rem;
  font-weight: 800;
}

.customer-notification__message,
.customer-notification__time {
  color: rgba(75, 31, 94, 0.68);
  font-size: 0.8125rem;
}

.order-review-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(75, 31, 94, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, rgba(201, 163, 78, 0.035));
}

.order-review-card__title {
  margin-bottom: 14px;
  color: var(--purple-950);
  font-weight: 800;
}

.order-review-list {
  display: grid;
  gap: 12px;
}

.order-review-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(75, 31, 94, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.order-review-item__thumb {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f1f7;
}

.order-review-item__body {
  min-width: 0;
}

.order-review-item__name {
  margin-bottom: 8px;
  color: var(--purple-950);
  font-weight: 800;
}

.order-review-item__stars {
  margin-bottom: 8px;
  font-size: 0.8125rem;
}

.order-review-item__comment {
  color: rgba(75, 31, 94, 0.76);
  line-height: 1.5;
}

.order-review-item__done {
  display: inline-flex;
  margin-top: 4px;
  color: #166534;
  font-size: 0.8125rem;
  font-weight: 800;
}

.order-review-item__status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.order-review-item__status-row .order-review-item__done {
  margin-top: 0;
}

.order-review-item__product-link {
  color: var(--purple-950);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-review-item__images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.order-review-item__images img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: contain;
}

.order-review-form__label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  color: rgba(75, 31, 94, 0.72);
  font-size: 0.8125rem;
  font-weight: 800;
}

.order-review-form textarea,
.order-review-form input[type="file"] {
  width: 100%;
  border: 1px solid rgba(75, 31, 94, 0.16);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--purple-950);
  font: inherit;
}

.order-review-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: nowrap;
}

.order-review-rating__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-review-rating__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(75, 31, 94, 0.14);
  border-radius: 8px;
  background: #fff;
  color: rgba(75, 31, 94, 0.62);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.order-review-rating__option input:checked + span {
  border-color: var(--gold);
  color: var(--purple-950);
  background: rgba(201, 163, 78, 0.12);
  box-shadow: 0 6px 18px rgba(201, 163, 78, 0.2);
}

.order-review-rating__option span i {
  color: var(--gold);
  font-size: 0.8125rem;
}

.order-review-rating__option span b {
  font-size: 0.8125rem;
  line-height: 1;
}

.order-review-rating__option input:focus-visible + span {
  outline: 2px solid rgba(75, 31, 94, 0.28);
  outline-offset: 2px;
}

.order-review-rating__option span:hover {
  transform: translateY(-1px);
  border-color: rgba(75, 31, 94, 0.28);
}

.order-review-form__footer {
  display: grid;
  grid-template-columns: auto minmax(44px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.order-review-upload input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-review-upload span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px dashed rgba(75, 31, 94, 0.28);
  border-radius: 8px;
  color: var(--purple-950);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 800;
  white-space: nowrap;
}

.order-review-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-height: 38px;
  overflow-x: auto;
  min-width: 0;
}

.order-review-preview__item img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid rgba(75, 31, 94, 0.12);
}

.order-review-form__submit {
  border: 0;
  border-radius: 8px;
  background: var(--purple-950);
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  min-height: 38px;
  white-space: nowrap;
}

.order-review-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.order-review-form.is-submitting .order-review-item {
  opacity: 0.78;
}

/* Show More / Less button */
.pdp-review-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.pdp-review-show-more-btn,
.pdp-review-show-less-btn {
  background: #ffffff;
  border: 1.5px solid var(--purple-950);
  color: var(--purple-950);
  padding: 10px 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(75, 31, 94, 0.05);
}

.pdp-review-show-more-btn:hover,
.pdp-review-show-less-btn:hover {
  background: var(--purple-950);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 31, 94, 0.15);
}

.pdp-review-show-more-btn i,
.pdp-review-show-less-btn i {
  transition: transform 0.25s;
}

.pdp-review-show-more-btn:hover i {
  transform: translateY(2px);
}

.pdp-review-show-less-btn:hover i {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .pdp-tabs-header {
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .pdp-tab-btn {
    font-size: 1rem;
    padding: 10px 2px;
  }
  
  .pdp-reviews-overview {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
    gap: 20px;
    margin-bottom: 24px;
  }
  
  .pdp-reviews-overview__score {
    text-align: left;
    min-width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px dashed rgba(75, 31, 94, 0.12);
    padding-right: 0;
    padding-bottom: 16px;
  }
  
  .pdp-reviews-overview__avg {
    font-size: 1.8rem;
  }
  
  .pdp-reviews-overview__stars {
    margin: 0;
  }
  
  .pdp-reviews-overview__total-count {
    display: none;
  }
  
  .pdp-review-filter-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .pdp-review-item {
    gap: 12px;
  }
  
  .pdp-review-item__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
  
  .pdp-review-item__media-img-wrap.is-expanded {
    width: 100%;
    max-width: 240px;
    height: 240px;
  }

  .order-review-card {
    padding: 14px;
  }

  .order-review-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .order-review-item__thumb {
    width: 56px;
    height: 56px;
  }

  .order-review-rating__option span {
    width: 38px;
    height: 32px;
  }

  .order-review-form__footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .order-review-upload span {
    justify-content: center;
    width: 100%;
  }

  .order-review-preview {
    min-height: 0;
  }

  .order-review-form__submit {
    width: 100%;
  }
}

/* Custom PDP Promotions */
.pdp-promo-item {
  position: relative;
  padding-left: 22px !important;
}
.pdp-promo-item::before {
  content: '⚡' !important;
}
.pdp-promo-item--bulk::before {
  content: '🏷️' !important;
}
.pdp-promo-item--combo::before {
  content: '🎁' !important;
}

.pdp-promo-link {
  color: var(--purple-800);
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp-promo-link:hover {
  color: var(--red);
}

/* ── Mobile Responsiveness (Professional UI) ── */
@media (max-width: 768px) {
  .plp-sidebar {
    box-shadow: 8px 0 32px rgba(75, 31, 94, 0.15);
  }
  
  .plp-toolbar {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  
  .shop-card {
    border-radius: 12px;
  }
  
  .shop-card__body {
    padding: 12px;
  }
  
  .shop-card__title {
    font-size: 0.875rem;
    min-height: 2.6em;
  }
  
  .shop-card__price {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .pdp-grid {
    gap: 20px;
  }
  
  .pdp-gallery__main {
    border-radius: 12px;
  }
  
  .pdp-gallery__thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }
  
  .pdp-info__title {
    font-size: 1.5rem;
  }
  
  .pdp-info__price {
    font-size: 1.75rem;
  }
  
  .pdp-actions__add, .pdp-actions__buy {
    padding: 12px;
    font-size: 0.875rem;
  }
}
