/* ==========================================
   BRIGLOW - LUXURY SKINCARE WEBSITE
   Inspired by Sulwhasoo & ZAP Clinic
   Primary Color: Gold/Emas
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Primary Colors - Gold Theme */
    --primary-gold: #B68A32;
    --primary-gold-light: #D4A855;
    --primary-gold-dark: #8B6914;
    --gold-gradient: linear-gradient(135deg, #D4A855 0%, #B68A32 50%, #8B6914 100%);

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E5E5E5;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    /* Accent Colors */
    --color-cream: #FAF8F3;
    --color-beige: #EDE8DF;

    /* Typography */
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Urbanist', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 20px rgba(182, 138, 50, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-width: 1280px;
    --container-padding: 2rem;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

/* ==========================================
   CONTAINER
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(182, 138, 50, 0.3);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--color-white);
}

.btn-light {
    background: var(--color-white);
    color: var(--primary-gold-dark);
}

.btn-light:hover {
    background: var(--color-cream);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn-small {
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-content {
    padding: 1rem 0;
}

.navbar-logo img {
    height: 45px;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-logo img {
    height: 40px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.menu-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-black);
    position: relative;
    transition: var(--transition-base);
}

.navbar.scrolled .menu-link {
    color: var(--color-gray-700);
}

.menu-link:hover,
.menu-link.active {
    color: var(--primary-gold);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-base);
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Icon Styles */
.cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.cart-icon-link:hover {
    background: rgba(184, 147, 92, 0.1);
    transform: scale(1.1);
}

.cart-icon {
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.navbar.scrolled .cart-icon {
    color: var(--color-brown);
}

.cart-icon-link:hover .cart-icon {
    color: var(--primary-gold-dark);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

/* Search Container with inline transition */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-gold);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    background: transparent;
}

.navbar.scrolled .search-icon-btn {
    color: var(--color-brown);
}

.search-icon-btn:hover {
    background: rgba(186, 159, 99, 0.1);
    color: var(--primary-gold-dark);
}

.search-icon-btn svg {
    width: 20px;
    height: 20px;
}

.search-input-wrapper {
    position: absolute;
    right: 0;
    width: 0;
    height: 40px;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper.active {
    width: 300px;
    opacity: 1;
    padding: 0 15px;
}

.search-input-inline {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--color-brown);
    font-family: 'Urbanist', sans-serif;
}

.search-input-inline::placeholder {
    color: rgba(47, 42, 38, 0.5);
}

.search-close-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--color-brown);
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.search-close-btn:hover {
    background: rgba(186, 159, 99, 0.1);
    color: var(--primary-gold);
}

.search-close-btn svg {
    width: 16px;
    height: 16px;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 450px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.search-results-dropdown.active {
    max-height: 500px;
    opacity: 1;
    overflow-y: auto;
}

.search-results-content {
    padding: 10px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--color-brown);
    font-size: 0.9rem;
}

.search-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(186, 159, 99, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: rgba(47, 42, 38, 0.5);
    gap: 10px;
}

.search-no-results svg {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-brown);
    transition: var(--transition-base);
}

.search-result-item:hover {
    background: rgba(186, 159, 99, 0.05);
}

.result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-type {
    font-size: 0.75rem;
    color: var(--primary-gold);
    margin-bottom: 4px;
    font-weight: 500;
}

.result-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.price-discount {
    color: var(--primary-gold);
    font-weight: 600;
}

.price-original {
    color: rgba(47, 42, 38, 0.4);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-gold);
    transition: var(--transition-base);
    position: relative;
}

.navbar.scrolled .nav-icon {
    color: var(--color-brown);
}

.nav-icon:hover {
    background: rgba(186, 159, 99, 0.1);
    color: var(--primary-gold-dark);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary-gold);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-base);
}

.navbar.scrolled .hamburger-menu span {
    background: var(--primary-gold);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f3 100%);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(186, 159, 99, 0.15);
}

