/*
  MAYSA Beauty Space - Global Styles
  Organized with Variables, Reset, Typography, Utilities, Components, and Media Queries
*/

:root {
    /* Colors */
    --primary: #831100;
    --primary-light: #a41600;
    --accent: #C6A75E;
    --soft: #F6E9E7;
    --bg-light: #FDFBF9;
    --white: #ffffff;
    --black: #0d0d0d;

    /* Booking System Aliases */
    --booking-primary: var(--primary);
    --booking-secondary: var(--primary-light);
    --gold: var(--accent);

    /* Transparent Colors */
    --white-05: rgba(255, 255, 255, 0.05);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-80: rgba(255, 255, 255, 0.8);

    /* Fonts */
    --font-serif: "Playfair Display", serif;
    --font-heading: "Playfair Display", serif;
    --font-sans: "Montserrat", sans-serif;

    /* Transitions */
    --transition-slow: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: all 0.4s ease;
    --transition-fast: all 0.2s ease;

    /* Spacing */
    --container-width: 1400px;
}

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

html {
    scroll-behavior: initial; /* Lenis handles smoothing */
    scroll-padding-top: 100px;
}

.mobile-menu-btn {
    color: var(--white);
    transition: var(--transition-base);
    position: relative;
    z-index: 10001; /* Above the overlay */
}

body {
    font-family: "Montserrat", sans-serif !important;
    background-color: var(--bg-light);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Titles and standard Uppercase Text use Playfair Display */
h1, h2, h3, h4, h5, h6,
.category-title,
.services-hero-title,
.uppercase,
[class*="uppercase"],
[style*="uppercase"] {
    font-family: "Playfair Display", serif !important;
}

/* Specific Override: Nav links and EVERY Button uses Montserrat + Uppercase */
button,
.nav-link,
.btn,
.btn-book,
.btn-mobile-large,
.btn-full-menu,
.btn-login,
.nav-links a {
    font-family: "Montserrat", sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em;
}

.btn-login{
    color: white;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.btns-holder{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    a{
        width: 100%;
    }
}

.btn-mobile-large:hover{
    color: white !important;
}

.navbar.scrolled .btn-login{
    color: var(--primary);
}

/* Footer links should be Capitalized, not Uppercase */
.footer-link {
    font-family: "Montserrat", sans-serif !important;
    text-transform: capitalize !important;
    letter-spacing: normal;
}

/* Ensure all elements that are styled to be capitalized or uppercase use Playfair,
   except if they are nav/buttons which we overrode above */
.uppercase:not(.nav-link):not(.footer-link):not(.btn) *:not(i) {
    font-family: "Playfair Display", serif !important;
}

.mobile-menu {
    display: none;
}


nav{
    text-transform: uppercase;
}

main {
    flex: 1; /* Stretches main to fill screen between nav and footer */
    display: flex;
    flex-direction: column;
}

section {
    position: relative;
    width: 100%;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-base);
}

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

/* Typography Utilities */
.text-serif { font-family: var(--font-serif); }
.text-heading { font-family: var(--font-heading); }
.text-sans { font-family: var(--font-sans); }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.tracking-extrawide { letter-spacing: 0.4em; }

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.fixed { position: fixed; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Image as Background Utility */
.bg-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* --- Tailwind-to-Vanilla Global Utilities --- */

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-8 { margin: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-24 { gap: 6rem; }

/* Flex & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { display: flex; flex-direction: column; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Space Between System */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.line-through { text-decoration: line-through; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

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

/* Colors */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gold { color: var(--accent); }
.text-primary { color: var(--primary); }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-primary { background-color: var(--primary); }
.bg-gold { background-color: var(--accent); }

/* Borders */
.border { border: 1px solid #e5e7eb; }
.border-2 { border-width: 2px; }
.border-dashed { border-style: dashed; }
.border-transparent { border-color: transparent; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Display & Misc */
.hidden { display: none !important; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* Responsive Grid Hooks */
@media (min-width: 768px) {
    .md-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Component: Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 32px 0;
    transition: var(--transition-slow);
    z-index: 1000;
    .container{
        gap: 0.5rem;
    }
}

.logo-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    line-height: 1;
    transition: var(--transition-base);
}

.logo-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: var(--white-80);
    margin-top: 4px;
    transition: var(--transition-base);
}

.nav-links-wrapper {
    background: var(--white-05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-10);
    padding: 8px 32px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: var(--transition-base);
}

/* Page Specific Overrides (Booking & Profile have light backgrounds by default) */
.booking-page .navbar:not(.scrolled) .logo-title,
.booking-page .navbar:not(.scrolled) .logo-subtitle,
.booking-page .navbar:not(.scrolled) .nav-link,
.booking-page .navbar:not(.scrolled) .mobile-menu-btn,
.profile-page .navbar:not(.scrolled) .logo-title,
.profile-page .navbar:not(.scrolled) .logo-subtitle,
.profile-page .navbar:not(.scrolled) .nav-link,
.profile-page .navbar:not(.scrolled) .mobile-menu-btn {
    color: var(--black) !important;
}

.booking-page .navbar:not(.scrolled) .nav-links-wrapper,
.profile-page .navbar:not(.scrolled) .nav-links-wrapper {
    background: rgba(13, 13, 13, 0.04);
    border-color: rgba(13, 13, 13, 0.1);
}

.booking-page .navbar:not(.scrolled) .nav-link::after,
.profile-page .navbar:not(.scrolled) .nav-link::after {
    background: var(--black);
}

.booking-page .navbar:not(.scrolled) .btn-book,
.profile-page .navbar:not(.scrolled) .btn-book {
    background: var(--black);
    color: var(--white);
}

.booking-page .navbar:not(.scrolled) .btn-login,
.profile-page .navbar:not(.scrolled) .btn-login {
    color: var(--black);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--white-80);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

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

.btn-book {
    padding: 14px 36px;
    border-radius: 100px;
    background: var(--white);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-base);
}

.btn-book:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-book.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
    cursor: default;
}

.btn-book.active:hover {
    transform: none;
}

.navbar.scrolled {
    padding: 18px 0;
    background: #FAF8F6; /* Off-white as requested */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .nav-links-wrapper {
    background: rgba(131, 17, 0, 0.05); /* Make bill nav visible on off-white */
    border-color: rgba(131, 17, 0, 0.1);
}

.navbar.scrolled .logo-title,
.navbar.scrolled .logo-subtitle,
.navbar.scrolled .nav-link,
.navbar.scrolled .mobile-menu-btn {
    color: var(--primary) !important;
}

.mobile-menu-btn.active {
    color: var(--primary) !important;
}

.navbar.scrolled .nav-link::after {
    background: var(--primary);
}

.navbar.scrolled .btn-book {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
}


/* SECTION: Hero V2 */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.hero-v2 .bg-image-wrapper {
    z-index: 0;
}

.hero-v2 .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(74, 10, 0, 0.7), rgba(131, 17, 0, 0.4), rgba(131, 17, 0, 0.3));
    mix-blend-mode: multiply;
}

.hero-v2 .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 80px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: rgba(250, 248, 246, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 248, 246, 0.1);
    color: #FAF8F6;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-title span {
    display: block;
    margin-top: 16px;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--soft);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(250, 248, 246, 0.9);
    max-width: 650px;
    margin: 0 auto 64px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.btn-primary-v2 {
    background: var(--primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 15px 30px rgba(131, 17, 0, 0.4);
    border: 1px solid rgba(250, 248, 246, 0.1);
}

.btn-primary-v2:hover {
    background: #921402;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(131, 17, 0, 0.5);
}

.btn-secondary-v2 {
    background: var(--bg-light);
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-sans) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    i{
        rotate: -45deg;
    }
}

