/*
Theme Name: Meredith Taylor Strout
Theme URI: https://meredithtaylorstrout.com
Author: Faizan Media
Author URI: https://faizanmedia.com
Description: A warm, playful children's book author theme for Meredith Taylor Strout. Features a cream, purple, and orange palette with Playfair Display and Nunito typography. Built modular for easy page expansion.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meredith-taylor-strout
Tags: children, author, book, one-column, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS VARIABLES — First Version Palette
============================================ */
:root {
    /* Primary palette from first delivery */
    --color-cream: #FDF8F0;
    --color-cream-light: #FFF9F0;
    --color-cream-warm: #FBF3E8;
    --color-cream-page: #FDF8F0;
    --color-lavender-bg: #F3EFF8;
    --color-lavender-light: #E8E0F3;
    --color-lavender: #C9B8E8;
    --color-purple: #8B6AAE;
    --color-purple-dark: #6B4D8A;
    --color-purple-light: #C9B8E8;
    --color-purple-lighter: #E8E0F3;

    /* Accent */
    --color-orange: #E8734A;
    --color-orange-dark: #D4623B;
    --color-orange-light: #F0896A;
    --color-coral: #E8734A;
    --color-peach: #F9D4C2;
    --color-pink-light: #FDEEF0;

    /* Text & neutrals */
    --color-text: #3A2D4A;
    --color-text-body: #5C4A6E;
    --color-text-muted: #8B7A9E;
    --color-white: #FFFFFF;
    --color-border: #E8DFF0;

    /* Backgrounds for sections */
    --color-about-bg: #F3EFF8;
    --color-school-bg: #FBF3E8;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Caveat', cursive;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 4px 20px rgba(139, 106, 174, 0.1);
    --shadow-md: 0 6px 30px rgba(139, 106, 174, 0.12);
    --shadow-lg: 0 8px 40px rgba(139, 106, 174, 0.18);

    --container: 1200px;
    --container-narrow: 960px;

    --transition: 0.3s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-purple);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
}

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

/* ============================================
   LAYOUT
============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

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

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(221, 124, 107, 0.28);
}

.btn-primary:hover {
    background-color: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(221, 124, 107, 0.4);
}

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.78rem;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    background-color: var(--color-cream);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-branding .site-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.site-branding a {
    color: var(--color-text);
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 26px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation a {
    color: var(--color-text-body);
    font-weight: 600;
    font-size: 0.82rem;
    transition: color var(--transition);
}

.main-navigation a:hover {
    color: var(--color-orange);
}

.header-cta {
    background-color: var(--color-orange);
    color: var(--color-white) !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-cta:hover {
    background-color: var(--color-orange-dark);
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 124, 107, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-purple);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    background: linear-gradient(135deg, #F3EFF8 0%, #E8E0F3 50%, #FBF3E8 100%);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 184, 232, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(249, 212, 194, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    padding: 0;
    max-width: 1200px;
}

.hero-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    min-height: 460px;
}

.hero-image-wrap {
    flex: 0 0 53%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.hero-image-wrap img.hero-book {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 30px rgba(74, 43, 92, 0.18));
}

/* Hide legacy elements */
.hero-blob,
.hero-badge {
    display: none;
}

.hero-deco {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    overflow: hidden;
}

.hero-deco img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 30px 50px 30px;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 26px;
    font-weight: 400;
    max-width: 360px;
}

.hero-content .btn {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 30px 24px;
    }

    .hero-image-wrap {
        flex: auto;
        max-width: 360px;
        margin: 0 auto;
        padding: 0;
    }

    .hero-content {
        padding: 24px 0 30px;
        align-items: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .btn {
        align-self: center;
    }

    .hero-deco {
        display: none;
    }
}

/* ============================================
   SHOP COLLECTION
============================================ */
.shop-collection {
    padding: 70px 0;
    background: var(--color-cream);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    font-style: italic;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(74, 43, 92, 0.08);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(74, 43, 92, 0.16);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FBF8E7 0%, #F5EFE0 100%);
    padding: 10px;
}

.product-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 12px;
    min-height: 1.2em;
}

.product-card .btn {
    padding: 8px 22px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(221, 124, 107, 0.25);
}

/* ============================================
   CHARACTERS
============================================ */
.characters {
    padding: 60px 0;
    position: relative;
}

.characters-carousel {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.characters-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 16px 0;
    flex: 1;
}

.characters-track::-webkit-scrollbar {
    display: none;
}

.character-card {
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: start;
    min-width: 110px;
}

.character-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--color-purple-lighter);
    margin: 0 auto 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-name {
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 4px;
}

.character-link {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-purple-lighter);
    color: var(--color-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--color-purple);
    color: var(--color-white);
}

/* ============================================
   ABOUT MEREDITH
============================================ */
.about-meredith {
    padding: 70px 0;
    background: var(--color-about-bg);
}

.about-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 44px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    width: 240px;
    height: 240px;
}

.about-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-white);
    box-shadow: 0 8px 28px rgba(74, 43, 92, 0.15);
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9D4C2 0%, #F5A67F 100%);
    top: 8px;
    left: 12px;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.about-greeting {
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.about-signature a {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.9rem;
}

.about-signature a:hover {
    color: var(--color-orange-dark);
}

.signature-name {
    font-family: var(--font-script);
    font-style: normal;
    color: var(--color-text);
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    .about-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .about-signature {
        justify-content: center;
    }
}

/* ============================================
   THREE STEPS
============================================ */
.three-steps {
    padding: 60px 0;
}

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

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

/* ============================================
   THREE STEPS
============================================ */
.three-steps {
    padding: 70px 0;
    background: var(--color-cream);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 820px;
    margin: 40px auto 0;
}

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

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img,
.step-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: var(--color-purple);
}

.step-item h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--color-text-body);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================
   SCHOOL VISITS
============================================ */
.school-visits {
    padding: 70px 0 80px;
    background: var(--color-school-bg);
}

.school-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 44px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
}

.school-image {
    position: relative;
    width: 280px;
    height: 220px;
}

.school-image img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 28px rgba(74, 43, 92, 0.12);
    border: none;
    aspect-ratio: auto;
}

.school-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.school-subtitle {
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.school-content p {
    margin-bottom: 22px;
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .school-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    .school-image {
        margin: 0 auto;
        max-width: 260px;
    }
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background-color: var(--color-cream-page);
    padding: 50px 0 0;
    color: var(--color-text-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 700;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 360px;
    background: transparent;
    padding: 0;
    margin-bottom: 18px;
}

.newsletter-form input {
    flex: 1;
    border: 1.5px solid #E0D8E8;
    background: var(--color-white);
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--color-text);
    outline: none;
    border-radius: var(--radius-pill);
    transition: border-color var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--color-purple);
}

.newsletter-form button {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--color-orange-dark);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-text);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-links a:hover {
    background-color: var(--color-purple);
    transform: translateY(-2px);
    color: var(--color-white);
}

.social-links svg {
    width: 14px;
    height: 14px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 6px;
}

.footer-column a {
    color: var(--color-text-body);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--color-purple);
}

.footer-bottom {
    background: #BFAFDE;
    padding: 14px;
    text-align: center;
    margin: 0;
}

.footer-bottom p {
    font-family: var(--font-script);
    font-size: 1rem;
    color: #5C4A6E;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .newsletter-form {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 960px) {
    .about-inner,
    .school-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image,
    .school-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 440px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .main-navigation ul {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation.is-active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-cream);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 600px) {
    .section,
    .hero {
        padding: 48px 0;
    }

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

    .header-cta {
        display: none;
    }
}