.mobile-logo img {
    height: 50px;
    width: auto;
}

.close-menu {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(186, 159, 99, 0.1);
    border: 1px solid rgba(186, 159, 99, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.close-menu:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: rotate(90deg);
}

.close-menu svg {
    width: 22px;
    height: 22px;
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.close-menu:hover svg {
    color: white;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: auto;
    flex: 1;
}

.mobile-menu-list li {
    transform: translateX(0);
    transition: all 0.3s ease;
}

.mobile-link {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-gray-800);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary-gold);
    background: rgba(186, 159, 99, 0.08);
    padding-left: 1.5rem;
}

.mobile-link:hover::before,
.mobile-link.active::before {
    transform: scaleY(1);
}

.mobile-menu-footer {
    padding-top: 2rem;
    margin-top: auto;
    border-top: 2px solid rgba(186, 159, 99, 0.15);
}

.mobile-menu-footer .btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: 0 4px 15px rgba(186, 159, 99, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-footer .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 159, 99, 0.4);
}

.mobile-contact {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--color-gray-600);
    text-align: center;
    padding: 1rem;
    background: rgba(186, 159, 99, 0.05);
    border-radius: 8px;
}

.mobile-contact a {
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-contact a:hover {
    color: var(--primary-gold-dark);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-content {
    max-width: 700px;
    width: 100%;
    padding: 2rem;
    position: relative;
}

.close-search {
    position: absolute;
    top: 0;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.close-search svg {
    width: 30px;
    height: 30px;
}

.search-box {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.search-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-submit {
    padding: 1.5rem 2rem;
    background: var(--primary-gold);
    color: var(--color-white);
}

.search-submit svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 30%,
            rgba(255, 255, 255, 0.4) 60%,
            rgba(255, 255, 255, 0.2) 80%,
            transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-black);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.hero-product-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    max-width: 550px;
    transition: opacity 0.6s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-product-card.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
}

.hero-product-slider {
    position: relative;
    max-width: 550px;
    min-height: 280px;
}

.product-slider-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(182, 138, 50, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-gold);
    width: 24px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: var(--primary-gold-dark);
}

.hero-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.3);
}

.product-card-image {
    background: linear-gradient(135deg, var(--color-cream), var(--color-beige));
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-card-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.product-card-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.product-card-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-card-price .price-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.product-card-price .price-prefix {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.product-card-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.product-card-price .price.original {
    font-size: 1rem;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.product-card-price .price.discount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-rose);
}

.btn-add-cart {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574 0%, #B8935C 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(184, 147, 92, 0.6);
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #B8935C 0%, #8B6F47 100%);
    transform: scale(1.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(184, 147, 92, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-add-cart:active {
    transform: scale(1.1);
}

.btn-add-cart svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.btn-add-cart svg path {
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.btn-add-cart svg circle {
    fill: white;
}

.hero-stats {
    position: absolute;
    bottom: 0.5rem;
    right: 3rem;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    z-index: 10;
    align-items: flex-end;
}

.stat-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.social-media-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--color-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: var(--primary-gold-dark);
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: var(--primary-gold);
}

.experience-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 300px;
    color: var(--color-white);
}

.experience-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: var(--color-black);
}

.btn-light-outline {
    display: inline-block;
    padding: 0.7rem 1.3rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-gold-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-light-outline:hover {
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-gray-400);
}

/* ==========================================
   DOCTOR PROFILE SECTION
   ========================================== */
.doctor-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.doctor-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(182, 138, 50, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, -30px) rotate(5deg);
    }
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.doctor-image-wrapper {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.doctor-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-lg);
}

.doctor-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(182, 138, 50, 0.15) 100%);
    z-index: 1;
}

.doctor-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.doctor-image-container:hover .doctor-photo {
    transform: scale(1.05);
}

.doctor-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.doctor-badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary-gold);
}

