/*
 * Prismatic Reiki Academy - Main Stylesheet
 * Rainbow Holistic Theme | Custom PHP Build
 * =============================================================================
 */

/* =============================================================================
   RULE-19 BASELINE - VERTICAL SCROLL ONLY, NEVER HORIZONTAL
   Place BEFORE all layout rules. Use overflow-x: clip with hidden fallback so
   overflow-y stays visible (per memory feedback_overflow_x_hidden_forces_y_auto).
   ============================================================================= */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}
img, video, iframe, picture, svg, canvas, embed, object {
    max-width: 100%;
    height: auto;
}
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}
pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Hero CTA group - call-to-action + tel link */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}
.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}
.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* =============================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================================================= */

:root {
    /* Colors - Rainbow Prismatic Palette */
    --primary-purple: #667eea;
    --primary-violet: #764ba2;
    --primary-pink: #f093fb;
    --secondary-blue: #4a5fd1;
    --secondary-purple: #5d3883;
    --secondary-magenta: #c94bb8;
    --secondary-red: #d1324d;
    --secondary-pink: #d66dd6;
    --accent-gold: #f5a623;
    --accent-teal: #38b2ac;
    --accent-emerald: #48bb78;
    --accent-rose: #ed64a6;

    /* Background Gradients */
    /* Prism sweep with teal + green to break up the all-purple header/footer (Tony 2026-07-18) */
    --gradient-header: linear-gradient(135deg, #2f8fb3 0%, #43AA8B 24%, #667eea 52%, #8155c9 76%, #c94bb8 100%);
    --gradient-footer: linear-gradient(135deg, #2f8fb3 0%, #43AA8B 24%, #667eea 52%, #8155c9 76%, #c94bb8 100%);
    --gradient-body: linear-gradient(135deg, #f0e6f6 0%, #fce4ec 25%, #e8eaf6 50%, #e1f5fe 75%, #f3e5f5 100%);
    --gradient-card: linear-gradient(135deg, #fff 0%, #faf5ff 50%, #f8f9ff 100%);
    --gradient-button: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #c94bb8 100%);
    --gradient-button-hover: linear-gradient(135deg, #764ba2 0%, #c94bb8 50%, #f093fb 100%);
    /* True prism/chakra rainbow (brand = the colors of a prism), Tony 2026-07-18 */
    --rainbow-red: #E63946; --rainbow-orange: #F3722C; --rainbow-yellow: #F9C74F;
    --rainbow-green: #43AA8B; --rainbow-blue: #277DA1; --rainbow-indigo: #4B0082; --rainbow-violet: #9D4EDD;
    --gradient-rainbow: linear-gradient(90deg, #E63946 0%, #F3722C 16%, #F9C74F 33%, #43AA8B 50%, #277DA1 66%, #4B0082 83%, #9D4EDD 100%);
    --gradient-rainbow-light: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1), rgba(201,75,184,0.1), rgba(240,147,251,0.1));
    /* Hero scrim: neutral dark (NOT lavender) just enough for text legibility over the cosmic video */
    --gradient-hero-overlay: linear-gradient(180deg, rgba(10,6,24,0.44) 0%, rgba(10,6,24,0.40) 50%, rgba(10,6,24,0.58) 100%);
    --gradient-section-alt: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(240,147,251,0.08) 50%, rgba(102,126,234,0.05) 100%);

    /* Text Colors */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-heading: #2c3e50;
    --color-product-title: #4a5fd1;
    --color-product-price: #c94bb8;
    --color-link: #5d3883;
    --color-link-hover: #c94bb8;
    --color-white: #ffffff;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 40px;
    --spacing-3xl: 60px;
    --spacing-4xl: 80px;

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-2xl: 25px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(102, 126, 234, 0.12);
    --shadow-lg: 0 8px 25px rgba(118, 75, 162, 0.15);
    --shadow-xl: 0 12px 35px rgba(118, 75, 162, 0.2);
    --shadow-glow: 0 0 20px rgba(240, 147, 251, 0.3);
    --shadow-rainbow: 0 4px 20px rgba(102, 126, 234, 0.15), 0 0 40px rgba(240, 147, 251, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--gradient-body);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Subtle animated background for extra holistic feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(240,147,251,0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(102,126,234,0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 80%, rgba(201,75,184,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-link-hover);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.site-header {
    background: var(--gradient-header);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo container */
.nav-logo-container {
    flex-shrink: 0;
}

.nav-logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo image - NOT text. Remove text styles. */
img.nav-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
    transition: transform var(--transition-fast);
}

img.nav-logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255,255,255,0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 60%;
}

/* Nav actions (cart + hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    transition: transform var(--transition-fast), background var(--transition-fast);
    text-decoration: none;
}

.nav-cart:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.26);
    color: var(--color-white);
}

.cart-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.cart-label {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.nav-cart .cart-count {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-white);
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(93,56,131,0.99) 0%, rgba(102,126,234,0.99) 100%);
    padding: 76px var(--spacing-lg) calc(3rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    display: block;
}

/* lock the page behind the open drawer so only the menu scrolls */
body.menu-open {
    overflow: hidden;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px var(--spacing-lg);
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
    transform: translateX(4px);
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
    background: var(--gradient-footer);
    color: var(--color-white);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-4xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 4s ease infinite;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.footer-address {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Footer contact links - lightened for readability on the dark footer */
.footer-section p a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}
.footer-section p a:hover {
    color: #fff;
}

/* Footer sister-site backlink */
.footer-sister-site {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

/* Footer social icons */
.footer-social {
    display: flex;
    gap: 14px;
    margin-top: var(--spacing-md);
}
.footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}
.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
    color: rgba(255,255,255,0.85);
}

.appwt-attribution {
    margin-top: var(--spacing-md);
    font-size: 0.85rem;
    opacity: 0.75;
}

.appwt-attribution a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 2px;
}

.appwt-attribution a:hover {
    text-decoration-color: rgba(255,255,255,0.8);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::before {
    animation: shimmer 1.5s infinite;
}

.btn-primary:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn-secondary:hover {
    background: var(--secondary-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-add-to-cart {
    background: var(--gradient-rainbow);
    background-size: 220% auto;
    color: var(--color-white);
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}
.btn-add-to-cart:hover { background-position: right center; }

.btn-add-to-cart:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-checkout {
    background: linear-gradient(135deg, #c94bb8 0%, #d1324d 100%);
    color: var(--color-white);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
}

.btn-checkout:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* =============================================================================
   HERO SECTION (homepage video hero + inner page heroes)
   ============================================================================= */

/* Homepage hero with video background */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    /* Cosmic poster as the base so the hero starts cosmic (never the light body gradient / gray overcast) */
    background: #0a0518 url('/assets/hero/cosmic-poster.jpg?v=2026071804') center/cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-3xl) var(--spacing-xl);
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

/* SITE-WIDE READABILITY (Opie 2026-07-18): global headings default to dark (--color-heading)
   which is correct on light sections but unreadable on the purple/gradient surfaces. Force
   every heading inside the hero and page-header to white so no title ever reads dark. This
   beats the global "h1,h2,... { color: var(--color-heading) }" rule by specificity. */
.hero-content h1, .hero-content h2, .hero-content h3, .hero-content h4,
.page-header h1, .page-header h2, .page-header h3, .page-header h4 {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease 0.3s backwards;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    display: inline-block;
    padding: 16px 42px;
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease 0.6s backwards;
    letter-spacing: 0.5px;
}

.hero-cta-button:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--color-white);
}

/* Primary hero CTA = full prism rainbow (brand), white bold text stays readable (Tony 2026-07-18) */
.hero-cta-button:not(.hero-cta-secondary) {
    background: var(--gradient-rainbow);
    background-size: 220% auto;
    border-color: rgba(255,255,255,0.55);
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
    animation: fadeIn 1s ease 0.6s backwards, rainbow-border-pulse 7s ease infinite;
}
.hero-cta-button:not(.hero-cta-secondary):hover {
    background: var(--gradient-rainbow);
    background-size: 220% auto;
    background-position: right center;
    border-color: #fff;
    color: #fff;
}

/* Inner page hero (about, contact, faq, etc.) - no video, just gradient header */
main > .hero-section {
    min-height: auto;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    background: var(--gradient-header);
}

main > .hero-section h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* Hero stats (used inside hero) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.hero-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.hero-stat h3 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.hero-stat p {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0;
}

/* =============================================================================
   STATS BAR (homepage live stats)
   ============================================================================= */

.stats-bar {
    /* Prism sweep with teal + green so the stats band is colorful, not all purple (Tony 2026-07-18) */
    background: linear-gradient(135deg, rgba(47,143,179,0.93) 0%, rgba(67,170,139,0.9) 24%, rgba(102,126,234,0.92) 50%, rgba(129,85,201,0.9) 74%, rgba(201,75,184,0.92) 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}
/* Each stat box gets its own prism accent + colored number for a vivid, readable pop */
.stat-box:nth-child(1) { border-top: 3px solid #7DE8C8; }
.stat-box:nth-child(2) { border-top: 3px solid #FFD86B; }
.stat-box:nth-child(3) { border-top: 3px solid #FF9ED8; }
.stat-box .stat-number { text-shadow: none; }
.stat-box:nth-child(1) .stat-number { color: #FFD23B; }
.stat-box:nth-child(2) .stat-number { color: #FF5FA2; }
.stat-box:nth-child(3) .stat-number { color: #35E0C0; }

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 3s ease infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =============================================================================
   SECTION HEADERS (shared across homepage sections)
   ============================================================================= */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.2rem;
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 4s ease infinite;
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* =============================================================================
   FEATURED PRODUCTS SECTION (homepage)
   ============================================================================= */

.featured-products-section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.featured-grid {
    grid-template-columns: repeat(3, 1fr);
}

.no-products-message {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* =============================================================================
   PRODUCT PRICING VARIANTS
   ============================================================================= */

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: var(--spacing-sm);
}

.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: var(--radius-md);
}

.product-image-link .product-image {
    transition: transform var(--transition-normal);
    /* THE BURNED-IN URL WAS BEING CROPPED OFF THE CARD (Michael 2026-07-30).
       .product-image-link is aspect-ratio:1/1 with overflow:hidden, while the global
       .product-image rule carries height:100% PLUS margin-bottom:15px. The image box
       is therefore taller than its square container and the BOTTOM is clipped. The
       prismaticacademy.com wordmark band sits in the bottom ~5% of the 800px source,
       so on a ~300px card a 15px clip removes exactly the URL line.
       THE IMAGES WERE NEVER STRIPPED - the file still contains prismaticacademy.com,
       verified by eye on the pixels, not by OCR alone. Only the card hid it.
       display:block also removes the inline-baseline gap, which added to the clip.
       Scoped to this container, so product pages keep their intended spacing. */
    margin-bottom: 0;
    display: block;
}

.product-image-link:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.free-badge {
    background: linear-gradient(135deg, #48bb78, #38b2ac);
    color: var(--color-white);
}

.sale-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--color-white);
}

.price-free {
    color: var(--accent-emerald);
    font-weight: 800;
    font-size: 1.3rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 400;
    margin-right: 8px;
}

.price-sale {
    color: var(--secondary-red);
    font-weight: 800;
    font-size: 1.3rem;
}

.price-regular {
    color: var(--color-product-price);
    font-weight: 700;
}

.product-excerpt {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================================================
   DAILY SPIRITUAL CARD (homepage)
   ============================================================================= */

.daily-card-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-section-alt);
}

.daily-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-2xl);
    box-shadow: var(--shadow-rainbow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240,147,251,0.15);
}

.daily-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-rainbow);
    background-size: 400% 400%;
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.4;
    animation: rainbow-border-pulse 6s ease infinite;
}

.daily-card-header {
    margin-bottom: var(--spacing-lg);
}

.daily-card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--spacing-sm);
    animation: sparkle 3s ease infinite;
}

.daily-card-title {
    font-size: 1.3rem;
    color: var(--secondary-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0;
}

.daily-card-content {
    padding: var(--spacing-md) 0;
}

.card-message-title {
    font-size: 1.6rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.card-message-text {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto;
}

.daily-card-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(118,75,162,0.1);
}

.daily-card-footer small {
    color: var(--color-text-light);
    font-style: italic;
    font-size: 0.85rem;
}

/* =============================================================================
   ABOUT PREVIEW SECTION (homepage)
   ============================================================================= */

.about-preview-section {
    padding: var(--spacing-4xl) 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-preview-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--primary-pink);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.4;
}

.about-preview-content {
    padding: var(--spacing-lg) 0;
}

.about-preview-title {
    font-size: 2rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-lg);
}

.about-preview-text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.02rem;
}

/* =============================================================================
   CTA BUTTONS (view-all, learn-more)
   ============================================================================= */

.btn-view-all,
.btn-learn-more {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-button);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-view-all::before,
.btn-learn-more::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

.btn-view-all:hover,
.btn-learn-more:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--color-white);
}