/* ============================================
   MEET THE CHARACTERS — NEW DESIGN
============================================ */
.mts-characters {
    padding: 60px 0 70px;
    background-color: var(--color-cream);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.mts-characters.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mts-characters .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    font-style: italic;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 18px;
}

.mts-music-divider {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    opacity: 0.45;
}

.mts-music-divider span {
    font-size: 18px;
    color: #E8A444;
    display: inline-block;
}

.mts-music-divider span:nth-child(odd) {
    transform: translateY(-3px);
    color: #DD7C6B;
}

.mts-chars-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 12px;
}

.mts-chars-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 8px 24px;
    flex: 1;
    cursor: grab;
}

.mts-chars-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.mts-chars-track::-webkit-scrollbar {
    display: none;
}

.mts-char-item {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    scroll-snap-align: center;
    padding: 4px 6px;
    user-select: none;
    -webkit-user-drag: none;
}

.mts-char-item:hover,
.mts-char-item:focus-visible {
    transform: translateY(-6px);
    outline: none;
}

.mts-char-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--color-cream), var(--color-cream)) padding-box,
        linear-gradient(135deg, #D4C4E8 0%, #F5D0BE 100%) border-box;
    box-shadow: 0 4px 14px rgba(74, 43, 92, 0.12);
    transition: all 0.35s ease;
}

.mts-char-item:hover .mts-char-avatar,
.mts-char-item:focus-visible .mts-char-avatar {
    box-shadow: 0 8px 24px rgba(74, 43, 92, 0.2);
    transform: scale(1.04);
}

.mts-char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

.mts-char-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 6px;
}

.mts-char-link {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.mts-carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid #E8DCF0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 43, 92, 0.06);
}

.mts-carousel-btn:hover {
    background: var(--color-purple-lighter);
    color: var(--color-purple);
    border-color: var(--color-purple-light);
    transform: scale(1.08);
}

/* ============================================
   CHARACTER POPUP MODAL
============================================ */
.mts-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 40, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mts-popup-overlay.is-active {
    display: flex;
    opacity: 1;
    animation: mts-overlay-in 0.35s ease;
}

@keyframes mts-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.mts-popup {
    background: var(--color-cream);
    border-radius: 28px;
    width: 100%;
    max-width: 640px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(30, 18, 40, 0.35);
    transform: scale(0.85) translateY(40px);
    transition: transform 0.45s cubic-bezier(0.17, 0.84, 0.44, 1);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
}

.mts-popup-overlay.is-active .mts-popup {
    transform: scale(1) translateY(0);
}

.mts-popup-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.mts-popup-close:hover {
    background: var(--color-orange);
    color: var(--color-white);
    transform: rotate(90deg);
}

.mts-popup-illustration {
    background: linear-gradient(135deg, #FBF8E7 0%, #F5EFE0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.mts-popup-illustration img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(74, 43, 92, 0.15));
    border-radius: 50%;
}

.mts-popup-body {
    padding: 38px 36px 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mts-popup-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-purple);
    margin: 0 0 14px;
    line-height: 1;
}

.mts-popup-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0 0 22px;
}

.mts-popup-traits {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.mts-popup-trait {
    text-align: center;
    flex: 0 0 auto;
}

.mts-popup-trait-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    box-shadow: 0 4px 12px rgba(74, 43, 92, 0.1);
    transition: transform 0.25s ease;
}

.mts-popup-trait:hover .mts-popup-trait-circle {
    transform: scale(1.08) rotate(-4deg);
}

.mts-popup-trait-circle svg {
    width: 28px;
    height: 28px;
}

.mts-popup-trait-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-body);
}

.mts-popup-cta {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(221, 124, 107, 0.35);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.mts-popup-cta:hover {
    background: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(221, 124, 107, 0.45);
}

.mts-popup-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-purple);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    flex-shrink: 0;
    margin: 0 14px;
}

.mts-popup-nav:hover {
    background: var(--color-purple);
    color: var(--color-white);
    transform: scale(1.1);
}

/* ============================================
   POPUP RESPONSIVE
============================================ */
@media (max-width: 720px) {
    .mts-popup {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .mts-popup-illustration {
        padding: 28px 20px 16px;
    }

    .mts-popup-illustration img {
        max-width: 180px;
    }

    .mts-popup-body {
        padding: 8px 26px 30px;
        text-align: center;
    }

    .mts-popup-title {
        font-size: 1.8rem;
    }

    .mts-popup-traits {
        justify-content: center;
        gap: 16px;
    }

    .mts-popup-cta {
        align-self: center;
    }

    .mts-popup-nav {
        width: 38px;
        height: 38px;
        margin: 0 6px;
    }

    .mts-popup-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .mts-popup-overlay {
        padding: 12px;
    }

    .mts-popup-traits {
        gap: 12px;
    }

    .mts-popup-trait-circle {
        width: 48px;
        height: 48px;
    }

    .mts-popup-trait-circle svg {
        width: 24px;
        height: 24px;
    }

    .mts-popup-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .mts-popup-nav-prev { left: 4px; }
    .mts-popup-nav-next { right: 4px; }

    .mts-popup-nav:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

/* ============================================
   CHARACTER CPT META FIELDS HELPER
============================================ */
.mts-character-traits-meta input,
.mts-character-traits-meta select {
    margin-right: 8px;
    margin-bottom: 6px;
}

/* ============================================
   SINGLE CHARACTER PAGE
============================================ */
.single-character {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-page) 100%);
    min-height: 70vh;
}

.back-to-characters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-purple);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.back-to-characters:hover {
    background: var(--color-purple-lighter);
    color: var(--color-purple);
    transform: translateX(-3px);
}

.character-hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(74, 43, 92, 0.12);
}

.character-hero-image {
    background: linear-gradient(135deg, #FBF8E7 0%, #F5EFE0 100%);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.character-hero-image img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(74, 43, 92, 0.18));
    border-radius: 50%;
}

.character-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--color-purple);
    margin-bottom: 18px;
    line-height: 1;
}

.character-traits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.character-trait-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(74, 43, 92, 0.08);
}

.character-bio {
    font-size: 1.05rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 28px;
}

.character-bio p {
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .character-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .character-hero-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .character-hero-content {
        text-align: center;
    }

    .character-traits-row {
        justify-content: center;
    }
}

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

/* === Section eyebrows === */
.about-section-eyebrow,
.about-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-orange);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(221, 124, 107, 0.1);
    border-radius: var(--radius-pill);
}

/* === Hero === */
.about-hero {
    position: relative;
    padding: 80px 0 90px;
    background: linear-gradient(160deg, #F3EFF8 0%, #F0EAF5 25%, #F5EFE8 60%, #FBF5E5 100%);
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.about-blob-1 {
    width: 320px;
    height: 320px;
    background: #D4C4E8;
    top: -80px;
    left: -60px;
}

.about-blob-2 {
    width: 280px;
    height: 280px;
    background: #F9D4C2;
    bottom: -60px;
    right: -40px;
}

.about-blob-3 {
    width: 220px;
    height: 220px;
    background: #FBE8C7;
    top: 40%;
    right: 28%;
    opacity: 0.35;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.about-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero-frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 50% 48% 52% 50% / 50% 50% 48% 52%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(74, 43, 92, 0.18);
    border: 8px solid var(--color-white);
    position: relative;
    z-index: 2;
    animation: about-frame-float 6s ease-in-out infinite;
}

.about-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes about-frame-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(1deg); }
}

.about-hero-deco {
    position: absolute;
    width: 56px;
    height: 56px;
    z-index: 3;
    filter: drop-shadow(0 6px 16px rgba(74, 43, 92, 0.18));
    animation: about-deco-spin 8s linear infinite;
}

.about-hero-deco svg {
    width: 100%;
    height: 100%;
}