.btn-secondary-v2:hover {
    background: var(--white);
    transform: translateY(-4px);
    color: var(--primary-light);
}

/* UI BUG FIX: Wave Layer */
.wave-divider {
    position: absolute;
    bottom: -1px; /* Overlap to fix gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 20;
    transform: translateY(1px); /* More solid overlap */
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* SECTION: About */
.about-section {
    padding: 120px 0;
    background: #FAF8F6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    height: 600px;
}

.about-image-card {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(40px) rotate(-2deg);
}

.about-badge {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    display: block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #4A0A00;
    line-height: 1.1;
    margin-bottom: 32px;
}

.section-title span {
    font-style: italic;
    color: var(--primary);
    font-weight: 300;
}

.about-text {
    color: #594A47;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(131, 17, 0, 0.1);
    margin-bottom: 56px;
}

.stat-item span:first-child {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-item span:last-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #594A47;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos="fade-left"].aos-animate .feature-item {
    animation: staggerSnap 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.6s; }
.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }

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

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTION: Services */
.services-section {
    padding: 120px 0;
    background: #FDF5F2;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition-slow);
}

.service-card.wide {
    grid-column: span 2;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(74, 10, 0, 0.15);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    transition: transform 1.5s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #4A0A00, rgba(74, 10, 0, 0.2), transparent);
    opacity: 0.6;
    transition: opacity 0.7s ease;
}

.service-card:hover::after {
    opacity: 0.8;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: var(--white);
    z-index: 10;
    transform: translateY(20px);
    transition: transform 0.7s ease;
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.7s ease 0.1s;
    margin-bottom: 24px;
    font-weight: 300;
}

.service-card:hover p {
    opacity: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.7s ease 0.2s;
}

.service-card:hover .service-footer {
    opacity: 1;
}

.service-price {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--soft);
}

/* SECTION: Gallery */
.gallery-section {
    padding: 160px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.viewGallery{
    font-family: var(--font-sans) !important;
    i{
        rotate: -45deg;
    }
}
.gallery-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(131, 17, 0, 0.2);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    padding: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.5);
    transition: transform 0.5s ease 0.1s;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

/* SECTION: Testimonials */
.testimonials-section {
    padding: 160px 0;
    background: #F4EDE8;
    text-align: center;
}

.quotes-decor {
    position: absolute;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(131, 17, 0, 0.05);
    user-select: none;
    line-height: 1;
}

.quote-left { top: 80px; left: 80px; }
.quote-right { bottom: 80px; right: 80px; }

.testimonial-card p {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-style: italic;
    color: #4A0A00;
    line-height: 1.3;
    margin: 40px auto 60px;
    max-width: 900px;
}

.testimonial-author h4 {
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonial-author span {
    color: #aaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Component: Button Shadow Transitions */
.btn-primary-v2, .btn-secondary-v2, .btn-book, .service-card, .gallery-item, .insta-item {
    transition: var(--transition-base);
}

/* SECTION: Services Footer Icon */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    rotate: 45deg;
    transition: var(--transition-base);
}

.icon-circle:hover {
    background: var(--white);
    color: var(--primary);
}

/* SECTION: Gallery Zoom Icon Pill */
.zoom-icon-pill {
    padding: 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    gap: 10px;
    transform: scale(0.8);
    transition: var(--transition-base);
}

.gallery-item:hover .zoom-icon-pill {
    transform: scale(1);
}

.gallery-item .bg-image {
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1), filter 1.5s ease;
}

.gallery-item:hover .bg-image {
    transform: scale(1.1);
    filter: brightness(1.15);
}

/* SECTION: Testimonials Swiper & Pagination */
.testimonials-section {
    padding: 120px 0 160px;
    background: #F4EDE8;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quotes-decor {
    position: absolute;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(131, 17, 0, 0.05);
    user-select: none;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.quote-left { top: 80px; left: 80px; }
.quote-right { bottom: 80px; right: 80px; }

.testimonial-card {
    padding: 0 20px;
}

.testimonial-card p {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-style: italic;
    color: #4A0A00;
    line-height: 1.3;
    margin: 0 auto 56px;
    max-width: 900px;
    font-family: var(--font-serif);
}

.testimonial-author-divider {
    width: 80px;
    height: 4px;
    background: rgba(131, 17, 0, 0.1);
    margin-bottom: 32px;
    border-radius: 100px;
}

.testimonial-author h4 {
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonial-author span {
    color: #9ca3af; /* text-gray-400 from request */
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
}

.testimonials-swiper {
    padding-bottom: 90px !important;
    position: relative;
    z-index: 5;
}

.swiper-pagination {
    bottom: 30px !important;
    z-index: 10 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary) !important;
    opacity: 0.3; /* Increased from 0.1 for better visibility */
    transition: var(--transition-base);
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    opacity: 1;
}

/* SECTION: Instagram Grid Edges & Hover */
.instagram-section {
    padding: 120px 0;
    background: var(--white);
}

/* Support for requested specific utility classes in the Instagram header */
.text-accent-primary { color: #831100; }
.tracking-ultra-wide { letter-spacing: 0.25em; }

.instagram-swiper {
    width: 100%;
    padding: 20px 5% 60px !important;
    overflow: hidden;
}

.insta-item {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 2rem !important;
    background: var(--bg-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (max-width: 768px) {
    .insta-item {
        flex: 0 0 250px;
        height: 250px;
    }
}

.insta-item .bg-image {
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.insta-item:hover .bg-image {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(131, 17, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition-base);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-overlay i {
    color: white !important;
    font-size: 40px;
}
#custom-discount-info{
    display: none !important;
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrapper { height: 400px; order: 2; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }


    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card.wide { grid-column: auto; }
    .services-header { flex-direction: column; align-items: flex-start; gap: 24px; }
}

    @media (max-width: 480px) {
        .service-grid { grid-template-columns: 1fr; }
        .booking-flex-layout{
            display: flex !important;
        }
        .booking-container-max,.package-card-content {
            padding: 0 !important;
        }
        .create-own-card{
            flex-direction: column;
            padding: 1rem !important;
            white-space: normal !important;

        }
        .text-content{
            text-align: center !important;
            text-wrap: pretty;
        }
    }
/* Component: Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    line-height: 0;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 64px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.footer-brand h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--white-70);
    font-size: 15px;
    font-weight: 300;
    max-width: 320px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--white-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    font-size: 18px;
}

.social-icon:hover {
    background: var(--soft);
    border-color: var(--soft);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--soft);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    font-size: 14px;
    color: var(--white-70);
    display: block; /* Ensures links take full width in columns */
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(6px);
}

.contact-info li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--white-70);
}

.contact-info i {
    color: var(--soft);
    font-size: 16px;
    margin-top: 4px;
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--white-70);
    font-weight: 300;
}

.newsletter-input-group {
    display: flex;
    border-bottom: 1px solid var(--white-30);
    padding-bottom: 12px;
    position: relative;
}

.newsletter-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 14px;
    width: 100%;
}