.btn-view-all:hover::before,
.btn-learn-more:hover::before {
    animation: shimmer 1.5s infinite;
}

/* =============================================================================
   PAGE HEADER (shop, category pages)
   ============================================================================= */

.page-header {
    background: var(--gradient-header);
    color: #ffffff; /* header sits on the purple gradient; default all text white so nothing reads dark */
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 4s ease infinite;
}

.shop-header {
    /* extends page-header */
}

.page-title {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.product-count {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.5);
    margin: 0 8px;
}

.breadcrumb-current {
    color: var(--color-white);
    font-weight: 600;
}

/* Breadcrumbs on light backgrounds (FAQ, legal pages) */
.page-content .breadcrumbs {
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.page-content .breadcrumbs a {
    color: var(--color-link);
}

.page-content .breadcrumbs a:hover {
    color: var(--color-link-hover);
}

/* =============================================================================
   SHOP LAYOUT (sidebar + main grid)
   ============================================================================= */

.shop-content {
    padding-bottom: var(--spacing-3xl);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-section {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(102,126,234,0.08);
}

.sidebar-title {
    font-size: 1.05rem;
    color: var(--secondary-purple);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(102,126,234,0.1);
    font-weight: 700;
}

.shop-search-form {
    display: flex;
    gap: 8px;
}

.shop-search-form .search-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.search-button {
    padding: 10px 18px;
    background: var(--gradient-button);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.search-button:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-1px);
}

.sort-select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0d6f2;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.sort-select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.93rem;
}