.about-hero-deco-star {
    top: 8%;
    right: 6%;
    animation: about-deco-spin 12s linear infinite;
}

.about-hero-deco-heart {
    bottom: 12%;
    left: 4%;
    width: 48px;
    height: 48px;
    animation: about-heart-beat 2.5s ease-in-out infinite;
}

@keyframes about-deco-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes about-heart-beat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

.about-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 22px;
}

.about-hero-content h1 em {
    font-style: italic;
    color: var(--color-purple);
    display: inline-block;
    position: relative;
}

.about-hero-content h1 em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(221, 124, 107, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.about-hero-tagline {
    font-size: 1.2rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
}

.signature-script {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-purple);
    display: inline-block;
}

/* === Story Section === */
.about-story {
    padding: 90px 0;
    background: var(--color-cream);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.about-story-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-story-text p {
    font-size: 1.05rem;
    color: var(--color-text-body);
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-quote-card {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, #FBE8C7 0%, #F9D4C2 100%);
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 20px 50px rgba(74, 43, 92, 0.12);
    transform: rotate(-1.5deg);
    position: relative;
}

.about-quote-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.about-quote-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 18px;
    font-weight: 700;
}

.about-quote-author {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--color-purple);
}

/* === Journey Timeline === */
.about-journey {
    padding: 90px 0;
    background: linear-gradient(180deg, #FBF8E7 0%, #F5EFE0 100%);
    position: relative;
}

.about-journey-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-journey-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-text);
    margin-top: 8px;
}

.about-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: repeating-linear-gradient(
        to bottom,
        var(--color-purple-light) 0,
        var(--color-purple-light) 8px,
        transparent 8px,
        transparent 16px
    );
    border-radius: 2px;
}

.about-milestone {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    margin-bottom: 36px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: about-milestone-in 0.6s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes about-milestone-in {
    to { opacity: 1; transform: translateX(0); }
}

.about-milestone-marker {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.about-milestone-year {
    background: var(--color-white);
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(74, 43, 92, 0.12);
    border: 2px solid var(--color-purple-lighter);
    position: relative;
    z-index: 2;
}

.about-milestone-content {
    background: var(--color-white);
    padding: 24px 28px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(74, 43, 92, 0.08);
    position: relative;
}

.about-milestone-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 24px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--color-white);
}

.about-milestone-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-purple);
    margin-bottom: 8px;
}

.about-milestone-content p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0;
}

/* === Values === */
.about-values {
    padding: 90px 0;
    background: var(--color-cream);
}

.about-values-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-values-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-text);
    margin-top: 8px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-value-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(74, 43, 92, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(74, 43, 92, 0.15);
}

.about-value-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 6px 16px rgba(74, 43, 92, 0.1);
    transition: transform 0.3s ease;
}

.about-value-card:hover .about-value-icon {
    transform: rotate(-8deg) scale(1.08);
}

.about-value-icon svg,
.about-value-icon i {
    width: 36px;
    height: 36px;
    font-size: 32px;
}

.about-value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-purple);
    margin-bottom: 12px;
}

.about-value-card p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
}

/* === CTA Card === */
.about-cta {
    padding: 90px 0 110px;
    background: var(--color-cream);
}

.about-cta-card {
    position: relative;
    background: linear-gradient(135deg, #4A2B5C 0%, #6B4080 50%, #8B5BA0 100%);
    border-radius: 32px;
    padding: 70px 50px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(74, 43, 92, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.about-cta-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-bubble-1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -50px;
}

.cta-bubble-2 {
    width: 140px;
    height: 140px;
    bottom: -40px;
    left: 10%;
    background: rgba(251, 197, 93, 0.15);
}

.cta-bubble-3 {
    width: 90px;
    height: 90px;
    top: 30%;
    left: 8%;
    background: rgba(221, 124, 107, 0.15);
}

.about-cta-content {
    position: relative;
    z-index: 2;
}

.about-cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.about-cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 32px;
}

.about-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    backdrop-filter: blur(8px);
}

.about-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
}

/* === Characters Page Header === */
.characters-page-header {
    background: linear-gradient(180deg, #F3EFF8 0%, #FBF8E7 100%);
    padding: 70px 0 40px;
    text-align: center;
}

.characters-page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    color: var(--color-purple);
    margin-bottom: 12px;
}

.characters-page-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* === About Page Responsive === */
@media (max-width: 900px) {
    .about-hero-inner,
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-frame {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-hero-content {
        text-align: center;
    }

    .about-hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .about-quote-card {
        position: static;
        max-width: 480px;
        margin: 0 auto;
        transform: none;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .about-hero { padding: 50px 0 60px; }
    .about-story,
    .about-journey,
    .about-values,
    .about-cta { padding: 60px 0; }

    .about-timeline::before { left: 60px; }

    .about-milestone {
        grid-template-columns: 130px 1fr;
        gap: 16px;
    }

    .about-milestone-year {
        padding: 10px 16px;
        font-size: 1.1rem;
    }

    .about-cta-card {
        padding: 50px 28px;
        border-radius: 24px;
    }

    .about-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ============================================
   TEACHERS HUB PAGE
============================================ */

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Hero === */
.teachers-hero {
    position: relative;
    padding: 70px 20px 0;
    background: var(--color-cream);
    text-align: center;
    overflow: hidden;
}

.teachers-hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.teachers-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    font-weight: 700;
    color: #C9B8E8;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.teachers-hero p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.teachers-hero .btn-primary {
    font-size: 1rem;
    padding: 14px 36px;
}

.teachers-hero-wave {
    position: relative;
    width: 100%;
    height: 140px;
    line-height: 0;
    margin-top: -20px;
}

.teachers-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* === Resources === */
.teachers-resources {
    background: var(--color-cream);
    padding: 20px 20px 60px;
    position: relative;
    margin-top: -80px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.resource-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 184, 232, 0.4);
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(139, 106, 174, 0.12);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 45px rgba(139, 106, 174, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.resource-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon svg,
.resource-icon img,
.resource-icon i {
    width: 100%;
    height: 100%;
    object-fit: contain;
    font-size: 56px;
    color: var(--color-purple);
}

.resource-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 3.8em;
}

.resource-card .btn-primary {
    padding: 10px 30px;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(232, 115, 74, 0.28);
}

/* === Curriculum === */
.teachers-curriculum {
    background: var(--color-cream);
    padding: 60px 20px 60px;
    text-align: center;
}

.curriculum-inner {
    max-width: 720px;
    margin: 0 auto;
}

.teachers-curriculum h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--color-text);
    margin-bottom: 18px;
    font-weight: 700;
}

.teachers-curriculum p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.7;
}

/* === Testimonials Auto Carousel === */
.teachers-testimonials {
    background: #E8DFF0;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    --mts-scroll-speed: 40s;
}

.testimonials-track-wrap {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: mts-scroll var(--mts-scroll-speed) linear infinite;
    will-change: transform;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes mts-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-item {
    flex: 0 0 auto;
    width: 360px;
    padding: 8px 4px;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--color-text-body);
    margin-bottom: 14px;
    font-weight: 600;
}

.testimonial-school {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.testimonial-badge {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.testimonial-badge svg {
    width: 100%;
    height: 100%;
}

.testimonial-school-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Carousel arrows */
.testimonials-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 106, 174, 0.2);
    z-index: 10;
    transition: all 0.25s ease;
}

.testimonials-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.08);
    color: var(--color-purple);
}

.testimonials-arrow-prev { left: 12px; }
.testimonials-arrow-next { right: 12px; }

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.testimonials-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(58, 45, 74, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.testimonials-dot:hover {
    background: rgba(58, 45, 74, 0.5);
}

.testimonials-dot.is-active {
    background: var(--color-text);
    width: 26px;
    border-radius: 5px;
}

/* === Author Visit CTA === */
.teachers-author-visit {
    background: var(--color-cream);
    padding: 60px 20px 70px;
}

.author-visit-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
}

