/*
Theme Name: Brillanza Shrine Pro
Theme URI: https://brillanzacompany.com
Author: BRILLANZA LLC
Author URI: https://brillanzacompany.com
Description: High-converting Shrine Pro replication theme for Brillanza. Pure white & electric blue (#0055FE) DTC gadget design with Ajax slide-out drawer cart, sticky mobile bar, and zero layout shift.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: brillanza-shrine
*/

/* ========================================================
   1. CSS RESET & VARIABLES (SHRINE PRO SIGNATURE SPEC)
   ======================================================== */
:root {
  /* Color System: Pure White & Electric Blue (#0055FE) */
  --shrine-bg: #FFFFFF;
  --shrine-bg-subtle: #F8FAFC;
  --shrine-bg-blue-tint: #F0F6FF;
  --shrine-blue: #0055FE;
  --shrine-blue-hover: #0044CC;
  --shrine-blue-glow: rgba(0, 85, 254, 0.28);
  
  --shrine-text-main: #0F172A;
  --shrine-text-muted: #64748B;
  --shrine-text-light: #94A3B8;

  --shrine-border-light: #E2E8F0;
  --shrine-border-focus: #0055FE;

  --shrine-green: #10B981;
  --shrine-green-tint: #ECFDF5;
  --shrine-green-text: #065F46;

  --shrine-amber: #F59E0B;
  --shrine-red: #EF4444;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-selected: 0 8px 24px -4px rgba(0, 85, 254, 0.18), 0 2px 6px -1px rgba(0, 85, 254, 0.1);
  --shadow-btn: 0 6px 20px -2px rgba(0, 85, 254, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--shrine-bg);
  color: var(--shrine-text-main);
  line-height: 1.5;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================================
   2. ANNOUNCEMENT BAR & HEADER
   ======================================================== */
.shrine-announcement-bar {
  background-color: var(--shrine-text-main);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  line-height: 1.35;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.shrine-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--shrine-green);
  box-shadow: 0 0 8px var(--shrine-green);
  animation: shrinePulse 2s infinite ease-in-out;
}

@keyframes shrinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.shrine-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shrine-border-light);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.shrine-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--shrine-text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shrine-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--shrine-blue);
}

.shrine-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shrine-guarantee-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shrine-text-muted);
  background: var(--shrine-bg-subtle);
  border: 1px solid var(--shrine-border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .shrine-guarantee-pill {
    display: inline-flex;
  }
}

.shrine-cart-trigger {
  position: relative;
  background: var(--shrine-bg-subtle);
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shrine-text-main);
  transition: all 0.2s ease;
}

.shrine-cart-trigger:hover {
  border-color: var(--shrine-blue);
  background: var(--shrine-bg-blue-tint);
}

.shrine-cart-count {
  background-color: var(--shrine-blue);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================
   3. HERO PRODUCT SECTION (SHRINE PRO 2-COLUMN LAYOUT)
   ======================================================== */
.shrine-product-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem 1.25rem;
  overflow-x: hidden;
}

.shrine-product-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 2.5rem;
  align-items: start;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .shrine-product-grid {
    grid-template-columns: 55% 45%;
    gap: 3.5rem;
  }
}

/* Media Gallery */
.shrine-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 1024px) {
  .shrine-gallery-col {
    position: sticky;
    top: 5rem;
  }
}

.shrine-main-media {
  position: relative;
  background-color: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--shrine-border-light);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}

.shrine-main-media video,
.shrine-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shrine-floating-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shrine-badge-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shrine-badge-gold {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  border: 1px solid #FCD34D;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Thumbnails */
.shrine-thumbs-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.shrine-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid var(--shrine-border-light);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--shrine-bg-subtle);
  transition: all 0.2s ease;
  padding: 0;
}

.shrine-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shrine-thumb-item.active {
  border-color: var(--shrine-blue);
  box-shadow: 0 0 0 1px var(--shrine-blue);
}

.shrine-video-thumb-badge {
  position: relative;
}

.shrine-video-thumb-badge::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  font-size: 0.9rem;
}

/* ========================================================
   4. PRODUCT INFO COLUMN (SHRINE PRO SIGNATURE SPEC)
   ======================================================== */