.category-link:hover {
    background: rgba(102,126,234,0.08);
    color: var(--secondary-purple);
    transform: translateX(3px);
}

.category-link.active {
    background: var(--gradient-button);
    color: var(--color-white);
    font-weight: 600;
}

.category-link.active .category-count {
    background: rgba(255,255,255,0.25);
    color: var(--color-white);
}

.shop-main {
    min-height: 400px;
}

/* =============================================================================
   EMPTY STATE (no search results, empty categories)
   ============================================================================= */

.empty-state {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
    animation: float 3s ease infinite;
}

.empty-state-title {
    font-size: 1.6rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-md);
}

.empty-state-text {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

/* =============================================================================
   PAGINATION (list/link variants)
   ============================================================================= */

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 2px solid rgba(102,126,234,0.2);
    border-radius: var(--radius-md);
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 40px;
    text-align: center;
}

.pagination-link:hover {
    background: rgba(102,126,234,0.1);
    border-color: var(--secondary-blue);
    color: var(--secondary-purple);
}

.pagination-link.active {
    background: var(--gradient-button);
    color: var(--color-white);
    border-color: transparent;
}

.pagination-prev,
.pagination-next {
    font-size: 0.85rem;
    padding: 8px 18px;
}

.pagination-ellipsis {
    color: var(--color-text-light);
    padding: 8px 4px;
}

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */

.about-section {
    padding: var(--spacing-3xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.about-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102,126,234,0.08);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about-card h2 {
    font-size: 1.4rem;
    color: var(--secondary-purple);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.about-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 4s ease infinite;
    border-radius: 2px;
}

.about-card p {
    color: var(--color-text);
    line-height: 1.8;
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--color-text);
    line-height: 1.6;
}

.about-card ul li::before {
    content: '\2728';
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

/* CTA Section (about page) */
.cta-section {
    text-align: center;
    padding: var(--spacing-4xl) 0;
    background: var(--gradient-section-alt);
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-form {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102,126,234,0.08);
}

.contact-form h2 {
    font-size: 1.5rem;
    color: var(--secondary-purple);
    margin-bottom: var(--spacing-xl);
}

.contact-info {
    /* right column */
}

.contact-info-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102,126,234,0.08);
}

.contact-info-card h2 {
    font-size: 1.5rem;
    color: var(--secondary-purple);
    margin-bottom: var(--spacing-xl);
}

.contact-info-item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(102,126,234,0.08);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item h3 {
    font-size: 1rem;
    color: var(--secondary-blue);
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-info-item p {
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--color-link);
}

.required {
    color: var(--secondary-red);
}

/* Alerts */
.alert {
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
}

.alert-success {
    background: rgba(72,187,120,0.1);
    color: #276749;
    border: 1px solid rgba(72,187,120,0.3);
}