.author-visit-photo {
    width: 240px;
    height: 240px;
    position: relative;
}

.author-visit-photo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: #C9B8E8;
    border-radius: 50% 48% 52% 50% / 50% 50% 48% 52%;
    z-index: 1;
    transform: rotate(-3deg);
}

.author-visit-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 48% 52% 50% / 50% 50% 48% 52%;
    border: 6px solid var(--color-white);
}

.author-visit-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--color-text);
    margin-bottom: 14px;
    font-weight: 700;
}

.author-visit-content p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 480px;
}

.btn-contact {
    display: inline-block;
    background: #9FD5D5;
    color: var(--color-white);
    padding: 12px 38px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(159, 213, 213, 0.4);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #7FC5C5;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(159, 213, 213, 0.55);
}

/* === Teachers Hub Responsive === */
@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 20px;
    }

    .author-visit-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .author-visit-photo {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }

    .author-visit-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .teachers-hero { padding: 50px 20px 0; }
    .teachers-hero-content { padding-bottom: 60px; }
    .teachers-hero-wave { height: 100px; }
    .teachers-resources { margin-top: -60px; padding-bottom: 40px; }
    .testimonial-item { width: 300px; }
    .testimonials-track-wrap { padding: 0 20px; }
    .testimonials-arrow { width: 36px; height: 36px; }
    .testimonials-arrow-prev { left: 4px; }
    .testimonials-arrow-next { right: 4px; }
}

/* ============================================
   WOOCOMMERCE — SINGLE PRODUCT PAGE
============================================ */

/* === Hero Grid === */
.mts-product-hero {
    padding: 50px 0 60px;
    background: var(--color-cream);
}

.mts-product-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}

/* === Product Image === */
.mts-product-image-area {
    position: relative;
}

.mts-product-image-deco {
    position: absolute;
    inset: -30px;
    pointer-events: none;
    z-index: 1;
}

.mts-deco-note, .mts-deco-sparkle {
    position: absolute;
    opacity: 0.5;
}

.mts-deco-note-1 { top: 8%; left: 6%; animation: about-frame-float 5s ease-in-out infinite; }
.mts-deco-note-2 { top: 22%; right: 10%; animation: about-frame-float 7s ease-in-out infinite reverse; }
.mts-deco-sparkle-1 { top: 5%; right: 20%; }
.mts-deco-sparkle-2 { bottom: 25%; left: 2%; }
.mts-deco-sparkle-3 { top: 50%; right: 4%; }

.mts-product-main-image {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
}

.mts-product-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.mts-product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.mts-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(139, 106, 174, 0.08);
}

.mts-thumb.is-active,
.mts-thumb:hover {
    border-color: var(--color-purple);
    box-shadow: 0 4px 14px rgba(139, 106, 174, 0.2);
}

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

/* === Product Info === */
.mts-product-info {
    padding-top: 10px;
}

.mts-product-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 8px;
}

.mts-product-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-body);
    margin-bottom: 14px;
    font-weight: 400;
}

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

.mts-stars {
    display: inline-flex;
    gap: 2px;
}

.mts-rating-text {
    font-size: 0.9rem;
    color: var(--color-text-body);
    font-weight: 600;
}

.mts-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.mts-price-current {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-purple);
    line-height: 1;
}

.mts-price-current del {
    font-size: 0.7em;
    color: var(--color-text-muted);
    font-weight: 400;
}

.mts-price-current ins {
    text-decoration: none;
    color: var(--color-purple);
}

.mts-price-regular {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.mts-product-desc-box {
    background: var(--color-lavender-bg);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.7;
    border: 1px solid rgba(201, 184, 232, 0.3);
}

.mts-product-desc-box p:last-child {
    margin-bottom: 0;
}

/* === Variant Tabs (for variable products) === */
.mts-product-info .variations {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mts-product-info .variations td {
    display: block;
}

.mts-product-info .variations select {
    border: 2px solid var(--color-border);
    padding: 10px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: border-color 0.25s ease;
}

.mts-product-info .variations select:focus {
    border-color: var(--color-purple);
    outline: none;
}

/* === Add to Cart Button === */
.mts-add-to-cart-btn,
.mts-product-info .single_add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.mts-add-to-cart-btn:hover,
.mts-product-info .single_add_to_cart_button:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 115, 74, 0.45);
}

.mts-add-to-cart-btn svg {
    flex-shrink: 0;
}

.mts-shipping-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.mts-free-shipping-link {
    color: var(--color-purple);
    text-decoration: underline;
    font-weight: 700;
}

.mts-cart-form {
    margin-bottom: 0;
}

/* === WC quantity input styling === */
.mts-product-info .quantity {
    display: none;
}

/* === What's Inside the Box === */
.mts-inside-box {
    background: var(--color-cream);
    padding: 50px 0 60px;
}

.mts-inside-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-purple);
    text-align: center;
    margin-bottom: 40px;
}

.mts-inside-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 880px;
    margin: 0 auto;
}

.mts-inside-item {
    text-align: center;
}

.mts-inside-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mts-inside-icon svg,
.mts-inside-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mts-inside-item h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 6px;
}

.mts-inside-item p {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* === Verified Reviews === */
.mts-product-reviews {
    background: var(--color-cream);
    padding: 40px 0 80px;
}

.mts-reviews-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 36px;
}

.mts-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.mts-review-card {
    background: linear-gradient(145deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(139, 106, 174, 0.08);
    transition: all 0.3s ease;
}

.mts-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(139, 106, 174, 0.14);
}

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

.mts-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(139, 106, 174, 0.15);
}

.mts-review-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
}

.mts-review-stars {
    display: inline-flex;
    gap: 1px;
    margin-left: 4px;
}

.mts-review-text {
    font-size: 0.88rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0;
}

/* === Product Page Responsive === */
@media (max-width: 900px) {
    .mts-product-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mts-product-image-area {
        max-width: 500px;
        margin: 0 auto;
    }

    .mts-product-info {
        text-align: center;
    }

    .mts-product-rating {
        justify-content: center;
    }

    .mts-product-price-row {
        justify-content: center;
    }

    .mts-product-desc-box {
        text-align: left;
    }

    .mts-inside-grid,
    .mts-reviews-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .mts-product-hero { padding: 30px 0 40px; }
    .mts-product-hero-grid { gap: 28px; }
    .mts-product-title { font-size: 1.8rem; }
    .mts-price-current { font-size: 1.8rem; }
}

/* === WooCommerce shop / archive pages === */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 1100px;
}

.woocommerce ul.products li.product {
    background: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.woocommerce ul.products li.product .price {
    color: var(--color-purple);
    font-weight: 700;
}

.woocommerce ul.products li.product .button {
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-orange-dark);
}

