/* ═══════════════════════════════════════════════════════════════
   PLUSH RUSH — Design System & Stylesheet
   A world-class, editorial-grade design system.
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Design Tokens ───────────────────────────────────────── */

:root {
    /* Brand Palette */
    --color-navy:        #1A1A2E;
    --color-navy-light:  #2D2D44;
    --color-navy-dark:   #12121F;
    --color-crimson:     #E94560;
    --color-crimson-hover: #C13050;
    --color-crimson-light: rgba(233, 69, 96, 0.08);
    --color-warm-white:  #F5F5F5;
    --color-white:       #FFFFFF;
    --color-charcoal:    #333333;
    --color-grey-600:    #666666;
    --color-grey-400:    #999999;
    --color-grey-300:    #CCCCCC;
    --color-grey-200:    #E8E8E8;
    --color-grey-100:    #F0F0F0;

    /* Semantic */
    --color-success:     #27AE60;
    --color-warning:     #F39C12;
    --color-danger:      #E74C3C;
    --color-info:        #3498DB;

    /* Typography */
    --font-family:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs:      0.75rem;
    --font-size-sm:      0.875rem;
    --font-size-base:    1rem;
    --font-size-lg:      1.125rem;
    --font-size-xl:      1.25rem;
    --font-size-2xl:     1.5rem;
    --font-size-3xl:     1.875rem;
    --font-size-4xl:     2.25rem;
    --font-size-5xl:     3rem;
    --font-size-hero:    3.5rem;

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max:     1280px;
    --container-narrow:  800px;
    --container-padding: var(--space-6);
    --header-height:     72px;

    /* Borders */
    --radius-sm:   6px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg:   0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl:   0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── 2. Reset & Base ────────────────────────────────────────── */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: inherit;
}

.prose a,
main p a,
main .text-muted a,
.card a:not(.btn),
.alert a {
    color: var(--color-crimson);
}

.prose a:hover,
main p a:hover,
main .text-muted a:hover,
.card a:not(.btn):hover,
.alert a:hover {
    color: var(--color-crimson-hover);
}

/* ─── 3. Layout ──────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--space-16);
}

.section--lg {
    padding-block: var(--space-24);
}

.section--navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section--white {
    background-color: var(--color-white);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

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

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid--4, .grid--3, .grid--2 {
        grid-template-columns: 1fr;
    }
    :root {
        --container-padding: var(--space-4);
        --font-size-hero: 2.25rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
    }
}

/* ─── 4. Typography ──────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-4xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--font-size-3xl); margin-bottom: var(--space-4); }
h3 { font-size: var(--font-size-2xl); margin-bottom: var(--space-3); }
h4 { font-size: var(--font-size-xl);  margin-bottom: var(--space-2); }

.text-hero {
    font-size: var(--font-size-hero);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-grey-600);
    line-height: 1.5;
}

.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-center { text-align: center; }
.text-muted { color: var(--color-grey-400); }
.text-crimson { color: var(--color-crimson); }
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ─── 5. Buttons ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled, .btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn--primary {
    background-color: var(--color-crimson);
    color: var(--color-white);
    border-color: var(--color-crimson);
}

.btn--primary:hover:not(:disabled) {
    background-color: var(--color-crimson-hover);
    border-color: var(--color-crimson-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.35);
}

.btn--secondary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn--secondary:hover:not(:disabled) {
    background-color: var(--color-navy-light);
    transform: translateY(-1px);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-grey-200);
}

.btn--outline:hover:not(:disabled) {
    border-color: var(--color-navy);
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-crimson);
    border-color: transparent;
    padding-inline: var(--space-4);
}

.btn--ghost:hover:not(:disabled) {
    background-color: var(--color-crimson-light);
}

.btn--lg {
    padding: 16px 36px;
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

.btn--full {
    width: 100%;
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn--white:hover:not(:disabled) {
    background-color: var(--color-warm-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* ─── 6. Header ──────────────────────────────────────────────── */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-navy);
    height: var(--header-height);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-white);
    font-size: var(--font-size-xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

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

.header__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-crimson);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--color-white);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.header__nav a {
    display: flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: var(--space-2);
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-navy);
        flex-direction: column;
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
    }

    .header__nav.is-open {
        display: flex;
    }

    .header__nav a {
        padding: var(--space-3) var(--space-4);
        width: 100%;
    }

    .header__menu-toggle {
        display: block;
    }

    .header__actions .btn {
        display: none;
    }
}

/* ─── 7. Hero Section ────────────────────────────────────────── */

.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: var(--space-20) 0 var(--space-24);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__title {
    color: var(--color-white);
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: var(--space-6);
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-8);
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.hero__trust-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-crimson);
}

