@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;700&display=swap');

:root {
    /* Brand Colors */
    --highlight: #0ea5e9;
    --standard: #334155;
    --primary-rgb: 14, 165, 233;
    --secondary-rgb: 51, 65, 85;
    
    /* Backgrounds */
    --bg-dark: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    /* Typography */
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Roboto', sans-serif;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    /* Effects */
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(192, 111, 142, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, var(--font-main));
    font-weight: var(--font-heading-weight, 700);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; line-height: 1.25; }
h2 { font-size: 2.75rem; line-height: 1.3; }
h3 { font-size: 2rem; line-height: 1.35; }
h4 { font-size: 1.5rem; line-height: 1.45; }
h5 { font-size: 1.25rem; line-height: 1.5; }
h6 { font-size: 1rem; line-height: 1.6; }

.display-1 { font-size: 4rem; line-height: 1.25; font-weight: var(--font-heading-weight, 700); }
.display-2 { font-size: 3.5rem; line-height: 1.3; font-weight: var(--font-heading-weight, 700); }


.text-gradient {
    background: linear-gradient(135deg, var(--standard) 0%, var(--highlight) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
    vertical-align: baseline;
}

/* Glassmorphism Components */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.card {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--highlight);
}

.image-circle {
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.image-square {
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}


.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: sticky;
    top: 120px;
}

.about-image {
    width: 350px;
    height: 350px;
    border: 1px solid var(--glass-border);
    padding: 5px;
    background: white;
}

@media (max-width: 991px) {
    .about-photo-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 4rem;
    }
    
    .about-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .about-image {
        width: 200px;
        height: 200px;
    }
}

.blog-hero-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.blog-hero-image {
    width: 400px;
    height: 400px;
    border: 1px solid var(--glass-border);
    padding: 5px;
    background: white;
}

@media (max-width: 768px) {
    .blog-hero-image {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .blog-hero-image {
        width: 250px;
        height: 250px;
    }
}

/* Call to Action Section & Universal Component */
.cta-universal-section {
    padding: 3.5rem 0 5.5rem 0;
}

@media (max-width: 768px) {
    .cta-universal-section {
        padding: 2.5rem 0 4rem 0;
    }
}

.home-cta,
.cta-box,
.cta-universal-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 4.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.06), 0 0 1px 1px rgba(0, 0, 0, 0.03);
    max-width: 1060px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.home-cta:hover,
.cta-box:hover,
.cta-universal-card:hover {
    border-color: rgba(var(--primary-rgb, 14, 165, 233), 0.35);
    box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb, 14, 165, 233), 0.1);
}

.cta-glow-1,
.home-cta-glow-1 {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 14, 165, 233), 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-glow-2,
.home-cta-glow-2 {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb, 51, 65, 85), 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card-content,
.home-cta-content {
    position: relative;
    z-index: 2;
}

.home-cta h2,
.cta-box h2,
.cta-universal-card h2 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.home-cta p,
.cta-box p,
.cta-universal-card p {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
}

.home-cta .btn-primary,
.cta-box .btn-primary,
.cta-universal-card .btn-primary {
    padding: 0.95rem 2.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb, 14, 165, 233), 0.28);
    transition: all 0.25s ease;
}

.home-cta .btn-primary:hover,
.cta-box .btn-primary:hover,
.cta-universal-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--primary-rgb, 14, 165, 233), 0.4);
}

.home-cta .btn-primary i,
.cta-box .btn-primary i,
.cta-universal-card .btn-primary i {
    transition: transform 0.2s ease;
}

.home-cta .btn-primary:hover i,
.cta-box .btn-primary:hover i,
.cta-universal-card .btn-primary:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .home-cta,
    .cta-box,
    .cta-universal-card {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    .home-cta h2,
    .cta-box h2,
    .cta-universal-card h2 {
        font-size: 1.75rem;
    }
    .home-cta p,
    .cta-box p,
    .cta-universal-card p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .home-cta .btn-primary,
    .cta-box .btn-primary,
    .cta-universal-card .btn-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.85rem 1.75rem;
    }
}




.image-square:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.blog-container-narrow {
    max-width: 900px !important;
}


.image-rect {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    width: 100%;
    position: relative;
}

.image-rect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .image-rect img {
    transform: scale(1.1);
}

.image-rect:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--standard);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--highlight);
}

/* Remove number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

main:not(.main-container) > section:first-of-type,
main:not(.main-container) > .services-page-wrapper,
main:not(.main-container) > .appointment-page-wrapper,
main:not(.main-container) > .shop-container {
    padding-top: 140px;
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--highlight);
    filter: brightness(0.92);
    box-shadow: 0 0 20px rgba(var(--primary-rgb, 192, 111, 142), 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--highlight);
    color: var(--highlight);
}

.btn-outline:hover {
    background: var(--highlight);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    padding: 1rem 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: var(--logo-height, 40px);
    max-height: var(--logo-height, 40px);
    width: auto;
    max-width: var(--logo-max-width, 240px);
    transform: translateY(var(--logo-offset-y, 0px));
    margin-right: var(--logo-offset-x, 0px);
    padding: var(--logo-padding, 0px);
    object-fit: contain;
    display: block;
    box-sizing: border-box;
}

.footer-logo-img {
    height: var(--footer-logo-height, 40px);
    max-height: var(--footer-logo-height, 40px);
    width: auto;
    max-width: var(--logo-max-width, 240px);
    object-fit: contain;
    display: block;
    box-sizing: border-box;
}

/* Text Based Logo */
.logo.logo-text {
    font-family: var(--font-heading, var(--font-main));
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    gap: 0;
    transition: var(--transition-smooth);
}

