/* 
   Sha's Attar - Premium Design System 
   Theme: Luxury, Gold, Black, White
*/

:root {
    /* Colors */
    --color-primary: #00A896;
    /* Aqua Green */
    --color-primary-dark: #00897B;
    --color-primary-light: #E0F2F1;
    --color-secondary: #0F172A;
    /* Deep Navy/Black */
    --color-text-main: #64748B;
    --color-text-light: #64748B;
    --color-background: #FFFFFF;
    --color-background-alt: #F8FAFC;
    /* Cool Gray for sections */
    --color-border: #E2E8F0;
    --color-error: #EF4444;
    --color-success: #10B981;
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Elegant serif for headings */
    --font-body: 'Inter', sans-serif;
    /* Clean sans-serif for readability */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: 90px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

ul {
    list-style: none;
}

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

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

/* Utilities */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section {
    padding: var(--spacing-lg) 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
}

.section .container {
    padding: 0 2.5rem;
}

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

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

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-md);
}

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

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

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

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

.btn-outline {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

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

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 168, 150, 0.1);
    padding: 0.8rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(0, 168, 150, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2.5rem;
}

.nav-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-fast);
    margin-right: 1rem;
}

.brand-link:hover {
    transform: translateY(-2px);
}

.brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.35);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text h1 {
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 2px;
    color: var(--color-secondary);
    font-weight: 700;
}

.brand-text span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: -3px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    flex: 1;
    margin-left: 1.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 3px;
    transition: width var(--transition-normal);
}

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

.nav-link:hover::before {
    width: 100%;
}

.search-container {
    flex: 0 0 320px;
    margin: 0 1rem;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--color-primary);
    font-size: 0.95rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid rgba(0, 168, 150, 0.2);
    border-radius: 25px;
    outline: none;
    font-family: inherit;
    transition: all var(--transition-fast);
    background-color: rgba(0, 168, 150, 0.05);
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.search-input::placeholder {
    color: var(--color-text-light);
}

.search-input:focus {
    border-color: var(--color-primary);
    background-color: rgba(0, 168, 150, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(0, 168, 150, 0.08);
    border: 1px solid rgba(0, 168, 150, 0.15);
}

.nav-icon i {
    font-size: 1.25rem;
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.nav-icon:hover {
    background: rgba(0, 168, 150, 0.15);
    border-color: rgba(0, 168, 150, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 168, 150, 0.2);
}

.nav-icon:hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Profile Icon Styling */
.nav-profile {
    position: relative;
}

.nav-profile::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-profile:hover::before {
    opacity: 1;
}

/* Cart Icon Premium Styling */
.nav-cart {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-cart:hover::before {
    left: 100%;
}

.nav-cart i {
    color: #ffffff;
    font-size: 1.3rem;
}

.nav-cart:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0f7f73 100%);
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
}

.nav-cart:hover i {
    color: #ffffff;
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    75% { transform: scale(1.15) rotate(-3deg); }
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
    color: #ffffff;
    font-size: 0.7rem;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4), 0 0 0 3px #ffffff;
    border: 2px solid #ffffff;
    animation: badgePop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}

@keyframes badgePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cart-count:empty {
    display: none;
}

/* Profile Label - Hidden by default */
.profile-label {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: auto;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

.footer-section h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-section h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
}

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

.footer-section ul li a {
    color: #ccc;
    transition: var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #888;
}

/* Product Cards */
.product-card {
    background: var(--color-white);
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: block;
    transition: transform 0.3s ease;
}

.product-card:hover .carousel-slide img {
    transform: scale(1.08);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    width: 20px;
    border-radius: 4px;
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.product-info {
    padding: 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.7rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: var(--color-secondary);
    font-weight: 600;
}

.product-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.product-rating .stars {
    color: var(--color-primary);
}

.product-rating .review-count {
    color: var(--color-text-light);
}

.product-price-section {
    margin-bottom: 12px;
}

.product-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.3rem;
    display: inline-block;
}

.old-price {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-left: 8px;
    font-weight: 400;
}

.product-stock-info {
    font-size: 0.8rem;
    color: #27AE60;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-stock-info::before {
    content: '✓';
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-view-details {
    flex: 1;
    padding: 10px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

.btn-add-to-cart {
    flex: 1;
    padding: 10px;
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-to-cart:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* Home Page specific */
/* Carousel Container */
.hero-carousel-container {
    position: relative;
    height: 80vh;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-top: -90px;
    padding-top: 90px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide[data-active="true"] {
    opacity: 1;
}

.hero-section {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    min-width: 100vw;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgb(253, 253, 253);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator[data-active="true"] {
    background-color: var(--color-white);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

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

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

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

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

.collection-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover img {
    transform: scale(1.08);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.95) 100%);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: background 0.4s ease;
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.98) 100%);
}

.collection-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 600;
}

/* Collections Page Specific */
.collections-hero {
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-white) 100%);
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-lg);
}