.alert-error {
    background: rgba(231,76,60,0.1);
    color: #9b2c2c;
    border: 1px solid rgba(231,76,60,0.3);
}

/* =============================================================================
   FAQ / LEGAL PAGES
   ============================================================================= */

.page-content {
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.page-content h1 {
    font-size: 2.2rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-xl);
    position: relative;
    display: inline-block;
}

.page-content h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbow-border-pulse 4s ease infinite;
    border-radius: 2px;
    margin-top: var(--spacing-sm);
}

.faq-section {
    margin-bottom: var(--spacing-2xl);
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
    color: var(--secondary-purple);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.contact-box {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102,126,234,0.08);
}

.contact-box h2 {
    color: var(--secondary-purple);
    margin-bottom: var(--spacing-md);
}

.contact-box a {
    color: var(--color-link);
    font-weight: 600;
}

.legal-content {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl) var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102,126,234,0.08);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--secondary-purple);
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(102,126,234,0.08);
}

.legal-content h2:first-of-type {
    border-top: none;
    margin-top: var(--spacing-lg);
    padding-top: 0;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: var(--spacing-lg);
}

.legal-content ul li {
    margin-bottom: 6px;
    line-height: 1.7;
}

/* Main content wrapper */
.main-content {
    min-height: 60vh;
}

/* =============================================================================
   COOKIE CONSENT (additional styles)
   ============================================================================= */

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.cookie-consent-content p {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-content a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.cookie-consent-btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.5);
}

.cookie-consent-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* =============================================================================
   PRODUCT GRID
   ============================================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

/* =============================================================================
   PRODUCT CARDS
   ============================================================================= */

.product-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(102,126,234,0.06);
}

/* Card stays clean white on hover/tap (no rainbow color shift) so the attunement name + price
   stay perfectly readable (Tony 2026-07-18). */
.product-card::before { display: none; }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(75,0,130,0.12);
    border-color: #e6ddf5;
    background: #fff;
}

/* Gold star ratings on cards + detail */
.pra-stars { color: #F5B301; font-size: 0.98rem; letter-spacing: 2px; line-height: 1; }
.pra-stars-count { color: #8a83a0; font-size: 0.78rem; margin-left: 4px; vertical-align: 1px; }
.pra-rating { margin: 4px 0 8px; display: flex; align-items: center; }

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: 1.2rem;
    color: var(--color-product-title);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    color: var(--color-product-price);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.product-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.product-card .btn-add-to-cart {
    margin-top: auto;
    width: 100%;
    /* Colorful, unmistakable, still readable Add to Cart on every card: same deep prism
       rainbow as the product-detail button, white bold text + dark shadow for legibility
       across the gold band (Tony 2026-07-18). */
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg,#e53e3e 0%,#dd6b20 16%,#d69e2e 33%,#38a169 50%,#3182ce 66%,#6b46c1 83%,#d53f8c 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.45);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(107,70,193,.24);
    transition: transform .15s ease, box-shadow .15s ease, background-position .6s ease;
}
.product-card .btn-add-to-cart:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(107,70,193,.32);
}
.product-card .btn-add-to-cart::before {
    content: "\1F6D2  ";
}

/* =============================================================================
   SINGLE PRODUCT PAGE
   ============================================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-lg);
}

.product-detail-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.product-detail-info .product-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.product-detail-info .product-price {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.product-detail-info .product-description {
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.product-meta {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
}

.product-meta-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-meta-item:last-child {
    border-bottom: none;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-blue);
    background: var(--color-white);
    color: var(--secondary-blue);
    font-size: 1.2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--secondary-blue);
    color: var(--color-white);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--secondary-blue);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
}

/* =============================================================================
   CART PAGE
   ============================================================================= */

.cart-container {
    max-width: 1200px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-lg);
}