@media (max-width: 900px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PRODUCT — VARIANT SELECTOR TABS
============================================ */
.mts-variant-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.mts-variant-tab {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mts-variant-tab:hover {
    border-color: var(--color-purple-light);
    background: rgba(243, 239, 248, 0.4);
}

.mts-variant-tab.is-active {
    border-color: var(--color-purple);
    background: var(--color-lavender-bg);
    box-shadow: 0 4px 16px rgba(139, 106, 174, 0.18);
}

.mts-variant-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.mts-variant-tab.is-active .mts-variant-icon {
    color: var(--color-purple);
}

.mts-variant-icon svg {
    width: 100%;
    height: 100%;
}

.mts-variant-label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.mts-variant-price {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.mts-variant-tab.is-active .mts-variant-label {
    color: var(--color-purple);
}

.mts-variant-tab.is-active .mts-variant-price {
    color: var(--color-purple);
}

/* WC variable product styled as tabs */
.mts-product-info .variations_form .variations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 4px;
}

.mts-product-info .variations_form .variations tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.mts-product-info .variations_form .variations th {
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    padding: 0;
}

.mts-product-info .variations_form .variations td {
    padding: 0;
}

.mts-product-info .variations_form .variations select {
    width: 100%;
    border: 2px solid var(--color-border);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: border-color 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C4A6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.mts-product-info .variations_form .variations select:focus {
    border-color: var(--color-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 106, 174, 0.12);
}

.mts-product-info .woocommerce-variation-add-to-cart {
    margin-top: 4px;
}

.mts-product-info .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.mts-product-info .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 115, 74, 0.45);
}

.mts-product-info .woocommerce-variation-price {
    margin-bottom: 12px;
}

.mts-product-info .woocommerce-variation-price .price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-purple);
}

.mts-product-info .reset_variations {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-decoration: underline;
}

/* Fallback avatar placeholder */
.mts-review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mts-review-avatar-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Responsive variant tabs */
@media (max-width: 600px) {
    .mts-variant-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mts-variant-tab {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .mts-variant-icon {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   WOOCOMMERCE — CART / CHECKOUT / PAYMENT
============================================ */

/* === Step Progress Bar === */
.mts-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 580px;
    margin: 40px auto 40px;
    padding: 0 20px;
}

.mts-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.mts-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E8E0F3;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.mts-step.is-active .mts-step-num {
    background: var(--color-purple);
    color: var(--color-white);
    border-color: var(--color-purple);
    box-shadow: 0 4px 16px rgba(139, 106, 174, 0.35);
}

.mts-step.is-done .mts-step-num {
    background: var(--color-purple);
    color: var(--color-white);
}

.mts-step-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.mts-step.is-active .mts-step-label {
    color: var(--color-text);
    font-weight: 800;
}

.mts-step.is-done .mts-step-label {
    color: var(--color-purple);
}

.mts-step-line {
    flex: 1;
    height: 3px;
    background: #E8E0F3;
    min-width: 60px;
    margin: 0 -4px;
    margin-top: -24px;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.mts-step-line.is-done {
    background: var(--color-purple);
}

/* === Character Decorations === */
.mts-checkout-deco {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.mts-checkout-deco-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mts-checkout-deco-right {
    right: 0;
    top: 45%;
    transform: translateY(-50%);
}

@media (max-width: 1200px) {
    .mts-checkout-deco { display: none; }
}

/* === Page Background === */
.woocommerce-cart,
.woocommerce-checkout {
    background: var(--color-cream) !important;
}

/* === CART PAGE === */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px 60px;
    position: relative;
    z-index: 2;
}

/* Make cart table full width */
.woocommerce-cart form.woocommerce-cart-form {
    width: 100%;
    margin-bottom: 36px;
}

.woocommerce table.shop_table.cart {
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(139, 106, 174, 0.08);
    margin-bottom: 0;
    table-layout: auto;
}

.woocommerce table.shop_table thead {
    background: #F3EFF8;
}

.woocommerce table.shop_table th {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 16px 24px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce table.shop_table td {
    padding: 22px 24px;
    border: none;
    border-top: 1px solid rgba(201, 184, 232, 0.15);
    vertical-align: middle;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.woocommerce table.shop_table td.product-thumbnail {
    width: 100px;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-lavender-bg);
}

.woocommerce table.shop_table td.product-name a {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--color-purple);
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 700;
    color: var(--color-purple);
    font-size: 1rem;
}

.woocommerce table.shop_table .quantity .qty {
    width: 60px;
    padding: 8px 12px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
}

.woocommerce table.shop_table .quantity .qty:focus {
    border-color: var(--color-purple);
    outline: none;
}

/* Actions row (coupon + update cart) */
.woocommerce table.shop_table td.actions {
    padding: 20px 24px;
    background: rgba(243, 239, 248, 0.2);
}

.woocommerce a.remove {
    color: var(--color-text-muted) !important;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.woocommerce a.remove:hover {
    color: #E74C3C !important;
    background: none !important;
}

/* Cart totals - two column layout */
.woocommerce-cart .cart-collaterals {
    clear: both;
    overflow: hidden;
    padding-top: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-end;
}

.woocommerce-cart .cart-collaterals::after {
    content: '';
    display: table;
    clear: both;
}

.woocommerce .cart_totals {
    width: 380px;
    flex-shrink: 0;
}

.woocommerce .cross-sells {
    flex: 1;
    margin-right: 36px;
}

.woocommerce .cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 18px;
}

.woocommerce .cart_totals table {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 106, 174, 0.08);
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 16px 24px;
}

.woocommerce .cart_totals th {
    font-weight: 700;
    color: var(--color-text-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
}

.woocommerce .cart_totals td {
    font-weight: 700;
    color: var(--color-text);
    text-align: right;
    border: none;
    border-top: 1px solid rgba(201, 184, 232, 0.15);
}

.woocommerce .cart_totals .order-total td {
    color: var(--color-orange);
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

/* Proceed to checkout button */
.woocommerce .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce .cart_totals .wc-proceed-to-checkout a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--color-orange) !important;
    color: var(--color-white) !important;
    padding: 18px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-top: 20px;
    box-sizing: border-box;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce .cart_totals .wc-proceed-to-checkout a:hover {
    background: var(--color-orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 115, 74, 0.45);
}

/* Update cart button */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
    background: var(--color-purple) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce button[name="update_cart"]:hover {
    background: var(--color-purple-dark) !important;
}

/* Coupon */
.woocommerce .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce .coupon input.input-text {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    max-width: 220px;
}

.woocommerce .coupon input.input-text:focus {
    border-color: var(--color-purple);
    outline: none;
}

.woocommerce .coupon button {
    background: var(--color-purple);
    color: var(--color-white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

/* === CHECKOUT PAGE === */
.woocommerce-checkout .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 32px 60px;
    position: relative;
    z-index: 2;
}

/* WooCommerce classic checkout uses #customer_details (left) + #order_review (right) */
.woocommerce-checkout form.checkout {
    overflow: hidden;
    margin-bottom: 40px;
}

.woocommerce-checkout form.checkout::after {
    content: '';
    display: table;
    clear: both;
}

.woocommerce-checkout .col2-set {
    width: 56%;
    float: left;
    padding-right: 30px;
    box-sizing: border-box;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(139, 106, 174, 0.08);
    margin-bottom: 24px;
    box-sizing: border-box;
}

.woocommerce-checkout #order_review_heading {
    width: 40%;
    float: right;
    clear: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 18px;
    margin-top: 0;
    padding-left: 6px;
    box-sizing: border-box;
}

.woocommerce-checkout #order_review {
    width: 40%;
    float: right;
    clear: none;
    background: var(--color-white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(139, 106, 174, 0.08);
    box-sizing: border-box;
}

/* Also handle mts wrapper if it renders */
.mts-checkout-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: start;
}

.mts-checkout-main {
    background: var(--color-white);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(139, 106, 174, 0.08);
}

.mts-checkout-sidebar {
    position: sticky;
    top: 80px;
}

/* Form headings */
.woocommerce-checkout h3,
.mts-checkout-main h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 22px;
    font-weight: 700;
}

/* Form fields */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
    padding: 0;
}

.woocommerce-checkout .form-row label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-text);
    margin-bottom: 6px;
    display: block;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout select {
    width: 100%;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout input.input-text:focus {
    border-color: var(--color-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 106, 174, 0.1);
}

/* Two-column fields — WooCommerce uses form-row-first / form-row-last */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48% !important;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-checkout .form-row-first {
    margin-right: 3% !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
}

/* Checkout headings */
.woocommerce-checkout h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 22px;
    font-weight: 700;
}