.collections-title {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.collections-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.collections-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-background);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* User Profile */
.profile-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.profile-sidebar {
    background: var(--color-background-alt);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    height: fit-content;
}

.profile-menu li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.profile-menu li:last-child {
    border-bottom: none;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-main);
}

.profile-menu a:hover,
.profile-menu a.active {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-container {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-container {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .search-input {
        width: 120px;
        padding: 8px 10px 8px 35px;
        font-size: 0.85rem;
    }

    .search-icon {
        left: 10px;
        font-size: 0.85rem;
    }

    .brand-text h1 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .brand-text span {
        font-size: 0.55rem;
        letter-spacing: 2px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-actions {
        gap: 1rem;
    }

    .nav-icon {
        font-size: 1.1rem;
        padding: 0.4rem;
    }

    .profile-label {
        display: none !important;
    }

    .hero-carousel-container {
        height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator[data-active="true"] {
        width: 25px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    /* Collections Page Mobile */
    .collections-hero {
        padding: var(--spacing-md) 0;
    }

    .collections-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .collections-subtitle {
        font-size: 0.95rem;
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }

    .collection-card {
        height: 300px;
    }

    .collection-title {
        font-size: 1.3rem;
    }
}

/* Full-width sections styling */
.section.bg-alt {
    background-color: var(--color-background-alt);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
}

/* Cart Specific Styles */
.cart-page-container {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-md);
    align-items: start;
}

@media (max-width: 900px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-item-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    gap: var(--spacing-md);
    position: relative;
    border: 1px solid var(--color-border);
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 168, 150, 0.3);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--color-background-alt);
}

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

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

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 4px;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-item-title:hover {
    color: var(--color-primary);
}

.cart-item-variant {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

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

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    padding: 5px 12px;
    background: var(--color-background-alt);
    color: var(--color-secondary);
    font-weight: 600;
    transition: background 0.2s;
    cursor: pointer;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    color: var(--color-secondary);
    background: white;
    -moz-appearance: textfield;
}

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

.item-price {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.remove-btn {
    color: var(--color-error);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.remove-btn:hover {
    opacity: 1;
    background-color: rgba(239, 68, 68, 0.1);
}

/* Order Summary */
.summary-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--color-background-alt);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.summary-row.total {
    border-top: 2px solid var(--color-border);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.summary-row.discount {
    color: var(--color-success);
}

.checkout-btn {
    width: 100%;
    margin-top: var(--spacing-md);
    padding: 1rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1a1f3c 100%);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.3);
}

/* Promo Code Input */
.promo-section {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.promo-input-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.promo-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.promo-input:focus {
    border-color: var(--color-primary);
}

.promo-btn {
    padding: 0 16px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
    cursor: pointer;
}

.promo-btn:hover {
    background: var(--color-primary-dark);
}

.applied-promo {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-promo {
    color: var(--color-error);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-promo:hover {
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
}

/* Empty Cart */
.empty-cart-state {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 4rem;
    color: var(--color-border);
    margin-bottom: var(--spacing-md);
}

/* Profile Section Styles */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    padding-top: var(--spacing-md);
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.profile-sidebar {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.user-snippet {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.profile-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text-main);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
}

.profile-nav a:hover,
.profile-nav a.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.profile-nav i {
    width: 24px;
    margin-right: 8px;
}

.profile-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

/* Order History Specific */
.order-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-background-alt);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff7ed;
    color: #c2410c;
}

.status-confirmed {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-shipped {
    background: #f0fdf4;
    color: #15803d;
}

.status-delivered {
    background: #ecfdf5;
    color: #047857;
}

.status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.order-preview-items {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.order-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--color-border);
}

/* Address Book */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.address-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    position: relative;
    background: var(--color-background-alt);
}

.address-type-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    border: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-secondary);
}

/* 
=============================================
   PREMIUM HOME PAGE STYLES - ADDED
=============================================
*/

/* Rich Content Section */
.rich-content-section {
    position: relative;
    overflow: hidden;
}

.rich-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 168, 150, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.subheading-gold {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 10px;
}

.subheading-gold::before,
.subheading-gold::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--color-primary);
}

.subheading-gold::before {
    left: -30px;
}

.subheading-gold::after {
    right: -30px;
}

.lead-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

.highlight-text {
    color: var(--color-secondary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 168, 150, 0.1);
    z-index: -1;
    transform: rotate(-1deg);
}

/* Premium Card Styles */
.collection-card.premium-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 400px;
    /* Taller for premium feel */
    box-shadow: var(--shadow-md);
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card.premium-card:hover .card-image-wrapper {
    transform: scale(1.1);
}