.cart-table {
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px 50px;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-name {
    font-weight: 600;
    color: var(--color-product-title);
}

.cart-item-price {
    font-weight: 700;
    color: var(--color-product-price);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    margin-left: auto;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.cart-total-label {
    color: var(--color-heading);
}

.cart-total-amount {
    color: var(--color-product-price);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.empty-cart {
    text-align: center;
    padding: var(--spacing-3xl);
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.3;
}

/* =============================================================================
   SEARCH
   ============================================================================= */

.search-bar {
    position: relative;
    max-width: 600px;
    margin: var(--spacing-xl) auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--secondary-blue);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-purple);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-button);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background: var(--gradient-button-hover);
}

.search-results {
    margin-top: var(--spacing-xl);
}

.search-results-count {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
    font-style: italic;
}

/* =============================================================================
   CATEGORY SIDEBAR
   ============================================================================= */

.category-sidebar {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.category-sidebar h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-blue);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.category-item {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.category-item.active {
    background: var(--gradient-button);
    color: var(--color-white);
    font-weight: 600;
}

.category-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

/* =============================================================================
   PAGINATION
   ============================================================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
}

.page-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--secondary-blue);
    border-radius: var(--radius-md);
    color: var(--secondary-blue);
    font-weight: 600;
    transition: all var(--transition-fast);
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: var(--secondary-blue);
    color: var(--color-white);
}

.page-link.active {
    background: var(--gradient-button);
    color: var(--color-white);
    border-color: transparent;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================================
   NOTIFICATIONS / TOASTS
   ============================================================================= */

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    background: var(--color-white);
    z-index: var(--z-popover);
    animation: slideIn 0.3s ease;
}

.notification-success {
    border-left: 4px solid #2ecc71;
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

.notification-info {
    border-left: 4px solid #3498db;
}

.notification-warning {
    border-left: 4px solid #f39c12;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.notification-close:hover {
    color: var(--color-text);
}

/* =============================================================================
   COOKIE CONSENT
   ============================================================================= */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--color-white);
    padding: var(--spacing-lg);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: var(--z-modal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--spacing-md);
}

.cookie-consent-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cookie-consent-btn-accept {
    background: #2ecc71;
    color: var(--color-white);
}

.cookie-consent-btn-accept:hover {
    background: #27ae60;
}

.cookie-consent-btn-decline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.cookie-consent-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-button);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-5px);
}

/* =============================================================================
   FORMS
   ============================================================================= */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-heading);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #e74c3c;
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* =============================================================================
   FAQ / ACCORDION
   ============================================================================= */

.faq-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
}

.faq-item {
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-blue);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 var(--spacing-lg);
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: var(--spacing-sm);
    color: var(--color-text-light);
}

.breadcrumb-item a {
    color: var(--secondary-blue);
}

.breadcrumb-item.active {
    color: var(--color-text);
    font-weight: 600;
}

/* =============================================================================
   BADGES
   ============================================================================= */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-free {
    background: #2ecc71;
    color: var(--color-white);
}

.badge-sale {
    background: #e74c3c;
    color: var(--color-white);
}

.badge-new {
    background: #3498db;
    color: var(--color-white);
}

.badge-popular {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--color-white);
}

/* =============================================================================
   404 PAGE
   ============================================================================= */