.shrine-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.shrine-social-proof-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.shrine-stars {
  color: var(--shrine-amber);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.shrine-review-count {
  color: var(--shrine-text-muted);
  font-weight: 600;
}

.shrine-urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--shrine-green-tint);
  border: 1px solid #A7F3D0;
  color: var(--shrine-green-text);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.shrine-product-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .shrine-product-title {
    font-size: 2.25rem;
  }
}

.shrine-product-subtitle {
  font-size: 0.9rem;
  color: var(--shrine-text-muted);
  line-height: 1.6;
}

/* What's Included Card */
.shrine-included-box {
  background: var(--shrine-bg-subtle);
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.shrine-included-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--shrine-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.shrine-included-value {
  color: var(--shrine-green-text);
  font-weight: 800;
}

.shrine-included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .shrine-included-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shrine-included-item {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shrine-text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.shrine-included-item svg {
  width: 14px;
  height: 14px;
  color: var(--shrine-green);
  flex-shrink: 0;
}

/* ========================================================
   5. SHRINE PRO SIGNATURE BUNDLE SELECTOR (BLUE #0055FE)
   ======================================================== */
.shrine-bundle-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.shrine-bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shrine-text-main);
}

.shrine-bundle-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.shrine-bundle-card {
  position: relative;
  background: var(--shrine-bg);
  border: 1.5px solid var(--shrine-border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.shrine-bundle-card:hover {
  border-color: #CBD5E1;
}

/* Selected State: Pure Shrine Electric Blue */
.shrine-bundle-card.selected {
  border-color: var(--shrine-blue);
  background-color: var(--shrine-bg-blue-tint);
  box-shadow: var(--shadow-selected);
}

/* Radio Button */
.shrine-radio {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--shrine-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.shrine-bundle-card.selected .shrine-radio {
  border-color: var(--shrine-blue);
}

.shrine-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--shrine-blue);
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shrine-bundle-card.selected .shrine-radio-dot {
  transform: scale(1);
}

.shrine-bundle-content {
  flex-grow: 1;
}

.shrine-bundle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.shrine-bundle-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shrine-tag-starter {
  background: var(--shrine-bg-subtle);
  color: var(--shrine-text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.shrine-price-wrap {
  text-align: right;
}

.shrine-old-price {
  font-size: 0.8rem;
  color: var(--shrine-text-light);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.shrine-curr-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

.shrine-bundle-card.selected .shrine-curr-price {
  color: var(--shrine-blue);
}

.shrine-bundle-desc {
  font-size: 0.775rem;
  color: var(--shrine-text-muted);
}

/* Bestseller Card Floating Badge */
.shrine-bundle-card.bestseller-card {
  padding-top: 1.35rem;
}

.shrine-badge-floating {
  position: absolute;
  top: -11px;
  left: 1.15rem;
  background: var(--shrine-blue);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 85, 254, 0.4);
}

.shrine-save-badge {
  background: var(--shrine-green-tint);
  color: var(--shrine-green-text);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.shrine-bestseller-perks {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 85, 254, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--shrine-text-main);
}

.shrine-perk-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.shrine-perk-item svg {
  width: 14px;
  height: 14px;
  color: var(--shrine-blue);
  flex-shrink: 0;
}

/* ========================================================
   6. SHRINE PRO CTA BUTTON & TRUST BADGES
   ======================================================== */
.shrine-cta-btn {
  width: 100%;
  height: 56px;
  background-color: var(--shrine-blue);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.shrine-cta-btn:hover {
  background-color: var(--shrine-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(0, 85, 254, 0.45);
}

.shrine-cta-btn:active {
  transform: translateY(0);
}

/* Trust Badges 4-Grid */
.shrine-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shrine-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shrine-trust-item {
  background: var(--shrine-bg-subtle);
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--shrine-text-main);
}

.shrine-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--shrine-blue);
}

/* ========================================================
   7. SHRINE PRO COLLAPSIBLE ACCORDIONS (FAQ & SPECS)
   ======================================================== */
.shrine-accordions {
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0.5rem;
}

.shrine-accordion-item {
  border-bottom: 1px solid var(--shrine-border-light);
}

.shrine-accordion-item:last-child {
  border-bottom: none;
}

.shrine-accordion-trigger {
  width: 100%;
  padding: 1rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shrine-text-main);
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.shrine-accordion-trigger:hover {
  background: var(--shrine-bg-subtle);
}

.shrine-accordion-icon {
  width: 18px;
  height: 18px;
  color: var(--shrine-text-muted);
  transition: transform 0.2s ease;
}

.shrine-accordion-item.open .shrine-accordion-icon {
  transform: rotate(180deg);
}

.shrine-accordion-content {
  display: none;
  padding: 0 1.15rem 1rem 1.15rem;
  font-size: 0.8rem;
  color: var(--shrine-text-muted);
  line-height: 1.6;
}

.shrine-accordion-item.open .shrine-accordion-content {
  display: block;
}

/* ========================================================
   8. ENGINEERING 4-CARDS SECTION (DYSON / APPLE TECH)
   ======================================================== */
.shrine-section-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--shrine-border-light);
  overflow-x: hidden;
  box-sizing: border-box;
}

.shrine-section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.shrine-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--shrine-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

.shrine-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--shrine-text-main);
}

