/* ============================================================
   STORE HERO + TRUST BAR + TOOLBAR (landing redesign)
   ============================================================ */
.store-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 48px 36px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #2563eb) 0%, color-mix(in srgb, var(--primary, #2563eb) 65%, #0f172a) 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.store-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18) 0, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.12) 0, transparent 40%);
  pointer-events: none;
}
.store-hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.store-hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
  margin-bottom: 14px;
  display: block;
}
.store-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.store-hero-title {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.25;
  color: #fff;
}
.store-hero-sub {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: rgba(255,255,255,0.92);
}

.store-trustbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 90px;
}
.trust-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary, #2563eb);
}
.trust-star { color: #f59e0b; font-size: 20px; }
.trust-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.trust-divider {
  width: 1px;
  align-self: stretch;
  background: #e2e8f0;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1.5px solid transparent;
  transition: all 0.18s;
  white-space: nowrap;
}
.chip:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.chip-active {
  background: var(--primary, #2563eb);
  color: #fff;
}
.chip-active:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  opacity: 0.92;
}
.chip-clear {
  background: #fef2f2;
  color: #dc2626;
}
.chip-clear:hover { background: #fee2e2; color: #b91c1c; }
.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-select {
  padding: 9px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  background: #f8fafc;
  direction: rtl;
  cursor: pointer;
  font-weight: 600;
  color: #475569;
}
.toolbar-select:focus {
  outline: none;
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.store-results-count {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 18px;
}

.store-filters {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.filter-form {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.filter-group label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.filter-group select {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  background: #f8fafc;
  direction: rtl;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.store-section {
  margin-bottom: 32px;
}

.store-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  font-size: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card.mini {
  text-decoration: none;
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.badge {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.badge-discount { background: #dc2626; }
.badge-sub { background: var(--primary, #2563eb); }
.badge-best { background: linear-gradient(135deg, #f59e0b, #ea580c); }

.product-subdur {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--primary, #2563eb) 12%, #fff);
  color: var(--primary, #2563eb);
  font-weight: 600;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.discount-badge.large {
  padding: 6px 16px;
  font-size: 14px;
}

.product-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f8fafc;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  gap: 8px;
}

.product-placeholder-img.large {
  height: 300px;
  border-radius: 14px;
}

.product-placeholder-img.small {
  height: 120px;
}

.placeholder-icon {
  font-size: 48px;
}

.product-placeholder-img.small .placeholder-icon {
  font-size: 32px;
}

.placeholder-subject {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
}

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.product-grade, .product-category {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 500;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.star {
  color: #d4d4d8;
  font-size: 16px;
}

.star.filled {
  color: #f59e0b;
}

.star.small {
  font-size: 14px;
}

.rating-text {
  font-size: 12px;
  color: #94a3b8;
  margin-right: 4px;
}

.product-stats {
  margin-bottom: 10px;
}

.purchase-count {
  font-size: 12px;
  color: #94a3b8;
}

.product-price {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.old-price {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

.current-price {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-buy {
  background: #16a34a;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Tajawal', sans-serif;
  flex: 1;
  text-align: center;
}

.btn-buy:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.btn-buy.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-purchased {
  background: #dcfce7;
  color: #16a34a;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  flex: 1;
  text-align: center;
}

.btn-purchased.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-details {
  background: #f1f5f9;
  color: #475569;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: all 0.2s;
}

.btn-details:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #2563eb;
  font-weight: 500;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.product-detail-image {
  position: relative;
}

.product-detail-image img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-detail-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.meta-tag {
  padding: 5px 14px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.stars-large .star {
  font-size: 22px;
}

.rating-value {
  font-size: 18px;
  font-weight: 800;
  color: #f59e0b;
}

.rating-count, .purchase-info {
  font-size: 14px;
  color: #94a3b8;
}

.product-detail-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.detail-old-price {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
}

.detail-current-price {
  font-size: 32px;
  font-weight: 800;
  color: #16a34a;
}

.detail-discount-pct {
  padding: 4px 12px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.product-detail-actions {
  margin-top: 8px;
}

.reviews-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.reviews-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.review-form-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.review-form-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-input label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  display: block;
  margin-bottom: 8px;
}

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 28px;
  color: #d4d4d8;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #f59e0b;
}

.review-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  resize: vertical;
  direction: rtl;
  background: #ffffff;
}

.review-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #fafbfc;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
}

.review-date {
  font-size: 12px;
  color: #94a3b8;
  margin-right: auto;
}

.review-comment {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.related-section {
  margin-bottom: 32px;
}

.related-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.result-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.result-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.result-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.result-card p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 4px;
}

.result-sub {
  font-size: 14px !important;
  color: #94a3b8 !important;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.my-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.my-product-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  gap: 16px;
  padding: 16px;
  transition: all 0.2s;
}

.my-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.my-product-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.my-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.my-product-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.purchase-date {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
  margin-top: auto;
}

.my-product-actions {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .store-hero { padding: 32px 22px; border-radius: 18px; }
  .store-hero-title { font-size: 26px; }
  .store-hero-sub { font-size: 14px; }
  .store-trustbar { padding: 16px 12px; gap: 8px; }
  .trust-num { font-size: 20px; }
  .trust-label { font-size: 11px; }
  .trust-divider { display: none; }
  .trust-item { min-width: 70px; }
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-filters { justify-content: space-between; }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .my-products-grid {
    grid-template-columns: 1fr;
  }

  .filter-form {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .result-actions {
    flex-direction: column;
  }
}

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

  .my-product-card {
    flex-direction: column;
  }

  .my-product-image {
    width: 100%;
    height: 140px;
  }
}

.store-empty {
  text-align: center;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 56px 28px;
  margin-top: 8px;
}
.store-empty-icon { font-size: 52px; margin-bottom: 14px; }
.store-empty h3 { font-size: 20px; font-weight: 800; color: #1e293b; margin: 0 0 8px; }
.store-empty p { font-size: 14px; color: #64748b; margin: 0 0 20px; line-height: 1.7; }
.store-empty-cta {
  display: inline-block;
  flex: none !important;
  padding: 12px 28px;
  text-decoration: none;
}

body.dark-theme .store-empty {
  background: #1e293b;
  border-color: #334155;
}
body.dark-theme .store-empty h3 { color: #f1f5f9; }
body.dark-theme .store-empty p { color: #94a3b8; }
body.dark-theme .product-subdur {
  background: #1e3a5f;
  color: #93c5fd;
}

body.dark-theme .store-trustbar {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
body.dark-theme .trust-label { color: #94a3b8; }
body.dark-theme .trust-divider { background: #334155; }
body.dark-theme .chip {
  background: #334155;
  color: #cbd5e1;
}
body.dark-theme .chip:hover { background: #475569; color: #f1f5f9; }
body.dark-theme .chip-active { background: var(--primary, #2563eb); color: #fff; }
body.dark-theme .chip-clear { background: #2a0a0a; color: #fca5a5; }
body.dark-theme .toolbar-select {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-theme .store-filters {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.dark-theme .filter-group label {
  color: #cbd5e1;
}
body.dark-theme .filter-group select {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
body.dark-theme .filter-group select:focus {
  border-color: var(--primary, #2563eb);
}
body.dark-theme .store-section-title {
  color: #f1f5f9;
}
body.dark-theme .product-card {
  background: #1e293b;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
body.dark-theme .product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
body.dark-theme .product-image {
  background: #0f172a;
}
body.dark-theme .product-placeholder-img {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
body.dark-theme .placeholder-subject {
  color: #60a5fa;
}
body.dark-theme .product-title {
  color: #f1f5f9;
}
body.dark-theme .product-grade,
body.dark-theme .product-category {
  background: #334155;
  color: #94a3b8;
}
body.dark-theme .btn-details {
  background: #334155;
  color: #cbd5e1;
}
body.dark-theme .btn-details:hover {
  background: #475569;
  color: #f1f5f9;
}
body.dark-theme .product-detail-info h1 {
  color: #f1f5f9;
}
body.dark-theme .meta-tag {
  background: #1e3a5f;
  color: #60a5fa;
}
body.dark-theme .product-detail-desc {
  color: #cbd5e1;
}
body.dark-theme .detail-discount-pct {
  background: #450a0a;
  color: #fca5a5;
}
body.dark-theme .reviews-section {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.dark-theme .reviews-section h3 {
  color: #f1f5f9;
}
body.dark-theme .review-form-box {
  background: #0f172a;
  border-color: #334155;
}
body.dark-theme .review-form-box h4 {
  color: #f1f5f9;
}
body.dark-theme .rating-input label {
  color: #cbd5e1;
}
body.dark-theme .review-form textarea {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
body.dark-theme .review-form textarea:focus {
  border-color: var(--primary, #2563eb);
}
body.dark-theme .review-card {
  background: #0f172a;
  border-color: #334155;
}
body.dark-theme .review-author {
  color: #f1f5f9;
}
body.dark-theme .review-comment {
  color: #cbd5e1;
}
body.dark-theme .related-section h3 {
  color: #f1f5f9;
}
body.dark-theme .back-link {
  color: #60a5fa;
}
body.dark-theme .result-card {
  background: #1e293b;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
body.dark-theme .result-card h2 {
  color: #f1f5f9;
}
body.dark-theme .result-card p {
  color: #94a3b8;
}
body.dark-theme .my-product-card {
  background: #1e293b;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
body.dark-theme .my-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
body.dark-theme .my-product-info h4 {
  color: #f1f5f9;
}
body.dark-theme .btn-purchased {
  background: #052e16;
  color: #86efac;
}

/* ============================================================
   PHASE 2 — store alerts, buy form/coupon, includes, content
   ============================================================ */

.store-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1.5px solid transparent;
}
.store-alert-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.store-alert-info { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.store-alert-error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.btn-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  cursor: not-allowed;
  flex: 1;
}

/* buy form + coupon */
.buy-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.coupon-row { display: flex; gap: 8px; }
.coupon-input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  background: #fff;
}
.coupon-input:focus {
  outline: none;
  border-color: var(--primary, #2563eb);
}

/* what's included */
.product-includes {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 8px 0 18px;
}
.includes-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}
.includes-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.includes-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #334155; }
.inc-icon { font-size: 18px; line-height: 1; }

/* gated content page */
.content-page { max-width: 720px; margin: 0 auto; }
.content-header { text-align: center; margin-bottom: 24px; }
.content-header h2 { font-size: 24px; font-weight: 800; color: #1e293b; margin: 10px 0 4px; }
.content-sub { color: #64748b; font-size: 14px; }
.content-owned-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.content-access-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.content-access-card.content-pending { background: #fffbeb; border-color: #fde68a; }
.content-access-icon { font-size: 44px; margin-bottom: 12px; }
.content-access-card h3 { font-size: 20px; font-weight: 700; color: #1e293b; margin: 0 0 8px; }
.content-access-card p { color: #64748b; font-size: 15px; margin: 0 0 20px; line-height: 1.7; }
.content-desc {
  margin-top: 24px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px 20px;
}
.content-desc h4 { font-size: 15px; font-weight: 700; color: #1e293b; margin: 0 0 8px; }
.content-desc p { color: #475569; font-size: 14px; line-height: 1.8; margin: 0; }

/* dark theme */
body.dark-theme .store-alert-success { background: #052e16; color: #86efac; border-color: #14532d; }
body.dark-theme .store-alert-info { background: #0c2a4d; color: #93c5fd; border-color: #1e3a5f; }
body.dark-theme .store-alert-error { background: #2a0a0a; color: #fca5a5; border-color: #4c1010; }
body.dark-theme .product-includes,
body.dark-theme .content-desc { background: #1e293b; border-color: #334155; }
body.dark-theme .includes-title,
body.dark-theme .content-header h2,
body.dark-theme .content-access-card h3,
body.dark-theme .content-desc h4 { color: #f1f5f9; }
body.dark-theme .includes-list li,
body.dark-theme .content-desc p { color: #cbd5e1; }
body.dark-theme .coupon-input { background: #0f172a; border-color: #334155; color: #f1f5f9; }
body.dark-theme .content-access-card { background: #1e293b; border-color: #334155; }
body.dark-theme .content-access-card.content-pending { background: #2a2410; border-color: #4d4318; }