.newsletter-input::placeholder {
    color: var(--white-30);
}

.newsletter-btn {
    color: var(--soft);
    font-size: 18px;
}

.newsletter-btn:hover {
    color: var(--white);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--white-10);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--white-30);
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

@media (max-width: 1024px) {
    .footer-legal {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

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

/* Floating Actions */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: var(--white);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    opacity: 0;
    transform: scale(0);
    animation: floatInBounce 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 1s;
}

@keyframes floatInBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1 !important;
}

.whatsapp-ping {
    position: absolute;
    inset: -4px;
    background: #25D366;
    border-radius: 50%;
    opacity: 0.3;
    animation: whatsapp-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes whatsapp-ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.mobile-book-bar {
    position: fixed;
    bottom: 24px;
    max-width: 500px;
    margin-inline: auto;
    left: 24px;
    right: 24px;
    z-index: 999;
    display: none;
}

.btn-mobile-book {
    display: none;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 18px;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 30px rgba(131, 17, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    &:hover{
        background-color: white;
        color: var(--primary);
    }
}

.btn-mobile-book i {
    color: var(--accent);
}

/* MEDIA QUERIES (At the far bottom as requested) */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .hidden-md { display: none !important; }
    .flex-md { display: flex !important; }

    .nav-links-wrapper {
        display: none !important; /* Hide desktop nav in favor of overlay */
    }

/* Mobile Menu Overlay Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color:#FAF8F6;
    backdrop-filter: blur(24px);
    display: flex !important; /* Ensure it shows on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 60px 0;
}

.mobile-menu a {
    color: black;
}

.mobile-menu a:not(.btns-holder a).active,
.mobile-menu a:not(.btns-holder a):hover {
    color: var(--primary) !important;
}


.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 32px;
    right: 5%;
    background: var(--primary); /* Circle background */
    border: none;
    color: white; /* White icon */
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Fixed size for circle */
    height: 44px;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    box-shadow: 0 4px 12px rgba(131, 17, 0, 0.2);
}

.mobile-menu-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--primary-light);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 400px;
    padding: 0 40px;
}

.mobile-link-large {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    text-align: center;
}

.mobile-link-large.active, .mobile-link-large:hover {
    color: var(--primary) !important;
    transform: scale(1.05);
}

.btn-mobile-large {
    display: inline-block;
    width: auto;
    min-width: 250px;
    color: white !important;
    background: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 48px;
    border-radius: 100px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(131, 17, 0, 0.3);
    transition: var(--transition-base);
}

.btn-mobile-large:hover,
.btn-mobile-large.active {
    background: var(--primary-light);
    transform: translateY(-4px);
    color: white !important;
}