.logo.logo-text .logo-main {
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.logo.logo-text .logo-accent {
    color: var(--highlight);
    transition: var(--transition-smooth);
}

.logo.logo-text:hover {
    transform: translateY(-1px);
}

.logo.logo-text.footer-logo-text {
    font-size: 1.85rem;
    display: inline-flex;
    margin-bottom: 0;
}

/* Header Themes: White Background, Dark Background, and Transparent */

/* 1. White Header Mode (Clean white background on all pages) */
#navbar.header-white,
#navbar.header-light {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

#navbar.header-white.scrolled,
#navbar.header-light.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#navbar.header-white .logo.logo-text .logo-main,
#navbar.header-light .logo.logo-text .logo-main {
    color: var(--text-primary);
}

#navbar.header-white .nav-links a,
#navbar.header-light .nav-links a {
    color: var(--text-secondary);
}

#navbar.header-white .nav-links a:hover,
#navbar.header-white .nav-links a.active,
#navbar.header-light .nav-links a:hover,
#navbar.header-light .nav-links a.active {
    color: var(--highlight);
}

#navbar.header-white .cart-trigger-btn,
#navbar.header-light .cart-trigger-btn {
    color: var(--text-primary);
}

#navbar.header-white .nav-toggle span,
#navbar.header-light .nav-toggle span {
    background: var(--highlight);
}

/* 2. Dark Header Mode (Sleek dark charcoal on all pages) */
#navbar.header-dark {
    background: rgba(18, 18, 22, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

#navbar.header-dark.scrolled {
    background: rgba(14, 14, 18, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#navbar.header-dark .logo.logo-text .logo-main {
    color: #ffffff;
}

#navbar.header-dark .logo.logo-text .logo-accent {
    color: var(--highlight);
}

#navbar.header-dark .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

#navbar.header-dark .nav-links a:hover,
#navbar.header-dark .nav-links a.active {
    color: var(--highlight);
}

#navbar.header-dark .nav-links a::after {
    background: var(--highlight);
}

#navbar.header-dark .cart-trigger-btn {
    color: #ffffff;
}

#navbar.header-dark .nav-toggle span {
    background: #ffffff;
}

#navbar.header-dark .nav-user-actions .profile-btn {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

#navbar.header-dark .nav-user-actions .login-btn {
    color: rgba(255, 255, 255, 0.85);
}

/* 3. Transparent Header Mode */
#navbar.header-transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

/* Transparent Header: Scrolled state transitions cleanly to white with dark text */
#navbar.header-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--glass-border);
}

#navbar.header-transparent.scrolled .logo.logo-text .logo-main {
    color: var(--text-primary);
    text-shadow: none;
}

#navbar.header-transparent.scrolled .nav-links a {
    color: var(--text-secondary);
    text-shadow: none;
}

#navbar.header-transparent.scrolled .nav-links a:hover,
#navbar.header-transparent.scrolled .nav-links a.active {
    color: var(--highlight);
}

#navbar.header-transparent.scrolled .cart-trigger-btn {
    color: var(--text-primary);
}

#navbar.header-transparent.scrolled .nav-toggle span {
    background: var(--highlight);
}

/* Transparent Header: Unscrolled over dark hero banner */
#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-links a {
    color: #ffffff;
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-links a:hover,
#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-links a.active {
    color: var(--highlight);
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .logo.logo-text .logo-main {
    color: #ffffff;
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .cart-trigger-btn {
    color: #ffffff;
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-toggle span {
    background: #ffffff;
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-user-actions .profile-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

#navbar.header-transparent.nav-over-hero:not(.nav-tone-light):not(.scrolled) .nav-user-actions .login-btn {
    color: #ffffff;
}

/* Transparent Header: Unscrolled over light hero banner (Auto-detected light backdrop) */
#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-links a {
    color: var(--text-secondary);
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-links a:hover,
#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-links a.active {
    color: var(--highlight);
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .logo.logo-text .logo-main {
    color: var(--text-primary);
    text-shadow: none;
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .cart-trigger-btn {
    color: var(--text-primary);
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-toggle span {
    background: var(--highlight);
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-user-actions .profile-btn {
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--glass-border);
}

#navbar.header-transparent.nav-over-hero.nav-tone-light:not(.scrolled) .nav-user-actions .login-btn {
    color: var(--text-secondary);
}

/* Transparent Header: Unscrolled on pages without hero (Work, About, Blog, Shop, Contact) */
#navbar.header-transparent:not(.nav-over-hero):not(.scrolled) {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--glass-border);
}

#navbar.header-transparent:not(.nav-over-hero):not(.scrolled) .nav-links a {
    color: var(--text-secondary);
}

#navbar.header-transparent:not(.nav-over-hero):not(.scrolled) .logo.logo-text .logo-main {
    color: var(--text-primary);
}

#navbar.header-transparent:not(.nav-over-hero):not(.scrolled) .cart-trigger-btn {
    color: var(--text-primary);
}

#navbar.header-transparent:not(.nav-over-hero):not(.scrolled) .nav-toggle span {
    background: var(--highlight);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--highlight);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: var(--transition-smooth);
}

/* Header Call-to-Action Button */
.header-cta-wrap {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.header-cta-btn {
    padding: 0.55rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.3;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(192, 111, 142, 0.2);
    transition: var(--transition-smooth);
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(192, 111, 142, 0.35);
    filter: brightness(1.05);
}

.header-cta-btn:active {
    transform: translateY(0);
}

/* Header Appointment Booking Button */
.nav-links li.nav-item-book {
    display: flex;
    align-items: center;
    margin-left: 0.35rem;
}

.nav-links a.nav-book-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.42rem 1.15rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    border-radius: 9999px !important;
    background: var(--highlight) !important;
    color: #ffffff !important;
    text-shadow: none !important;
    text-decoration: none !important;
    border: 1px solid var(--highlight) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    position: relative !important;
    cursor: pointer !important;
}