.error-404 {
    text-align: center;
    padding: var(--spacing-3xl);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-404-title {
    font-size: 8rem;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
}

.error-404-message {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
}

/* =============================================================================
   ADMIN PAGES
   ============================================================================= */

.admin-container {
    max-width: 1400px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-lg);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.admin-stat {
    background: var(--gradient-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.admin-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: var(--spacing-sm);
}

.admin-stat-label {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.admin-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
    color: var(--secondary-blue);
}

.admin-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes rainbow-border-pulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(240, 147, 251, 0.8);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes cart-count-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rainbow-text {
    0%, 100% { color: #667eea; }
    14% { color: #764ba2; }
    28% { color: #c94bb8; }
    42% { color: #f093fb; }
    56% { color: #f5a623; }
    70% { color: #48bb78; }
    84% { color: #38b2ac; }
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
    }
    33% {
        box-shadow: 0 0 15px rgba(201, 75, 184, 0.2);
    }
    66% {
        box-shadow: 0 0 15px rgba(240, 147, 251, 0.2);
    }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 90%;
    }
}

/* Tablets and Small Desktops (1024px) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-preview-grid {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-2xl);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .shop-layout {
        grid-template-columns: 240px 1fr;
        gap: var(--spacing-lg);
    }

    .stats-grid {
        gap: var(--spacing-md);
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* search lives in the mobile menu; keep the top bar clean so the Cart button stays prominent */
    .nav-search {
        display: none;
    }

    .nav-cart {
        padding: 7px 14px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .product-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .cart-item {
        grid-template-columns: 80px 1fr 80px;
        gap: var(--spacing-md);
    }

    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }

    .hero-section {
        min-height: 420px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .hero-cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--spacing-md);
    }

    .sidebar-section {
        margin-bottom: 0;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .about-preview-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-preview-image::after {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    main > .hero-section h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .daily-card {
        padding: var(--spacing-xl);
    }

    .card-message-title {
        font-size: 1.3rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .product-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-summary {
        max-width: 100%;
    }

    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }

    .hero-section {
        min-height: 380px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-box {
        padding: var(--spacing-md);
    }

    .btn {
        width: 100%;
    }

    .btn-view-all,
    .btn-learn-more {
        width: 100%;
        text-align: center;
    }

    .notification {
        left: 10px;
        right: 10px;
        min-width: auto;
    }

    .shop-sidebar {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: var(--spacing-xl);
    }

    .contact-form,
    .contact-info-card {
        padding: var(--spacing-xl);
    }

    .legal-content {
        padding: var(--spacing-xl);
    }

    .daily-card {
        padding: var(--spacing-lg);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-content h1 {
        font-size: 1.7rem;
    }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

@media print {
    .site-header,
    .site-footer,
    .nav-container,
    .back-to-top,
    .cookie-consent,
    .notification {
        display: none !important;
    }

    body {
        background: white;
    }

    .product-card,
    .admin-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Remove the empty pastel gap between the last content section and the footer, site-wide (Tony 2026-07-20).
   Was: last .featured-products-section padding-bottom 80px + .site-footer margin-top 80px = ~160px of
   body-gradient (pastel) showing as a "big box" under the content before the footer, worst on mobile. */
.site-footer { margin-top: 0 !important; }
main > section:last-child { padding-bottom: var(--spacing-lg, 24px) !important; }

/* === Prismatic Reiki Academy custom scrollbar — brand-cohesive, cross-browser (2026-07-23 Tony) === */
html{scrollbar-width:thin;scrollbar-color:#764ba2 rgba(118,75,162,.10);}
::-webkit-scrollbar{width:12px;height:12px;}
::-webkit-scrollbar-track{background:rgba(118,75,162,.08);border-radius:10px;}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#667eea 0%,#764ba2 55%,#5a3a86 100%);border-radius:10px;border:2px solid transparent;background-clip:padding-box;}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f093fb 0%,#764ba2 60%,#667eea 100%);background-clip:padding-box;}
::-webkit-scrollbar-corner{background:transparent;}

/* =============================================================================
   ETHEREAL DECORATIVE BAND (about, what-is-reiki, receiving-attunement, faq,
   service-area pages) — Opie 2026-07-23. Soft violet/gold sacred accent.
   ============================================================================= */
.pfe-ethereal-band{position:relative;width:100%;max-width:100%;overflow:hidden;margin:0 auto 2.5rem;border-radius:16px;box-shadow:0 10px 30px rgba(118,75,162,.15);}
.pfe-ethereal-band img{width:100%;height:260px;object-fit:cover;display:block;}
.pfe-ethereal-band-cap{position:absolute;left:0;right:0;bottom:0;padding:1.75rem 1.25rem .95rem;color:#fff;font-style:italic;font-size:1.15rem;line-height:1.5;text-align:center;background:linear-gradient(to top,rgba(45,20,70,.68),rgba(45,20,70,0));text-shadow:0 2px 8px rgba(0,0,0,.45);}
@media (max-width:600px){.pfe-ethereal-band img{height:180px;}.pfe-ethereal-band-cap{font-size:.98rem;padding:1.1rem .9rem .7rem;}}