.menu-item {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu.active .menu-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mobile-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .menu-item:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-socials {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu-socials {
    opacity: 1;
    transform: translateY(0);
}

.m-social-link {
    color: var(--primary);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.m-social-link:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.pt-8 { padding-top: 24px; }

    .logo-title {
        font-size: 24px;
    }

    .footer {
        padding-top: 100px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .whatsapp-float {
        right: 24px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .mobile-book-bar {
        display: block;
    }
}

/*
     Services & Portfolio Page Styles - MAYSA Beauty Space
     Transitioned from Tailwind to Vanilla CSS
*/

.services-page,
.portfolio-page {
    background-color: #FAF8F6;
    min-height: 100vh;
    padding-bottom: 6rem;
}

.services-hero,
.portfolio-hero {
    padding-top: 10rem;
    padding-bottom: 7rem;
    background-color: #831100;
    color: white;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    overflow: hidden;
}

.services-hero-pattern,
.portfolio-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    filter: blur(64px);
    z-index: 1;
}

.blob-1 {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.blob-2 {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

.services-hero-content,
.portfolio-hero-content {
    position: relative;
    z-index: 10;
}

.services-hero-title,
.portfolio-hero-title {
    font-size: clamp(3.5rem, 9vw, 5rem);
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.services-hero-subtitle,
.portfolio-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.8;
}

.services-wave,
.portfolio-wave {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 20;
    bottom: 0;
}

.services-wave svg,
.portfolio-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

@media (min-width: 768px) {
    .services-wave svg,
    .portfolio-wave svg {
        height: 60px;
    }
}

/* Portfolio Gallery Styles */
/* Portfolio Gallery Styles: Premium Flex Masonry */
.portfolio-container {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.gallery-flex-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Prevent columns from stretching to match tallest */
    justify-content: center;
    width: 100%;
    padding-inline: 1rem ;
    gap: 20px; /* Standardized gap */
}

.gallery-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px; /* Standardized gap */
    min-width: 0;
}

@media (max-width: 1024px) {
    .gallery-flex-wrapper {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-flex-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .gallery-column {
        flex: none;
        width: 100%;
        display: flex !important; /* Ensure all columns show */
    }
}

.gallery-item-wrapper {
    display: block; /* Remove flex to prevent any cross-axis stretching */
    width: 100%;
}

.gallery-item {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-position: center;
    transition: transform 0.7s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(131, 17, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 1rem;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transform: scale(0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.1s;
}

.gallery-item:hover .zoom-icon-wrapper {
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(74, 10, 0, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10010;
}

.lightbox-close:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-img {
    max-height: 85vh;
    max-width: 90vw;
    object-fit: contain;
    width: auto; /* Dynamic width */
    height: auto; /* Dynamic height */
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .gallery-flex-wrapper {
        gap: 15px;
    }
    .gallery-column {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-flex-wrapper {
        flex-direction: column;
    }
    .portfolio-hero-title {
        font-size: 3rem;
    }
}

.services-container {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

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

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

.category-card {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border-radius: 2.5rem;
    border: 1px solid white;
    transition: var(--transition-base);
}

@media (min-width: 768px) {
    .category-card {
        padding: 3rem;
    }
}

.category-card:hover {
    border-color: rgba(131, 17, 0, 0.1);
}

.category-title {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    color: #831100;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.category-title-line {
    height: 2px;
    background-color: #F6E9E7;
    flex-grow: 1;
    margin-left: 1.5rem;
    border-radius: 9999px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    position: relative;
}

.service-item:hover {
    background-color: #FDFBF9;
}

.service-item-info {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-item-name {
    font-weight: 500;
    color: #1f2937;
    transition: color 0.2s ease;
    position: relative;
    z-index: 10;
    padding-right: 0.5rem;
}

.service-item:hover .service-item-name {
    color: #831100;
}

.service-item-dots {
    position: absolute;
    bottom: 0.5rem;
    width: 100%;
    border-bottom: 1px dotted #d1d5db;
    z-index: 0;
    margin-left: 0.5rem;
}

.service-item-price {
    font-family: "Playfair Display", serif !important;
    color: #831100;
    padding-left: 0.5rem;
    position: relative;
    font-weight: 500;
    z-index: 10;
    flex-shrink: 0;
}

.full-menu-cta {
    margin-top: 6rem;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.btn-full-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 3rem;
    background-color: transparent;
    border: 1px solid #831100;
    color: #831100;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-full-menu:hover {
    background-color: #831100;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(131, 17, 0, 0.15);
}

.btn-full-menu i {
    font-size: 0.875rem;
    transform: rotate(-45deg);
    transition: transform 0.4s ease;
}

.btn-full-menu:hover i {
    transform: rotate(0deg);
}

/*
   Contact Page Styles - MAYSA Beauty Space
   Transitioned from Tailwind to Vanilla CSS
*/

.contact-page {
    background-color: #FAF8F6;
    min-height: 100vh;
}

.contact-hero {
    padding-top: 10rem;
    padding-bottom: 7rem;
    background-color: #831100;
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

.contact-hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
    color: rgba(246, 233, 231, 0.8);
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
}

.contact-container {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

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

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

.contact-info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-base);
}

.contact-info-card:hover {
    border-color: rgba(131, 17, 0, 0.1);
}

.contact-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #F6E9E7;
    color: #831100;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background-color: #831100;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: #831100;
    margin-bottom: 1rem;
}

.contact-info-text {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #831100;
    border-bottom: 1px solid rgba(131, 17, 0, 0.2);
    padding-bottom: 0.25rem;
    transition: var(--transition-base);
}

.contact-link:hover {
    color: #A01D0A;
    border-color: #831100;
}

.contact-form-map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-form-map-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 32px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 3.5rem;
    }
}

.contact-form-title {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    color: #831100;
    margin-bottom: 2.5rem;
}

.contact-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-left: 0.25rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background-color: #FAF8F6;
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 1.125rem 1.5rem;
    outline: none;
    transition: var(--transition-base);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: rgba(131, 17, 0, 0.2);
}

.contact-textarea {
    resize: none;
}

.contact-map-container {
    height: 520px;
    background-color: #f3f4f6;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.contact-map-iframe:hover {
    opacity: 1;
}

.contact-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #831100, #A01D0A);
    color: white;
    border: none;
    border-radius: 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
    transition: var(--transition-base);
    gap: 0.75rem;
}

.contact-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(131, 17, 0, 0.4);
}

.contact-btn-submit i {
    font-size: 0.9rem;
}

/*
   Booking Page Styles - Refined for "Exactly the same" UI
*/
/*
   Booking Page Styles - Robust Implementation
*/
:root {
    --booking-primary: #831100;
    --booking-secondary: #A01D0A;
    --booking-accent: #C6A75E;
    --booking-bg: #FAF8F6;
    --booking-card-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.booking-page {
    background-color: var(--booking-bg);
}

.booking-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24rem;
    background-color: rgba(131, 17, 0, 0.05); /* 831100/5 */
    z-index: -10;
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
}

/* Base Layout Objects */
.booking-card-main {
    flex: 1;
    background-color: white;
    border-radius: 2rem;
    box-shadow: var(--booking-card-shadow);
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .booking-card-main { padding: 2.5rem 3rem; }
}

/* Steps Transition */
.steps-viewport {
    position: relative;
    flex-grow: 1;
    width: 100%;
    overflow: hidden;
}

.step-content-wrapper {
    width: 100%;
    flex-shrink: 0;
}

.step-entering {
    animation: slide-in-right 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(1.5rem); }
    to { opacity: 1; transform: translateX(0); }
}

.hidden-step { display: none !important; }

/* Components */
.progress-label-item {
    color: #9ca3af;
    transition: color 0.3s;
}

.progress-label-item.active {
    color: var(--booking-primary);
}

.booking-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
}

.booking-progress-bar-bg {
    height: 6px;
    background-color: #f1f5f9;
    width: 100%;
    position: relative;
    border-radius: 9999px;
    overflow: hidden;
}

#progress-bar-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: linear-gradient(to right, var(--booking-primary), var(--booking-secondary));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-item-card {
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-item-card:hover {
    border-color: rgba(131, 17, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.booking-item-card.selected {
    border-color: rgba(131, 17, 0, 0.3) !important;
    background-color: #fffaf9 !important;
}

.item-selector-dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: white;
    transition: all 0.2s;
}

.selected .item-selector-dot {
    background-color: var(--booking-primary);
    border-color: var(--booking-primary);
}

.specialist-img-v2 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
}

.selected .specialist-img-v2 {
    border-color: var(--booking-primary);
}

/* Time Slots */
.time-slot-btn {
    padding: 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    background: #FAF8F6;
    transition: all 0.3s;
}

.time-slot-btn.selected {
    background: var(--booking-primary);
    color: white;
    border-color: var(--booking-primary);
}

/* Inputs */
.booking-form-input,
.booking-form-textarea {
    width: 100%;
    background-color: #FAF8F6;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    outline: none;
    transition: all 0.3s;
}

.booking-form-input:focus,
.booking-form-textarea:focus {
    background-color: white;
    border-color: rgba(131, 17, 0, 0.2);
}

/* Summary Sidebar */
.booking-summary-sidebar { width: 100%; }
@media (min-width: 1024px) { .booking-summary-sidebar { width: 350px; } }

.booking-summary-card {
    background-color: white;
    padding: 1.5rem; /* Reduced from 2rem/2.5rem */
    position: sticky;
    top: 100px;
    box-shadow: var(--booking-card-shadow);
    border: 1px solid #f3f4f6;
    border-radius: 2rem;
}

/*
   Booking Page Styles - Semantic Refactor (Removing Tailwind)
*/
.booking-section-wrapper {
    position: relative;
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 6rem;
    background-color: var(--booking-bg);
    z-index: 10;
}

.booking-container-max {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.booking-flex-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .booking-flex-layout {
        flex-direction: row;
        gap: 3rem;
    }
}

.booking-main-form-card {
    flex: 1;
    background-color: white;
    border-radius: 2rem;
    box-shadow: var(--booking-card-shadow);
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .booking-main-form-card {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .booking-main-form-card {
        padding: 3rem;
    }
}

.booking-step-header {
    margin-bottom: 3rem;
}

.booking-step-title-row {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.booking-step-title-text {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--booking-primary);
}

.booking-step-subtitle {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Horizontal Service Cards (Step 1) */
.horizontal-service-card {
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.horizontal-service-card:hover {
    border-color: rgba(131, 17, 0, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.horizontal-service-card.selected {
    border-color: var(--booking-primary);
    background-color: rgba(131, 17, 0, 0.02);
}

.service-selection-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.selection-marker {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.horizontal-service-card.selected .selection-marker {
    background-color: var(--booking-primary);
    border-color: var(--booking-primary);
}

.selection-marker::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.625rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.horizontal-service-card.selected .selection-marker::after {
    opacity: 1;
}

.service-item-title {
    font-weight: 500;
    color: var(--booking-primary);
    font-size: 1.125rem;
}

.service-item-meta {
    color: #9ca3af;
    font-size: 0.875rem;
}

.service-item-price {
    font-family: var(--font-serif);
    color: var(--booking-primary);
    font-size: 1.125rem;
    position: relative;
    z-index: 10;
}

/* Typography Helpers */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-8 { margin-bottom: 2rem; }
.font-light { font-weight: 300; }
/* Responsive Grid Helpers (Semantic) */
.grid { display: grid; }
.gap-24 { gap: 1.5rem; }

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

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

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

.booking-section-group {
    margin-bottom: 2.5rem;
}

.fa-sparkles.text-gold {
    color: var(--gold);
}

/* Custom Utilities for missing Tailwind colors */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }
.text-booking-primary { color: var(--booking-primary) !important; }
.bg-booking-primary { background-color: var(--booking-primary) !important; }
.bg-soft { background-color: var(--soft) !important; }

/* Main Booking Layout */
.booking-section-wrapper {
    padding: 9rem 0 8rem;
    position: relative;
    transition: background-color 0.8s ease;
}

.booking-section-wrapper.is-success {
    background-color: white !important;
}

.booking-section-wrapper.is-success .booking-hero-bg {
    display: none;
}

.booking-container-max {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.booking-flex-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .booking-flex-layout {
        grid-template-columns: 1fr 380px;
        align-items: flex-start;
    }
}

.booking-main-form-card {
    background-color: white;
    border-radius: 2.5rem;
    border: 1px solid #f3f4f6;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .booking-main-form-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .booking-container-max {
        padding: 0 1rem;
    }
}

.booking-step-header {
    margin-bottom: 3rem;
}

.booking-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-label-item {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    font-weight: 500;
}

.progress-label-item.active {
    color: var(--primary);
}

.booking-progress-bar-bg {
    width: 100%;
    height: 4px;
    background-color: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

#progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.steps-viewport {
    position: relative;
}

/* Booking Step Toggle */
.booking-type-toggle {
    display: flex;
    gap: 0.5rem;
    background-color: #FAF8F6;
    padding: 0.4rem;
    border-radius: 1.25rem;
    width: fit-content;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.toggle-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border: none;
    cursor: pointer;
    background: transparent;
}

.toggle-btn.active {
    background-color: white;
    color: var(--booking-primary);
    box-shadow: 0 4px 12px rgba(131, 17, 0, 0.1);
    transform: translateY(-1px);
}

.toggle-btn:not(.active) {
    color: #9ca3af;
}

.toggle-btn:not(.active):hover {
    color: var(--booking-primary);
    background-color: rgba(255, 255, 255, 0.5);
}

/* Service Grid & Cards (Mockup Style) */
.booking-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

@media (max-width: 480px) {
    .booking-services-grid {
        grid-template-columns: 1fr !important;
    }
    .booking-main-form-card {
        padding: 1rem;
    }

    .mobile-menu .btn-mobile-large{
        scale: 0.85;
    }
    .mobile-link-large{
        font-size: 2rem;
    }

}

.booking-item-card {
    padding: 1.25rem 1.5rem;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.booking-item-card h3 {
    margin-bottom: 0 !important;
    line-height: 1.2;
}

.booking-item-card:hover {
    border-color: rgba(131, 17, 0, 0.3);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.05);
}

.booking-item-card.selected,
.booking-item-card.active {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(131, 17, 0, 0.2) !important;
}

.booking-item-card h3 {
    font-weight: 500;
    color: var(--primary);
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 0.125rem;
}

.booking-item-card .duration-text {
    color: #9ca3af; /* text-gray-400 */
    font-size: 0.875rem; /* text-sm */
}

.booking-item-card .price-text {
    color: var(--primary);
    font-family: var(--font-serif);
    font-size: 1.125rem; /* text-lg */
    font-weight: 500;
    white-space: nowrap;
}

.booking-item-card-left {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    position: relative;
    z-index: 10;
}
.booking-item-card .selection-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 1.5px solid #d1d5db;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.booking-item-card.selected .selection-dot,
.booking-item-card.active .selection-dot {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.booking-item-card.selected .selection-dot::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: white;
}

/* Custom Package Premium Card */
.create-own-card {
    width: 100%;
    padding: 2rem;
    border: 2px dashed #e5e7eb;
    border-radius: 2rem;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.create-own-card:hover {
    border-color: rgba(131, 17, 0, 0.5);
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px -10px rgba(131, 17, 0, 0.1);
    transform: translateY(-2px);
}

.create-own-card .icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-color: #F6E9E7;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.create-own-card:hover .icon-box {
    background-color: var(--primary);
    color: white;
}

.create-own-card .text-content {
    text-align: left;
}

.create-own-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.create-own-card p {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 300;
}

.home-packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    margin-top: 80px;
    max-width: 900px;
    margin-inline: auto;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .home-packages-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.package-card {
    background-color:#FDF5F2 !important;
    border: 1px solid #f3f4f6;
    border-radius: 2rem;
    padding: 2rem; /* p-8 */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: visible;
    text-align: left;
    display: flex;
    flex-direction: column;
    a{
        pointer-events: none;
    }
}
.theme-custom{
    background-color: transparent !important;
}
.package-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem; /* gap-6 */
}

.package-card h3 {
    font-size: 1.5rem; /* text-2xl */
    font-family: var(--font-serif);
    color: var(--primary);
    margin-bottom: 0.5rem; /* mb-2 */
}

.package-description {
    color: #6b7280; /* text-gray-500 */
    font-size: 0.875rem; /* text-sm */
    margin-bottom: 1.5rem !important; /* mb-6 */
    font-weight: 300; /* font-light */
}

.package-services-group {
    margin-bottom: 1.5rem; /* mb-6 */
}

.package-services-label {
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    color: #9ca3af; /* text-gray-400 */
    margin-bottom: 0.75rem; /* mb-3 */
}

.package-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}

.package-service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 */
    font-size: 0.875rem; /* text-sm */
    color: #374151; /* text-gray-700 */
}

.packages-home-section{
    background-color: white !important;
}
.package-service-dot {
    width: 0.375rem; /* w-1.5 */
    height: 0.375rem; /* h-1.5 */
    border-radius: 50%;
    background-color: var(--accent); /* bg-[#C6A75E] */
    flex-shrink: 0;
}

.package-more-count {
    margin-top: 10px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.package-more-count::before {
    content: "";
    width: 20px;
    height: 1px;
    background: rgba(131, 17, 0, 0.2);
}

.package-service-duration {
    margin-left: auto;
    color: #9ca3af; /* text-gray-400 */
    font-size: 0.75rem; /* text-xs */
}

.package-price-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem; /* gap-4 */
}

.price-was-box p:first-child,
.price-now-box p:first-child {
    font-size: 0.75rem; /* text-xs */
    color: #9ca3af; /* text-gray-400 */
    margin-bottom: 0.25rem; /* mb-1 */
}

.price-was-value {
    color: #9ca3af; /* text-gray-400 */
    text-decoration: line-through;
    font-size: 1.125rem; /* text-lg */
}

.price-now-value {
    font-size: 1.875rem; /* text-3xl */
    font-family: var(--font-serif);
    color: var(--primary);
}

.btn-get-now {
    margin-top: auto; /* Push to bottom */
    width: 100%;
}

.package-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 30px; /* Space for shape title */
    transition: var(--transition-base);
    cursor: pointer;
}

/* Shape Title above card */
.package-shape-title {
    display: none;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
    white-space: nowrap;
}

.package-shape-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary);
}