.nav-links a.nav-book-btn i {
    font-size: 0.85rem;
    color: #ffffff !important;
    transition: transform 0.2s ease;
}

.nav-links a.nav-book-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2) !important;
    filter: brightness(1.08) !important;
    color: #ffffff !important;
}

.nav-links a.nav-book-btn:hover i {
    transform: scale(1.15);
}

.nav-links a.nav-book-btn:active {
    transform: translateY(0) !important;
}

.nav-links a.nav-book-btn.active {
    background: var(--highlight) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25), 0 3px 10px rgba(0, 0, 0, 0.15) !important;
}

.nav-links a.nav-book-btn::after {
    display: none !important;
    content: none !important;
}

.mobile-nav-cta {
    display: none;
}

@media (min-width: 992px) and (max-width: 1140px) {
    .nav-links {
        gap: 0.85rem;
    }
    .header-cta-wrap {
        margin-left: 1rem;
    }
    .header-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.825rem;
    }
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background: rgba(192, 111, 142, 0.05);
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--highlight); /* Use highlight color for better visibility */
    border-radius: 10px;
    transition: var(--transition-smooth);
}

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

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}


.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Full-Width Hero with Background Image */
.hero.hero-has-bg {
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Hero with Background Image: Dark Tone Backdrop */
.hero.hero-has-bg.hero-tone-dark h1.text-gradient,
.hero.hero-has-bg.hero-tone-dark h1,
.hero.hero-has-bg:not(.hero-tone-light) h1.text-gradient,
.hero.hero-has-bg:not(.hero-tone-light) h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    filter: none !important;
    text-shadow: none !important;
}

.hero.hero-has-bg.hero-tone-dark p,
.hero.hero-has-bg:not(.hero-tone-light) p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
}

/* Hero with Background Image: Light Tone Backdrop (Auto-detected light background) */
.hero.hero-has-bg.hero-tone-light h1.text-gradient,
.hero.hero-has-bg.hero-tone-light h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    filter: none !important;
    text-shadow: none !important;
}

.hero.hero-has-bg.hero-tone-light p {
    color: var(--text-secondary) !important;
    text-shadow: none !important;
}

.hero.hero-has-bg.hero-tone-light .btn-outline {
    border-color: var(--highlight);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.85);
}

.hero.hero-has-bg .card.glass {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.hero.hero-has-bg .card.glass h3 {
    color: #ffffff !important;
}

.hero.hero-has-bg .card.glass p {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: none;
}

.hero.hero-has-bg .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero.hero-has-bg .btn-outline:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start; /* Start from top instead of centering */
        align-items: flex-start;
        padding: 100px 3rem 4rem; /* Top padding to clear logo/header */
        gap: 1.5rem; /* Reduced gap between links */
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
        border-right: none;
        overflow-y: auto; /* Enable scrolling for menu items */
    }

    #navbar.header-dark .nav-links {
        background: #121216;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation for links */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(8) { transition-delay: 0.45s; }
    .nav-links.active li:nth-child(9) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(10) { transition-delay: 0.55s; }
    
    .nav-links a {
        font-size: 1.25rem; /* Slightly smaller for fitting everything */
        display: block;
        padding: 0.5rem 0;
        font-weight: 500;
    }

    #navbar:not(.header-dark) .nav-links a {
        color: var(--text-primary);
        text-shadow: none !important;
    }

    .header-cta-wrap {
        display: none !important;
    }

    .mobile-nav-cta {
        display: block !important;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--glass-border);
    }

    #navbar.header-dark .mobile-nav-cta {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-cta .mobile-cta-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.85rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 600;
        text-align: center;
        border-radius: 8px;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(192, 111, 142, 0.25);
    }

    .mobile-nav-cta .mobile-cta-btn:hover {
        color: #ffffff !important;
    }

    .mobile-nav-cta a::after {
        display: none !important;
    }

    .nav-links li.nav-item-book {
        width: 100% !important;
        margin: 0.75rem 0 0.25rem !important;
    }

    .nav-links a.nav-book-btn {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
}

/* Blog Article Content Typography */
.blog-article-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.blog-article-content pre,
.blog-article-content code {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    background: rgba(0,0,0,0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.blog-post-container {
    padding: 4rem;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .blog-post-container {
        padding: 2.5rem 1.5rem;
    }
}

.blog-article-content h2, .blog-article-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--standard);
    font-weight: 700;
}

.blog-article-content p {
    margin-bottom: 1.8rem;
}

/* Image Wraps & Alignment */
.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 2.5rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-article-content img.align-left {
    float: left;
    margin-right: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 45%;
}

.blog-article-content img.align-right {
    float: right;
    margin-left: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 45%;
}

.blog-article-content img.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}

/* Quill-specific alignments */
.blog-article-content .ql-align-center {
    text-align: center;
}

.blog-article-content .ql-align-right {
    text-align: right;
}

.blog-article-content figure {
    margin: 2.5rem 0;
    display: table;
    clear: both;
}

.blog-article-content figure.image {
    width: 100%;
}

.blog-article-content figure img {
    margin: 0; /* Override previous margin */
    width: 100%;
    display: block;
}

.blog-article-content figcaption {
    background: rgba(0,0,0,0.03);
    padding: 0.8rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 0 0 10px 10px;
    border-top: 1px solid var(--glass-border);
}

