/* Store PDP — desktop UI */
.store-pdp-page .store-pdp {
  --sp-purple: #543ae3;
  --sp-purple-dark: #452fd0;
  --sp-purple-soft: #f3f0ff;
  --sp-green: #22c55e;
  --sp-green-dark: #16a34a;
  --sp-text: #111827;
  --sp-muted: #6b7280;
  --sp-border: #e5e7eb;
  --sp-bg: #f3f5fc;
  background: var(--sp-bg);
}

.store-pdp__shell {
  padding: 1.5rem 0 4rem;
}

.store-pdp__ticker {
  margin-bottom: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #f8e0e0;
  color: red;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.store-pdp__empty {
  padding: 3rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
}

.store-pdp__empty a {
  color: var(--sp-purple);
  font-weight: 700;
}

.store-pdp__bottom-image {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sp-border);
  background: #fff;
}

.store-pdp__bottom-image img {
  display: block;
  width: 100%;
  height: auto;
}

.store-pdp__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  display: none;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sp-muted);
}

.store-pdp__breadcrumbs a {
  color: #543ae3;
  text-decoration: none;
}

.store-pdp__breadcrumbs a:hover {
  text-decoration: underline;
}

.store-pdp__breadcrumbs .is-current {
  color: var(--sp-text);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-pdp__card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
}

.store-pdp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 1fr);
  gap: 2rem;
  padding: 1.75rem;
}

.store-pdp__gallery-col {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: start;
  height: fit-content;
}

.store-pdp__thumbs-wrap {
  grid-column: 1;
  grid-row: 1 / -1;
  position: relative;
  overflow: scroll;
  max-height: 420px;
}

.store-pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  /* max-height: 420px; */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.store-pdp__thumbs::-webkit-scrollbar {
  width: 5px;
}

.store-pdp__thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.store-pdp__thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.store-pdp__thumb {
  width: 72px;
  height: 100%;
  padding: 0;
  border: 2px solid var(--sp-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-pdp__thumb.is-active {
  border-color: var(--sp-purple);
  box-shadow: 0 0 0 1px var(--sp-purple);
}

.store-pdp__thumb:focus-visible {
  outline: 2px solid var(--sp-purple);
  outline-offset: 2px;
}

.store-pdp__main-image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc, #f3f5fc);
  border: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.store-pdp__main-image img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.store-pdp__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--sp-text);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.store-pdp__info-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.store-pdp__badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--sp-purple-soft);
  color: var(--sp-purple);
  font-size: 0.78rem;
  font-weight: 700;
}

.store-pdp__product-type {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp-muted);
}

.store-pdp__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--sp-text);
  letter-spacing: -0.02em;
}

.store-pdp__rating-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.store-pdp__rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.5rem;
  border-radius: 8px;
  background: var(--sp-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.store-pdp__rating-meta {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sp-muted);
}

.store-pdp__price-summary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.store-pdp__price-main {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.store-pdp__price-note,
.store-pdp__packages-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sp-muted);
}

.store-pdp__packages-note {
  margin: 0 0 1rem;
}

.store-pdp__price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.store-pdp__price-mrp {
  font-size: 1rem;
  color: #94a3b8;
}

.store-pdp__price-off {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--sp-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
}

.store-pdp__packages h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sp-text);
}

.store-pdp__packages {
  /* display: flex;
  flex-direction: column;
  gap: 0.45rem; */
}

.store-pdp__package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.store-pdp__package {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: fit-content;
  padding: 1.35rem 0.65rem 1rem;
  border: 1.5px solid var(--sp-border);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.store-pdp__package input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-pdp__package.is-selected {
  border-color: var(--sp-purple);
  box-shadow: 0 0 0 1px var(--sp-purple), 0 10px 28px rgba(84, 58, 227, 0.12);
  background: linear-gradient(180deg, #faf9ff 0%, #fff 100%);
}

.store-pdp__package-tag {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--sp-purple);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 1;
}

.store-pdp__package-radio {
  margin-top: auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  background: #fff;
  display: inline-flex;
  align-items: center;
  display: none;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.store-pdp__package-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: transparent;
  transform: scale(0);
  transition: transform 0.15s ease, background 0.15s ease;
}

.store-pdp__package.is-selected .store-pdp__package-radio {
  border-color: var(--sp-purple);
  display: none;
  background: var(--sp-purple);
  box-shadow: 0 0 0 3px rgba(84, 58, 227, 0.15);
}

.store-pdp__package.is-selected .store-pdp__package-radio::after {
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 0.58rem;
  color: #fff;
  width: auto;
  height: auto;
  background: transparent;
  transform: scale(1);
}

.store-pdp__package-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-purple-soft);
  color: var(--sp-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.store-pdp__package.is-selected .store-pdp__package-icon {
  background: var(--sp-purple);
  color: #fff;
}

.store-pdp__package-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1.25;
  padding: 0 0.15rem;
}