.collection-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2.5rem;
}

.collection-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.explore-link {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.collection-card.premium-card:hover .explore-link {
    opacity: 1;
    transform: translateY(0);
}

.collection-card.premium-card:hover .collection-title {
    transform: translateY(-5px);
}

/* Premium Product Card */
.product-card.premium-product {
    border: none;
    box-shadow: none;
    background: transparent;
}

.product-card.premium-product .product-image-wrapper {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.product-card.premium-product:hover .product-image-wrapper {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    /* Define or use large shadow */
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.product-card.premium-product .product-info {
    text-align: left;
    padding: 0 0.5rem;
    background: transparent;
}

.product-card.premium-product .product-category {
    color: var(--color-primary);
    font-weight: 600;
}

.product-card.premium-product .product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card.premium-product .product-price {
    font-size: 1.1rem;
    color: var(--color-text-main);
}

/* Dark Mode Product Card */
.product-card.premium-product.dark-mode .product-title a {
    color: white !important;
}

.product-card.premium-product.dark-mode .product-price {
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

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

.testimonial-card .stars {
    color: #F59E0B;
    /* Amber/Gold */
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card .review-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-card .info strong {
    display: block;
    color: var(--color-secondary);
}

.testimonial-card .info span {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CART / PROFILE / ORDERS / CHECKOUT REFINEMENTS ========== */
.cart-page-container {
    margin-top: 2rem;
}

.cart-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 168, 150, 0.12), rgba(255, 255, 255, 0.8));
    padding: 1.5rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 168, 150, 0.18);
}


.cart-page-header h1 {
    margin-bottom: 0.4rem;
}

.cart-page-header p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.cart-header-badge {
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.profile-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 110px;
    height: fit-content;
}

.user-snippet {
    text-align: center;
    margin-bottom: 1.8rem;
}

.user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
}

.profile-nav {
    display: grid;
    gap: 0.6rem;
}

.profile-nav a {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--color-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
}

.profile-nav a.active,
.profile-nav a:hover {
    background: rgba(0, 168, 150, 0.12);
    border-color: rgba(0, 168, 150, 0.35);
    color: var(--color-primary-dark);
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.profile-header h1 {
    margin-bottom: 0.4rem;
}

.profile-header p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.profile-header-badge {
    background: linear-gradient(135deg, #ffd27a, #f4b63f);
    color: #2c1810;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-card {
    background: #fff;
    padding: 1.8rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.profile-page-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .profile-page-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.profile-card .card-header h2 {
    margin-bottom: 0;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.address-actions .btn {
    padding: 0.35rem 0.8rem;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-backdrop.visible {
    display: flex;
}

.modal-card {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 520px;
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #64748b;
}

.modal-field {
    margin-bottom: 1rem;
}

.modal-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
}

.modal-field textarea {
    min-height: 100px;
    resize: vertical;
}

.profile-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.address-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.2rem;
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.address-type-tag {
    display: inline-flex;
    background: rgba(0, 168, 150, 0.15);
    color: var(--color-primary-dark);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.order-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.order-items h4 {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-hero .section-title {
    background: none;
    -webkit-text-fill-color: #fff;
}

.checkout-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.checkout-grid {
    margin-top: -2rem;
}

.checkout-card {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.checkout-summary {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.address-item {
    background: #fff;
}

.payment-option {
    box-shadow: 0 12px 30px rgba(255, 210, 122, 0.25);
}

@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-header,
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-testimonials {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #ffffff 60%, rgba(248, 250, 252, 0.9) 100%);
}

.home-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 168, 150, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(15, 23, 42, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.home-testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.home-testimonials .testimonial-card {
    background: linear-gradient(160deg, #ffffff 0%, #fdf7f2 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.home-testimonials .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    opacity: 0.8;
}

.home-testimonials .testimonial-card .review-text {
    color: #0f172a;
}

/* Middle Banner */
.banner-middle {
    height: 500px;
}

@media (max-width: 768px) {
    .banner-middle {
        height: 350px;
    }

    .banner-middle h2 {
        font-size: 2rem !important;
    }
}

/* Feature Box Enhancements */
.feature-box {
    padding: 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--color-primary);
    background: var(--color-background-alt);
    transform: translateY(-5px);
}


/* 
=============================================
   REFINED HOME PAGE STYLES - GRID & CAROUSEL
=============================================
*/

/* Product Listing Grid (Home Page) */
.product-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* Product Item (Reused from Collections) */
.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-item .product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.08);
}

.product-item .product-info {
    padding: 15px;
    flex-grow: 1;
}

.product-item .product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-item .product-title a {
    color: var(--color-secondary);
}

.product-item .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-item .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-item .compare-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--color-secondary);
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: var(--color-primary);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-success {
    background-color: var(--color-success) !important;
}

/* Dark Theme overrides for Signature Section */
.product-listing-grid.dark-theme .product-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-listing-grid.dark-theme .product-item .product-title a {
    color: white;
}

.product-listing-grid.dark-theme .product-item .price {
    color: var(--color-primary);
}

.product-listing-grid.dark-theme .product-item .compare-price {
    color: rgba(255, 255, 255, 0.5);
}

.product-listing-grid.dark-theme .add-to-cart-btn {
    background: white;
    color: var(--color-secondary);
}

.product-listing-grid.dark-theme .add-to-cart-btn:hover {
    background: var(--color-primary);
    color: white;
}

/* Middle Banner Carousel */
.middle-banner-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.middle-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    visibility: hidden;
}

.middle-banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-middle {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.middle-banner-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-left: 5%;
}

.banner-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.middle-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.middle-nav:hover {
    background: white;
    color: var(--color-secondary);
}

.middle-nav.prev {
    left: 20px;
}

.middle-nav.next {
    right: 20px;
}

.middle-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.mid-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mid-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 2.2rem;
    }

    .mid-dot {
        display: none;
    }
}


/* 
=============================================
   VIDEO PAGE STYLES - PEOPLE'S CHOICE
=============================================
*/

.bg-warm-light {
    background-color: #FFF5EE;
    /* Light warm background color like the image */
}

.home-promo-videos {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff2e9 0%, #fff9f4 45%, #ffffff 100%);
}

.home-promo-videos::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 214, 170, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 80% 85%, rgba(0, 168, 150, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.home-promo-videos .container {
    position: relative;
    z-index: 1;
}

.video-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.home-promo-videos .video-scroll-container {
    padding: 10px 8px 24px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.video-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.video-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
}

.video-card-vertical {
    flex: 0 0 260px;
    /* Fixed width matching classic mobile video width */
    height: 460px;
    /* 9:16 approx ratio */
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.home-promo-videos .video-card-vertical {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    background: #0b0f14;
}

.video-card-vertical:hover {
    transform: translateY(-10px);
}

.video-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.instagram-overlay-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.video-card-vertical:hover .instagram-overlay-link {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    color: #cc2366;
}

.video-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.video-product-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-product-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-video-shop {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-video-shop:hover {
    background: white;
    color: black;
}


/* Updated Video Card Styling */
.video-card-vertical {
    border-radius: 20px;
    /* Slightly tighter radius */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Softer, deeper shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-iframe {
    background: #000;
    /* Ensure black background while loading */
}

/* Ensure controls are hidden/minimal */
.video-product-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    /* Allow clicking through to video controls if needed, but mainly for display */
}

.video-product-info {
    pointer-events: auto;
}


/* Better Instagram Iframe Cropping */
.instagram-iframe-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: black;
}

.instagram-iframe {
    width: 100%;
    height: 120%;
    /* Make it taller to push out headers */
    position: absolute;
    top: -60px;
    /* Shift up to hide top header */
    left: 0;
    border: none;
    transform: scale(1.02);
    /* Slight scale to hide borders */
    background: black;
}

/* Ensure YouTube fits perfectly */
.video-iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: black;
}

/* Make card more rigid to clip overflows explicitly */
.video-card-inner {
    border-radius: 20px;
    overflow: hidden;
}


/* 
=============================================
   PREMIUM ANIMATIONS & UI/UX ENHANCEMENTS
=============================================
*/

/* ========== KEYFRAME ANIMATIONS ========== */

/* Fade In Up - Smooth element reveal from bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Scale In - Zoom effect */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shimmer Loading Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Float Animation for Icons */
@keyframes float {

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

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

/* Pulse Glow Effect */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(0, 168, 150, 0.2);
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

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

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

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

/* Bounce */
@keyframes bounce {

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

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Star Fill Animation */
@keyframes starFill {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ========== SCROLL ANIMATIONS ========== */

/* Base class for scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(7) {
    transition-delay: 0.6s;
}

.animate-on-scroll:nth-child(8) {
    transition-delay: 0.7s;
}


/* ========== ENHANCED HERO SECTION ========== */

/* Parallax background support */
.hero-carousel-container {
    overflow: hidden;
}

.hero-bg {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Enhanced carousel slide transitions */
.carousel-slide {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.carousel-slide[data-active="true"] {
    transform: scale(1);
}

/* Animated gradient overlay */
.hero-overlay {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 168, 150, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Hero content stagger animation */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    animation: fadeInDown 0.8s ease-out 0.2s both;
    transition: text-shadow 0.3s ease;
}

.hero-title:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}


/* ========== ENHANCED PRODUCT/COLLECTION CARDS ========== */

/* Shimmer loading effect for images */
.product-image-wrapper::before,
.card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.product-image-wrapper.loading::before,
.card-image-wrapper.loading::before {
    opacity: 1;
}

/* Enhanced hover effects */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--color-primary),
            var(--color-primary-dark),
            var(--color-primary));
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.product-card:hover::before {
    opacity: 0.3;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 168, 150, 0.2);
}

.collection-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Image zoom with smooth transition */
.product-card:hover .product-image-wrapper img,
.collection-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}


/* ========== BUTTON ENHANCEMENTS ========== */

/* Ripple effect container */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Pulse effect for primary buttons */
.btn-primary {
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
    box-shadow: 0 8px 20px rgba(0, 168, 150, 0.4);
}

/* Add to cart button states */
.add-to-cart-btn,
.btn-add-to-cart {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover,
.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 168, 150, 0.3);
}

.add-to-cart-btn:active,
.btn-add-to-cart:active {
    transform: translateY(0);
}


/* ========== TYPOGRAPHY ANIMATIONS ========== */

/* Gradient text effect for section titles */
.section-title {
    background: linear-gradient(135deg,
            var(--color-secondary) 0%,
            var(--color-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Subheading animation */
.subheading-gold {
    animation: fadeInDown 0.6s ease-out;
    transition: letter-spacing 0.3s ease;
}

.subheading-gold:hover {
    letter-spacing: 5px;
}

/* Enhanced highlight text */
.highlight-text {
    transition: all 0.3s ease;
}

.highlight-text:hover {
    color: var(--color-primary);
}

.highlight-text::after {
    transition: all 0.3s ease;
}

.highlight-text:hover::after {
    height: 12px;
    background: rgba(0, 168, 150, 0.3);
}


/* ========== FEATURE ICONS ========== */

.feature-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box i {
    transition: all 0.4s ease;
    display: inline-block;
}

.feature-box:hover i {
    animation: bounce 1s ease;
    color: var(--color-primary-dark);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 168, 150, 0.15);
}


/* ========== TESTIMONIALS ========== */

.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.testimonial-card .stars {
    display: inline-block;
}

.testimonial-card .stars::before {
    content: attr(data-rating);
    position: absolute;
    overflow: hidden;
    color: #F59E0B;
}

.testimonial-card .avatar {
    transition: all 0.3s ease;
}

.testimonial-card:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 168, 150, 0.3);
}


/* ========== VIDEO SECTION ENHANCEMENTS ========== */

.video-scroll-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.video-card-vertical {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-vertical:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Play button pulse */
.instagram-overlay-link {
    animation: pulseGlow 2s ease-in-out infinite;
}

.instagram-overlay-link i {
    animation: bounce 2s ease-in-out infinite;
}


/* ========== NAVBAR ENHANCEMENTS ========== */

.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 168, 150, 0.15);
}

.nav-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

.cart-count {
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ========== CUSTOM SCROLLBAR ========== */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-background-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--color-primary) 0%,
            var(--color-primary-dark) 100%);
    border-radius: 6px;
    border: 2px solid var(--color-background-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}


/* ========== LOADING STATES ========== */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg,
            var(--color-background-alt) 0%,
            #e0e0e0 50%,
            var(--color-background-alt) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}


/* ========== PAGE LOAD ANIMATION ========== */

body {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ========== PERFORMANCE OPTIMIZATIONS ========== */

/* GPU acceleration for animated elements */
.product-card,
.collection-card,
.testimonial-card,
.feature-box,
.btn,
.nav-icon,
.hero-bg {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce animations on mobile for performance */
@media (max-width: 768px) {
    .hero-overlay {
        animation: none;
    }

    .btn-primary {
        animation: none;
    }

    .animate-on-scroll:nth-child(n+5) {
        transition-delay: 0.4s;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========== COLLECTION GRID STAGGER ========== */

.collection-grid .collection-card {
    animation: fadeInUp 0.6s ease-out both;
}

.collection-grid .collection-card:nth-child(1) {
    animation-delay: 0.1s;
}

.collection-grid .collection-card:nth-child(2) {
    animation-delay: 0.2s;
}

.collection-grid .collection-card:nth-child(3) {
    animation-delay: 0.3s;
}

.collection-grid .collection-card:nth-child(4) {
    animation-delay: 0.4s;
}

.collection-grid .collection-card:nth-child(5) {
    animation-delay: 0.5s;
}

.collection-grid .collection-card:nth-child(6) {
    animation-delay: 0.6s;
}


/* ========== PRODUCT GRID STAGGER ========== */

.product-listing-grid .product-card,
.product-listing-grid .product-item {
    animation: scaleIn 0.5s ease-out both;
}

.product-listing-grid .product-card:nth-child(1),
.product-listing-grid .product-item:nth-child(1) {
    animation-delay: 0.1s;
}

.product-listing-grid .product-card:nth-child(2),
.product-listing-grid .product-item:nth-child(2) {
    animation-delay: 0.15s;
}

.product-listing-grid .product-card:nth-child(3),
.product-listing-grid .product-item:nth-child(3) {
    animation-delay: 0.2s;
}

.product-listing-grid .product-card:nth-child(4),
.product-listing-grid .product-item:nth-child(4) {
    animation-delay: 0.25s;
}

.product-listing-grid .product-card:nth-child(5),
.product-listing-grid .product-item:nth-child(5) {
    animation-delay: 0.3s;
}

.product-listing-grid .product-card:nth-child(6),
.product-listing-grid .product-item:nth-child(6) {
    animation-delay: 0.35s;
}

.product-listing-grid .product-card:nth-child(7),
.product-listing-grid .product-item:nth-child(7) {
    animation-delay: 0.4s;
}

.product-listing-grid .product-card:nth-child(8),
.product-listing-grid .product-item:nth-child(8) {
    animation-delay: 0.45s;
}


/* ========== SMOOTH TRANSITIONS ========== */

/* Smooth all interactive elements */
a,
button,
input,
select,
textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image fade-in on load */
img {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

img.loaded,
img[src] {
    opacity: 1;
}


/* 
=============================================
   STUNNING BANNER ENHANCEMENTS
=============================================
*/

/* Ken Burns Effect - Slow Zoom + Pan */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

@keyframes kenBurnsReverse {
    0% {
        transform: scale(1.15) translate(-2%, -2%);
    }

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

/* Apply Ken Burns to active slide */
.carousel-slide[data-active="true"] .hero-bg {
    animation: kenBurns 20s ease-out forwards;
}

/* Animated Overlay Pattern */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 168, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 150, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    animation: overlayFloat 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes overlayFloat {

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

    50% {
        opacity: 0.6;
        transform: translateY(-20px);
    }
}

/* Animated Particles/Floating Elements */
.hero-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleFloat 30s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: 4;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%;
    }

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

/* Enhanced Hero Text Animations */
.hero-title {
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: titleUnderline 1.5s ease-out 0.8s forwards;
}

@keyframes titleUnderline {
    to {
        width: 80%;
    }
}

/* Glowing Text Effect */
.hero-title {
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 168, 150, 0.2);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(0, 168, 150, 0.2);
    }

    to {
        text-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(0, 168, 150, 0.4);
    }
}

/* Carousel Navigation Enhancement */
.carousel-nav {
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-nav::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-primary), transparent, var(--color-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-nav:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Indicator Enhancement */
.indicator {
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.indicator[data-active="true"]::before {
    transform: scaleX(1);
}


/* 
=============================================
   PREMIUM SIGNATURE PAGE STYLING
=============================================
*/

/* Signature Page Header */
.page-header {
    background: linear-gradient(135deg,
            var(--color-secondary) 0%,
            #1a1f3c 50%,
            var(--color-secondary) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 168, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 150, 0.15) 0%, transparent 50%);
    animation: headerPattern 20s ease-in-out infinite;
}

@keyframes headerPattern {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, white 0%, var(--color-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 0.8s ease-out;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Breadcrumb Enhancement */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    animation: fadeIn 0.6s ease-out;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Premium Product Grid for Signature */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

/* Luxury Product Card for Signature */
.signature-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.signature-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--color-primary) 0%,
            var(--color-primary-dark) 50%,
            var(--color-primary) 100%);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.signature-product-card:hover::before {
    opacity: 1;
}

@keyframes gradientSlide {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.signature-product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 168, 150, 0.25);
}

/* Signature Badge */
.signature-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--color-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

/* Feature Boxes for Signature Page */
.signature-features .feature-box {
    background: white;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.signature-features .feature-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.signature-features .feature-box:hover::before {
    opacity: 1;
}

/* Elegant Divider */
.elegant-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-primary) 50%,
            transparent 100%);
    margin: 3rem 0;
    position: relative;
}

.elegant-divider::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: var(--color-primary);
    padding: 0 1rem;
    font-size: 0.8rem;
}

/* Empty State Enhancement */
.signature-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.signature-empty-state i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.signature-empty-state h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

/* Signature Page Background */
.signature-page-bg {
    background: linear-gradient(180deg,
            #fafafa 0%,
            white 50%,
            #fafafa 100%);
    position: relative;
}

.signature-page-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 168, 150, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 168, 150, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .signature-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .hero-title::after {
        display: none;
    }
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    padding-top: 130px;
    background: linear-gradient(135deg, #1b0f0a 0%, #6b3a1e 100%);
    color: white;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
}

.about-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-hero-title {
    color: #fff;
    margin-top: 0.75rem;
    background: none;
    -webkit-text-fill-color: #fff;
}

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
}

.about-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.about-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-hero-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd27a;
}