.blog-article-content figure.image-style-side {
    float: right;
    max-width: 45%;
    margin-left: 2.5rem;
}

.blog-article-content figure.image-style-align-left {
    float: left;
    max-width: 45%;
    margin-right: 2.5rem;
}

.blog-article-content figure.image-style-align-right {
    float: right;
    max-width: 45%;
    margin-left: 2.5rem;
}

.blog-article-content figure.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

.blog-article-content ul, .blog-article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.8rem;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 2.5rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-article-content blockquote {
    border-left: 4px solid var(--highlight);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: var(--standard);
}

.blog-article-content iframe, 
.blog-article-content table {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Modern Editorial Blog System (Index Page)
   ========================================================================== */

.blog-header-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.blog-header-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
    margin: 0 auto;
}

/* Controls: Category Filter & Search */
.blog-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.blog-filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.blog-filter-btn {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.blog-filter-btn:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-1px);
}

.blog-filter-btn.active {
    background: var(--highlight);
    border-color: var(--highlight);
    color: white;
    box-shadow: 0 4px 14px rgba(192, 111, 142, 0.3);
}

.blog-search-box {
    position: relative;
    min-width: 280px;
    max-width: 360px;
    flex-grow: 1;
}

.blog-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.blog-search-input:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(192, 111, 142, 0.15);
}

.blog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.85rem;
    pointer-events: none;
}

/* Featured / Spotlight Post Card */
.blog-featured-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    position: relative;
}

.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.09);
    border-color: rgba(192, 111, 142, 0.35);
}

.blog-featured-media-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 360px;
    background: #0f172a;
    text-decoration: none;
}

.blog-featured-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.blog-featured-card:hover .blog-featured-media-img {
    transform: scale(1.04);
}

.blog-featured-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(18, 18, 22, 0.85);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.blog-featured-badge i {
    color: #f59e0b;
}

.blog-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.blog-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(192, 111, 142, 0.08);
    color: var(--highlight);
    border: 1px solid rgba(192, 111, 142, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-date-text,
.blog-read-time {
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.blog-featured-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.blog-featured-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-featured-title a:hover {
    color: var(--highlight);
}

.blog-featured-excerpt {
    color: var(--text-secondary);
    font-size: 1.025rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Grid of Remaining Articles */
.blog-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.blog-grid-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

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

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
    .blog-featured-media-link {
        min-height: 260px;
    }
    .blog-featured-content {
        padding: 2rem;
    }
}

@media (max-width: 680px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blog-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-search-box {
        max-width: 100%;
        min-width: 100%;
    }
}

/* Blog Grid Card */
.blog-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 440px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(192, 111, 142, 0.35);
}

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
    display: block;
    text-decoration: none;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--highlight);
    font-size: 2.5rem;
    opacity: 0.85;
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(18, 18, 22, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--highlight);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-read-more-link {
    color: var(--highlight);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}

.blog-read-more-link:hover {
    transform: translateX(3px);
}

.blog-author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--highlight);
    color: white;
    font-size: 0.725rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .section-padding {
        padding: 6rem 0 5rem;
    }
    
    main:not(.main-container) > section:first-of-type,
    main:not(.main-container) > .services-page-wrapper,
    main:not(.main-container) > .appointment-page-wrapper,
    main:not(.main-container) > .shop-container {
        padding-top: 140px;
    }
}


@media (max-width: 768px) {
    h1, .display-1 { font-size: 2.5rem !important; }
    h2, .display-2 { font-size: 2.1rem !important; }
    h3 { font-size: 1.8rem !important; }
    h6 { font-size: 1rem !important; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 5rem 0 4rem;
    }

    main:not(.main-container) > section:first-of-type,
    main:not(.main-container) > .services-page-wrapper,
    main:not(.main-container) > .appointment-page-wrapper {
        padding-top: 130px;
    }

    .container {
        padding: 0 1.5rem;
    }
}


@media (max-width: 480px) {
    h1, .display-1 { font-size: 2rem !important; }
    h2, .display-2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.6rem !important; }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Testimonials Page Redesign (v2) - Modern, Scannable & Interactive
   ========================================================================== */

/* Badge Pill */
.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(192, 111, 142, 0.08);
    border: 1px solid rgba(192, 111, 142, 0.25);
    color: var(--highlight);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

/* Trust Proof Metrics Bar */
.testimonials-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin: 0 auto 4rem;
    max-width: 1050px;
}

.t-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(192, 111, 142, 0.1);
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.t-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.t-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Controls: Search & Category Filter Pills */
.testimonials-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.t-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.t-filter-btn {
    background: white;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.t-filter-btn:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    background: rgba(192, 111, 142, 0.04);
}

.t-filter-btn.active {
    background: var(--highlight);
    color: white;
    border-color: var(--highlight);
    box-shadow: 0 4px 15px rgba(192, 111, 142, 0.3);
}

.t-filter-btn .t-count-badge {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.t-filter-btn.active .t-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.t-search-wrapper {
    position: relative;
    min-width: 280px;
    flex-grow: 1;
    max-width: 360px;
}

.t-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    opacity: 0.6;
    font-size: 0.9rem;
    pointer-events: none;
}

.t-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.t-search-input:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(192, 111, 142, 0.15);
}

.t-search-clear {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    display: none;
    padding: 0.2rem;
}

.t-search-clear:hover {
    color: var(--highlight);
}

/* Testimonials Grid (Uniform Equal-Sized Layout) */
.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .testimonials-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .testimonials-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .testimonials-masonry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .testimonials-stats-bar {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .testimonials-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .t-search-wrapper {
        max-width: 100%;
        min-width: 100%;
    }
}