.doctor-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.doctor-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.credential-item:hover {
    background: var(--color-cream);
    transform: translateY(-5px);
}

.credential-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.credential-label {
    font-size: 0.8rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

.doctor-content {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.doctor-specialty {
    font-size: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.doctor-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-xl);
    text-align: justify;
}

.doctor-expertise {
    margin-bottom: var(--spacing-xl);
}

.doctor-expertise h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-md);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out backwards;
}

.expertise-item:nth-child(1) {
    animation-delay: 0.1s;
}

.expertise-item:nth-child(2) {
    animation-delay: 0.2s;
}

.expertise-item:nth-child(3) {
    animation-delay: 0.3s;
}

.expertise-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expertise-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: translateX(5px);
}

.expertise-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expertise-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.expertise-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

.doctor-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.doctor-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-cta .btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-2xl);
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
/* ==========================================
   PHILOSOPHY SECTION
   ========================================== */
.philosophy-section {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(182, 138, 50, 0.03) 0%, rgba(212, 168, 85, 0.05) 100%);
    pointer-events: none;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
}

.philosophy-content {
    animation: fadeInLeft 0.8s ease-out;
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-black);
    margin: 2rem 0 3rem;
    padding-left: 2rem;
    border-left: 4px solid var(--primary-gold);
    font-style: italic;
    position: relative;
}

.philosophy-quote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-size: 6rem;
    color: var(--primary-gold-light);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 3rem 0;
}

.philosophy-item {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.philosophy-item:nth-child(1) {
    animation-delay: 0.2s;
}

.philosophy-item:nth-child(2) {
    animation-delay: 0.4s;
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--gold-gradient);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-base);
}

.philosophy-item:hover .philosophy-icon {
    transform: scale(1.1) rotate(5deg);
}

.philosophy-icon svg {
    width: 30px;
    height: 30px;
}

.philosophy-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-black);
    font-family: var(--font-heading);
}

.philosophy-text p {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

.philosophy-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.philosophy-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-slow);
}

.philosophy-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.philosophy-image-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.philosophy-image-wrapper:hover img {
    transform: scale(1.05);
}

.philosophy-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-xl);
    opacity: 0.3;
    z-index: -1;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   WHY SECTION
   ========================================== */
.why-section {
    background: var(--color-cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-cream), var(--color-beige));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
}

.why-icon svg {
    width: 36px;
    height: 36px;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    background: var(--color-white);
}

/* Product Slider */
.products-slider-wrapper {
    position: relative;
    margin: 0 4rem;
}

.products-slider-container {
    overflow: hidden;
    padding: 1rem 0;
}

.products-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Products grid untuk detail page (related products) */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.product-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 450px;
    min-width: calc((100% - 4rem) / 3);
    /* Show 3 cards */
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Overlay yang muncul saat hover */
.product-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    color: white;
    opacity: 0;
    backdrop-filter: blur(0px);
    background: rgba(0, 0, 0, 0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-info {
    opacity: 1;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.4);
}

.product-card:hover .stock-badge {
    z-index: 15;
}