.shrine-tech-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .shrine-tech-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .shrine-tech-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.shrine-tech-card {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.shrine-tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--shrine-blue);
  box-shadow: 0 12px 28px -6px rgba(0, 85, 254, 0.12);
}

.shrine-tech-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--shrine-bg-blue-tint);
  color: var(--shrine-blue);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.shrine-tech-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  margin-bottom: 0.4rem;
}

.shrine-tech-desc {
  font-size: 0.8rem;
  color: var(--shrine-text-muted);
  line-height: 1.55;
}

/* ========================================================
   9. BATTLE TABLE (BRILLANZA VS OTHERS)
   ======================================================== */
.shrine-battle-box-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.shrine-battle-box {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-card);
}

.shrine-battle-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.shrine-battle-table th,
.shrine-battle-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--shrine-border-light);
}

.shrine-battle-table th {
  background: var(--shrine-bg-subtle);
  font-weight: 700;
  color: var(--shrine-text-main);
  text-align: left;
}

.shrine-battle-table th.highlight-col,
.shrine-battle-table td.highlight-col {
  background: var(--shrine-bg-blue-tint);
  border-left: 2px solid var(--shrine-blue);
  border-right: 2px solid var(--shrine-blue);
}

.shrine-battle-table th.highlight-col {
  color: var(--shrine-blue);
  font-weight: 800;
}

/* ========================================================
   9A. 3-STEP WIPE - GATHER - PEEL FORMULA
   ======================================================== */
.shrine-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shrine-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shrine-step-card {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.shrine-step-card:hover {
  border-color: var(--shrine-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-selected);
}

.shrine-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--shrine-bg-blue-tint);
  color: var(--shrine-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.shrine-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  letter-spacing: -0.02em;
}

.shrine-step-desc {
  font-size: 0.825rem;
  color: var(--shrine-text-muted);
  line-height: 1.55;
}

/* ========================================================
   9B. BEFORE & AFTER PROOF GRID
   ======================================================== */
.shrine-ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shrine-ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shrine-ba-card {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.shrine-ba-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.shrine-ba-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shrine-ba-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.shrine-ba-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shrine-ba-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

.shrine-ba-desc {
  font-size: 0.8rem;
  color: var(--shrine-text-muted);
  line-height: 1.5;
}

/* ========================================================
   9C. FABRIC COMPATIBILITY 4-GRID
   ======================================================== */
.shrine-fabric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shrine-fabric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .shrine-fabric-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shrine-fabric-card {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.shrine-fabric-card:hover {
  transform: translateY(-3px);
  border-color: var(--shrine-blue);
  box-shadow: var(--shadow-selected);
}

.shrine-fabric-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--shrine-bg-blue-tint);
  color: var(--shrine-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shrine-fabric-icon svg {
  width: 22px;
  height: 22px;
}

.shrine-fabric-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

.shrine-fabric-desc {
  font-size: 0.8rem;
  color: var(--shrine-text-muted);
  line-height: 1.55;
}

/* ========================================================
   9D. NICHE PHOTO REVIEWS GRID (REAL BUYER UPLOADS)
   ======================================================== */
.shrine-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .shrine-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .shrine-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shrine-photo-review-card {
  background: #FFFFFF;
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.shrine-photo-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 85, 254, 0.12);
  border-color: var(--shrine-blue);
}

.shrine-review-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F1F5F9;
}

.shrine-review-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shrine-photo-review-card:hover .shrine-review-photo-wrap img {
  transform: scale(1.04);
}