/* Testimonial Card (Equal-Sized Cards) */
.t-card {
    height: 100%;
    min-height: 440px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.t-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.t-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(192, 111, 142, 0.35);
}

.t-card:hover::before {
    opacity: 1;
}

/* Card Author Header */
.t-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    min-height: 72px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    background-size: cover;
    background-position: center;
}

.t-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.t-author-info {
    flex-grow: 1;
    min-width: 0;
}

.t-author-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.t-author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

.t-verified-badge {
    color: #10b981;
    font-size: 0.85rem;
    cursor: help;
}

.t-author-role {
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin: 0.2rem 0 0.4rem 0;
    line-height: 1.35;
    min-height: 2.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.t-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
    min-height: 24px;
    align-items: center;
}

.t-badge-chip {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--standard);
    letter-spacing: 0.02em;
}

.t-badge-company {
    background: rgba(192, 111, 142, 0.08);
    border-color: rgba(192, 111, 142, 0.2);
    color: var(--highlight);
}

/* Card Rating & Pullquote */
.t-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.t-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    display: flex;
    gap: 0.2rem;
}

.t-quote-icon {
    color: var(--highlight);
    opacity: 0.3;
    font-size: 1.4rem;
}

.t-pullquote {
    font-size: 1.025rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 0.85rem;
    position: relative;
    min-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Body & Clamping */
.t-quote-body-wrapper {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    height: 112px;
    max-height: 112px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.t-quote-body-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98) 90%);
    pointer-events: none;
}

.t-quote-body {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.65;
    font-style: normal;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.t-expand-btn {
    background: none;
    border: none;
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.t-expand-btn:hover {
    color: var(--highlight);
    transform: translateX(3px);
}

.t-copy-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-size: 0.775rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.t-copy-btn:hover {
    background: rgba(192, 111, 142, 0.1);
    color: var(--highlight);
    border-color: rgba(192, 111, 142, 0.3);
}

/* Empty State */
.t-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 20px;
    border: 1px dashed var(--glass-border);
    max-width: 600px;
    margin: 2rem auto;
}

.t-empty-icon {
    font-size: 3rem;
    color: var(--highlight);
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

/* Full Testimonial Modal */
.t-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 22, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.t-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.t-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.t-modal-backdrop.active .t-modal-content {
    transform: scale(1) translateY(0);
}

.t-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.t-modal-close:hover {
    background: rgba(192, 111, 142, 0.15);
    color: var(--highlight);
    transform: rotate(90deg);
}

/* Toast Notification */
.t-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #121216;
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.t-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.t-toast i {
    color: #10b981;
}

/* ==========================================================================
   Modern Editorial Blog Article & Floating Social Share Panel
   ========================================================================== */

/* 1. Top Reading Progress Indicator */
.article-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.article-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--standard), var(--highlight));
    transition: width 0.08s ease-out;
}

/* 2. Floating Social Share Panel (Pinned Top-Right on Desktop) */
.article-floating-share {
    position: fixed;
    top: 130px;
    right: 2.25rem;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-panel-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 0.9rem 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.share-panel-heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.share-panel-heading i {
    font-size: 0.85rem;
    color: var(--highlight);
}

.share-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.share-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.share-btn.share-twitter:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.share-btn.share-linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
}

.share-btn.share-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.share-btn.share-reddit:hover {
    background: #ff4500;
    color: #ffffff;
    border-color: #ff4500;
}

.share-btn.share-copy:hover {
    background: var(--highlight);
    color: #ffffff;
    border-color: var(--highlight);
}

.share-btn.share-print:hover {
    background: var(--standard);
    color: #ffffff;
    border-color: var(--standard);
}

.share-copy-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-copy-tooltip.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 1023px) {
    /* Pin the social share panel to the bottom on mobile/tablet */
    .article-floating-share {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 0.55rem 1.25rem max(0.55rem, env(safe-area-inset-bottom, 0.55rem)) 1.25rem;
        z-index: 995;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .share-panel-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 600px;
        padding: 0;
        margin: 0 auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        gap: 0.75rem;
    }

    .share-panel-heading {
        flex-direction: row;
        align-items: center;
        gap: 0.45rem;
        margin-bottom: 0;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        flex-shrink: 0;
    }

    .share-panel-heading i {
        font-size: 0.85rem;
        color: var(--highlight);
    }

    .share-buttons-stack {
        flex-direction: row;
        align-items: center;
        gap: 0.45rem;
        flex-wrap: nowrap;
        overflow: visible;
        padding: 2px 0;
    }

    .share-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
        font-size: 0.95rem;
        flex-shrink: 0;
        background: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.07);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .share-btn svg {
        width: 14px;
        height: 14px;
    }

    .share-btn:active {
        transform: scale(0.92);
    }

    /* Tooltip positioned above button on mobile */
    .share-copy-tooltip {
        right: auto;
        bottom: calc(100% + 10px);
        top: auto;
        left: 50%;
        transform: translateX(-50%) translateY(4px) scale(0.9);
    }

    .share-copy-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 4px 4px 0 4px;
        border-style: solid;
        border-color: #0f172a transparent transparent transparent;
    }

    .share-copy-tooltip.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    /* Add bottom spacing to prevent pinned bar from covering bottom article content/footer */
    body[data-page="blog_post"] {
        padding-bottom: 75px;
    }
}

@media (max-width: 480px) {
    .article-floating-share {
        padding: 0.45rem 0.75rem max(0.45rem, env(safe-area-inset-bottom, 0.45rem)) 0.75rem;
    }

    .share-panel-card {
        gap: 0.5rem;
    }

    .share-buttons-stack {
        gap: 0.35rem;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .share-heading-label {
        display: none;
    }
    .share-panel-heading {
        gap: 0;
    }
    .share-panel-heading i {
        font-size: 1rem;
    }
    .share-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 8px;
    }
    .share-buttons-stack {
        gap: 0.3rem;
    }
}