/* Order review table in checkout */
.woocommerce-checkout #order_review table.shop_table {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    padding: 14px 4px;
    border-top: 1px solid rgba(201, 184, 232, 0.15);
    font-size: 0.9rem;
}

.woocommerce-checkout #order_review table.shop_table thead {
    background: transparent;
}

.woocommerce-checkout #order_review table.shop_table thead th {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.woocommerce-checkout #order_review .order-total td {
    color: var(--color-orange);
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.woocommerce-checkout #order_review .order-total th {
    font-size: 1rem;
    font-weight: 700;
}

/* Product image in checkout review */
.woocommerce-checkout .product-thumbnail img {
    width: 100%;
    max-width: 200px;
    border-radius: 14px;
    background: var(--color-lavender-bg);
    padding: 8px;
    margin-bottom: 12px;
}

/* Place order button */
.woocommerce-checkout #place_order {
    width: 100%;
    background: var(--color-orange) !important;
    color: var(--color-white) !important;
    padding: 18px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.woocommerce-checkout #place_order:hover {
    background: var(--color-orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 115, 74, 0.45);
}

/* Secure checkout note */
.woocommerce-checkout .woocommerce-privacy-policy-text {
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 10px;
}

/* Payment methods */
.woocommerce-checkout .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.woocommerce-checkout .wc_payment_method {
    border: 2px solid var(--color-border);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color 0.25s ease;
    background: var(--color-white);
}

.woocommerce-checkout .wc_payment_method:has(input:checked),
.woocommerce-checkout .wc_payment_method.active {
    border-color: var(--color-purple);
    background: rgba(243, 239, 248, 0.3);
}

.woocommerce-checkout .wc_payment_method label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout .payment_box {
    background: var(--color-lavender-bg);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

/* WC notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    background: var(--color-lavender-bg);
    border: none;
    border-left: 4px solid var(--color-purple);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-family: var(--font-body);
    color: var(--color-text);
    margin-bottom: 20px;
}

.woocommerce .woocommerce-error {
    background: #FFF0F0;
    border: none;
    border-left: 4px solid #E74C3C;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-family: var(--font-body);
    list-style: none;
}

/* Thank you / order received page */
.woocommerce-order-received .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-purple);
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce-order-received .woocommerce-order-overview {
    background: var(--color-white);
    border-radius: 18px;
    padding: 24px 30px;
    box-shadow: 0 4px 20px rgba(139, 106, 174, 0.08);
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.woocommerce-order-received .woocommerce-order-overview li {
    text-align: center;
    padding: 8px;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-purple);
    margin-top: 4px;
}

/* === Responsive Cart / Checkout === */
@media (max-width: 900px) {
    .mts-checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .mts-checkout-main {
        padding: 28px 24px;
    }

    .mts-checkout-sidebar {
        position: static;
    }

    .woocommerce-checkout .col2-set {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        padding: 24px 20px;
    }

    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100%;
        float: none;
        position: static;
        margin-top: 24px;
    }

    .woocommerce .cart_totals {
        float: none;
        width: 100%;
        min-width: auto;
    }

    .woocommerce-cart .cart-collaterals {
        flex-direction: column;
    }

    .woocommerce .cross-sells {
        margin-right: 0;
        margin-bottom: 24px;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        display: block;
        margin-right: 0 !important;
    }
}

@media (max-width: 600px) {
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce {
        padding-left: 16px;
        padding-right: 16px;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .woocommerce-checkout #order_review {
        padding: 20px 16px;
        border-radius: 14px;
    }
}

@media (max-width: 600px) {
    .mts-checkout-progress {
        margin: 24px auto 28px;
    }

    .mts-step-num {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .mts-step-label {
        font-size: 0.72rem;
    }

    .mts-step-line {
        min-width: 30px;
    }

    .woocommerce table.shop_table td {
        padding: 12px;
    }
}

/* ============================================
   WOOCOMMERCE — THANK YOU / ORDER SUCCESS PAGE
============================================ */
.mts-thankyou {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    text-align: center;
    position: relative;
}

/* Floating decorative notes and stars */
.mts-thankyou-decos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.mts-ty-note, .mts-ty-star {
    position: absolute;
    opacity: 0.4;
}

.mts-ty-note-1 { top: 8%; left: 5%; animation: about-frame-float 6s ease-in-out infinite; }
.mts-ty-note-2 { top: 40%; right: 3%; animation: about-frame-float 8s ease-in-out infinite reverse; }
.mts-ty-note-3 { bottom: 20%; left: 8%; animation: about-frame-float 7s ease-in-out infinite 1s; }
.mts-ty-star-1 { top: 12%; right: 12%; }
.mts-ty-star-2 { top: 30%; left: 10%; }
.mts-ty-star-3 { bottom: 35%; right: 8%; }
.mts-ty-star-4 { top: 55%; left: 4%; }

/* Main card with double border */
.mts-thankyou-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px 48px 44px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 40px rgba(139, 106, 174, 0.12);
    border: 3px solid var(--color-purple);
    outline: 6px solid rgba(168, 216, 240, 0.5);
    outline-offset: 4px;
    margin-bottom: 40px;
}

/* Illustration */
.mts-thankyou-illustration {
    margin: -20px auto 20px;
}

.mts-thankyou-illustration svg {
    max-width: 220px;
    height: auto;
}

/* Title */
.mts-thankyou-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-muted);
    line-height: 1.15;
    margin-bottom: 28px;
}

/* Order details box */
.mts-thankyou-details {
    background: linear-gradient(145deg, #D4EDFB 0%, #E0F2FF 100%);
    border-radius: 16px;
    padding: 22px 30px;
    margin-bottom: 28px;
    text-align: center;
    border: 1px solid rgba(168, 216, 240, 0.5);
}

.mts-thankyou-details p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 4px 0;
}

.mts-thankyou-details strong {
    color: var(--color-text);
    font-weight: 800;
}

/* Download button */
.mts-thankyou-download {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 18px 48px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.mts-thankyou-download:hover {
    background: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(232, 115, 74, 0.45);
}

/* Share the Joy */
.mts-thankyou-share {
    position: relative;
    z-index: 2;
}

.mts-thankyou-share h2 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-purple);
    margin-bottom: 18px;
    font-weight: 400;
}

.mts-thankyou-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mts-ty-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.mts-ty-social:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

.mts-ty-social svg {
    width: 22px;
    height: 22px;
}

.mts-thankyou-follow {
    font-size: 0.9rem;
    color: var(--color-text-body);
    margin: 0;
}

/* Hide default WC thank you message — we have our own */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    display: none;
}

.woocommerce-order-received .woocommerce-order-overview {
    display: none;
}

.woocommerce-order-received .woocommerce-order-details {
    display: none;
}

.woocommerce-order-received .woocommerce-customer-details {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .mts-thankyou-card {
        padding: 28px 24px 32px;
        border-radius: 18px;
    }

    .mts-thankyou-details {
        padding: 18px 20px;
    }

    .mts-thankyou-download {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .mts-ty-social {
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   EVENTS & SIGNINGS PAGE
============================================ */

/* === Hero Banner === */
.events-hero {
    background: linear-gradient(135deg, #A8D8F0 0%, #C9B8E8 50%, #D4C4E8 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(255,255,255,0.1) 0%, transparent 35%);
    pointer-events: none;
}

/* Wavy line decoration */
.events-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0, rgba(255,255,255,.35) 20px, transparent 20px, transparent 40px);
}

.events-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.events-deco { position: absolute; }
.events-deco-book-1 { top: 12%; left: 6%; animation: about-frame-float 7s ease-in-out infinite; }
.events-deco-star-1 { top: 18%; left: 18%; }
.events-deco-note-1 { top: 15%; right: 8%; animation: about-frame-float 6s ease-in-out infinite reverse; }
.events-deco-star-2 { bottom: 25%; right: 15%; }
.events-deco-note-2 { bottom: 20%; left: 12%; animation: about-frame-float 8s ease-in-out infinite 0.5s; }

.events-hero-content {
    position: relative;
    z-index: 2;
}

.events-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(74, 43, 92, 0.2);
}

.events-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #FBE4B8;
    font-weight: 400;
    font-style: italic;
    margin: 0;
}