.about-hero-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.about-story {
    background: #fff;
}

.about-story-grid {
    align-items: center;
}

.about-story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.about-section-title {
    font-size: 2.4rem;
    color: #2c1810;
    margin-bottom: 1.2rem;
}

.about-story-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-mission {
    background: #f8f9fb;
}

.about-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-card h3 {
    margin-bottom: 1rem;
}

.about-card p {
    color: #4b5563;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd27a, #f4b63f);
    color: #2c1810;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.about-values {
    background: #fff;
}

.about-value-card {
    background: #fff9f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 210, 122, 0.35);
    box-shadow: 0 12px 30px rgba(255, 199, 117, 0.2);
}

.about-value-card i {
    font-size: 2rem;
    color: #f4b63f;
    margin-bottom: 1rem;
}

.about-value-card p {
    color: #5b5b5b;
}

.about-process {
    background: #f8f9fb;
}

.about-process-step {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    position: relative;
}

.about-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd27a, #f4b63f);
    color: #2c1810;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.about-team {
    background: #fff;
}

.about-team-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-team-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.about-team-body {
    padding: 1.8rem;
}

.about-team-body span {
    color: #f4b63f;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.about-team-body p {
    color: #4b5563;
}

.about-contact {
    background: linear-gradient(135deg, #1b0f0a 0%, #6b3a1e 100%);
    color: #fff;
}

.about-contact .section-title,
.about-contact .section-subtitle {
    color: #fff;
}

.about-contact .section-title {
    background: none;
    -webkit-text-fill-color: #fff;
}

.about-contact-grid {
    margin-top: 2rem;
}

.about-contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.about-contact-card i {
    font-size: 2rem;
    color: #ffd27a;
    margin-bottom: 1rem;
}

.about-contact-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-contact-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.about-contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.08);
    color: var(--color-secondary);
    border: 1px solid rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.15);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .about-hero {
        padding-top: 110px;
    }
}