/* 3. Top Breadcrumb Navigation Bar */
.article-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto 2.5rem auto;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-back-to-blog i {
    color: var(--highlight);
    transition: transform 0.2s ease;
}

.btn-back-to-blog:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb, 192, 111, 142), 0.15);
}

.btn-back-to-blog:hover i {
    transform: translateX(-3px);
}

.article-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.article-breadcrumb-nav a:hover {
    color: var(--highlight);
}

.article-breadcrumb-nav .breadcrumb-active {
    color: var(--highlight);
    font-weight: 600;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-btn.share-back:hover {
    background: var(--standard);
    color: #ffffff;
    border-color: var(--standard);
}

/* 4. Article Header & Metadata */
.article-header-wrapper {
    max-width: 860px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.article-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.article-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--highlight);
}

.article-breadcrumb i {
    font-size: 0.65rem;
    opacity: 0.5;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(var(--primary-rgb, 192, 111, 142), 0.1);
    color: var(--highlight);
    border: 1px solid rgba(var(--primary-rgb, 192, 111, 142), 0.2);
    margin-bottom: 1.5rem;
}

/* 4. Full-Width Blog Post Hero & Editorial Layout */
.article-fullwidth-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 110px;
}

.article-fullwidth-hero.no-hero-image {
    background: radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb, 192, 111, 142), 0.35) 0%, rgba(15, 23, 42, 0.95) 70%),
                linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.article-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.32) 45%, rgba(15, 23, 42, 0.56) 100%);
    z-index: 1;
    pointer-events: none;
}

.article-hero-inner {
    position: relative;
    z-index: 2;
    width: 75%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6.5rem 4.5rem 1.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.article-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-hero-top-right {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.article-hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.5rem 1.15rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.article-hero-back-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: translateX(-3px);
}

.article-hero-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1.15rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(var(--primary-rgb, 192, 111, 142), 0.25);
    color: #ffffff;
    border: 1px solid rgba(var(--primary-rgb, 192, 111, 142), 0.45);
    backdrop-filter: blur(8px);
}

.article-hero-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--highlight);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-hero-author-avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.65), 0 6px 16px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

/* Center-Left Title */
.article-hero-center {
    margin: auto 0 2.5rem 0;
    max-width: 960px;
    text-align: left;
}

.article-hero-title {
    font-size: clamp(2.3rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    margin: 0;
    font-family: var(--font-heading, var(--font-main));
}

/* Bottom Metadata Overlay Area */
.article-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: left;
}

.article-hero-badge-row {
    display: none;
}

/* Single-Line Clean Metadata Row */
.article-hero-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.article-hero-author {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: #ffffff;
}

.article-hero-author-by {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    font-size: 0.9em;
}

.article-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.article-hero-meta-item i {
    color: var(--highlight);
    font-size: 0.85rem;
}

.meta-date-short {
    display: none;
}

.article-hero-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

/* Line 2: The Tag on the next line */
.article-hero-tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-hero-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.article-hero-tag-pill:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    color: #ffffff;
    transform: translateY(-1px);
}

/* 5. Overlapping 75% Width Article Card & Typography */
.article-overlapping-wrapper {
    width: 75%;
    max-width: 1100px;
    margin: -80px auto 4rem auto;
    position: relative;
    z-index: 20;
}

.article-overlapping-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 4rem 4.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

/* Decorative Initial Cap Typography (Bottom-aligned with text baseline) */
.blog-article-content > :is(h1, h2, h3, p):first-child::first-letter {
    float: none;
    display: inline;
    vertical-align: baseline;
    font-size: 2.2em;
    line-height: 0;
    font-weight: 800;
    color: var(--highlight, #0ea5e9);
    font-family: var(--font-heading, var(--font-main));
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

/* When the opening element is an H1 heading */
.blog-article-content > h1:first-child::first-letter {
    float: none;
    display: inline;
    vertical-align: baseline;
    font-size: 1.65em;
    line-height: 0;
    margin: 0;
    padding: 0;
}


@media (max-width: 992px) {
    .article-overlapping-wrapper {
        width: 88%;
        margin-top: -60px;
    }
    .article-overlapping-card {
        padding: 3rem 2.5rem;
        border-radius: 24px;
    }
    .article-hero-inner {
        width: 88%;
        max-width: 100%;
        padding: 6rem 2.5rem 2rem 2.5rem;
    }
    .article-hero-center {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .article-fullwidth-hero {
        min-height: 440px;
        padding-bottom: 55px;
    }
    .article-hero-inner {
        width: 94%;
        max-width: 100%;
        padding: 5.5rem 1.25rem 1.25rem 1.25rem;
    }
    .article-hero-top {
        margin-bottom: 2rem;
        gap: 0.5rem;
    }
    .article-hero-top-right {
        display: none;
    }
    .article-hero-back-link {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
    .article-overlapping-wrapper {
        width: 94%;
        margin-top: -40px;
    }
    .article-overlapping-card {
        padding: 2.25rem 1.25rem;
        border-radius: 20px;
    }
    .article-hero-center {
        margin: auto 0 1.5rem 0;
    }
    .article-hero-title {
        font-size: clamp(1.85rem, 6vw, 2.3rem);
    }
    .article-hero-bottom {
        padding-top: 1.15rem;
        gap: 0;
    }
    .article-hero-badge-row {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
    }
    .article-hero-badge-row .article-hero-author-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 10px rgba(0, 0, 0, 0.25);
    }
    .article-hero-badge-row .article-hero-category-badge {
        padding: 0.35rem 0.85rem;
        font-size: 0.72rem;
    }
    .article-hero-meta-row {
        gap: 0.55rem;
        font-size: 0.78rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .article-hero-meta-row::-webkit-scrollbar {
        display: none;
    }
    .meta-date-full {
        display: none;
    }
    .meta-date-short {
        display: inline;
    }
    .meta-word-count-sep,
    .meta-word-count-item {
        display: none;
    }
    .article-hero-tags-row {
        display: none;
    }
    .blog-article-content > :is(h1, h2, h3, p):first-child::first-letter {
        float: none;
        display: inline;
        vertical-align: baseline;
        font-size: 2em;
        line-height: 0;
        margin: 0;
        padding: 0;
    }
    .blog-article-content > h1:first-child::first-letter {
        float: none;
        display: inline;
        vertical-align: baseline;
        font-size: 1.55em;
        line-height: 0;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 420px) {
    .article-hero-meta-row {
        gap: 0.45rem;
        font-size: 0.74rem;
    }
    .article-hero-meta-item i {
        font-size: 0.72rem;
    }
    .article-hero-sep {
        font-size: 0.65rem;
    }
}

.article-title {
    font-size: 2.85rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    font-family: var(--font-heading, var(--font-main));
}

.article-body-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.article-main-card {
    background: white;
    border-radius: 28px;
    padding: 4rem 4.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.blog-article-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #334155;
}

.blog-article-content > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-primary);
    font-weight: 400;
}

.blog-article-content h1 {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading, var(--font-main));
    font-weight: 800;
}

.blog-article-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-heading, var(--font-main));
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-article-content h3 {
    font-size: 1.4rem;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-heading, var(--font-main));
}