.hero__trust-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .hero {
        padding: var(--space-12) 0 var(--space-16);
    }
    .hero__trust {
        flex-wrap: wrap;
        gap: var(--space-6);
    }
}

/* ─── 8. Competition Cards ───────────────────────────────────── */

.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

.comp-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.comp-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-grey-100);
}

.comp-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.comp-card:hover .comp-card__image img {
    transform: scale(1.05);
}

.comp-card__badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: var(--color-crimson);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.comp-card__badge--instant {
    background: var(--color-warning);
    color: var(--color-navy);
}

.comp-card__body {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comp-card__category {
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-crimson);
    margin-bottom: var(--space-2);
}

.comp-card__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.comp-card__title a {
    color: inherit;
    text-decoration: none;
}

.comp-card__title a:hover {
    color: var(--color-crimson);
}

.comp-card__description {
    font-size: var(--font-size-sm);
    color: var(--color-grey-600);
    margin-bottom: var(--space-4);
    flex: 1;
}

.comp-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-grey-200);
}

.comp-card__price {
    font-size: var(--font-size-sm);
    color: var(--color-grey-600);
}

.comp-card__price strong {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
}

.comp-card__draw-date {
    font-size: var(--font-size-xs);
    color: var(--color-grey-400);
    text-align: right;
}

.comp-card__progress {
    margin-top: var(--space-3);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-grey-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-crimson), #FF6B81);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.progress-bar__text {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-1);
    font-size: var(--font-size-xs);
    color: var(--color-grey-400);
}

/* ─── 9. Forms ───────────────────────────────────────────────── */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 2px solid var(--color-grey-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.form-input::placeholder {
    color: var(--color-grey-300);
}

.form-input--error {
    border-color: var(--color-danger);
}

.form-input--error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-grey-400);
    margin-top: var(--space-1);
}

.form-error {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-danger);
    margin-top: var(--space-1);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* ─── 10. Cards & Surfaces ───────────────────────────────────── */

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.card--bordered {
    box-shadow: none;
    border: 1px solid var(--color-grey-200);
}

.card--highlight {
    border-left: 4px solid var(--color-crimson);
}

/* ─── 11. Badges & Tags ─────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--live     { background: #E8F5E9; color: #2E7D32; }
.badge--draft    { background: var(--color-grey-100); color: var(--color-grey-600); }
.badge--drawn    { background: #E3F2FD; color: #1565C0; }
.badge--cancelled { background: #FFEBEE; color: #C62828; }
.badge--archived { background: var(--color-grey-100); color: var(--color-grey-400); }
.badge--member   { background: linear-gradient(135deg, #1A1A2E, #2D2D44); color: #FFD700; }

/* ─── 12. Footer ─────────────────────────────────────────────── */

.footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer__brand {
    max-width: 300px;
}

.footer__brand-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.footer__brand-text {
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.footer__heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer__links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
}

.footer__legal {
    display: flex;
    gap: var(--space-4);
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}

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

/* ─── 13. How It Works ───────────────────────────────────────── */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-8);
    counter-reset: step;
}

.step {
    text-align: center;
    counter-increment: step;
    position: relative;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-crimson);
    color: var(--color-white);
    font-size: var(--font-size-xl);
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.step__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-2);
}

.step__text {
    font-size: var(--font-size-sm);
    color: var(--color-grey-600);
}

/* ─── 13b. Prose Content (Rich HTML Descriptions) ───────────── */

.prose h2 { font-size: var(--font-size-2xl); font-weight: 700; color: var(--color-navy); margin: var(--space-8) 0 var(--space-3); }
.prose h3 { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-navy); margin: var(--space-6) 0 var(--space-3); }
.prose h4 { font-size: var(--font-size-lg); font-weight: 600; color: var(--color-navy); margin: var(--space-5) 0 var(--space-2); }
.prose p  { margin: 0 0 var(--space-4); }
.prose ul,
.prose ol { margin: var(--space-4) 0 var(--space-6); padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-3); padding-left: var(--space-2); }
.prose li::marker { color: var(--color-crimson); }
.prose strong { color: var(--color-navy); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

/* ─── 14. Competition Detail ─────────────────────────────────── */

.comp-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

.comp-detail__gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comp-detail__gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.comp-detail__sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
}

.comp-detail__prize-value {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: var(--space-1);
}