.store-pdp__package-subjects {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sp-muted);
  line-height: 1.35;
}

.store-pdp__package-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  width: 100%;
  margin-top: 0.15rem;
  text-align: center;
}

.store-pdp__package-sale {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.store-pdp__package-mrp {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration-thickness: 1px;
}

.store-pdp__package-off {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--sp-green-dark);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.store-pdp__buy-row {
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sp-border);
}

.store-pdp__buy-prices {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.store-pdp__buy-prices strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sp-text);
}

.store-pdp__buy-prices s {
  font-size: 0.95rem;
  color: #94a3b8;
}

.store-pdp__buy-prices em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sp-green-dark);
}

.store-pdp__trust {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.65rem 1rem;
}

.store-pdp__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sp-muted);
}

.store-pdp__trust li:first-child {
  color: var(--sp-green-dark);
}

.store-pdp__trust li:nth-child(2),
.store-pdp__trust li:nth-child(3) {
  color: var(--sp-purple);
}

.store-pdp__order-btn {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #543ae3 0%, #6d28d9 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  /* box-shadow: 0 12px 28px rgba(84, 58, 227, 0.28); */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-pdp__order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 10px rgba(84, 58, 227, 0.32);
}

.store-pdp__features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.store-pdp__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.65rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--sp-border);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1.35;
}

.store-pdp__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-purple-soft);
  color: var(--sp-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.store-pdp__reviews {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--sp-border);
}

.store-pdp__reviews h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.store-pdp__reviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.store-pdp__review-card {
  flex: 0 0 180px;
  width: 180px;
}

.store-pdp__accordions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.store-pdp__accordion {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  overflow: hidden;
}

.store-pdp__accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sp-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-pdp__accordion summary::-webkit-details-marker {
  display: none;
}

.store-pdp__accordion-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sp-purple-soft);
  color: var(--sp-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-pdp__accordion-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.78rem;
  transition: transform 0.15s ease;
}

.store-pdp__accordion[open] .store-pdp__accordion-arrow {
  transform: rotate(180deg);
}

.store-pdp__accordion-body {
  padding: 0 1.15rem 1.15rem 4.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #374151;
}

.store-pdp__accordion-body--qa {
  padding: 0 1rem 1rem;
}

.store-pdp__structure {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-pdp__structure-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ebe7f8;
}

.store-pdp__structure-intro-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ede9fe;
  color: #543ae3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.store-pdp__structure-intro p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
}

.store-pdp__structure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.store-pdp__structure-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.85rem 1rem;
  font-weight: 600;
  align-items: center;
  border-radius: 14px;
  background: #f8f7ff;
  border: 1px solid #ebe7f8;
}

.store-pdp__structure-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ede9fe;
  color: #543ae3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.store-pdp__structure-text {
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
}

.store-pdp__structure-text p {
  margin: 0;
}

.store-pdp__rich-text ul {
  margin: 0;
  padding-left: 1.1rem;
}

.store-pdp__qa-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-pdp__qa-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f8f7ff;
  border: 1px solid #ebe7f8;
}

.store-pdp__qa-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.store-pdp__qa-row--question {
  margin-bottom: 0.65rem;
}

.store-pdp__qa-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.store-pdp__qa-badge--q {
  background: #ede9fe;
  color: #543ae3;
}

.store-pdp__qa-badge--a {
  background: #ecfdf5;
  color: #047857;
}

.store-pdp__qa-question {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
}

.store-pdp__qa-answer {
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
}

.store-pdp__qa-answer br {
  display: none;
}

.store-pdp__qa-answer p {
  margin: 0 0 0.55rem;
}

.store-pdp__qa-answer p:last-child {
  margin-bottom: 0;
}

.store-pdp__qa-answer ul,
.store-pdp__qa-answer ol {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1.1rem;
}

.store-pdp__qa-answer strong,
.store-pdp__qa-answer b {
  color: #0f172a;
  font-weight: 800;
}

.store-pdp__accordion-body ul {
  margin: 0;
  padding-left: 1.1rem;
}

@media (max-width: 1100px) {
  .store-pdp__hero {
    grid-template-columns: 1fr;
  }

  .store-pdp__package-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-pdp__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .store-pdp__package-list {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .store-pdp__package {
    min-height: auto;
    padding: 1.1rem 1rem 0.95rem;
  }
}

@media (max-width: 768px) {
  .store-pdp__gallery-col {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .store-pdp__thumbs-wrap {
    grid-column: 1;
    grid-row: 1;
    max-height: none;
  }

  .store-pdp__main-image {
    grid-column: 1;
    grid-row: 2;
  }

  .store-pdp__bottom-image {
    grid-column: 1;
    grid-row: 3;
  }

  .store-pdp__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 4px;
  }

  .store-pdp__thumb {
    flex: 0 0 72px;
  }

  .store-pdp__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-pdp__package-list {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .store-pdp__package {
    min-height: auto;
  }
}