.blog-article-content blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem 1.5rem 2.25rem;
    border-left: 4px solid var(--highlight);
    background: rgba(var(--primary-rgb, 192, 111, 142), 0.04);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--standard);
    position: relative;
}

.blog-article-content pre {
    background: #0f172a;
    color: #f8fafc;
    padding: 1.5rem;
    border-radius: 14px;
    overflow-x: auto;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article-content code {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 0.9em;
    background: rgba(var(--primary-rgb, 192, 111, 142), 0.08);
    color: var(--highlight);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
}

.blog-article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-article-content video {
    width: 100%;
    max-height: 540px;
    border-radius: 16px;
    margin: 2.25rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #000;
    display: block;
}

.blog-article-content audio {
    width: 100%;
    margin: 1.75rem 0;
    border-radius: 30px;
    display: block;
}

.blog-article-content .article-media-block,
.blog-article-content .article-video-wrapper,
.blog-article-content .article-audio-wrapper {
    margin: 2.25rem 0;
    width: 100%;
    position: relative;
    clear: both;
}

.blog-article-content .article-media-block video,
.blog-article-content .article-video-wrapper video {
    margin: 0;
}

.blog-article-content .article-media-block audio,
.blog-article-content .article-audio-wrapper audio {
    margin: 0;
}

/* Ensure editor controls never display on public frontend */
.blog-article-content .media-block-header,
.blog-article-content .media-drop-indicator {
    display: none !important;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: block;
}

/* 6. Article Author Bio Card */
.article-author-card {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 640px) {
    .article-author-card {
        flex-direction: column;
        text-align: center;
    }
}

.article-author-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--highlight);
    flex-shrink: 0;
}

.article-author-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.article-author-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.article-author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-author-socials {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .article-author-socials {
        justify-content: center;
    }
}

.article-author-socials a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.article-author-socials a:hover {
    background: var(--highlight);
    color: white;
    border-color: var(--highlight);
}

/* 7. Post Navigation (Prev / Next) */
.article-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .article-nav-grid {
        grid-template-columns: 1fr;
    }
}

.article-nav-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.article-nav-card:hover {
    transform: translateY(-3px);
    border-color: var(--highlight);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.article-nav-direction {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

/* 8. Related Stories Section */
.article-related-section {
    max-width: 980px;
    margin: 5rem auto 0 auto;
    padding-top: 3.5rem;
    border-top: 1px solid var(--glass-border);
}

.article-related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-related-grid .blog-card {
    height: 100%;
    min-height: 420px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   9. SHOPPING ENGINE & BASKET DRAWER
   ========================================================================== */

/* Cart Trigger in Navbar */
.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-trigger-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cart-trigger-btn:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--highlight);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--highlight);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(192, 111, 142, 0.4);
    pointer-events: none;
    line-height: 1;
}

/* Shop Container */
.shop-container {
    padding-top: 140px;
    width: 100%;
}

/* Shop Hero */
.shop-hero {
    padding: 0 1.5rem 2.5rem;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.shop-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--highlight);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.shop-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: var(--font-heading-weight, 700);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.shop-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* Shop Filter & Search Toolbar */