.product-category {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.6rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.product-card:hover .product-category {
    transform: translateY(0);
}

.product-category svg {
    width: 16px;
    height: 16px;
    margin-right: 0.4rem;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.product-card:hover .product-name {
    transform: translateY(0);
}

.product-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.product-card:hover .product-desc {
    transform: translateY(0);
}

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.75rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    flex-wrap: wrap;
}

.product-card:hover .product-footer {
    transform: translateY(0);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #D4A574 0%, #B8935C 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(184, 147, 92, 0.6);
    flex-shrink: 0;
    z-index: 10;
    position: relative;
    overflow: visible;
}

.btn-cart:hover {
    background: linear-gradient(135deg, #B8935C 0%, #8B6F47 100%);
    transform: scale(1.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(184, 147, 92, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-cart:active {
    transform: scale(1.1);
}

.btn-cart svg {
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.btn-cart svg path {
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.btn-cart svg circle {
    fill: white;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
}

.price-with-prefix {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-with-prefix .price-prefix {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.price-with-prefix .product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.price-original {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.price-discount {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.discount-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 0.3rem;
    backdrop-filter: blur(10px);
}

/* Badge positioning - always visible */
.product-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

.product-badge.new {
    background: rgba(34, 197, 94, 0.95);
}

.product-badge.sale {
    background: rgba(239, 68, 68, 0.95);
}

.stock-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-badge.in-stock {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.stock-badge.out-stock {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    background: var(--primary-gold);
    color: var(--color-white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 4px 12px rgba(186, 159, 99, 0.3);
}

.btn-detail:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 159, 99, 0.4);
}

.btn-detail svg {
    width: 16px;
    height: 16px;
    margin-left: 0.4rem;
}

.btn-cart {
    padding: 0.6rem 1.2rem;
    background: var(--primary-gold);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-cart:hover {
    background: var(--primary-gold-dark);
}

/* ==========================================
   TREATMENTS SECTION
   ========================================== */
.treatments-section {
    background: var(--color-cream);
}

/* Treatment Slider */
.treatments-slider-wrapper {
    position: relative;
    margin: 0 4rem;
}

.treatments-slider-container {
    overflow: hidden;
    padding: 1rem 0;
}

.treatments-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 520px;
    /* Fixed height for uniform cards */
    width: calc((100% - 4rem) / 3);
    /* 3 cards with 2rem gaps between them */
    flex-shrink: 0;
    position: relative;
}

.treatment-card .promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.treatment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.05);
}

.treatment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.treatment-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.treatment-tag.recommended {
    background: #3b82f6;
}

.treatment-tag.new {
    background: #22c55e;
}

.treatment-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    /* Allow content to shrink */
}

.treatment-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.treatment-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-black);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.1rem;
    /* 2 lines minimum */
}

.treatment-content p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 0;
}

.treatment-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    background: var(--color-cream);
    color: var(--primary-gold-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.treatment-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.treatment-price .price-original {
    font-size: 1rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
    font-weight: 500;
}

.treatment-price .price-discount {
    font-size: 1.25rem;
    color: #16a34a;
    font-weight: 700;
}

.treatment-price .save-badge {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.treatment-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--color-gray-200);
}

.btn-book {
    padding: 0.6rem 1.2rem;
    background: var(--primary-gold);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-book:hover {
    background: var(--primary-gold-dark);
}

/* Product & Treatment Tabs */
.product-tabs,
.treatment-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.product-tab,
.treatment-tab {
    padding: 0.8rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: -1px;
}

.product-tab:first-child,
.treatment-tab:first-child {
    margin-left: 0;
}

.product-tab:hover,
.treatment-tab:hover {
    background: var(--color-gray-50);
    color: var(--color-gray-900);
    z-index: 1;
}

.product-tab.active,
.treatment-tab.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--color-white);
    z-index: 2;
}

.products-loading,
.treatments-loading {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray-600);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-gray-200);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.treatment-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--color-cream);
    color: var(--primary-gold-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.no-treatments {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray-600);
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #ef4444;
    background: #fee2e2;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    background: var(--color-white);
}

/* Testimonials Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    margin: 0 4rem;
}

.testimonials-slider-container {
    overflow: hidden;
    padding: 1rem 0;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    width: calc((100% - 4rem) / 3);
    flex-shrink: 0;
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.star {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: auto;
    font-style: italic;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(186, 159, 99, 0.2);
    flex-shrink: 0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--primary-gold);
    margin: 0;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.nav-btn:hover {
    background: var(--primary-gold);
    color: var(--color-white);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active {
    background: var(--primary-gold);
    width: 30px;
    border-radius: var(--radius-full);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--gold-gradient);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1.4fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-gold);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary-gold);
}

.separator {
    color: var(--color-gray-600);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Tablet: 2 cards per view */
    .product-card {
        min-width: calc((100% - 2rem) / 2);
    }

    .treatment-card {
        width: calc((100% - 2rem) / 2);
    }

    .products-slider-wrapper,
    .treatments-slider-wrapper {
        margin: 0 3rem;
    }

    /* Testimonials: 2 cards per view */
    .testimonials-slider-wrapper {
        margin: 0 3rem;
    }

    .testimonial-card {
        width: calc((100% - 2rem) / 2);
        min-height: 450px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-background {
        width: 100%;
        height: 60vh;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.7) 30%,
                rgba(255, 255, 255, 0.3) 70%,
                transparent 100%);
    }

    .hero-stats {
        bottom: 2rem;
        right: 2rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .experience-card {
        max-width: 280px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-slider {
        display: flex;
        gap: 1rem;
    }

    .testimonial-card {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
        padding: 1.5rem;
        min-height: auto;
    }

    .testimonials-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    section {
        padding: var(--spacing-2xl) 0;
    }

    /* Mobile search adjustments */
    .search-input-wrapper.active {
        width: 200px;
        padding: 0 10px;
    }

    .search-input-inline {
        font-size: 0.85rem;
    }

    .search-results-dropdown {
        width: calc(100vw - 30px);
        right: -120px;
    }

    .result-image {
        width: 50px;
        height: 50px;
    }

    .result-name {
        font-size: 0.85rem;
    }

    .result-price {
        font-size: 0.8rem;
    }

    .navbar-actions .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Mobile Cart Icon - outside hamburger */
    .cart-icon-link {
        order: -1;
        /* Places cart icon before Book Now button */
        margin-right: 8px;
    }

    .hamburger-menu {
        order: 2;
        /* Places hamburger last */
    }

    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-background {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.85) 40%,
                rgba(255, 255, 255, 0.5) 70%,
                rgba(255, 255, 255, 0.2) 100%);
    }

    .hero-content {
        padding-right: 0;
        position: relative;
        z-index: 10;
        padding-top: 2rem;
    }

    .hero-title {
        margin-bottom: 2rem;
        font-size: 1.8rem;
    }

    .hero-product-slider {
        max-width: 100%;
        min-height: auto;
        margin-top: 13rem;
        margin-bottom: 2rem;
        order: 2;
        touch-action: pan-y;
    }

    .scroll-indicator {
        bottom: 1rem;
        display: none;
    }

    .hero-stats {
        display: none;
    }

    .experience-card {
        display: none;
    }

    .hero-product-card {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 1rem;
        gap: 1rem;
    }

    .product-card-image {
        max-width: 140px;
        margin: 0 auto;
        padding: 0.5rem;
    }

    .product-card-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .product-card-info p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .product-card-price .price {
        font-size: 1.1rem;
    }

    .product-card-price .price.discount {
        font-size: 1.1rem;
    }

    .btn-add-cart {
        width: 46px;
        height: 46px;
        background: linear-gradient(135deg, #D4A574 0%, #B8935C 100%);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(184, 147, 92, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .btn-add-cart svg {
        width: 22px;
        height: 22px;
    }

    .btn-add-cart svg path {
        stroke: white;
        stroke-width: 2;
    }

    .btn-add-cart svg circle {
        fill: white;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .philosophy-quote {
        font-size: 1.8rem;
        padding-left: 1.5rem;
    }

    .philosophy-quote::before {
        font-size: 4rem;
        left: -0.3rem;
    }

    .philosophy-image-wrapper {
        transform: none;
    }

    .philosophy-image-wrapper img {
        height: 400px;
    }

    .philosophy-decoration {
        display: none;
    }

    .doctor-credentials {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    .credential-number {
        font-size: 1.5rem;
    }

    .credential-label {
        font-size: 0.7rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .doctor-cta {
        flex-direction: column;
    }

    .doctor-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Product category tabs mobile */
    .product-tabs,
    .treatment-tabs {
        position: relative;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin: 2rem 0 1.5rem 0;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        scroll-behavior: smooth;
    }

    .product-tabs::-webkit-scrollbar,
    .treatment-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Gradient fade indicators on both sides */
    .product-tabs::before,
    .treatment-tabs::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
        pointer-events: none;
        z-index: 1;
    }

    .product-tabs::after,
    .treatment-tabs::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
        pointer-events: none;
        z-index: 1;
    }

    .product-tab,
    .treatment-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 0;
        margin-left: 0;
        position: relative;
        border: 1px solid var(--color-gray-300);
        border-left: none;
    }

    .product-tab:first-child,
    .treatment-tab:first-child {
        border-left: 1px solid var(--color-gray-300);
    }

    .product-tab.active,
    .treatment-tab.active {
        background: var(--primary-gold);
        border-color: var(--primary-gold);
        color: var(--color-white);
        z-index: 2;
    }

    /* Related products grid mobile - 1 column layout */
    .related-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
    }

    /* Mobile: 1 card per view */
    .product-card,
    .treatment-card {
        min-width: 100%;
        width: 100%;
    }

    /* Product card mobile - simple layout without overlay */
    .product-card .product-info {
        opacity: 1;
        backdrop-filter: none;
        background: white;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 1rem;
        display: block;
        color: var(--color-gray-900);
    }

    .product-card {
        display: flex;
        flex-direction: column;
        background: white;
        overflow: hidden;
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 2rem !important;
    }

    .product-card .product-image {
        position: relative;
        height: 280px;
        flex-shrink: 0;
    }

    .product-card .product-category {
        display: none !important;
        margin: 0 !important;
    }

    .product-card .product-name {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        margin-top: 0;
        color: var(--color-gray-900);
        text-shadow: none;
        font-weight: 600;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transform: none !important;
    }

    .product-card .product-desc {
        display: none !important;
        margin: 0 !important;
    }

    .product-card .product-footer {
        margin-top: 0.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .product-card .product-pricing {
        width: 100%;
    }

    .product-card .product-actions {
        width: 100%;
        flex-direction: row;
        gap: 0.5rem;
    }

    .product-card .btn-cart {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        background: linear-gradient(135deg, #D4A574 0%, #B8935C 100%);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(184, 147, 92, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.3);
        overflow: visible;
    }

    .product-card .btn-cart svg {
        width: 42px;
        height: 42px;
    }

    .product-card .btn-cart svg path {
        stroke: white;
        stroke-width: 2;
        fill: none;
    }

    .product-card .btn-cart svg circle {
        fill: white;
    }

    /* Button detail - change text to "Detail" only on mobile */
    .product-card .btn-detail {
        flex: 1;
        text-align: center;
        font-size: 0;
        padding: 0.6rem 1rem;
    }

    .product-card .btn-detail::after {
        content: 'Detail';
        font-size: 0.9rem;
    }

    .product-card .product-price,
    .product-card .price-discount {
        font-size: 1.2rem;
        color: var(--primary-gold);
        text-shadow: none;
    }

    .product-card .price-original {
        font-size: 0.8rem;
        color: var(--color-gray-500);
        text-shadow: none;
    }

    .product-card .discount-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        background: var(--color-red);
    }

    /* Disable hover effects on mobile */
    .product-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .product-card:hover .product-info {
        backdrop-filter: none;
        background: white;
    }

    /* Product badge smaller on mobile */
    .product-badge {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.35rem 0.8rem;
        font-size: 0.65rem;
    }

    /* Stock badge smaller on mobile */
    .product-card .stock-badge {
        top: 0.8rem;
        left: 0.8rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }

    /* Treatment card mobile - same as product card */
    .treatment-card {
        display: flex;
        flex-direction: column;
        background: white;
        height: auto !important;
    }

    .treatment-card .treatment-image {
        position: relative;
        height: 280px;
        flex-shrink: 0;
    }

    .treatment-card .treatment-overlay {
        display: none;
    }

    .treatment-card .treatment-content {
        padding: 1rem;
        display: block;
    }

    .treatment-card .treatment-category {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .treatment-card .treatment-content h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .treatment-card .treatment-content p {
        display: none;
    }

    .treatment-card .treatment-tags {
        display: none;
    }

    .treatment-card .treatment-footer {
        margin-top: 0.5rem;
        padding-top: 0;
        border-top: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .treatment-card .treatment-price {
        width: 100%;
        font-size: 0.75rem;
    }

    .treatment-card .treatment-price strong {
        font-size: 1.2rem;
    }

    /* Button book - change text to "Detail" only on mobile */
    .treatment-card .btn-book {
        width: 100%;
        text-align: center;
        font-size: 0;
        padding: 0.6rem 1rem;
        border-radius: 8px;
    }

    .treatment-card .btn-book::after {
        content: 'Detail';
        font-size: 0.9rem;
    }

    .treatment-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .treatment-card:hover .treatment-image img {
        transform: none;
    }

    .treatment-tag {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.35rem 0.8rem;
        font-size: 0.65rem;
    }

    .products-slider-wrapper,
    .treatments-slider-wrapper {
        margin: 0 2rem;
    }

    /* Testimonials: 1 card per view on mobile */
    .testimonials-slider-wrapper {
        margin: 0 2rem;
    }

    .testimonial-card {
        width: 100%;
        min-height: 400px;
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
        -webkit-line-clamp: 10;
    }

    .testimonials-slider-container {
        overflow: hidden;
        padding: 0.5rem 0;
    }

    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-rating {
        margin-bottom: 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .slider-btn.prev {
        left: -15px;
    }

    .slider-btn.next {
        right: -15px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-image-wrapper img {
        height: 400px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .doctor-credentials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .credential-item {
        padding: 1.5rem;
    }

    .credential-number {
        font-size: 2rem;
    }

    .credential-label {
        font-size: 0.85rem;
    }
}

/* ====================================================
   VARIANT MODAL STYLES
   ==================================================== */

.variant-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.variant-modal.active {
    display: flex;
}

.variant-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.variant-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variant-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.modal-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}

.modal-product-info h3,
.variant-modal-header h3,
#modal-product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brown);
    margin: 0;
}

.variant-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-gray);
    transition: color 0.3s;
}

.variant-modal-close:hover {
    color: var(--color-brown);
}

.variant-modal-body {
    padding: 1.5rem;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.variant-item {
    padding: 1.25rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-item:hover {
    border-color: var(--primary-gold);
    background: #fefaf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.variant-item.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f8f8;
}

.variant-item.out-of-stock:hover {
    border-color: #e5e5e5;
    transform: none;
    box-shadow: none;
}

.variant-info {
    flex: 1;
}

.variant-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.variant-stock {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.variant-price {
    text-align: right;
}

.variant-normal-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.price-with-discount .original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--color-gray);
}

.price-with-discount .discount-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-rose);
}

.discount-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loading-state,
.no-variants,
.error-state {
    padding: 2rem;
    text-align: center;
    color: var(--color-gray);
}

@media (max-width: 768px) {
    .variant-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .variant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .variant-price {
        text-align: left;
        width: 100%;
    }

    .price-with-discount {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out, fadeOut 0.3s ease-in 2.7s;
    min-width: 280px;
    max-width: 400px;
    border-left: 4px solid var(--primary-gold);
}

.toast-notification.toast-success {
    border-left-color: #10b981;
}

.toast-notification.toast-success .toast-icon {
    background: #10b981;
}

.toast-notification.toast-error {
    border-left-color: #ef4444;
}

.toast-notification.toast-error .toast-icon {
    background: #ef4444;
}

.toast-notification.toast-info {
    border-left-color: #3b82f6;
}

.toast-notification.toast-info .toast-icon {
    background: #3b82f6;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.toast-message {
    color: var(--color-gray-800);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}