/* Themed Variations */
.package-card.theme-diamond .package-shape-title { background: #4A0A00; }
.package-card.theme-diamond .package-shape-title::after { border-top-color: #4A0A00; }
.package-card.theme-diamond { border: 1px solid rgba(74, 10, 0, 0.1); }

.package-card.theme-platinum .package-shape-title { background: #831100; }
.package-card.theme-platinum .package-shape-title::after { border-top-color: #831100; }
.package-card.theme-platinum { border: 1px solid rgba(131, 17, 0, 0.1); }

.package-card.theme-ruby .package-shape-title { background: #921402; }
.package-card.theme-ruby .package-shape-title::after { border-top-color: #921402; }
.package-card.theme-ruby { border: 1px solid rgba(146, 20, 2, 0.1); }

.package-card.theme-custom {
    border: 2px solid #C6A75E;
    box-shadow: 0 15px 40px rgba(198, 167, 94, 0.15);
    background: linear-gradient(to bottom, #FAF8F6, var(--white));
}

.package-card.theme-custom .package-shape-title {
    background: linear-gradient(135deg, #C6A75E, #831100);
}

.package-card.theme-custom .package-shape-title::after {
    border-top-color: #A35C2B; /* Mixed shade */
}

.package-card.theme-custom .package-card-content {
    background: transparent;
}

.package-card-content {
    flex: 1; /* Grow content wrapper */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2rem;
    padding: 2.5rem;
}

.package-services-group {
    flex-grow: 1; /* Grow services list area */
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(131, 17, 0, 0.2);
}

.package-card.selected,
.package-card.active {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(131, 17, 0, 0.2) !important;
}

.package-card.selected .package-icon-box,
.package-card.active .package-icon-box {
    background-color: var(--primary) !important;
    color: white !important;
}

.package-card.selected .package-check-mark,
.package-card.active .package-check-mark {
    display: flex;
}

.package-check-mark {
    position: absolute;
    top: 5rem; /* Below the badge (badge top is 1.5rem + height approx 2.5rem) */
    right: 1.5rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: var(--primary);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 20; /* Above badge */
    box-shadow: 0 4px 10px rgba(131, 17, 0, 0.2);
    animation: scaleIn 0.3s ease forwards;
}

.package-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(to right, #C6A75E, #B8964F);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.815rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(198, 167, 94, 0.3);
}

.package-icon-box {
    width: 3rem;
    height: 3rem;
    background-color: #F6E9E7;
    color: var(--booking-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* Custom Package Discount Panel */
.custom-discount-panel {
    margin-bottom: 2rem;
    background: linear-gradient(to right, #FAF8F6, #FFFFFF);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

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

.discount-title {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.discount-tier-item {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: white;
    border: 1px solid #f9fafb;
    transition: all 0.3s;
}

.tier-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #4b5563;
}

.tier-value {
    font-size: 0.75rem;
    color: #9ca3af;
}

.discount-progress-note {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1rem;
}

/* Custom Package Info */

/* Premium Item Cards (Specialists & Services) */
.premium-card {
    padding: 2rem;
    border: 1px solid #f3f4f6;
    border-radius: 2rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.premium-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: rgba(131, 17, 0, 0.3);
}

.premium-card.selected,
.premium-card.active {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(131, 17, 0, 0.2) !important;
}

.card-img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.card-img-premium {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

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

.check-badge-overlay {
    position: absolute;
    right: -0.5rem;
    bottom: -0.5rem;
    background-color: var(--booking-primary);
    color: white;
    padding: 0.5rem;
    border-radius: 9999px;
    border: 2px solid white;
    display: none;
}

.premium-card.active .check-badge-overlay,
.premium-card.selected .check-badge-overlay {
    display: flex;
    animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.rating-badge-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    background-color: #FFF5F5;
    color: var(--booking-primary);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    width: fit-content;
    margin: 1rem auto 0;
}

.rating-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: black;
}

.card-title-premium {
    font-weight: 500;
    color: var(--booking-primary);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.card-subtitle-premium {
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.booking-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .booking-time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Date & Time Step Styles */
.date-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.date-scroller::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.date-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 7rem;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    color: #4b5563;
}

.date-card:hover {
    border-color: var(--booking-primary);
}

.date-card.active,
.date-card.selected {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(131, 17, 0, 0.2) !important;
    color: var(--primary) !important;
}

.date-card-day {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.date-card-num {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.time-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

@media (min-width: 1024px) {
    .time-grid-premium {
        grid-template-columns: repeat(5, 1fr);
    }
}

.time-slot-premium {
    padding: 0.75rem 0;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    color: #4b5563;
    text-align: center;
}

.time-slot-premium:hover {
    border-color: var(--booking-primary);
    color: var(--booking-primary);
}

.time-slot-premium.active,
.time-slot-premium.selected {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Premium Form Styles */
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 32rem; /* max-w-lg */
}

.form-field-premium {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-premium {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-left: 0.25rem;
}

.form-input-premium {
    width: 100%;
    background-color: #FAF8F6;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input-premium:focus {
    border-color: rgba(131, 17, 0, 0.2);
    background-color: white;
}

.form-textarea-premium {
    resize: none;
}

/* Navigation Footer */
.booking-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.875rem; /* text-3xl */
    color: var(--primary);
    margin-bottom: 0.5rem; /* mb-2 */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* gap-3 */
}

.step-subtitle {
    display: block;
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 2rem; /* mb-8 */
    font-weight: 300; /* font-light */
    line-height: 1.625; /* leading-relaxed */
}

.logged-in-status {
    background: linear-gradient(to right, #FAF8F6, #FFFFFF);
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.status-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.status-user {
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-title {
    font-family: var(--font-serif);
    font-size: 1.25rem; /* text-xl */
    color: var(--primary);
    margin-bottom: 1.5rem; /* mb-6 */
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.summary-services-section {
    margin-bottom: 1.5rem; /* mb-6 */
}

.summary-icon-box {
    width: 2rem;
    height: 2rem;
    background-color: #FDFBF9;
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-total-footer {
    padding-top: 1rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.summary-savings-row {
    background-color: #FDFBF9;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(198, 167, 94, 0.1);
    display: none; /* Shown via JS when discount > 0 */
}

.summary-savings-text {
    font-size: 0.815rem;
    color: #C6A75E;
    font-weight: 500;
}

.summary-body {
    display: flex;
    flex-direction: column;
}

.summary-label-sm {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.summary-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-value-md {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

.summary-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.4rem 0;
}

.summary-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-services-section {
    margin-bottom: 1.5rem;
}

.summary-services-section::-webkit-scrollbar {
    display: none;
}
.summary-package-banner {
    background: linear-gradient(to right, #831100, #A01D0A);
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.summary-package-banner .banner-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.summary-package-banner .banner-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-summary-sidebar {
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.confirmation-view {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.confirmation-container {
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.confirmation-icon-box {
    width: 96px;
    height: 96px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px rgba(131, 17, 0, 0.2);
}

.confirmation-title {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    color: var(--primary);
    margin-bottom: 1rem;
}

.confirmation-message {
    color: #4b5563;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    font-size: 1.05rem;
}

.confirmation-details-card {
    background-color: #FAF8F6;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid white;
    text-align: left;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.confirmation-detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.confirmation-detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.confirmation-detail-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.confirmation-detail-value {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9375rem;
}

.confirmation-total-value {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
}

.confirmation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.5s ease;
    cursor: pointer;
    background: linear-gradient(to right, #831100, #A01D0A);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(131, 17, 0, 0.25);
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    border-radius: 1.25rem;
}

.confirmation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(131, 17, 0, 0.35);
}

/* Profile Booking History & Detail Popup */
.booking-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-item-card-profile {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.booking-item-card-profile:hover {
    border-color: var(--primary);
    background: #FFF5F5;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(131, 17, 0, 0.05);
}

.booking-card-info h4 {
    font-size: 1.15rem;
    color: var(--primary);
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
}

.booking-card-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.booking-card-meta i {
    color: var(--primary);
    opacity: 0.7;
}

.badge-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.type-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-package {
    background: #FFF5F5;
    color: var(--primary);
    border: 1px solid rgba(131, 17, 0, 0.1);
}

.badge-custom {
    background: #FDFBF9;
    color: #C6A75E;
    border: 1px solid rgba(198, 167, 94, 0.2);
}

/* Detail Popup Overlay */
.booking-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.booking-detail-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.booking-detail-modal {
    background: white;
    width: 90%;
    max-width: 550px;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.booking-detail-overlay.active .booking-detail-modal {
    transform: translateY(0) scale(1);
}

.detail-modal-header {
    background: linear-gradient(to right, #831100, #A01D0A);
    color: white;
    padding: 2.5rem;
    position: relative;
    text-align: center;
}

.close-detail-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-detail-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.detail-modal-body {
    padding: 2.5rem;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .detail-modal-body {
        overscroll-behavior: contain;
    }
}

.detail-section {
    margin-bottom: 2rem;
    pointer-events: none;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-label-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 1rem;
    display: block;
}

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

.detail-info-box h5 {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.detail-info-box p {
    font-weight: 500;
    color: var(--primary);
}

.detail-services-list {
    list-style: none;
    padding: 0;
    background: #FAF8F6;
    border-radius: 1.5rem;
    overflow: hidden;
}

.detail-service-row {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.detail-service-row:last-child {
    border-bottom: none;
}

.detail-total-bar {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: #FDFBF9;
    border-radius: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(198, 167, 94, 0.1);
}

.detail-total-price {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 576px) {
    .booking-item-card-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .detail-info-grid {
        grid-template-columns: 1fr;
    }
}


.booking-summary-card {
    display: flex;
    flex-direction: column;
}

.summary-body {
    display: flex;
    flex-direction: column;
}

/* Success Animations */
@keyframes fadeInUpSuccess {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overshootPop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.staggered-item {
    opacity: 0;
    animation: fadeInUpSuccess 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-pop-overshoot {
    animation: overshootPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

.confirmation-view {
    opacity: 0;
    animation: fadeInUpSuccess 0.6s ease-out forwards;
}

.confirmation-view .staggered-item {
    opacity: 0;
    animation: fadeInUpSuccess 0.6s ease-out forwards;
}

/* Notes Section */
.notes-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notes-label {
    font-size: 0.815rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-left: 0.25rem;
}

.notes-textarea {
    width: 100%;
    background-color: #FAF8F6;
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
    line-height: 1.5;
}

.notes-textarea:focus {
    border-color: rgba(131, 17, 0, 0.2);
    background-color: white;
}

.notes-textarea::placeholder {
    color: #9ca3af;
}

.summary-total-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--primary);
}

.summary-total-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.summary-service-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-service-price {
    color: var(--booking-primary);
    font-weight: 500;
}

.btn-remove-service {
    opacity: 0;
    color: #9ca3af;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

.summary-service-item:hover .btn-remove-service {
    opacity: 1;
}

.btn-remove-service:hover {
    color: #ef4444; /* text-red-500 */
}

.summary-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem; /* Reduced */
}

.summary-label-sm {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.summary-value-md {
    font-weight: 500;
    color: var(--booking-primary);
}

.summary-duration-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.summary-total-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--booking-primary);
}

/* Utility spacers */
.mt-32 { margin-top: 2rem; }
.pt-32 { padding-top: 2rem; }
.pb-24 { padding-bottom: 1.5rem; }
.mb-24 { margin-bottom: 1.5rem; }
.mb-32 { margin-bottom: 2rem; }
.gap-12 { gap: 0.75rem; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.hidden { display: none !important; }

.summary-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--booking-primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.summary-icon-box {
    padding: 0.5rem;
    background-color: #F6E9E7;
    border-radius: 0.5rem;
    color: var(--booking-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Summary Card Overrides */
.booking-summary-card {
    position: sticky;
    top: 100px;
    padding: 2.5rem 2rem;
    background-color: white;
    border-radius: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.summary-user-block {
    background-color: #FFF5F5;
    border: 1px solid rgba(131, 17, 0, 0.1);
    padding: 1rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem; /* Increased spacing */
}

.summary-package-highlight {
    background: linear-gradient(to right, var(--booking-primary), #A01D0A);
    color: white;
    padding: 1.25rem;
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
}

.discount-tag {
    background-color: rgba(198, 167, 94, 0.1);
    color: #C6A75E;
    border: 1px solid rgba(198, 167, 94, 0.2);
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
}

.success-icon-wrapper {
    width: 6rem;
    height: 6rem;
    background-color: var(--booking-primary);
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px -10px rgba(131, 17, 0, 0.3);
}

.summary-item-premium {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.summary-label-premium {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    color: #9ca3af;
    margin-bottom: 0.375rem;
}

.summary-value-premium {
    font-weight: 500;
    color: var(--booking-primary);
    font-size: 0.935rem;
}

.summary-total-premium {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--booking-primary);
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.summary-total-section {
    border-top: 1px dashed #e5e7eb;
    margin-top: 1rem; /* Reduced */
    padding-top: 1rem; /* Reduced */
}

/* Button UI */
.btn-booking-primary {
    background: linear-gradient(to right, var(--booking-primary), var(--booking-secondary));
    color: white;
    border-radius: 20px;
    padding: 0.75rem 2rem;
    min-width: 160px;
    font-weight: 500;
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
    transition: all 0.5s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-booking-primary:hover:not(:disabled) {
    box-shadow: 0 12px 25px -5px rgba(131, 17, 0, 0.4);
    transform: translateY(-2px);
}

.btn-booking-primary:disabled {
    opacity: 0.5;
    background: #e5e7eb;
    color: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-booking-back {
    color: #9ca3af;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s;
    cursor: pointer;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn-booking-back:hover:not(:disabled) { color: var(--booking-primary); }

/* Progress Component */
.progress-label-item {
    color: #9ca3af;
    transition: color 0.3s;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (min-width: 768px) {
    .progress-label-item {
        font-size: 0.75rem;
    }
}

.progress-label-item.active {
    color: var(--booking-primary);
}

.booking-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.booking-progress-bar-bg {
    height: 6px;
    background-color: #f1f5f9;
    width: 100%;
    position: relative;
    border-radius: 9999px;
    overflow: hidden;
}

#progress-bar-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: linear-gradient(to right, var(--booking-primary), var(--booking-secondary));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global / Global overrides for booking page */
.booking-page .navbar:not(.scrolled) .logo-title,
.login-page .navbar:not(.scrolled) .logo-title,
.signup-page .navbar:not(.scrolled) .logo-title,
.booking-page .navbar:not(.scrolled) .logo-subtitle,
.login-page .navbar:not(.scrolled) .logo-subtitle,
.signup-page .navbar:not(.scrolled) .logo-subtitle,
.booking-page .navbar:not(.scrolled) .nav-link,
.login-page .navbar:not(.scrolled) .nav-link,
.signup-page .navbar:not(.scrolled) .nav-link,
.booking-page .navbar:not(.scrolled) .mobile-menu-btn,
.login-page .navbar:not(.scrolled) .mobile-menu-btn,
.signup-page .navbar:not(.scrolled) .mobile-menu-btn,
.booking-page .navbar:not(.scrolled) .btn-login,
.login-page .navbar:not(.scrolled) .btn-login,
.signup-page .navbar:not(.scrolled) .btn-login {
    color: var(--black) !important;
}

.booking-page .navbar:not(.scrolled) .nav-link::after,
.login-page .navbar:not(.scrolled) .nav-link::after,
.signup-page .navbar:not(.scrolled) .nav-link::after {
    background: var(--black);
}

.booking-page .navbar:not(.scrolled) .nav-links-wrapper,
.login-page .navbar:not(.scrolled) .nav-links-wrapper,
.signup-page .navbar:not(.scrolled) .nav-links-wrapper {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.booking-page .navbar:not(.scrolled) .logo-subtitle,
.login-page .navbar:not(.scrolled) .logo-subtitle,
.signup-page .navbar:not(.scrolled) .logo-subtitle {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* Semantic Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-column { flex-direction: column; }
.cursor-default { cursor: default; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.gap-12 { gap: 0.75rem; }
.gap-24 { gap: 1.5rem; }
.text-booking-primary { color: var(--booking-primary); }
.text-booking-accent { color: var(--booking-accent); }
.bg-booking-soft { background-color: var(--soft); }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.italic { font-style: italic; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.font-medium { font-weight: 500; }
.font-serif { font-family: var(--font-serif); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }


/* SECTION: Login & Authentication */
.login-page-wrapper {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 96px;
    background-color: #FAF8F6;
    position: relative;
    display: flex;
    align-items: center;
}

.auth-decor-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 384px;
    background-color: rgba(131, 17, 0, 0.05);
    z-index: 1;
    border-radius: 0 0 4rem 4rem;
}

.auth-decor-glow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background-color: rgba(198, 167, 94, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
}

.auth-card {
    background-color: var(--white);
    border-radius: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    border: 1px solid #f3f4f6;
    width: 100%;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-icon-frame {
    width: 64px;
    height: 64px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
    color: var(--white);
    opacity: 0;
    animation: iconPop 1s cubic-bezier(0.68, -0.6, 0.32, 1.6) forwards;
    animation-delay: 0.125s;
}

@keyframes iconPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.auth-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.auth-subtitle {
    color: #6b7280;
    font-weight: 300;
}

.auth-form {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-left: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.auth-restriction {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 8px;
    margin-left: 0.25rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Tooltip Error State */
.auth-input-group.has-error .auth-restriction {
    position: absolute;
    top: calc(100% - 5px);
    left: 4px;
    background: #e11d48;
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
    transform-origin: top left;
    max-width: 250px;
    white-space: normal;
    line-height: 1.4;
    animation: authTooltipShake 0.4s ease-in-out forwards;
}

.auth-input-group.has-error .auth-restriction::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #e11d48;
}

.auth-input-group.has-error .auth-input {
    border-color: #e11d48 !important;
    background-color: #fff1f2 !important;
}

@keyframes authTooltipShake {
    0% { opacity: 0; transform: scale(0.9) translateY(-10px); }
    15% { transform: scale(1.05) translateY(0) translateX(-4px); }
    30% { transform: scale(1.05) translateY(0) translateX(4px); }
    45% { transform: scale(1.05) translateY(0) translateX(-4px); }
    60% { transform: scale(1.05) translateY(0) translateX(4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    background-color: #FAF8F6;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    outline: none;
    transition: var(--transition-base);
    font-family: var(--font-sans);
}

.auth-input:focus {
    border-color: rgba(131, 17, 0, 0.2);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(131, 17, 0, 0.03);
}

.auth-show-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.auth-show-password:hover {
    color: var(--primary);
}

.auth-btn-forgot {
    align-self: flex-end;
    font-size: 0.875rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.auth-btn-forgot:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
}

.auth-btn-submit.mt-auth {
    margin-top: 2rem;
}

.auth-btn-submit:hover {
    background-color: #921402;
    transform: translateY(-1px);
}

.auth-divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
}

.auth-divider span {
    position: relative;
    padding: 0 1rem;
    background-color: var(--white);
    font-size: 0.875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-footer {
    text-align: center;
    color: var(--primary);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
    }
}



/* SECTION: Toast Notifications */
.custom-qty-toast.type-small {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px) scale(0.8);
    opacity: 0;
    padding: 14px 40px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 100000;
    white-space: nowrap;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.custom-qty-toast.type-small.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.custom-qty-toast.type-small i,
.custom-qty-toast.type-small svg {
    font-size: 18px;
    width: 20px;
    height: 20px;
}

/* Success: Green & White */
.custom-qty-toast.type-small.success {
    background: #10b981;
    color: #ffffff;
}
.custom-qty-toast.type-small.success i {
    color: #ffffff;
}

/* Error: Red & White */
.custom-qty-toast.type-small.error {
    background: #ef4444;
    color: #ffffff;
}
.custom-qty-toast.type-small.error i {
    color: #ffffff;
}

/* Info: Primary & White (Account check) */
.custom-qty-toast.type-small.info {
    background: var(--primary);
    color: #ffffff;
}
.custom-qty-toast.type-small.info svg {
    color: #ffffff;
}

/* Profile Nav Button */
.nav-profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    z-index: 10001;
}

.nav-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 17, 0, 0.2);
}

.nav-profile-btn i {
    font-size: 18px;
}

/* Profile Popup */
.profile-popup {
    position: fixed;
    top: 90px;
    right: 5%;
    width: 300px;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    z-index: 10005;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.profile-popup::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--white);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.profile-popup.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.profile-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    font-weight: 600;
}

.profile-name {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.profile-email {
    font-size: 0.875rem;
    color: #6b7280;
}

.profile-data-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.profile-data-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.profile-data-label {
    color: #9ca3af;
}

.profile-data-value {
    color: var(--black);
    font-weight: 500;
}

.btn-logout {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
}


.profile-container{
    padding-bottom: 90px;
}
.btn-logout:hover {
    background: #921402;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(131, 17, 0, 0.3);
}

.btn-view-profile {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 40px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    display: block;
}

.btn-view-profile:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

/* Logged In Status Block */
.logged-in-status {
    background-color: #FFF5F5;
    border-radius: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(131, 17, 0, 0.1);
    margin-bottom: 1.5rem;
}

.logged-in-status .status-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.logged-in-status .status-user {
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Sticky Sidebar Profile */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

@media (max-width: 992px) {
    .sticky-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

/* Custom Confirm Popup */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.custom-confirm-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.custom-confirm-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-confirm-overlay.active .custom-confirm-card {
    transform: translateY(0) scale(1);
}

.confirm-icon {
    width: 64px;
    height: 64px;
    background: #FFF5F5;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
}

.confirm-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-serif);
    margin-bottom: 0.75rem;
}

.confirm-text {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.btn-confirm-yes {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    box-shadow: 0 10px 20px rgba(131, 17, 0, 0.2);
}

.btn-confirm-no {
    flex: 1;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.875rem;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}/* Package Details Popup */
.package-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    overflow-y: auto;
    padding: 60px 0;
}

.package-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.package-popup-card {
    background: var(--white);
    border-radius: 2.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto; /* Center when scrollable */
}

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

.package-popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: var(--transition-base);
}

.package-popup-close:hover {
    background: #e5e7eb;
    color: var(--primary);
}

.popup-package-list {
    margin: 2rem 0;
    list-style: none;
}

.popup-package-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #594A47;
    font-size: 1.05rem;
}

.popup-package-list i {
    color: var(--primary);
    font-size: 14px;
}

.package-popup-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