/* ========== AUTH / LOGIN PAGE ========== */
.auth-page {
    padding-top: 120px;
    min-height: calc(100vh - 80px);
    background: radial-gradient(circle at top left, #ffffff 0%, #f3f6f7 50%, #e7f3f2 100%);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
}

.auth-visual h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.auth-visual p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
}

.auth-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(0, 168, 150, 0.12);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.auth-benefits {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
    color: #475569;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-benefits i {
    color: var(--color-primary);
}

.auth-visual-card {
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.auth-visual-card h3 {
    margin-bottom: 0.4rem;
}

.auth-visual-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    font-size: 1.5rem;
}

.auth-panel {
    display: grid;
    gap: 1.5rem;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.auth-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-header h2 {
    margin-bottom: 0.25rem;
}

.auth-header p {
    color: #64748b;
}

.auth-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd27a, #f4b63f);
    color: #2c1810;
    font-size: 1.8rem;
}

.auth-field {
    margin-bottom: 1.5rem;
}

.auth-label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.auth-sub-label {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.4rem;
}

.auth-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.12);
    outline: none;
    background: #ffffff;
}

.auth-textarea {
    min-height: 110px;
    resize: vertical;
}

.auth-otp {
    text-align: center;
    letter-spacing: 0.4rem;
    font-size: 1.3rem;
}