/* === Calendar + Highlights Grid === */
.events-calendar-section {
    background: var(--color-cream);
    padding: 50px 0 40px;
}

.events-cal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Calendar embed area */
.events-calendar-wrap {
    border: 2px solid #C9B8E8;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    min-height: 380px;
    box-shadow: 0 4px 20px rgba(139, 106, 174, 0.08);
}

.events-calendar-embed {
    width: 100%;
}

.events-calendar-embed iframe {
    width: 100%;
    min-height: 380px;
    border: none;
    display: block;
}

.events-calendar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 40px;
}

.events-cal-placeholder-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    max-width: 280px;
}

/* Upcoming Highlights */
.events-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.events-highlights-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.events-highlight-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--color-white);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(139, 106, 174, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.events-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(139, 106, 174, 0.15);
}

.events-highlight-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    flex-shrink: 0;
}

.events-highlight-month {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-orange);
}

.events-highlight-day {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-purple);
    line-height: 1;
}

.events-highlight-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
}

.events-highlight-info p {
    font-size: 0.85rem;
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

/* === Events Table === */
.events-list-section {
    background: var(--color-cream);
    padding: 20px 0 60px;
}

.events-list-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 22px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.events-table-wrap {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #C9B8E8;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
}

.events-table thead {
    background: #F3EFF8;
}

.events-table th {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-text);
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid #C9B8E8;
}

.events-table td {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text-body);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(201, 184, 232, 0.2);
}

.events-table tbody tr:last-child td {
    border-bottom: none;
}

.events-table tbody tr:hover {
    background: rgba(243, 239, 248, 0.3);
}

.events-register-btn {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(232, 115, 74, 0.25);
}

.events-register-btn:hover {
    background: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* === Booking CTA Banner === */
.events-booking-cta {
    background: var(--color-purple-dark);
    padding: 0;
    overflow: hidden;
}

.events-booking-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.events-booking-image {
    height: 100%;
}

.events-booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 260px;
}

.events-booking-content {
    padding: 50px 48px;
}

.events-booking-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
}

.events-booking-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 420px;
}

.events-booking-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.events-booking-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

/* === Events Responsive === */
@media (max-width: 900px) {
    .events-cal-grid {
        grid-template-columns: 1fr;
    }

    .events-booking-inner {
        grid-template-columns: 1fr;
    }

    .events-booking-image {
        max-height: 240px;
        overflow: hidden;
    }

    .events-booking-content {
        padding: 32px 28px;
        text-align: center;
    }

    .events-booking-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .events-hero { padding: 40px 0 35px; }

    .events-highlight-card {
        padding: 16px 18px;
    }

    .events-table th,
    .events-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* ============================================
   BOOK A SCHOOL VISIT PAGE
============================================ */

/* === Hero === */
.sv-hero {
    background: linear-gradient(180deg, #E8DDF0 0%, #F0E8F5 40%, #FBF3E8 100%);
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

.sv-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(168,216,240,0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(201,184,232,0.15) 0%, transparent 35%);
    pointer-events: none;
}

.sv-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sv-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-purple-dark);
    line-height: 1.1;
}

.sv-hero-illustration {
    display: flex;
    justify-content: center;
}

.sv-hero-illustration svg,
.sv-hero-illustration img {
    max-width: 100%;
    height: auto;
}

/* === Visit Types === */
.sv-types {
    background: var(--color-cream);
    padding: 50px 0 40px;
}

.sv-types-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sv-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.sv-types-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sv-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sv-type-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(139, 106, 174, 0.12);
}

.sv-type-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
}

.sv-type-icon svg,
.sv-type-icon i {
    width: 32px;
    height: 32px;
    font-size: 28px;
    color: var(--color-purple);
}

.sv-type-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 2px;
}

.sv-type-info p {
    font-size: 0.85rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.5;
}

/* Calendar inside Visit Types section */
.sv-types-calendar {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(139, 106, 174, 0.08);
    border: 1px solid rgba(201, 184, 232, 0.2);
}

.sv-types-calendar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
}

.sv-types-calendar iframe {
    width: 100%;
    min-height: 300px;
    border: none;
}

.sv-types-cal-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.88rem;
}

/* === Booking Form === */
.sv-booking {
    background: var(--color-cream);
    padding: 40px 0 60px;
}

.sv-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.sv-booking-calendar {
    border: 2px solid #C9B8E8;
    border-radius: 16px;
    background: var(--color-white);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(139, 106, 174, 0.08);
}

.sv-booking-calendar h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 18px;
}

.sv-calendar-embed iframe {
    width: 100%;
    min-height: 320px;
    border: none;
    display: block;
}

.sv-cal-placeholder {
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    padding: 60px 20px;
    font-size: 0.88rem;
}

.sv-booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sv-form-field label {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-text);
    margin-bottom: 6px;
}

.sv-form-field input,
.sv-form-field select,
.sv-form-field textarea {
    width: 100%;
    border: 2px solid #E8DFF0;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: #F3EFF8;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.sv-form-field input:focus,
.sv-form-field select:focus,
.sv-form-field textarea:focus {
    border-color: var(--color-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 106, 174, 0.1);
    background: var(--color-white);
}

.sv-form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C4A6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.sv-submit-btn {
    display: block;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-top: 6px;
}

.sv-submit-btn:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 115, 74, 0.45);
}

/* === Trusted by Educators === */
.sv-trusted {
    background: var(--color-cream);
    padding: 50px 0 40px;
}

.sv-trusted-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 28px;
}