.shop-toolbar-wrapper {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.shop-toolbar {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .shop-toolbar-row-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.shop-search-box {
    position: relative;
    flex: 1;
    max-width: 480px;
}

.shop-search-box input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.85rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fbfbfd;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.shop-search-box input:focus {
    border-color: var(--highlight);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.shop-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.shop-sort-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shop-sort-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.shop-sort-select {
    height: 44px;
    padding: 0 2.2rem 0 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fbfbfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234e5061' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.85rem center;
    background-size: 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.shop-sort-select:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

/* Category Filter Chips */
.shop-filters-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-categories-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-filter-chip {
    padding: 0.5rem 1.15rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fdfdfe;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.shop-filter-chip:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--highlight);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.shop-filter-chip.active {
    background: var(--highlight);
    color: #ffffff;
    border-color: var(--highlight);
    box-shadow: 0 4px 12px rgba(192, 111, 142, 0.3);
}

.shop-results-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Products Grid */
.shop-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

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

/* Product Card */
.shop-product-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.shop-card-media {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
    background: #f6f7fb;
    overflow: hidden;
}

.shop-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-product-card:hover .shop-card-media img {
    transform: scale(1.05);
}

.shop-card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.shop-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

.shop-badge-cat {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shop-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 22, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.shop-product-card:hover .shop-card-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: #ffffff;
    color: var(--text-primary);
    border: none;
    padding: 0.6rem 1.15rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.shop-product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--highlight);
    color: #ffffff;
}

.shop-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 0.4rem;
}

.shop-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-card-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.btn-add-to-cart {
    background: var(--text-primary);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
}

.btn-add-to-cart:hover {
    background: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 111, 142, 0.3);
}

/* Empty / No Results State */
.shop-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

.shop-no-results-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.shop-no-results h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.shop-no-results p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   SLIDE-OVER CART DRAWER
   ========================================================================== */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 22, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

body.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cart-drawer-title-row h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.cart-drawer-count {
    color: var(--highlight);
    font-weight: 600;
    font-size: 1.05rem;
}

.cart-close-btn {
    background: #f4f4f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-close-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--highlight);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
}

/* Cart Item in Drawer */
.cart-item {
    display: flex;
    gap: 1.15rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.25s ease;
}

.cart-item-media {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f6fa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-thumb-fallback {
    color: var(--text-secondary);
    opacity: 0.5;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.cart-item-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--highlight);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.cart-item-price-unit {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}

.cart-item-stepper {
    display: inline-flex;
    align-items: center;
    background: #f4f5f9;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-step-btn {
    background: transparent;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.15s ease;
}

.cart-step-btn:hover {
    background: #ffffff;
    color: var(--highlight);
}

.cart-qty-input {
    width: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-total {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-item-remove-btn {
    background: transparent;
    border: none;
    color: #9499ad;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.cart-item-remove-btn:hover {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.08);
}

/* Empty Cart State in Drawer */
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 3rem 1.5rem;
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cart-drawer-empty h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.cart-drawer-empty p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 260px;
}

/* Cart Drawer Footer */
.cart-drawer-footer {
    padding: 1.5rem 1.75rem 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafc;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cart-summary-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-summary-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.cart-drawer-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.cart-checkout-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: var(--highlight);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 6px 20px rgba(192, 111, 142, 0.35);
    transition: var(--transition-smooth);
}

.cart-checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 111, 142, 0.45);
}

.cart-checkout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cart-spinner {
    animation: spin 0.8s linear infinite;
}

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

.cart-clear-link {
    display: block;
    text-align: center;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-clear-link:hover {
    color: #e53e3e;
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.shop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 22, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.shop-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-modal.is-open .shop-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4f5f8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--highlight);
}

.quickview-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .quickview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.quickview-media {
    background: #f7f8fc;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.quickview-media img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
}

.quickview-info {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.qv-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.qv-title {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.qv-price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.qv-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.stock-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.stock-badge.in-stock {
    background: rgba(46, 204, 113, 0.12);
    color: #27ae60;
}

.stock-badge.out-of-stock {
    background: rgba(231, 76, 60, 0.12);
    color: #c0392b;
}

.qv-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    white-space: pre-line;
}

.qv-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.qv-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.qv-qty-input {
    width: 60px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.qv-add-btn {
    flex: 1;
    height: 46px;
    background: var(--highlight);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.qv-add-btn:hover {
    background: #a85875;
    box-shadow: 0 4px 14px rgba(192, 111, 142, 0.4);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.shop-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.shop-toast {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.shop-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.shop-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-toast-success .shop-toast-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.shop-toast-error .shop-toast-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.shop-toast-msg {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ==========================================================================
   CHECKOUT STATUS PAGES (SUCCESS & CANCEL)
   ========================================================================== */
.shop-status-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.shop-status-card {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.shop-status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.shop-status-icon.icon-success {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.shop-status-icon.icon-cancel {
    background: rgba(231, 76, 60, 0.12);
    color: #c0392b;
}

.shop-status-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.shop-status-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.shop-order-meta {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    font-size: 0.9rem;
}

.shop-order-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--text-secondary);
}

.shop-order-meta-row strong {
    color: var(--text-primary);
}

.shop-status-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Showcase & Rich Content Media Embeds (WYSIWYG)
   ========================================================================== */
.showcase-description.rich-content {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.rich-content p {
    margin-bottom: 0.75rem;
}

.rich-content p:last-child {
    margin-bottom: 0;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0.85rem 0;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rich-content video,
.rich-content .rich-media-video {
    width: 100%;
    max-height: 380px;
    border-radius: 12px;
    background: #000000;
    margin: 0.85rem 0;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rich-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
    margin: 0.85rem 0;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rich-content audio,
.rich-content .rich-media-audio {
    width: 100%;
    margin: 0.85rem 0;
    border-radius: 30px;
    display: block;
}

.rich-content ul,
.rich-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.rich-content li {
    margin-bottom: 0.25rem;
}

.rich-content blockquote {
    border-left: 3px solid var(--highlight);
    padding-left: 1rem;
    margin: 0.85rem 0;
    color: var(--text-primary);
    font-style: italic;
}

.rich-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.85rem;
    margin: 0.85rem 0;
}

.rich-content code {
    font-family: monospace;
    font-size: 0.88em;
}