.phone-input {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
}

.auth-hint {
    color: #64748b;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.auth-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.auth-btn.secondary {
    margin-top: 0.8rem;
}

.auth-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-info p {
    color: #64748b;
}

.auth-link {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
}

.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
    color: #64748b;
}

.auth-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.auth-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.auth-note i {
    color: var(--color-success);
    margin-right: 0.4rem;
}

@media (max-width: 1024px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

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

    .auth-visual p {
        margin: 0 auto;
    }

    .auth-benefits {
        justify-content: center;
    }
}

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

    .phone-input {
        grid-template-columns: 1fr;
    }
}
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    z-index: 1200;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-float.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        left: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

/* Global mobile fit safeguards */
@media (max-width: 768px) {
    .container,
    .section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .section,
    .footer,
    .hero-carousel-container {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .nav-container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        gap: 0.75rem;
    }

    .search-container {
        flex: 1 0 100%;
        margin: 0;
        order: 3;
    }

    .nav-actions {
        gap: 0.8rem;
        margin-left: 0;
    }

    .nav-menu {
        width: 100%;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    .checkout-summary {
        position: static !important;
    }
}

/* Premium checkout redesign */
.checkout-premium-page {
    padding-top: 120px;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 168, 150, 0.08), transparent 42%),
        radial-gradient(circle at 85% 0%, rgba(255, 210, 122, 0.2), transparent 38%),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 55%, #f7fafc 100%);
}