.sv-trusted-track {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.sv-school-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.sv-school-icon {
    width: 48px;
    height: 48px;
}

.sv-school-icon svg,
.sv-school-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sv-school-name {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    max-width: 100px;
}

/* === Testimonial Quote === */
.sv-testimonial {
    background: var(--color-cream);
    padding: 20px 0 70px;
}

.sv-testimonial-card {
    background: #F3EFF8;
    border-radius: 24px;
    padding: 40px 48px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 28px rgba(139, 106, 174, 0.1);
}

.sv-quote-mark {
    opacity: 0.5;
}

.sv-quote-open {
    position: absolute;
    top: 20px;
    left: 28px;
}

.sv-quote-close {
    position: absolute;
    bottom: 20px;
    right: 28px;
}

.sv-testimonial-quote {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
    margin: 12px 0 16px;
    font-style: italic;
}

.sv-testimonial-author {
    font-size: 0.88rem;
    color: var(--color-text-body);
    font-weight: 600;
    margin: 0;
}

/* === School Visit Responsive === */
@media (max-width: 900px) {
    .sv-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .sv-hero-illustration { max-width: 340px; margin: 0 auto; }
    .sv-booking-grid { grid-template-columns: 1fr; }
    .sv-types-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .sv-hero { padding: 36px 0 30px; }
    .sv-testimonial-card { padding: 32px 24px; border-radius: 18px; }
    .sv-trusted-track { gap: 16px; }
}

/* ============================================
   CONTACT PAGE — Polished Design
============================================ */
.contact-page {
    background: var(--color-cream);
    padding: 50px 0 90px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

/* === Decorative Blobs (large, organic, light blue) === */
.contact-decos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-blob {
    position: absolute;
    background: #C4E3F5;
}

.contact-blob-1 {
    width: 280px;
    height: 300px;
    top: -60px;
    right: -50px;
    border-radius: 60% 40% 50% 70% / 55% 65% 35% 45%;
    opacity: 0.35;
}

.contact-blob-2 {
    width: 220px;
    height: 260px;
    bottom: 0;
    left: -60px;
    border-radius: 50% 60% 40% 70% / 45% 55% 65% 35%;
    opacity: 0.3;
}

.contact-blob-3 {
    width: 160px;
    height: 160px;
    top: 45%;
    right: 2%;
    border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
    opacity: 0.2;
}

.contact-blob-4 {
    width: 130px;
    height: 140px;
    bottom: 8%;
    right: 18%;
    border-radius: 45% 55% 50% 50% / 60% 40% 55% 45%;
    opacity: 0.18;
}

/* Floating music notes */
.contact-deco-note { position: absolute; }
.contact-note-1 { top: 25%; left: 5%; animation: about-frame-float 7s ease-in-out infinite; }
.contact-note-2 { bottom: 22%; right: 4%; animation: about-frame-float 6s ease-in-out infinite reverse; }
.contact-note-3 { top: 65%; left: 3%; animation: about-frame-float 9s ease-in-out infinite 1s; }

/* === Header === */
.contact-header {
    text-align: center;
    margin-bottom: 44px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-purple-dark);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.01em;
}

.contact-header-illustration {
    flex-shrink: 0;
    margin-top: -8px;
}

/* === Main Card === */
.contact-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
    background: var(--color-white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(139, 106, 174, 0.1),
        0 4px 16px rgba(139, 106, 174, 0.06);
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === Info Side (left) === */
.contact-info-side {
    padding: 48px 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(253,248,240,0.5) 0%, rgba(243,239,248,0.2) 100%);
}

.contact-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 32px;
    border: 8px solid #F5EFE0;
    box-shadow:
        0 12px 36px rgba(139, 106, 174, 0.12),
        0 0 0 4px rgba(249, 212, 194, 0.3);
    transition: transform 0.4s ease;
}

.contact-photo:hover {
    transform: scale(1.03);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-body);
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 6px 8px;
    border-radius: 10px;
}

.contact-social-item:hover {
    color: var(--color-purple);
    background: rgba(201, 184, 232, 0.08);
    transform: translateX(4px);
}

.contact-social-item svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* === Form Side (right) === */
.contact-form-side {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-field label {
    display: block;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    border: 2px solid #A8D8F0;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #B0C4D0;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: var(--color-purple);
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 106, 174, 0.1);
}

.contact-form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C4A6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    display: block;
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #E8734A 0%, #EB8B6A 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #D4623B 0%, #E8734A 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(232, 115, 74, 0.45);
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

/* === Responsive === */
@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
        max-width: 540px;
    }

    .contact-info-side {
        padding: 36px 28px 28px;
    }

    .contact-photo {
        width: 180px;
        height: 180px;
    }

    .contact-form-side {
        padding: 28px;
    }

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

    .contact-header {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .contact-page { padding: 36px 0 60px; }
    .contact-photo { width: 150px; height: 150px; border-width: 6px; }
    .contact-form-side { padding: 24px 20px; }
    .contact-submit-btn { padding: 16px 28px; font-size: 1rem; }
    .contact-blob-1, .contact-blob-3 { display: none; }
}

/* ============================================
   FAQ PAGE
============================================ */
.faq-page {
    background: var(--color-cream);
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.faq-decos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.faq-deco { position: absolute; }
.faq-deco-note-1 { top: 6%; left: 3%; animation: about-frame-float 7s ease-in-out infinite; }
.faq-deco-sparkle-1 { top: 18%; left: 5%; }
.faq-deco-star-1 { top: 35%; right: 4%; }

/* Hero */
.faq-hero {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.faq-eyebrow {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-purple);
    display: block;
    margin-bottom: 12px;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 20px;
}

.faq-title em {
    color: var(--color-orange);
    font-style: italic;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--color-text-body);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* Category Filters */
.faq-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.faq-filter {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-filter:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
}

.faq-filter.is-active {
    background: #3A2D4A;
    color: var(--color-white);
    border-color: #3A2D4A;
}

/* Accordion Items */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(139, 106, 174, 0.06);
    border: 1px solid rgba(201, 184, 232, 0.15);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 24px rgba(139, 106, 174, 0.12);
}

.faq-item.is-hidden {
    display: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(243, 239, 248, 0.3);
}

.faq-question span {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-purple-dark);
    font-style: italic;
}

.faq-chevron {
    flex-shrink: 0;
    color: #C9B8E8;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
}

/* CTA Card */
.faq-cta-card {
    max-width: 720px;
    margin: 0 auto;
    background: #F0EBE0;
    border-radius: 24px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(139, 106, 174, 0.08);
}

.faq-cta-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.faq-cta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.faq-cta-content p {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 18px;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-orange);
    color: var(--color-white) !important;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(232, 115, 74, 0.3);
    transition: all 0.3s ease;
}

.faq-cta-btn:hover {
    background: var(--color-orange-dark);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 115, 74, 0.4);
}

/* Responsive */
@media (max-width: 700px) {
    .faq-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .faq-cta-avatar {
        width: 100px;
        height: 100px;
    }

    .faq-question {
        padding: 18px 20px;
    }

    .faq-item.is-open .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-filters {
        gap: 8px;
    }

    .faq-filter {
        padding: 8px 18px;
        font-size: 0.82rem;
    }
}

/* ============================================
   NEWSLETTER POPUP / SUBSCRIPTION MODAL
============================================ */
.mts-nl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 45, 74, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: mts-nl-fade-in 0.3s ease;
}

@keyframes mts-nl-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mts-nl-modal {
    background: var(--color-white);
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    padding: 44px 40px 40px;
    position: relative;
    box-shadow:
        0 24px 80px rgba(58, 45, 74, 0.25),
        0 0 0 4px rgba(168, 216, 240, 0.3);
    animation: mts-nl-slide-up 0.4s ease;
    text-align: center;
}

@keyframes mts-nl-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mts-nl-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 1.6rem;
    color: #A8D8F0;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

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

.mts-nl-illustration {
    margin: -20px auto 16px;
}

.mts-nl-illustration svg {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(139, 106, 174, 0.15));
}

.mts-nl-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-purple-dark);
    line-height: 1.15;
    margin-bottom: 14px;
}

.mts-nl-desc {
    font-size: 0.92rem;
    color: var(--color-text-body);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.mts-nl-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
}

.mts-nl-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8DFF0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.mts-nl-input:focus {
    border-color: var(--color-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 106, 174, 0.1);
}

.mts-nl-input::placeholder {
    color: #B0AFBE;
}

.mts-nl-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #E8734A 0%, #EB8B6A 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.mts-nl-submit:hover {
    background: linear-gradient(135deg, #D4623B 0%, #E8734A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 115, 74, 0.45);
}

.mts-nl-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.mts-nl-privacy {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 14px;
}

/* Success step - download button */
.mts-nl-download {
    display: inline-block;
    background: linear-gradient(135deg, #E8734A 0%, #EB8B6A 100%);
    color: var(--color-white) !important;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(232, 115, 74, 0.35);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.mts-nl-download:hover {
    background: linear-gradient(135deg, #D4623B 0%, #E8734A 100%);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 115, 74, 0.45);
}

/* Responsive */
@media (max-width: 520px) {
    .mts-nl-modal {
        padding: 36px 24px 32px;
        border-radius: 22px;
    }

    .mts-nl-title { font-size: 1.6rem; }
}
