/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Wizard unique benefit preview */
.wizard-benefit-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.wizard-benefit-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wizard-benefit-input-shell {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wizard-benefit-input-shell input {
    flex: 1;
}

.benefit-emoji-btn {
    border: 1px solid #f3c7b4;
    background: #fff;
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.benefit-emoji-btn:hover {
    background: #ffe4d6;
    border-color: #f5b99a;
}

.wizard-benefit-preview {
    border: 1px dashed #f3c7b4;
    background: #fff6f1;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wizard-benefit-preview-emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.wizard-benefit-preview-emoji:empty {
    display: none;
}

.wizard-benefit-preview-text {
    font-size: 0.9rem;
    color: #5a4236;
    white-space: pre-wrap;
}

:root {
    --primary-color: #d4a5a5;
    --secondary-color: #b88a8a;
    --accent-color: #f5e6e6;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d4a5a5 0%, #b88a8a 100%);
    --gradient-soft: linear-gradient(135deg, #f5e6e6 0%, #ffffff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: auto;
    /* Disabled - we handle smooth scrolling in JS for better Firefox compatibility */
    -webkit-overflow-scrolling: touch;
    /* Smooth momentum scrolling on iOS */
    /* Ensure html doesn't create containing block for fixed elements */
    position: static;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    /* Base font size - 16px */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Ensure body doesn't create containing block for fixed elements */
    position: static;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Prevent container from creating scrollable area */
    overflow: visible;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    /* Ensure navbar stays fixed on all devices */
    /* REMOVED: transforms on navbar can create containing blocks - use will-change instead */
    will-change: transform, box-shadow;
    /* Performance: contain layout and paint - but NOT pointer-events to allow menu toggle clicks */
    /* REMOVED: contain creates containing block which interferes with fixed menu positioning */
    /* contain: layout style paint; */
    /* Ensure pointer events work correctly */
    pointer-events: auto;
    /* Prevent any other positioning from overriding */
    width: 100%;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-slogan {
    font-size: 0.875rem;
    /* Increased from 0.75rem for better readability */
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
    /* Ensure menu doesn't interfere on desktop */
    position: relative;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

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

/* Nav buttons - compact size for header */
.nav-link.btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.nav-link.btn-primary::after {
    display: none;
}

.nav-link.btn-primary:hover {
    color: var(--text-white);
}

/* Register button - same dimensions as btn-primary, outline style */
.btn-register {
    background: transparent;
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.btn-register:hover {
    background: rgba(212, 165, 165, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Nav register button - compact with subtext */
.nav-link.btn-register {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    animation: register-pulse 5s ease-in-out infinite;
}

.nav-link.btn-register:hover {
    animation: none;
}

/* Subtle pulse animation */
@keyframes register-pulse {

    0%,
    85%,
    100% {
        box-shadow: 0 0 0 0 transparent;
    }

    90% {
        box-shadow: 0 0 0 4px rgba(212, 165, 165, 0.4);
    }

    95% {
        box-shadow: 0 0 0 8px rgba(212, 165, 165, 0);
    }
}

/* Elegant subtext under Register button */
.nav-link.btn-register::after {
    content: 'to learn more';
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-light);
    background: none;
    animation: text-pulse 5s ease-in-out infinite;
}

.nav-link.btn-register:hover::after {
    animation: none;
}

@keyframes text-pulse {

    0%,
    85%,
    100% {
        color: var(--text-light);
        font-weight: 400;
    }

    90%,
    95% {
        color: var(--secondary-color);
        font-weight: 600;
    }
}


/* Admin link - hidden by default, shown only for admins */
.admin-link {
    display: none !important;
    color: #b88a8a;
    font-weight: 600;
}

.admin-link.admin-visible {
    display: inline-block !important;
}

.admin-link:hover {
    color: #d4a5a5;
}

/* Basket Icon */
.basket-icon {
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.basket-icon:hover {
    transform: scale(1.1);
}

.basket-icon-svg {
    display: block;
}

.basket-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    /* Increased from 0.75rem for better readability */
    font-weight: 700;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.basket-count:not(:empty) {
    display: flex;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.7) 0%, rgba(184, 138, 138, 0.75) 100%),
        url('img/sunset.webp'),
        url('img/sunset.jpg');
    /* Fallback for browsers that don't support WebP */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Performance optimization: use will-change for background images */
    will-change: background-image;
    /* Prevent hero section from being scrollable - only page should scroll */
    overflow: visible;
    /* Don't set touch-action on hero - let body/html handle scrolling */
    /* Chrome interprets touch-action on flex containers as making them scrollable */
}

.hero-overlay {
    /* Use fixed positioning relative to hero, but ensure hero doesn't create containing block */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Ensure overlay doesn't create scroll issues or block touch events */
    pointer-events: none;
    /* Ensure touch events pass through */
    touch-action: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    /* Prevent content from creating scrollable container */
    overflow: visible;
    /* Allow touch events to pass through for page scrolling */
    /* Don't set touch-action: none as it blocks all touch interactions */
    text-align: center;
    color: var(--text-white);
    /* Ensure all text in hero is white for readability */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    /* Slightly heavier for better readability */
    color: var(--text-white);
    opacity: 0.98;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-group {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-white);
    opacity: 0.95;
}

.info-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.info-text {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* Higher than hero-content to ensure visibility */
    pointer-events: none;
    /* Allow clicks to pass through */
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
    scroll-margin-top: 100px;
    /* Offset for fixed navbar */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 2;
    font-weight: 300;
}

/* ============================================
   Elevate Your Aura Section
   ============================================ */
.elevate-aura {
    background: var(--bg-white);
    padding: 6rem 0;
    text-align: center;
}

.elevate-aura .section-header {
    max-width: 900px;
    margin: 0 auto;
}

.elevate-aura .section-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.elevate-aura .section-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--text-dark);
    line-height: 2;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-white);
    padding: 8rem 0;
    min-height: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    padding: 0 1rem;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-text {
    padding: 2rem 0;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 2;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color);
    display: block;
    vertical-align: middle;
}

.feature-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Program Section
   ============================================ */
.program {
    background: var(--bg-light);
    padding: 8rem 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.program-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.program-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.program-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.3;
}

.program-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ============================================
   Schedule Section
   ============================================ */
.schedule {
    background: var(--bg-light);
    padding: 8rem 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.schedule-day {
    background: var(--bg-white);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.schedule-day:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.day-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.day-title {
    font-size: 1.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.day-date {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.schedule-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent-color);
    align-items: start;
    transition: var(--transition);
}

.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-row:hover {
    padding-left: 0.5rem;
}

.schedule-row.break-row {
    opacity: 0.7;
}

.schedule-row.break-row .schedule-time {
    color: var(--text-light);
}

.schedule-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    padding-top: 0.15rem;
}

.schedule-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.schedule-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.schedule-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.schedule-image {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lefkara-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform var(--transition);
}

.lefkara-image:hover {
    transform: scale(1.02);
}

.schedule-notes {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 25px;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.schedule-notes:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

.note-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
    align-items: flex-start;
}

.note-label {
    font-weight: 600;
    color: var(--secondary-color);
    flex-shrink: 0;
    min-width: 110px;
    font-family: 'Poppins', sans-serif;
}

.note-text {
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 968px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .notes-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .note-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .note-label {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .schedule {
        padding: 5rem 0;
    }

    .schedule-day {
        padding: 2rem 1.5rem;
    }

    .day-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

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

    .day-date {
        font-size: 0.9rem;
    }

    .schedule-table {
        gap: 0.75rem;
    }

    .schedule-row {
        grid-template-columns: 90px 1fr;
        gap: 0.875rem;
        padding: 0.875rem 0;
        align-items: start;
    }

    .schedule-time {
        font-size: 0.8rem;
        line-height: 1.3;
        padding-top: 0.2rem;
        word-break: keep-all;
    }

    .schedule-title {
        font-size: 1rem;
    }

    .schedule-meta {
        font-size: 0.875rem;
        /* Increased from 0.8rem for better readability */
    }

    .schedule-image {
        height: 180px;
    }

    .schedule-notes {
        padding: 2rem 1.5rem;
        margin-top: 1.5rem;
    }

    /* ============================================
       Mobile Checkout Sidebar - Rebuilt from Scratch
       ============================================ */

    /* Mobile: Completely override desktop styles */
    .checkout-sidebar {
        /* Completely reset desktop positioning */
        right: auto !important;
        max-width: none !important;
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        /* Override desktop transition */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        /* Use transform for smooth animation - start off-screen */
        transform: translateX(100%) !important;
        -webkit-transform: translateX(100%) !important;
        /* Ensure it's visible when active */
        opacity: 1 !important;
        visibility: visible !important;
        /* Ensure sidebar is above navbar/menu (navbar is 1000, menu might be higher) */
        z-index: 10001 !important;
    }

    .checkout-sidebar.active {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        right: auto !important;
    }

    /* Hide overlay on mobile */
    .checkout-overlay {
        display: none !important;
    }

    /* Content container - full height flexbox - MUST be visible */
    .checkout-content {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Header - fixed at top - MUST be visible */
    .checkout-header {
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1.25rem 1.5rem !important;
        border-bottom: 2px solid #d4a5a5 !important;
        background: #ffffff !important;
        position: relative !important;
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-header h2 {
        font-size: 1.4rem !important;
        margin: 0 !important;
        color: #2c2c2c !important;
        font-family: 'Playfair Display', serif !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .checkout-close {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Body - scrollable content area - MUST be visible */
    .checkout-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Items container - scrollable - MUST be visible */
    .checkout-items {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    /* Cart items */
    .checkout-item {
        padding: 0.75rem;
        border: 2px solid #d4a5a5;
        border-radius: 8px;
        background: #ffffff;
        flex-shrink: 0;
    }

    .checkout-package-info {
        margin-bottom: 0.75rem;
    }

    .checkout-package-info h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
        color: #2c2c2c;
    }

    .checkout-package-price {
        font-size: 0.9rem;
        color: #666;
    }

    .checkout-quantity {
        margin: 0.75rem 0;
    }

    .checkout-quantity label {
        font-size: 0.875rem;
        /* Increased from 0.75rem for better readability */
        display: block;
        margin-bottom: 0.4rem;
        color: #666;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        max-width: 100%;
    }

    .quantity-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
        border: 2px solid #d4a5a5;
        background: #ffffff;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    .quantity-input {
        font-size: 1rem;
        padding: 0.4rem 0.3rem;
        min-width: 50px;
        max-width: 70px;
        text-align: center;
        border: 2px solid #d4a5a5;
        border-radius: 8px;
    }

    .checkout-item-total {
        font-size: 0.85rem;
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        border-top: 1px solid #d4a5a5;
        display: flex;
        justify-content: space-between;
    }

    .checkout-item-total strong {
        font-size: 1rem;
        color: #b88a8a;
    }

    /* Stock status styles for cart items */
    .checkout-item.sold-out,
    .checkout-item.unavailable {
        background: linear-gradient(135deg, #fff5f5, #ffe8e8);
        border-color: #e57373;
    }

    .checkout-item.over-stock {
        background: linear-gradient(135deg, #fffbeb, #fff3cd);
        border-color: #f5a623;
    }

    .stock-status-message {
        font-size: 0.8rem;
        margin: 0.25rem 0 0 0;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        display: inline-block;
    }

    .stock-status-message.sold-out,
    .stock-status-message.unavailable {
        background: #ffebee;
        color: #c62828;
        font-weight: 600;
    }

    .stock-status-message.over-stock {
        background: #fff8e1;
        color: #e65100;
        font-weight: 600;
    }

    .stock-adjust-message {
        margin: 0.5rem 0 0 0;
    }

    .adjust-quantity-btn {
        background: #f5a623;
        color: white;
        border: none;
        padding: 0.4rem 0.8rem;
        border-radius: 4px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .adjust-quantity-btn:hover {
        background: #e09000;
    }

    /* Grayed out + button when at max stock */
    .quantity-btn.stock-max,
    .quantity-btn.stock-max:hover {
        opacity: 0.35;
        background: #ccc;
        color: #999;
        border-color: #ccc;
    }

    /* Footer - fixed at bottom - MUST be visible */
    .checkout-footer {
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-top: 2px solid #d4a5a5 !important;
        background: #ffffff !important;
        position: relative !important;
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-footer-content {
        padding: 1rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-total-section {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .total-label {
        font-size: 1rem !important;
        color: #2c2c2c !important;
        font-weight: 600 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .total-amount {
        font-size: 1.6rem !important;
        color: #b88a8a !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .checkout-proceed-btn {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        background: linear-gradient(135deg, #d4a5a5 0%, #b88a8a 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Empty cart message - MUST be visible */
    .empty-cart {
        text-align: center !important;
        color: #666 !important;
        padding: 3rem 1rem !important;
        font-style: italic !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Cart items - MUST be visible */
    .checkout-item {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Override desktop body styles on mobile - use more specific selector */
    @media (max-width: 768px) {

        body:has(.checkout-sidebar.active),
        body.checkout-sidebar-active {
            overflow: hidden !important;
            position: fixed !important;
            width: 100% !important;
            height: 100% !important;
            touch-action: none !important;
        }

        html:has(.checkout-sidebar.active),
        html.checkout-sidebar-active {
            overflow: hidden !important;
        }
    }

    .checkout-order-btn {
        width: calc(100% - 3rem);
        margin: 0 1.5rem 1.5rem 1.5rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
    }

    .empty-cart {
        padding: 2rem 1rem;
        font-size: 1rem;
    }

    .success-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .success-modal-content h2 {
        font-size: 1.4rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .success-modal-content p {
        font-size: 1rem;
    }

    .notes-grid {
        gap: 1rem;
    }

    .note-item {
        font-size: 0.875rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 4rem 0;
    }

    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contact-info>p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .contact-details-box {
        padding: 1.5rem 1.25rem;
        border-width: 1px;
    }

    .contact-item {
        padding: 1rem 0.75rem;
        gap: 0.5rem;
    }

    .contact-icon {
        font-size: 1.75rem;
    }

    .contact-item strong {
        font-size: 0.85rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* Navigation Mobile */
    .nav-content {
        padding: 0.875rem 0;
        gap: 1rem;
    }

    .logo {
        flex-shrink: 0;
        min-width: 0;
    }

    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-slogan {
        font-size: 0.8rem;
        /* Increased from 0.75rem for better mobile readability */
    }

    .basket-icon {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .basket-count {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
        /* Increased from 0.7rem for better readability */
        top: -3px;
        right: -3px;
    }

    /* Hero Mobile */
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }

    .hero-info {
        margin-top: 1.5rem;
    }

    .info-group {
        padding: 1rem 0;
    }

    .info-item {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        padding: 0.25rem 0;
    }

    /* Pricing Mobile */
    .pricing-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .common-benefits-sidebar {
        position: static;
        order: 1;
        /* Sidebar appears BEFORE packages on mobile */
    }

    .pricing-sidebar-layout .pricing-grid {
        order: 2;
        /* Packages appear AFTER sidebar on mobile */
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .pricing-card {
        padding: 1.25rem 1rem;
    }

    .feature-card {
        padding: 0.625rem 0.75rem;
        gap: 0.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-card-icon {
        font-size: 1.25rem;
    }

    .feature-card-text {
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .select-package-btn {
        min-height: 65px;
        padding: 0.9rem 1.25rem;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0.125rem;
    }

    /* Registration Option Mobile */
    .registration-option-container {
        padding: 0 1rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }

    .registration-option-card {
        padding: 1.5rem 1.25rem;
    }

    .registration-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .registration-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .registration-description {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .registration-benefits {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .register-interest-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    background: var(--bg-white);
    padding: 8rem 0;
    /* Performance: prevent layout shifts */
    contain: layout style;
    /* Ensure smooth scrolling */
    position: relative;
    z-index: 0;
}

/* Pricing Sidebar Layout (Option 2A) */
.pricing-sidebar-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    /* Performance: prevent layout shifts */
    min-height: 0;
    /* Ensure proper stacking context */
    position: relative;
    z-index: 1;
}

.common-benefits-sidebar {
    background: var(--gradient-soft);
    border-radius: 16px;
    padding: 1.25rem;
    border: 2px solid var(--accent-color);
    height: fit-content;
    position: sticky;
    top: calc(100px + 1.5rem);
    /* Account for navbar height (100px) + spacing */
    order: 1;
    /* Default: sidebar first on desktop */
    max-height: calc(100vh - 100px - 3rem);
    /* Prevent overflow, account for navbar */
    overflow-y: auto;
    /* Allow scrolling if content is too tall */
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    /* Create compositing layer for smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

.benefits-sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.benefits-sidebar-list {
    list-style: none;
}

.benefits-sidebar-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.5;
}

.benefit-icon {
    font-size: 1rem;
    line-height: 1;
    min-width: 1.25rem;
}

.benefit-icon-default {
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-text {
    flex: 1;
}

/* Loading and Error States */
.benefits-loading,
.benefits-error {
    padding: 1.5rem;
}

.benefits-error-message {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.pricing-loading {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card-skeleton {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-header,
.skeleton-image,
.skeleton-features,
.skeleton-button {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-header {
    height: 60px;
}

.skeleton-image {
    height: 200px;
}

.skeleton-features {
    height: 100px;
}

.skeleton-button {
    height: 48px;
    margin-top: 1rem;
}

.pricing-error {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.pricing-error .error-message {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.pricing-sidebar-layout .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    min-width: 0;
    order: 2;
    /* Default: packages second on desktop */
    margin-bottom: 0;
    padding: 0;
    /* Ensure all cards have equal heights */
    align-items: stretch;
}

/* 🔴 PHASE 4: Dynamic Grid Layouts for pricing-sidebar-layout context */
.pricing-sidebar-layout .pricing-grid.grid-2x1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.pricing-sidebar-layout .pricing-grid.grid-3x1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-sidebar-layout .pricing-grid.grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* 🔴 CRITICAL: 5 packages - 3 columns, center last 2 cards */
.pricing-sidebar-layout .pricing-grid.grid-3-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(4) {
    grid-column: 2;
    /* Start at column 2 (first of centered pair) */
}

.pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
    grid-column: 3;
    /* Start at column 3 (second of centered pair) */
}

.pricing-sidebar-layout .pricing-grid.grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-sidebar-layout .pricing-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Tablet: 2 columns for packages */
@media (max-width: 1200px) {
    .pricing-sidebar-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.25rem;
    }

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

    /* 🔴 PHASE 4: Override dynamic grid classes for tablet in sidebar layout */
    .pricing-sidebar-layout .pricing-grid.grid-2x1,
    .pricing-sidebar-layout .pricing-grid.grid-3x1,
    .pricing-sidebar-layout .pricing-grid.grid-2x2,
    .pricing-sidebar-layout .pricing-grid.grid-3-2,
    .pricing-sidebar-layout .pricing-grid.grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset centering for 5 packages on tablet in sidebar layout */
    .pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(4),
    .pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
        grid-column: span 1;
    }

    .common-benefits-sidebar {
        top: calc(100px + 1.5rem);
        /* Adjust for smaller gap */
        max-height: calc(100vh - 100px - 3rem);
    }
}

/* Mobile: Single column, sidebar after packages */
@media (max-width: 968px) {
    .pricing-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        /* Reset z-index on mobile */
        z-index: auto;
    }

    .common-benefits-sidebar {
        position: static;
        order: 1;
        /* Sidebar appears BEFORE packages on mobile */
        top: auto;
        /* Reset sticky positioning */
        max-height: none;
        /* Remove height restriction on mobile */
        overflow-y: visible;
        /* Remove scroll on mobile */
        /* Reset performance optimizations that aren't needed on mobile */
        will-change: auto;
        transform: none;
    }

    .pricing-sidebar-layout .pricing-grid {
        order: 2;
        /* Packages appear AFTER sidebar on mobile */
        grid-template-columns: 1fr;
    }

    /* 🔴 PHASE 4: Override dynamic grid classes for mobile in sidebar layout */
    .pricing-sidebar-layout .pricing-grid.grid-2x1,
    .pricing-sidebar-layout .pricing-grid.grid-3x1,
    .pricing-sidebar-layout .pricing-grid.grid-2x2,
    .pricing-sidebar-layout .pricing-grid.grid-3-2,
    .pricing-sidebar-layout .pricing-grid.grid-3x2 {
        grid-template-columns: 1fr;
    }

    /* Reset centering for 5 packages on mobile in sidebar layout */
    .pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(4),
    .pricing-sidebar-layout .pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
        grid-column: 1;
    }
}

.pricing-features .unique-feature {
    font-weight: 600;
    color: var(--secondary-color);
}

.pricing-features .unique-feature:before {
    content: "★";
    color: var(--primary-color);
}

/* Option 1: Icon-Based Feature Cards */
.feature-card {
    background: var(--gradient-soft);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevent content overflow */
}

.feature-card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.feature-card-text {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-dark);
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.feature-card-emoji-line {
    font-size: 1.25rem;
    line-height: 1;
}

.feature-card-description {
    font-size: 0.8rem;
    width: 100%;
    line-height: 1.35;
}

/* Decorative Badge for Best Value */
.decorative-badge {
    margin-top: auto;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
}

.decorative-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.decorative-badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 0.75rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.decorative-badge-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.decorative-badge::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

/* 🔴 PHASE 4: Dynamic Grid Layouts for 2-6 Packages */
.pricing-grid.grid-2x1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pricing-grid.grid-3x1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-grid.grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* 🔴 CRITICAL: 5 packages - 3 columns, center last 2 cards */
.pricing-grid.grid-3-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-grid.grid-3-2 .pricing-card:nth-child(4),
.pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
    grid-column: span 1;
}

/* Center the last 2 cards in a 3-column grid */
.pricing-grid.grid-3-2 .pricing-card:nth-child(4) {
    grid-column: 2;
    /* Start at column 2 (first of centered pair) */
}

.pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
    grid-column: 3;
    /* Start at column 3 (second of centered pair) */
}

.pricing-grid.grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Ensure all cards have equal dimensions within each layout */
.pricing-grid.grid-2x1 .pricing-card,
.pricing-grid.grid-3x1 .pricing-card,
.pricing-grid.grid-2x2 .pricing-card,
.pricing-grid.grid-3-2 .pricing-card,
.pricing-grid.grid-3x2 .pricing-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Responsive: Tablet adjustments for dynamic grids */
@media (max-width: 1200px) {
    .pricing-grid.grid-2x1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .pricing-grid.grid-3x1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .pricing-grid.grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .pricing-grid.grid-3-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Reset centering for 5 packages on tablet */
    .pricing-grid.grid-3-2 .pricing-card:nth-child(4),
    .pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
        grid-column: span 1;
    }

    .pricing-grid.grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Responsive: Mobile - single column for all layouts */
@media (max-width: 968px) {

    .pricing-grid.grid-2x1,
    .pricing-grid.grid-3x1,
    .pricing-grid.grid-2x2,
    .pricing-grid.grid-3-2,
    .pricing-grid.grid-3x2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Reset centering for 5 packages on mobile */
    .pricing-grid.grid-3-2 .pricing-card:nth-child(4),
    .pricing-grid.grid-3-2 .pricing-card:nth-child(5) {
        grid-column: 1;
    }
}

/* Registration-Only Option */
.registration-option-container {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    box-sizing: border-box;
    /* Match the width of pricing-sidebar-layout (240px sidebar + 1fr grid) */
    /* Container max-width is 1200px, so this matches the full content width */
}

.registration-option-card {
    background: linear-gradient(135deg, rgba(245, 230, 230, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.registration-option-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.registration-option-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 40px rgba(212, 165, 165, 0.25);
}

.registration-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 1;
}

.registration-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.registration-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
    max-width: 100%;
}

.registration-benefits {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 100%;
}

.registration-benefits strong {
    color: var(--secondary-color);
    font-weight: 500;
}

.register-interest-btn {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 500;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.register-interest-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure cards fill grid cell height */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevent content overflow */
    min-width: 0;
    /* Allow card to shrink in grid */
    /* Performance: optimize for transforms */
    will-change: transform, box-shadow;
    transform: translateZ(0);
    /* Create compositing layer */
    backface-visibility: hidden;
    /* Prevent flickering */
}

.pricing-card:hover {
    transform: translateY(-12px) translateZ(0);
    /* Maintain GPU acceleration */
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    /* Removed excessive min-height for compact design */
}

.pricing-room-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
    flex-shrink: 0;
    /* Prevent image from shrinking */
}

.pricing-room-image-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-room-image-container:hover .room-image-overlay {
    opacity: 1;
}

.pricing-room-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 140px;
    max-height: 280px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.pricing-room-image.portrait {
    aspect-ratio: 3 / 4;
    max-height: 320px;
}

.pricing-room-image.square {
    aspect-ratio: 1 / 1;
}

.pricing-room-image-container:hover .pricing-room-image {
    transform: scale(1.05);
}

.room-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.pricing-room-image-container:hover .room-image-overlay {
    opacity: 1;
}

.room-image-hint {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(212, 165, 165, 0.9);
    border-radius: 20px;
}

/* Mobile: Elegant carousel arrows indicator for room images */
.room-image-click-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.room-image-click-indicator.left {
    left: 0.5rem;
}

.room-image-click-indicator.right {
    right: 0.5rem;
}

.room-image-click-indicator::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    display: block;
}

.room-image-click-indicator.left::before {
    border-width: 6px 10px 6px 0;
    border-color: transparent rgba(212, 165, 165, 0.9) transparent transparent;
    margin-left: -2px;
}

.room-image-click-indicator.right::before {
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent rgba(212, 165, 165, 0.9);
    margin-right: -2px;
}

.pricing-room-image-container:active .room-image-click-indicator {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 1);
}

/* Show indicator on mobile only */
@media (max-width: 768px) {
    .room-image-click-indicator {
        display: flex;
    }

    /* Subtle overlay on mobile to indicate interactivity */
    .room-image-overlay {
        opacity: 0.25;
        background: rgba(0, 0, 0, 0.15);
    }

    /* Hide text hint on mobile, show icon instead */
    .room-image-hint {
        display: none;
    }

    /* Visual feedback on tap */
    .pricing-room-image-container:active {
        transform: scale(0.98);
    }

    .pricing-room-image-container:active .room-image-overlay {
        opacity: 0.4;
        background: rgba(0, 0, 0, 0.25);
    }
}

.pricing-title {
    font-size: 1.35rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.25;
    font-family: 'Playfair Display', serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    min-height: 4.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9em;
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
    display: block;
    margin-top: 0.25rem;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    /* Removed excessive min-height for compact design */
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.price-amount-original {
    font-size: 1.2rem;
    color: rgba(71, 45, 45, 0.7);
    text-decoration: line-through;
    font-weight: 500;
}

.price-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    background: #ffe8ec;
    color: #c71c43;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(199, 28, 67, 0.15);
}

.pricing-features {
    flex: 1;
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    /* Allow flex item to shrink */
    overflow: hidden;
    /* Prevent overflow */
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(212, 165, 165, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-full {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   Package Card Button - Editorial Serif Style
   ============================================ */
.select-package-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    min-height: 70px;
    gap: 0.35rem;
    background: linear-gradient(180deg, var(--secondary-color) 0%, #a07878 100%);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(154, 118, 118, 0.2);
    transition: all 0.3s ease;
}

.select-package-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(154, 118, 118, 0.28);
}

.select-package-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(154, 118, 118, 0.2);
}

.select-package-btn:disabled {
    background: linear-gradient(180deg, #a0a0a0 0%, #888888 100%);
    box-shadow: none;
    cursor: not-allowed;
}

.book-button-primary {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    letter-spacing: 0.02em;
}

.book-button-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
    /* Champagne/warm cream - clearly visible yet elegant */
    color: #f5e6d3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================
   Accommodation Type Labels
   ============================================ */
.accommodation-label {
    font-size: 0.875rem;
    color: #B87070;
    /* Dusty rose - noticeable yet elegant */
    font-weight: 500;
    line-height: 1.4;
    margin-top: 0.125rem;
}

/* Cart accommodation label */
.checkout-package-info .accommodation-label {
    margin-bottom: 0.25rem;
}

/* Checkout order items accommodation label */
.checkout-order-item-info .accommodation-label {
    margin-bottom: 0.125rem;
}

/* Account page order items accommodation label */
.order-item .accommodation-label {
    font-size: 0.85rem;
    margin-top: 0.125rem;
    margin-bottom: 0.25rem;
}

.btn-disabled {
    background: #9e9e9e !important;
    cursor: default !important;
    opacity: 0.6;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Button wrapper to maintain consistent button position */
.pricing-card-button-wrapper {
    margin-top: auto;
    /* Push to bottom of card */
    min-height: calc(48px + 1.5rem + 0.75rem);
    /* Button height + stock text height + margin */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Button container - reserves space for stock text */
.pricing-card-button-wrapper .select-package-btn {
    margin-bottom: 0;
}

/* Stock text - Simple text under button */
.stock-text {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    height: 1.5rem;
    /* Fixed height to maintain consistent spacing */
    line-height: 1.5rem;
    flex-shrink: 0;
}

/* Spacer when stock text is not present - maintains consistent height */
.stock-text-spacer {
    height: 1.5rem;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.terms-section {
    background: var(--bg-light);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    margin-top: 4rem;
    box-shadow: var(--shadow-sm);
}

.terms-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.terms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.terms-item {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.terms-item h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.terms-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terms-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .pricing {
        padding: 5rem 0;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

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

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-features li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-card {
        padding: 1rem;
        gap: 0.75rem;
        min-height: 70px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-card-icon {
        font-size: 1.5rem;
    }

    .feature-card-text {
        font-size: 0.875rem;
        text-align: center;
        width: 100%;
    }

    .terms-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .terms-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .terms-item {
        padding: 1.5rem;
    }

    .terms-item h4 {
        font-size: 1.1rem;
    }

    .terms-item p {
        font-size: 0.9rem;
    }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--bg-light);
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.author-location {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--bg-white);
    padding: 8rem 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 1rem;
}

.contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.2;
}

.contact-info>p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 2;
    font-weight: 300;
}

.contact-details-box {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 165, 165, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-details-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 165, 0.4), transparent);
}

.contact-details {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 3rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex: 1;
    padding: 1.25rem 1rem;
    border-radius: 10px;
    background: transparent;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: block;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
    opacity: 0.8;
}

.contact-item p {
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--text-dark);
    text-decoration: underline;
    opacity: 1;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.phone-numbers p {
    margin: 0;
}

.phone-numbers .whatsapp-hint {
    margin-top: 0.35rem;
}

.phone-numbers .whatsapp-hint a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #7a9a7a;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.phone-numbers .whatsapp-hint a:hover {
    color: #5a8a5a;
    text-decoration: none;
}

/* View on Maps link */
.view-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.view-map-link:hover {
    color: var(--secondary-color);
}

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

.team-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    /* Prevent layout shift during image load */
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
}

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

/* Email Validation Widget - Rebuilt from ground up */
/* Step 1: Wrapper container */
.email-validation-wrapper {
    position: relative;
    width: 100%;
    display: block;
    flex: 1 1 0%;
    /* Allow wrapper to grow in flex containers, but can be overridden */
    min-width: 0;
    /* Prevent flex item from overflowing */
    box-sizing: border-box;
    /* Ensure wrapper has proper height for absolutely positioned children */
    min-height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em);
    /* Ensure autofill dropdowns can appear above the wrapper */
    overflow: visible;
    z-index: auto;
}

/* Size variants - can be customized via CSS variables or wrapper classes */
.email-validation-wrapper {
    --email-input-padding: 0.875rem;
    --email-input-font-size: 1rem;
    --email-input-line-height: 1.5;
    --email-input-border-width: 2px;
    --email-input-border-radius: 10px;
    --email-button-width: 70px;
    --email-button-spacing: 4px;
}

/* Small size variant */
.email-validation-wrapper.email-small {
    --email-input-padding: 0.5rem;
    --email-input-font-size: 0.875rem;
    --email-button-width: 60px;
}

/* Large size variant */
.email-validation-wrapper.email-large {
    --email-input-padding: 1rem;
    --email-input-font-size: 1.125rem;
    --email-button-width: 80px;
}

/* Step 2: Visual border frame - drawn WITHOUT input inside */
/* Frame is absolutely positioned to overlay input, and creates positioning context for button */
.email-validation-frame {
    position: absolute;
    /* Overlay the input area, creates positioning context for button */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* Explicit width to ensure it spans full width */
    /* Height matches input height: border + padding + line-height + padding + border */
    /* Using calc with em units for reliable height matching */
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em);
    border: var(--email-input-border-width) solid #e0e0e0;
    border-radius: var(--email-input-border-radius);
    background: transparent;
    pointer-events: none;
    /* Allow clicks to pass through to input */
    z-index: 1;
    transition: var(--transition);
    box-sizing: border-box;
    /* Include border in width calculation */
    margin: 0;
    padding: 0;
}

/* Frame allows pointer events to pass through */

/* Step 3: Button positioned inside the visual frame with equal spacing */
/* Button is positioned relative to wrapper, but sized to match frame height */
.email-validate-btn {
    position: absolute;
    right: var(--email-button-spacing);
    /* Spacing from right border edge of frame */
    top: var(--email-button-spacing);
    /* Spacing from top border edge of frame */
    /* Height must match frame height minus spacing (not wrapper height) */
    /* Frame height = calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em) */
    /* Button height = frame height - (spacing * 2) */
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em - var(--email-button-spacing) * 2);
    width: var(--email-button-width);
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    /* Increased from 0.7rem for better readability */
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(212, 165, 165, 0.1);
    border: 1px solid rgba(212, 165, 165, 0.3);
    border-radius: 10px;
    /* Match frame border radius */
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    line-height: 1;
    z-index: 10 !important;
    /* Well above input to ensure clickability */
    pointer-events: auto !important;
    /* Ensure button is clickable */
    flex-direction: row;
    /* Default to row layout */
}

/* Step 4: Input field WITHOUT borders, placed on top of the frame */
.email-validation-wrapper input[type="email"] {
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: var(--email-input-font-size) !important;
    padding: var(--email-input-padding) 1rem !important;
    padding-right: calc(var(--email-button-width) + var(--email-button-spacing) + var(--email-button-spacing) + 4px) !important;
    /* Make room for button + spacing */
    border: none !important;
    /* No border - frame provides the border */
    border-radius: var(--email-input-border-radius) !important;
    background: transparent !important;
    /* Transparent so frame shows through */
    transition: var(--transition) !important;
    position: relative !important;
    z-index: 2 !important;
    /* Above frame, below button */
    pointer-events: auto !important;
    /* Input is clickable */
    outline: none !important;
    /* Remove browser default focus outline */
    box-shadow: none !important;
    /* Remove any box-shadow that might appear on focus */
    line-height: var(--email-input-line-height) !important;
    margin: 0 !important;
    /* Override any margins from admin styles */
    /* Ensure autofill works - don't block browser autofill dropdowns */
    -webkit-appearance: none;
    appearance: none;
    /* Disable spellcheck for email inputs */
    spellcheck: false !important;
}

/* ============================================
   ADMIN-SPECIFIC EMAIL VALIDATION WIDGET STYLES
   ============================================
   These styles override admin.html's .inventory-field input styles
   to ensure the email validation widget displays correctly.
   
   IMPORTANT: admin.html has inline <style> with .inventory-field input rules
   that apply to ALL inputs. These rules must override those with higher specificity.
   ============================================ */

/* Wrapper: Must fill flex container and provide positioning context */
/* When wrapper is inside a flex: 1 div, it should fill that space */
.inventory-field .email-validation-wrapper,
.inventory-field>div[style*="flex"]>div[style*="flex: 1"]>.email-validation-wrapper,
.inventory-field>div[style*="display: flex"]>div[style*="flex: 1"]>.email-validation-wrapper,
.email-item .email-validation-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em) !important;
    display: block !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    /* Don't set flex here - wrapper is a block element inside a flex item */
}

/* Input: Override ALL admin input styles - must be transparent with no border */
/* Need to override admin.html's .inventory-field input styles which apply to ALL inputs */
/* Using high specificity to override inline styles in admin.html */
.inventory-field .email-validation-wrapper input[type="email"],
.inventory-field>div[style*="flex"]>div[style*="flex: 1"]>.email-validation-wrapper input[type="email"],
.inventory-field>div[style*="display: flex"]>div[style*="flex: 1"]>.email-validation-wrapper input[type="email"],
.email-item .email-validation-wrapper input[type="email"],
/* Extra specificity to override admin.html's .inventory-field input rule */
body .inventory-field .email-validation-wrapper input[type="email"] {
    /* Override admin.html .inventory-field input styles */
    padding: var(--email-input-padding) 1rem !important;
    padding-right: calc(var(--email-button-width) + var(--email-button-spacing) * 2 + 4px) !important;
    border: none !important;
    background: transparent !important;
    border-radius: var(--email-input-border-radius) !important;
    font-size: var(--email-input-font-size) !important;
    font-family: 'Poppins', sans-serif !important;
    width: 100% !important;
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em) !important;
    line-height: var(--email-input-line-height) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    outline: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* Prevent admin focus styles from affecting widget input */
/* Override admin.html's .inventory-field input:focus styles */
.inventory-field .email-validation-wrapper input[type="email"]:focus,
.inventory-field>div[style*="flex"]>div[style*="flex: 1"]>.email-validation-wrapper input[type="email"]:focus,
.inventory-field>div[style*="display: flex"]>div[style*="flex: 1"]>.email-validation-wrapper input[type="email"]:focus,
.email-item .email-validation-wrapper input[type="email"]:focus,
/* Extra specificity to override admin.html's .inventory-field input:focus rule */
body .inventory-field .email-validation-wrapper input[type="email"]:focus {
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Frame: Visual border that replaces input border */
.inventory-field .email-validation-wrapper .email-validation-frame,
.email-item .email-validation-wrapper .email-validation-frame {
    border: var(--email-input-border-width) solid #e0e0e0 !important;
    border-radius: var(--email-input-border-radius) !important;
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em) !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* Button: Positioned inside frame - must match frame height, not wrapper height */
.inventory-field .email-validation-wrapper .email-validate-btn,
.email-item .email-validation-wrapper .email-validate-btn {
    position: absolute !important;
    right: var(--email-button-spacing) !important;
    top: var(--email-button-spacing) !important;
    /* Height must match frame height minus spacing (same as base button rule) */
    height: calc(var(--email-input-border-width) * 2 + var(--email-input-padding) * 2 + 1.5em - var(--email-button-spacing) * 2) !important;
    width: var(--email-button-width) !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Frame state colors */
.inventory-field .email-validation-wrapper.email-not-validated .email-validation-frame,
.email-item .email-validation-wrapper.email-not-validated .email-validation-frame {
    border-color: #ffe0e0 !important;
    background-color: #fffafa !important;
}

.inventory-field .email-validation-wrapper.email-sent .email-validation-frame,
.email-item .email-validation-wrapper.email-sent .email-validation-frame {
    border-color: #ffd699 !important;
    background-color: #fffbf0 !important;
}

.inventory-field .email-validation-wrapper.email-validated .email-validation-frame,
.email-item .email-validation-wrapper.email-validated .email-validation-frame {
    border-color: #c8e6c8 !important;
    background-color: #f8fff8 !important;
}

/* Help text */
.inventory-field .email-validation-wrapper .email-validation-help,
.email-item .email-validation-wrapper .email-validation-help {
    margin-top: 0.25rem !important;
    font-size: 0.875rem !important;
    /* Increased from 0.75rem for better readability */
    line-height: 1.4 !important;
    width: 100% !important;
    display: block !important;
}


/* Focus state - style the frame instead of the input, using validation state colors */
.email-validation-wrapper.email-input-focused.email-not-validated .email-validation-frame {
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.3);
    /* Red focus ring for not validated */
}

.email-validation-wrapper.email-input-focused.email-sent .email-validation-frame {
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
    /* Yellow focus ring for sent */
}

.email-validation-wrapper.email-input-focused.email-validated .email-validation-frame {
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
    /* Green focus ring for validated */
}

/* Step 5: Help text positioned outside/below the frame */
.email-validation-help {
    font-size: 0.875rem;
    /* Increased from 0.75rem for better readability */
    margin-top: 0.25rem;
    line-height: 1.4;
    font-style: italic;
    transition: color 0.3s ease;
}

/* State-based styling for visual frame border */
.email-validation-wrapper.email-not-validated .email-validation-frame {
    border-color: #ffe0e0 !important;
    background-color: #fffafa !important;
}

.email-validation-wrapper.email-sent .email-validation-frame {
    border-color: #ffd699 !important;
    background-color: #fffbf0 !important;
}

.email-validation-wrapper.email-validated .email-validation-frame {
    border-color: #c8e6c8 !important;
    background-color: #f8fff8 !important;
}

/* State-based styling for help text (outside frame) */
.email-validation-wrapper.email-not-validated .email-validation-help {
    color: #d32f2f;
}

.email-validation-wrapper.email-sent .email-validation-help {
    color: #f57c00;
}

.email-validation-wrapper.email-validated .email-validation-help {
    color: #4caf50;
}

.email-validate-btn:hover:not(:disabled) {
    background: rgba(212, 165, 165, 0.2);
    border-color: rgba(212, 165, 165, 0.5);
}

.email-validate-btn:active:not(:disabled) {
    background: rgba(212, 165, 165, 0.15);
}

.email-validate-btn:disabled {
    opacity: 0.6;
    cursor: default;
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.email-validation-wrapper.email-validated .email-validate-btn {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.email-validation-wrapper.email-validated .email-validate-btn:hover {
    background: rgba(76, 175, 80, 0.15);
}

/* Bubble message for email-sent state (BUBBLE-V8E-003-BASE) */
/* Note: .email-validation-wrapper position: relative is already defined above */

/* Ensure wrapper allows overflow for bubble positioning */
.email-validation-wrapper {
    overflow: visible !important;
}

.email-validation-bubble {
    position: absolute;
    bottom: calc(100% + 20px);
    right: 0;
    background: white;
    border: 2px solid #ffc107;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    z-index: 100;
    opacity: 0;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 380px;
    pointer-events: none;
    min-width: 280px;
}

.email-validation-wrapper.email-sent .email-validation-bubble.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Triangle arrow at bottom of bubble pointing to button */
.email-validation-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 16px;
    height: 16px;
    background: white;
    border-right: 2px solid #ffc107;
    border-bottom: 2px solid #ffc107;
    transform: rotate(45deg);
}

.email-validation-bubble-arrow-line {
    position: absolute;
    bottom: calc(100% + 20px);
    right: calc(var(--email-button-width) + var(--email-button-spacing) + 35px);
    width: 2px;
    height: 50px;
    background: linear-gradient(to top, #ffc107, transparent);
    opacity: 0;
    transition: opacity 0.3s 0.2s;
    pointer-events: none;
    z-index: 99;
}

.email-validation-wrapper.email-sent .email-validation-bubble-arrow-line.active {
    opacity: 1;
}

.email-validation-bubble-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-validation-bubble-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.email-validation-bubble-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    animation: email-validation-icon-bounce 1.5s ease-in-out infinite;
}

@keyframes email-validation-icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.email-validation-bubble-text {
    color: #2c2c2c;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.email-validation-inline-emphasis {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.email-validation-inline-emphasis-icon {
    font-size: 1.1em;
}

.email-validation-link-highlight {
    text-decoration: underline;
    text-decoration-color: #ffc107;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 193, 7, 0.15) 50%, transparent 100%);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
}

.email-validation-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #856404;
    margin-left: 0.25rem;
}

.email-validation-time-badge-icon {
    font-size: 1em;
}

/* Button timer icon for email-sent state */
.email-validation-wrapper.email-sent .email-validate-btn {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.email-validate-btn .btn-timer-icon {
    font-size: 1.25rem;
    line-height: 1;
    animation: email-validation-timer-pulse 1.8s ease-in-out infinite;
}

@keyframes email-validation-timer-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive mobile styles for bubble */
@media (max-width: 768px) {
    .email-validation-bubble {
        max-width: calc(100vw - 3rem);
        padding: 0.875rem 1.25rem;
        right: 0;
        left: 0;
        margin: 0 auto;
        transform-origin: bottom center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: auto;
    }

    .email-validation-bubble::before {
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    .email-validation-bubble-arrow-line {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .email-validation-bubble-header {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .email-validation-bubble-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .email-validation-bubble-text {
        font-size: 0.875rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .email-validation-inline-emphasis {
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .email-validation-link-highlight {
        text-decoration-thickness: 1.5px;
        text-underline-offset: 2px;
        padding: 0.05rem 0.15rem;
        word-break: break-word;
    }

    .email-validation-time-badge {
        font-size: 0.8rem;
        margin-left: 0.15rem;
        flex-wrap: wrap;
    }

    /* Ensure button is properly sized on mobile */
    .email-validation-wrapper.email-sent .email-validate-btn .btn-timer-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .email-validation-bubble {
        max-width: calc(100vw - 2rem);
        padding: 0.75rem 1rem;
        border-radius: 16px;
        min-width: 0;
    }

    .email-validation-bubble-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .email-validation-bubble-icon {
        font-size: 1.25rem;
    }

    .email-validation-bubble-header {
        gap: 0.4rem;
    }

    .email-validation-link-highlight {
        font-size: 0.95em;
        padding: 0.05rem 0.1rem;
    }

    .email-validation-time-badge {
        font-size: 0.75rem;
        margin-left: 0.1rem;
    }

    .email-validation-inline-emphasis {
        gap: 0.25rem;
    }

    /* Smaller button icon on very small screens */
    .email-validation-wrapper.email-sent .email-validate-btn .btn-timer-icon {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .email-validation-bubble {
        max-width: calc(100vw - 1.5rem);
        padding: 0.625rem 0.875rem;
        border-radius: 12px;
    }

    .email-validation-bubble-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .email-validation-bubble-icon {
        font-size: 1.1rem;
    }

    .email-validation-time-badge {
        font-size: 0.7rem;
    }
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo .logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo .logo-slogan {
    font-size: 0.875rem;
    /* Increased from 0.75rem for better readability */
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Checkout Sidebar
   ============================================ */

.checkout-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
    max-height: 100vh;
    max-height: 100dvh;
    /* Prevent overflow on mobile */
    z-index: 10001;
    /* Higher than mobile menu (9999) to ensure sidebar appears on top */
    transition: right var(--transition);
    /* iOS Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Ensure it's positioned relative to viewport, not document */
    left: auto;
    /* Prevent overflow */
    overflow: hidden;
}

.checkout-sidebar.active {
    right: 0;
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    pointer-events: none;
    /* iOS Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    /* Allow scrolling through overlay */
    touch-action: pan-y;
    /* Allow vertical scrolling on touch devices */
}

/* Ensure body remains scrollable when checkout is open */
body:has(.checkout-sidebar.active) {
    overflow: auto !important;
    position: relative;
}

html:has(.checkout-sidebar.active) {
    overflow: auto !important;
}

.checkout-content {
    position: relative;
    z-index: 10001;
    background: var(--bg-white);
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* Ensure content doesn't exceed viewport */
    box-sizing: border-box;
    /* Force height calculation */
    min-height: 0;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 2px solid var(--accent-color);
    background: var(--gradient-soft);
    position: sticky;
    top: 0;
    z-index: 10;
    gap: 1rem;
    flex-shrink: 0;
}

.checkout-header h2 {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    flex: 1;
    text-align: left;
}

.checkout-close {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--accent-color);
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 600;
    line-height: 1;
}

.checkout-close:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.checkout-body {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 4rem 2rem;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
}

.checkout-item {
    padding: 1.25rem;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    background: var(--bg-white);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* Keep bottom border on all items */

.checkout-item-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--accent-color);
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-item-total strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.checkout-package-info {
    margin-bottom: 1rem;
}

.checkout-package-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.checkout-package-price {
    margin: 0;
    font-size: 0.95rem;
    /* Warm charcoal - clearly different from dusty rose accommodation label */
    color: #4a4545;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.checkout-quantity {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-quantity label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    color: var(--primary-color);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 165, 165, 0.3);
}

.quantity-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity-btn.delete-btn {
    background: #ff4444;
    color: var(--text-white);
    border-color: #ff4444;
    font-size: 1.1rem;
}

.quantity-btn.delete-btn:hover {
    background: #cc0000;
    border-color: #cc0000;
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

.quantity-input {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 0.5rem 0.4rem;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    min-width: 60px;
    max-width: 80px;
    box-sizing: border-box;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.checkout-footer {
    flex-shrink: 0;
    background: var(--bg-white);
    border-top: 2px solid var(--accent-color);
    padding: 0;
    position: relative;
    z-index: 10;
}

.checkout-footer-content {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-shrink: 0;
}

.checkout-total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--gradient-soft);
    border-radius: 12px;
    border: 1px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.checkout-total-section .total-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

.checkout-total-section .total-amount {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    margin: 0;
    padding: 0;
}

.checkout-proceed-btn,
#proceedToCheckoutBtn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: block;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    text-align: center;
}

.checkout-proceed-btn:hover,
#proceedToCheckoutBtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #b88a8a 0%, #a07575 100%);
}

.checkout-proceed-btn:active,
#proceedToCheckoutBtn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.checkout-proceed-btn:disabled,
#proceedToCheckoutBtn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Order Button in Checkout */
.checkout-order-btn {
    width: calc(100% - 5rem);
    margin: 0 2.5rem 2rem 2.5rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkout-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 165, 0.5);
}

.checkout-order-btn:active {
    transform: translateY(-1px);
}

.checkout-order-btn:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    touch-action: none;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.success-modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition);
}

.success-modal.active .success-modal-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--text-white);
    font-weight: 700;
}

.success-modal-content h2 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-size: 2rem;
}

.success-modal-content p {
    margin: 0 0 2rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        display: flex !important;
        /* Explicitly set display for mobile */
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height for mobile */
        width: 85%;
        max-width: 400px;
        flex-direction: column;
        background: var(--bg-white);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(212, 165, 165, 0.2);
        border-left: 1px solid rgba(212, 165, 165, 0.1);
        /* Use transform for better performance */
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 9999;
        visibility: visible;
        opacity: 1;
        /* Performance optimizations */
        will-change: transform;
        contain: layout style paint;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure menu is above everything when active */
    .navbar .nav-menu.active {
        z-index: 10001 !important;
    }

    /* Menu overlay backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(212, 165, 165, 0.15);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Close button for menu */
    .nav-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-color);
        border: 1px solid rgba(212, 165, 165, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
        z-index: 1;
        font-size: 1.5rem;
        color: var(--primary-color);
        line-height: 1;
        font-weight: 300;
    }

    .nav-menu-close:hover,
    .nav-menu-close:focus {
        background: var(--primary-color);
        color: var(--bg-white);
        border-color: var(--primary-color);
        transform: rotate(90deg);
    }

    .nav-menu-close:active {
        transform: rotate(90deg) scale(0.95);
        background: var(--secondary-color);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        min-height: 48px;
        text-align: left;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
        font-weight: 500;
        color: var(--text-dark);
    }

    .nav-link:hover,
    .nav-link:focus {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

    .nav-link.active {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border-left: 3px solid var(--primary-color);
    }

    .nav-link.btn-primary {
        background: var(--gradient-primary);
        color: var(--bg-white);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
        margin-top: 0.5rem;
        min-height: 52px;
        padding: 1rem 1.25rem;
        box-sizing: border-box;
        box-shadow: var(--shadow-sm);
    }

    .nav-link.btn-primary:hover,
    .nav-link.btn-primary:focus {
        background: var(--gradient-primary);
        color: var(--bg-white);
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
    }

    /* Register button mobile styles */
    .nav-link.btn-register {
        background: transparent;
        border: 2px solid var(--primary-color);
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
        margin-top: 0.5rem;
        min-height: 52px;
        padding: 1rem 1.25rem;
        box-sizing: border-box;
        font-size: 1rem;
        animation: none;
    }

    .nav-link.btn-register:hover,
    .nav-link.btn-register:focus {
        background: rgba(212, 165, 165, 0.15);
    }

    /* Hide subtext in mobile menu */
    .nav-link.btn-register::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        /* Ensure button is clickable on all Android devices */
        cursor: pointer;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        /* Ensure proper z-index and positioning */
        position: relative;
        z-index: 10001;
        /* Critical: ensure button receives pointer events */
        pointer-events: auto;
        /* Ensure button is above everything */
        isolation: isolate;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        align-items: center;
    }

    .contact-image {
        order: -1;
        width: 100%;
    }

    .team-image {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 16px;
    }

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

    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .contact-info>p {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: left;
    }

    .contact-details {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
        width: 100%;
    }

    .contact-item {
        width: 100%;
        padding: 1.25rem 1rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        text-align: left;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        border: 1px solid rgba(212, 165, 165, 0.15);
        transition: all 0.2s ease;
    }

    .contact-item:hover {
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(212, 165, 165, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(212, 165, 165, 0.1);
    }

    .contact-icon {
        font-size: 1.75rem;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-color);
        border-radius: 12px;
        margin: 0;
    }

    .contact-item strong {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .contact-item p {
        font-size: 0.95rem;
        margin: 0;
        word-break: break-word;
    }

    .phone-numbers {
        gap: 0.5rem;
    }

    .phone-numbers p {
        font-size: 0.95rem;
    }

    .contact-details-box {
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }

    .contact-content {
        gap: 2.5rem;
        padding: 0 1rem;
    }

    /* Disable sticky positioning on mobile for better scrolling */
    .about-image {
        position: relative;
        top: auto;
    }

    .about {
        padding: 5rem 0;
        overflow: visible;
    }

    .about-text {
        padding: 1rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .feature-icon {
        margin: 0 auto 1rem;
    }

    .schedule-timeline {
        padding-left: 2rem;
    }

    .schedule-timeline::before {
        left: -1rem;
    }

    .timeline-item::before {
        left: -1.625rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3rem 0;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-content {
        gap: 2rem;
        padding: 0 0.75rem;
    }

    .contact-top {
        gap: 2rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }

    .contact-info>p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .team-image {
        max-height: 250px;
    }

    .contact-details-box {
        padding: 1.25rem 0.75rem;
    }

    .contact-item {
        padding: 1rem 0.875rem;
        gap: 0.875rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .contact-item strong {
        font-size: 0.85rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .phone-numbers {
        gap: 0.4rem;
    }

    .phone-numbers p {
        font-size: 0.9rem;
    }

    .about {
        padding: 3rem 0;
        overflow: visible;
    }

    .about-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .feature-item {
        padding: 1.5rem 1.25rem;
        text-align: center;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin: 0 auto 1rem;
    }

    .feature-item h4 {
        font-size: 1.25rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 90vh;
        min-height: 90dvh;
        /* Dynamic viewport height */
        padding-top: 80px;
        padding-bottom: 4rem;
        /* Add bottom padding to accommodate scroll indicator */
        background-attachment: scroll;
        /* Fix scrolling on mobile */
        overflow: visible;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Scroll indicator positioning for tablets */
    .scroll-indicator {
        bottom: 1.5rem;
        z-index: 10;
    }

    .mouse {
        width: 26px;
        height: 44px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        text-align: center;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 2rem;
        line-height: 1.6;
        text-align: center;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        margin: 0 auto;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
        margin-top: 1.5rem;
        padding: 0;
    }

    .info-group {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .info-item {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
        padding: 0.25rem 0;
    }

    .info-icon {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .info-text {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Scroll indicator responsive positioning */
    .scroll-indicator {
        bottom: 1rem;
        /* Reduced bottom spacing on mobile */
        z-index: 10;
    }

    .mouse {
        width: 24px;
        /* Smaller on mobile */
        height: 40px;
    }

    .wheel {
        width: 3px;
        height: 6px;
        top: 6px;
    }

    @keyframes scroll {
        0% {
            top: 6px;
            opacity: 1;
        }

        100% {
            top: 20px;
            opacity: 0;
        }
    }

    .program-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    /* Ensure all buttons are touch-friendly */
    .btn,
    button,
    .nav-link,
    .select-package-btn,
    .register-interest-btn {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    /* Fix input zoom on iOS and ensure readable font size */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        /* Prevents zoom on iOS - minimum readable size */
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    /* Ensure minimum readable font sizes on mobile - only apply to base elements without explicit font-size */
    body {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        /* Minimum 14px, scales with viewport */
    }

    /* Ensure paragraphs and list items are readable */
    p:not([style*="font-size"]),
    li:not([style*="font-size"]) {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        /* Minimum 14px */
    }

    /* Ensure small text is still readable */
    small:not([style*="font-size"]),
    .small-text:not([style*="font-size"]) {
        font-size: clamp(0.8rem, 2vw, 0.875rem);
        /* Minimum 12.8px */
    }

    /* Improve spacing on mobile */
    .container {
        padding: 0 1rem;
    }

    /* Hero container specific padding on mobile */
    .hero .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Better text readability */
    p,
    li {
        line-height: 1.7;
    }

    /* Pricing cards mobile spacing */
    .pricing-card {
        margin-bottom: 1rem;
        text-align: center;
    }

    .pricing-features ul {
        text-align: left;
        margin: 0 auto;
        max-width: 100%;
    }

    .pricing-features ul li {
        text-align: left;
    }

    /* Terms section mobile */
    .terms-section {
        padding: 2rem 1rem;
    }

    .terms-item {
        padding: 1.25rem 1rem;
    }

    /* Section header mobile */
    .section-header {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-tag {
        font-size: 0.85rem;
    }

    /* Pricing section mobile */
    .pricing {
        padding: 4rem 0;
    }

    .pricing-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

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

    .price-amount {
        font-size: 2.5rem;
    }

    /* Schedule section mobile */
    .schedule {
        padding: 4rem 0;
    }

    /* Contact section mobile */
    .contact {
        padding: 4rem 0;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-logo {
        justify-content: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul li {
        text-align: center;
    }

    /* Pricing cards mobile alignment */
    .pricing-grid {
        padding: 0;
    }

    .pricing-card {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Schedule notes mobile */
    .schedule-notes {
        padding: 1.5rem 1rem;
    }

    .note-item {
        text-align: left;
        padding: 0.75rem 0;
    }

    .note-label {
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    /* Section header mobile alignment */
    .section-header {
        text-align: center;
    }

    /* Registration option mobile */
    .registration-option-card {
        text-align: center;
    }
}

/* Responsive hero background images */
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(135deg, rgba(212, 165, 165, 0.7) 0%, rgba(184, 138, 138, 0.75) 100%),
            url('img/sunset-mobile.webp');
        background-image:
            linear-gradient(135deg, rgba(212, 165, 165, 0.7) 0%, rgba(184, 138, 138, 0.75) 100%),
            url('img/sunset.jpg');
        /* Fallback */
        /* Fix: background-attachment: fixed causes issues on iOS Safari and mobile browsers */
        background-attachment: scroll;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .hero {
        background-image:
            linear-gradient(135deg, rgba(212, 165, 165, 0.7) 0%, rgba(184, 138, 138, 0.75) 100%),
            url('img/sunset-tablet.webp');
        background-image:
            linear-gradient(135deg, rgba(212, 165, 165, 0.7) 0%, rgba(184, 138, 138, 0.75) 100%),
            url('img/sunset.jpg');
        /* Fallback */
    }
}

/* Mobile-specific scrolling fixes */
@media (max-width: 968px) {

    /* Disable fixed background on mobile for better scrolling */
    .hero {
        background-attachment: scroll;
    }

    /* Ensure all sections are scrollable */
    section {
        overflow: visible;
        /* Don't use position: relative on sections - it can create containing blocks for fixed navbar */
        position: static;
    }

    /* Hero section specifically - maintain relative for scroll indicator positioning */
    .hero {
        position: relative;
        /* Required for scroll indicator absolute positioning */
        overflow: visible;
        /* Don't set touch-action - let touch events bubble to document for page scrolling */
        /* overflow: visible prevents hero from creating scrollable container */
    }

    /* Ensure hero-content doesn't create scrollable container on mobile */
    .hero-content {
        overflow: visible;
        /* Allow touch events to pass through for page scrolling */
    }

    /* Ensure container in hero doesn't create scrollable area */
    .hero .container {
        overflow: visible;
    }

    /* Ensure scroll indicator is visible and properly positioned */
    .scroll-indicator {
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        pointer-events: none;
    }

    /* Fix touch scrolling */
    html,
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        width: 100%;
        height: auto;
    }

    /* Prevent jumpy scrolling on iOS - but don't use transforms that create containing blocks */
    /* REMOVED: transforms on body create containing blocks that break fixed positioning */
    /* body {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-perspective: 1000;
        perspective: 1000;
    } */

    /* Smooth transitions and prevent horizontal scroll */
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix text overflow */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    a,
    li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Fix image overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix about section scrolling on mobile */
    .about {
        overflow: visible;
        position: relative;
    }

    .about-content {
        overflow: visible;
    }

    .container {
        overflow-x: hidden;
    }
}

/* ============================================
   Room Information Modal
   ============================================ */
.room-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0s 0.3s;
    /* Prevent scrolling beyond modal edges on mobile */
    overflow: hidden;
    /* Critical: modal must not block clicks when closed */
    pointer-events: none;
    touch-action: auto;
}

.room-info-modal.active {
    opacity: 1;
    visibility: visible;
    z-index: 10001;
    transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0s;
    /* Prevent body scroll when modal is open */
    overflow: hidden;
    pointer-events: auto;
    touch-action: none;
}

.room-info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    /* Critical: overlay must not block when modal is closed */
    pointer-events: none;
}

.room-info-modal.active .room-info-modal-overlay {
    pointer-events: auto;
}

.room-info-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.98);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    /* Prevent scrolling beyond content edges */
    touch-action: pan-y;
    /* Ensure content is visible immediately */
    opacity: 1;
    visibility: visible;
}

.room-info-modal.active .room-info-modal-content {
    transform: scale(1);
}

.room-info-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.room-info-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.room-info-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 5;
    flex-shrink: 0;
}

.room-info-title {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.room-info-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.room-image-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--bg-light);
    padding: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.carousel-images {
    width: 100%;
    min-height: auto;
    max-height: calc(85vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-image.active {
    display: flex;
    opacity: 1;
}

.carousel-image picture {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.carousel-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(85vh - 200px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.carousel-image img.portrait {
    max-width: min(70vw, 500px);
    max-height: calc(85vh - 180px);
}

.carousel-image img.square {
    max-width: min(80vw, 600px);
    max-height: calc(85vh - 180px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    min-width: 44px;
    min-height: 44px;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-white);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    min-width: 12px;
    min-height: 12px;
}

.carousel-indicator.active {
    background: var(--text-white);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.room-info-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.room-detail-section {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 165, 0.2);
}

.room-detail-section h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.room-detail-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.room-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-detail-section ul li {
    padding: 0.35rem 0;
    padding-left: 0;
    position: relative;
    color: var(--text-light);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.amenity-icon {
    font-size: 1rem;
    line-height: 1.5;
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
}

/* Room Overview Section */
.room-overview {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 2px solid var(--accent-color);
}

.room-overview-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.room-overview-item .room-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.room-overview-item h4 {
    font-size: 0.875rem;
    /* Increased from 0.75rem for better readability */
    color: var(--text-light);
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.room-overview-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}


/* Make description and additional info span full width for better readability */
.room-description-section,
.room-additional-section {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {

    /* Ensure navbar stays fixed to viewport on mobile */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }

    /* Prevent body scroll when any modal/sidebar is open */
    body:has(.room-info-modal.active),
    body:has(.checkout-sidebar.active),
    body:has(.checkout-page.active),
    body:has(.custom-modal.active),
    body:has(.success-modal.active) {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none !important;
    }

    .room-overview {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .room-info-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .room-detail-section {
        padding: 0.875rem;
    }

    .room-info-body {
        padding: 1rem;
    }

    .room-info-modal-content {
        width: 95%;
        max-height: 95vh;
        max-height: 95dvh;
        border-radius: 15px;
    }

    .room-info-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .room-info-title {
        font-size: 1.5rem;
    }

    .room-info-body {
        padding: 1.5rem;
    }

    .carousel-images {
        min-height: 180px;
        max-height: calc(60vh - 120px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn-prev {
        left: 0.5rem;
    }

    .carousel-btn-next {
        right: 0.5rem;
    }

    .room-info-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .room-detail-section {
        padding: 1.25rem;
    }

    .room-info-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    /* Room image mobile */
    .pricing-room-image {
        height: 180px;
    }

    .room-image-hint {
        font-size: 0.875rem;
        /* Increased from 0.8rem for better readability */
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================
   Customer Notes Modal Styles (Checkout)
   ============================================ */

.customer-notes-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    /* Higher than checkout page (10002) and checkout footer (10005) */
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.customer-notes-modal {
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(184, 138, 138, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customer-notes-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 2px solid #f3e4d8;
}

.customer-notes-modal-header h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b6b5d;
}

.customer-notes-close-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.customer-notes-close-btn .close-btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5ebe5;
    border: 2px solid #d9c5b8;
    color: #8b6b5d;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}

.customer-notes-close-btn:hover .close-btn-circle {
    background: #efe3db;
    border-color: #c9a595;
    color: #6d5248;
    transform: scale(1.05);
}

.customer-notes-modal-body {
    padding: 1.25rem 1.75rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.customer-notes-intro {
    color: #7d6b63;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: #fff5ef;
    border-radius: 8px;
    border-left: 3px solid #d9a58e;
}

.customer-notes-field {
    margin-bottom: 1.25rem;
}

.customer-notes-field label {
    display: block;
    font-weight: 600;
    color: #5d4a45;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.customer-notes-field .required-indicator {
    color: #d47070;
    margin-left: 0.25rem;
    font-weight: bold;
}

.customer-notes-field .field-description {
    font-size: 0.85rem;
    color: #8a7a72;
    margin: 0 0 0.5rem;
    font-style: italic;
}

.customer-notes-field input[type="text"],
.customer-notes-field textarea,
.customer-notes-field select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid #e8dcd5;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #4a3f3a;
    transition: all 0.2s ease;
}

.customer-notes-field input[type="text"]:focus,
.customer-notes-field textarea:focus,
.customer-notes-field select:focus {
    outline: none;
    border-color: #c9a595;
    box-shadow: 0 0 0 3px rgba(201, 165, 149, 0.2);
}

.customer-notes-field textarea {
    resize: vertical;
    min-height: 80px;
}

.customer-notes-field .char-counter {
    font-size: 0.75rem;
    color: #a09080;
    text-align: right;
    margin-top: 0.25rem;
}

/* Checkbox field styling */
.customer-notes-field-checkbox {
    background: #faf5f2;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e8dcd5;
}

.customer-notes-field-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-weight: normal;
}

.customer-notes-field-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
    accent-color: #b88a8a;
    cursor: pointer;
}

.customer-notes-field-checkbox .checkbox-text {
    color: #5d4a45;
    font-size: 0.95rem;
    line-height: 1.4;
}

.customer-notes-field-checkbox .field-description {
    margin-top: 0.5rem;
    padding-left: 1.85rem;
}

.required-indicator-text {
    font-size: 0.85rem;
    color: #a08070;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
}

.customer-notes-disclaimer {
    font-size: 0.85rem;
    color: #8a7b72;
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #faf8f6 0%, #f5f0eb 100%);
    border-radius: 8px;
    border: 1px solid #e8e0d8;
    text-align: center;
    line-height: 1.5;
}

.customer-notes-validation-error {
    background: #fff0f0;
    border: 1px solid #e8c0c0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #8b4545;
}

.customer-notes-validation-error strong {
    display: block;
    margin-bottom: 0.5rem;
}

.customer-notes-validation-error ul {
    margin: 0;
    padding-left: 1.25rem;
}

.customer-notes-validation-error li {
    margin: 0.25rem 0;
}

.customer-notes-modal-footer {
    display: flex;
    justify-content: stretch;
    gap: 0.75rem;
    padding: 1rem 1.75rem 1.5rem;
    border-top: 1px solid #f0e4dd;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
}

.customer-notes-modal-footer .btn-secondary {
    background: #f5ebe5;
    border: 2px solid #d9c5b8;
    color: #7d6b63;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.customer-notes-modal-footer .btn-secondary:hover {
    background: #efe3db;
    border-color: #c9b5a8;
}

.customer-notes-modal-footer .btn-primary,
.customer-notes-modal-footer .btn-save-notes {
    background: linear-gradient(135deg, #d9a58e 0%, #c48f79 100%);
    border: none;
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(212, 165, 142, 0.3);
    flex: 1;
    text-align: center;
}

.customer-notes-modal-footer .btn-primary:hover,
.customer-notes-modal-footer .btn-save-notes:hover {
    background: linear-gradient(135deg, #c48f79 0%, #b57a65 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 143, 121, 0.4);
}

/* Add Note Button in Checkout */
.checkout-add-note-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff9f5 0%, #fff4ed 100%);
    border: 2px dashed #d9c5b8;
    border-radius: 10px;
    color: #8b6b5d;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-add-note-btn:hover {
    background: linear-gradient(135deg, #fff4ed 0%, #ffede3 100%);
    border-color: #c9a595;
}

.checkout-add-note-btn.needs-attention {
    border-color: #e8a040;
    background: linear-gradient(135deg, #fffaf2 0%, #fff5e5 100%);
}

.checkout-add-note-btn.has-notes {
    border-style: solid;
    border-color: #7db97d;
    background: linear-gradient(135deg, #f5fff7 0%, #efffef 100%);
    color: #4a7a4a;
}

.note-status-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.note-status-indicator.has-notes {
    background: #7db97d;
    color: white;
}

.note-status-indicator.needs-attention {
    background: #e8a040;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Mobile responsive */
@media (max-width: 600px) {
    .customer-notes-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .customer-notes-modal-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .customer-notes-modal-header h2 {
        font-size: 1.25rem;
    }

    .customer-notes-modal-body {
        padding: 1rem 1.25rem 1.25rem;
    }

    .customer-notes-modal-footer {
        padding: 0.75rem 1.25rem 1.25rem;
        flex-direction: column;
    }

    .customer-notes-modal-footer button {
        width: 100%;
    }
}