.checkout-premium-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-premium-header h1 {
    margin: 0 0 0.45rem 0;
    font-size: 2.4rem;
}

.checkout-premium-header p {
    margin: 0;
    color: #526174;
}

.checkout-kicker {
    margin: 0 0 0.45rem 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #0b8f83;
    font-weight: 700;
}

.checkout-lock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #e9fbf7;
    color: #0b8f83;
    font-weight: 700;
    font-size: 0.86rem;
    border: 1px solid #c6f2e9;
}

.checkout-premium-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.5rem;
    align-items: start;
}

.checkout-summary-panel {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 18px;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.25);
    position: sticky;
    top: 105px;
}

.summary-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.summary-panel-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.summary-panel-head span {
    font-size: 0.8rem;
    color: #93c5fd;
}

.summary-scroll {
    max-height: 46vh;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.summary-scroll::-webkit-scrollbar {
    width: 6px;
}

.summary-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
}

.summary-item-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.8rem;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.65rem;
}

.summary-item-media img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
}

.summary-item-name {
    margin: 0;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.25;
}

.summary-item-meta {
    margin: 0.16rem 0 0.45rem 0;
    color: #93c5fd;
    font-size: 0.82rem;
}

.summary-item-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.summary-qty-control {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.sum-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    color: #e2e8f0;
    font-weight: 700;
    background: transparent;
}