.comp-detail__prize-label {
    font-size: var(--font-size-sm);
    color: var(--color-grey-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
    .comp-detail {
        grid-template-columns: 1fr;
    }
    .comp-detail__sidebar {
        position: static;
    }
}

/* ─── 15. Entry Selector ─────────────────────────────────────── */

.entry-selector {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.entry-selector__price {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.entry-selector__price-amount {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-navy);
}

.entry-selector__price-label {
    font-size: var(--font-size-sm);
    color: var(--color-grey-400);
}

.entry-selector__qty {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.entry-selector__qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-grey-200);
    background: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.entry-selector__qty-btn:hover {
    border-color: var(--color-navy);
    background: var(--color-navy);
    color: var(--color-white);
}

.entry-selector__qty-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-navy);
    min-width: 50px;
    text-align: center;
}

.entry-selector__total {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--color-grey-200);
    border-bottom: 1px solid var(--color-grey-200);
    margin-bottom: var(--space-5);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* ─── 16. Bundle Tiers ───────────────────────────────────────── */

.bundles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.bundle {
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--color-grey-200);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.bundle:hover {
    border-color: var(--color-crimson);
}

.bundle.is-selected {
    border-color: var(--color-crimson);
    background: var(--color-crimson-light);
}

.bundle__qty {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
}

.bundle__price {
    font-size: var(--font-size-sm);
    color: var(--color-grey-600);
}

.bundle__save {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-crimson);
}

/* ─── 17. Auth Pages ─────────────────────────────────────────── */

.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-10) var(--space-4);
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
}

.auth-card__title {
    text-align: center;
    margin-bottom: var(--space-2);
}

.auth-card__subtitle {
    text-align: center;
    color: var(--color-grey-600);
    margin-bottom: var(--space-8);
}

.auth-card__footer {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--font-size-sm);
    color: var(--color-grey-600);
}

/* ─── 18. Account Pages ──────────────────────────────────────── */

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-8);
    padding-block: var(--space-10);
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.account-sidebar__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-charcoal);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.account-sidebar__link:hover,
.account-sidebar__link.active {
    background: var(--color-navy);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        flex-direction: row;
        overflow-x: auto;
        gap: var(--space-2);
    }
    .account-sidebar__link {
        white-space: nowrap;
    }
}

/* ─── 19. Alerts & Notifications ─────────────────────────────── */

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.alert--success { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.alert--error   { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.alert--warning { background: #FFF8E1; color: #F57F17; border: 1px solid #FFECB3; }
.alert--info    { background: #E3F2FD; color: #1565C0; border: 1px solid #BBDEFB; }

/* ─── 20. Utility Classes ────────────────────────────────────── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.w-full { width: 100%; }

/* ─── 21. Animations ─────────────────────────────────────────── */

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in {
    animation: fadeIn var(--transition-base) forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─── 22. Skeleton Loading ───────────────────────────────────── */

.skeleton {
    background: linear-gradient(90deg, var(--color-grey-100) 25%, var(--color-grey-200) 50%, var(--color-grey-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton--text {
    height: 1em;
    width: 80%;
    margin-bottom: var(--space-2);
}

.skeleton--text-short {
    height: 1em;
    width: 40%;
    margin-bottom: var(--space-2);
}

.skeleton--heading {
    height: 1.5em;
    width: 60%;
    margin-bottom: var(--space-4);
}

.skeleton--card {
    height: 320px;
    border-radius: var(--radius-lg);
}

.skeleton--image {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--radius-lg);
}

.skeleton--avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}

.skeleton--btn {
    height: 48px;
    width: 160px;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── 23. Breadcrumbs ───────────────────────────────────────── */

.breadcrumbs {
    margin-bottom: var(--space-4);
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--color-grey-400);
    flex-wrap: wrap;
}

.breadcrumbs__item a {
    color: var(--color-grey-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__item a:hover {
    color: var(--color-crimson);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '\203A';
    margin-left: var(--space-2);
    color: var(--color-grey-300);
}

.breadcrumbs__item--active {
    color: var(--color-charcoal);
    font-weight: 500;
}

/* ─── 24. Social Share ──────────────────────────────────────── */

.social-share {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.social-share__label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-grey-600);
}

.social-share__buttons {
    display: flex;
    gap: var(--space-2);
}

.social-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-grey-200);
    border-radius: var(--radius-full);
    background: var(--color-white);
    color: var(--color-grey-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
}

.social-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-share__btn--whatsapp:hover {
    background: #25D366;
    color: var(--color-white);
    border-color: #25D366;
}

.social-share__btn--facebook:hover {
    background: #1877F2;
    color: var(--color-white);
    border-color: #1877F2;
}

.social-share__btn--twitter:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

.social-share__btn--copy {
    width: auto;
    padding: 0 var(--space-4);
    gap: var(--space-1);
}

.social-share__btn--copy:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* ─── 25. Print Styles ───────────────────────────────────────── */

@media print {
    .header, .footer, .btn, nav { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    a { color: black; text-decoration: underline; }
}