.shrine-review-badge-verified {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(16, 185, 129, 0.95);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(4px);
}

.shrine-review-badge-verified svg {
  width: 11px;
  height: 11px;
}

.shrine-review-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.shrine-review-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shrine-review-author-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

.shrine-review-headline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  line-height: 1.35;
}

.shrine-review-text {
  font-size: 0.8rem;
  color: var(--shrine-text-muted);
  line-height: 1.6;
  flex: 1;
}

.shrine-review-meta {
  border-top: 1px solid var(--shrine-border-light);
  padding-top: 0.65rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--shrine-text-light);
  font-weight: 600;
}

/* ========================================================
   10. SHRINE PRO AJAX SLIDE-OUT CART DRAWER
   ======================================================== */
.shrine-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shrine-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.shrine-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  z-index: 101;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.shrine-drawer-panel.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.shrine-drawer-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--shrine-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.shrine-drawer-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shrine-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shrine-text-muted);
  transition: all 0.15s ease;
}

.shrine-drawer-close:hover {
  background: var(--shrine-bg-subtle);
  color: var(--shrine-text-main);
}

/* Free Shipping Goal */
.shrine-shipping-meter {
  background: var(--shrine-green-tint);
  border-bottom: 1px solid #A7F3D0;
  padding: 0.85rem 1.25rem;
}

.shrine-shipping-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--shrine-green-text);
  margin-bottom: 0.4rem;
}

.shrine-progress-track {
  width: 100%;
  height: 8px;
  background: #A7F3D0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shrine-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--shrine-green);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* Drawer Items List */
.shrine-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shrine-cart-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--shrine-bg-subtle);
  border: 1px solid var(--shrine-border-light);
  border-radius: var(--radius-md);
}

.shrine-item-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--shrine-border-light);
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
}

.shrine-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shrine-item-details {
  flex: 1;
  min-width: 0;
}

.shrine-item-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shrine-item-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--shrine-blue);
  margin-top: 0.15rem;
}

.shrine-item-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.shrine-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

/* One-Click In-Cart Upsell */
.shrine-upsell-box {
  border: 1.5px dashed #93C5FD;
  background: var(--shrine-bg-blue-tint);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.shrine-upsell-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.shrine-upsell-checkbox {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--shrine-blue);
}

.shrine-upsell-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--shrine-text-main);
  display: flex;
  justify-content: space-between;
}

.shrine-upsell-desc {
  font-size: 0.725rem;
  color: var(--shrine-text-muted);
  margin-top: 0.2rem;
}

/* Drawer Footer */
.shrine-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--shrine-border-light);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shrine-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shrine-text-main);
}

.shrine-shipping-free-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shrine-green-text);
}

.shrine-checkout-btn {
  width: 100%;
  height: 52px;
  background: var(--shrine-text-main);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.shrine-checkout-btn:hover {
  background: #000000;
}

.shrine-checkout-btn svg {
  color: var(--shrine-green);
}

.shrine-drawer-ssl {
  text-align: center;
  font-size: 0.68rem;
  color: var(--shrine-text-light);
}

/* ========================================================
   11. SHRINE PRO FLOATING STICKY MOBILE BAR
   ======================================================== */
.shrine-sticky-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 35;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shrine-border-light);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .shrine-sticky-mobile {
    display: none;
  }
}

.shrine-sticky-info {
  display: flex;
  flex-direction: column;
}

.shrine-sticky-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--shrine-blue);
  line-height: 1.1;
}

.shrine-sticky-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--shrine-text-muted);
}

.shrine-sticky-btn {
  flex: 1;
  max-width: 200px;
  height: 44px;
  background: var(--shrine-blue);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ========================================================
   12. SHRINE FOOTER
   ======================================================== */
.shrine-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--shrine-border-light);
  padding: 3rem 1.25rem 2rem 1.25rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  color: var(--shrine-text-muted);
  font-size: 0.775rem;
}

.shrine-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.shrine-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-weight: 600;
  color: var(--shrine-text-main);
}

.shrine-footer-links a:hover {
  color: var(--shrine-blue);
}

.shrine-payment-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shrine-pay-pill {
  border: 1px solid var(--shrine-border-light);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--shrine-bg-subtle);
  color: var(--shrine-text-main);
}