.sum-qty-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sum-qty-input {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
}

.summary-remove-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fca5a5;
    background: transparent;
}

.summary-remove-btn:hover {
    background: rgba(239, 68, 68, 0.18);
}

.summary-item-price {
    color: #fde68a;
    font-weight: 700;
    font-size: 1rem;
}

.summary-totals {
    margin-top: 0.9rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 0.85rem;
    display: grid;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.summary-row strong {
    color: #ffffff;
}

.summary-row.total {
    margin-top: 0.2rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 1.05rem;
}

.summary-row.total strong {
    color: #fef08a;
    font-size: 1.08rem;
}

.free-label {
    color: #34d399 !important;
}

.checkout-form-panel {
    display: grid;
    gap: 1rem;
}

.checkout-card-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.checkout-card-block h3 {
    margin: 0 0 0.85rem 0;
    font-size: 1.15rem;
}

.block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.8rem;
}

.btn-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.address-grid {
    display: grid;
    gap: 0.65rem;
}

.address-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: flex-start;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    padding: 0.75rem;
    background: #f8fafc;
    cursor: pointer;
}

.address-option.active {
    border-color: #0b8f83;
    background: #ecfdf8;
    box-shadow: 0 0 0 2px rgba(0, 168, 150, 0.12);
}

.address-option input {
    margin-top: 0.24rem;
}

.addr-type {
    margin: 0 0 0.2rem 0;
    color: #0f172a;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.addr-value {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
}

.address-empty {
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px dashed #f59e0b;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.9rem;
}

.new-address-form {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #dbe3ec;
}

.new-address-form h4 {
    margin: 0 0 0.7rem 0;
    font-size: 1rem;
}

.field-row {
    margin-bottom: 0.7rem;
}

.field-row label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    color: #475569;
    font-weight: 600;
}

.field-row select,
.field-row textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
    font: inherit;
    color: #1e293b;
    background: #fff;
}

.field-row select:focus,
.field-row textarea:focus {
    outline: none;
    border-color: #00a896;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

.payment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    padding: 0.8rem;
    background: #f8fafc;
}

.payment-option p {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}

.payment-option span {
    color: #64748b;
    font-size: 0.88rem;
}

.place-order-block {
    display: grid;
    gap: 0.65rem;
}

.place-order-btn {
    width: 100%;
    padding: 0.9rem 1.1rem;
}

.checkout-note {
    margin: 0;
    text-align: center;
    color: #64748b;
    font-size: 0.86rem;
}

.checkout-note i {
    color: #22c55e;
}

@media (max-width: 1100px) {
    .checkout-premium-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-panel {
        position: static;
        top: auto;
    }

    .summary-scroll {
        max-height: 36vh;
    }
}

@media (max-width: 768px) {
    .checkout-premium-page {
        padding-top: 108px;
    }

    .checkout-premium-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-premium-header h1 {
        font-size: 1.8rem;
    }

    .summary-item-card {
        grid-template-columns: 62px 1fr;
    }

    .summary-item-media img {
        width: 62px;
        height: 62px;
    }

    .summary-item-price {
        grid-column: 2;
        justify-self: end;
    }
}
