/* Enhanced Root Variables */
:root {
    --primary-lavender: #9b7fb8;
    --light-lavender: #e6dff2;
    --dark-lavender: #6b4f8c;
    --accent-lavender: #b8a3d0;
    --gradient-lavender: linear-gradient(135deg, #9b7fb8 0%, #b8a3d0 100%);
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --gray: #666666;
    --dark-gray: #333333;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(155, 127, 184, 0.15);
    --shadow-md: 0 4px 20px rgba(155, 127, 184, 0.2);
    --shadow-lg: 0 8px 40px rgba(155, 127, 184, 0.25);
    --shadow-xl: 0 16px 60px rgba(155, 127, 184, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode removed - consistent white/lavender theme */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--light-lavender) 0%, var(--white) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.lavender-animation {
    font-size: 4rem;
    color: var(--primary-lavender);
    animation: lavenderPulse 1.5s ease-in-out infinite;
}

.loader p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--primary-lavender);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes lavenderPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.7; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-lavender);
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(155, 127, 184, 0.5);
}

/* Floating Petals Animation */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-lavender);
    border-radius: 0 100% 0 100%;
    opacity: 0.3;
    animation: floatPetal 15s infinite linear;
}

.petal-1 { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.petal-2 { left: 30%; animation-delay: 3s; animation-duration: 18s; }
.petal-3 { left: 50%; animation-delay: 6s; animation-duration: 22s; }
.petal-4 { left: 70%; animation-delay: 9s; animation-duration: 19s; }
.petal-5 { left: 90%; animation-delay: 12s; animation-duration: 21s; }

@keyframes floatPetal {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(720deg);
        opacity: 0;
    }
}

/* Enhanced Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}


.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    font-size: 2rem;
    color: var(--primary-lavender);
    animation: iconRotate 20s linear infinite;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-lavender);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    padding-right: 2rem;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
    padding: 0.6rem 1.2rem;
    overflow: hidden;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(245, 245, 245, 1);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.nav-menu a:hover {
    color: white;
    background: var(--gradient-lavender);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 127, 184, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Dark mode toggle removed */


/* Cart icon and count removed - will integrate with Shopify */

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark-gray);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Box */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 2rem;
    margin-right: 1rem;
}

.search-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--primary-lavender);
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f3f7;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-form:focus-within {
    background: #ffffff;
    border-color: var(--primary-lavender);
    box-shadow: 0 2px 12px rgba(155, 127, 184, 0.15);
}

.search-input {
    border: none;
    background: transparent;
    padding: 8px 4px 8px 16px;
    font-size: 14px;
    width: 180px;
    outline: none;
    color: var(--dark-gray);
}

.search-input::placeholder {
    color: #999;
}

.search-submit {
    background: var(--primary-lavender);
    border: none;
    color: #ffffff;
    padding: 8px 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #8a6fa7;
}

/* Search - Tablet */
@media (max-width: 992px) {
    .search-input {
        width: 140px;
    }
}

/* Search - Mobile */
@media (max-width: 768px) {
    .search-wrapper {
        position: relative;
        margin-right: 0.5rem;
    }

    .search-toggle {
        display: flex;
    }

    .search-form {
        position: absolute;
        top: 50px;
        right: -60px;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .search-form.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .search-input {
        width: 200px;
        padding: 12px 4px 12px 16px;
    }

    .search-submit {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .search-form {
        right: -40px;
        width: calc(100vw - 40px);
        max-width: 300px;
    }

    .search-input {
        width: 100%;
        flex: 1;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu li {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-gray);
    font-weight: 500;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--light-lavender);
    color: var(--primary-lavender);
}


/* Promotional Banner */
.promo-banner {
    background: rgba(155, 127, 184, 0.75);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.3rem 0;
    position: fixed;
    top: 68px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(155, 127, 184, 0.3);
    animation: slideDown 0.5s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.promo-banner.closing {
    opacity: 0;
    transform: translateY(-100%);
}

.promo-banner.hide {
    transform: translateY(-100%);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 3rem;
    position: relative;
}

.promo-content i.promo-icon {
    font-size: 0.85rem;
    animation: blink 2s infinite;
}

.promo-content span {
    font-size: 0.75rem;
    font-weight: 500;
}

.promo-content a {
    color: white;
    text-decoration: none;
    padding: 0.2rem 0.7rem;
    border: 1.5px solid white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: var(--transition);
}

.promo-content a:hover {
    background: white;
    color: var(--primary-lavender);
}

.promo-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    padding: 0;
    line-height: 1;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(90deg);
}

/* Promo Banner Mobile Styles */
@media (max-width: 768px) {
    .promo-banner {
        padding: 0.5rem 0;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
        padding: 0 2.5rem;
    }

    .promo-content span {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .promo-content a {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        margin-top: 0.1rem;
    }

    .promo-close {
        right: 0.5rem;
        top: 0.5rem;
        transform: none;
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }

    .promo-close:hover {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .promo-content {
        padding: 0 2rem;
    }

    .promo-content span {
        font-size: 0.65rem;
    }

    .promo-content a {
        font-size: 0.6rem;
    }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

/* Welcome Section */
.welcome-section {
    padding: 6rem 0 2rem;
    background-image: url('images/herobg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.welcome-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.welcome-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(155, 127, 184, 0.2);
}

.welcome-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(230, 223, 242, 0.9);
    color: var(--primary-lavender);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(155, 127, 184, 0.2);
}

.welcome-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(155, 127, 184, 0.15);
}

/* Responsive adjustments for welcome section */
@media (max-width: 768px) {
    .welcome-section {
        padding: 5rem 0 1.5rem;
    }

    .welcome-logo {
        max-width: 280px;
        margin-bottom: 0.85rem;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .welcome-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
        margin-bottom: 1rem;
    }

    .welcome-description {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 0.85rem 1.25rem;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 4.5rem 0 1.25rem;
    }

    .welcome-logo {
        max-width: 240px;
        margin-bottom: 0.75rem;
        padding: 1rem;
        border-radius: 14px;
    }

    .welcome-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
        margin-bottom: 0.85rem;
    }

    .welcome-description {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
}

/* New Compact Shop Hero Section */
.hero-shop {
    padding: 90px 0 2rem;
    background: linear-gradient(135deg, #faf8fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b7fb8' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

/* Hero Wrapper and Layout */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-main {
    order: 2;
}

.hero-visual {
    order: 1;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(155, 127, 184, 0.1);
    border-radius: 30px;
    color: var(--primary-lavender);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    font-size: 0.9rem;
    color: var(--primary-lavender);
}

/* Hero Title - Mobile First */
.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* New Hero Title Styles */
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--dark-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-lavender);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-outline {
    background: transparent;
    color: var(--primary-lavender);
    border: 2px solid var(--primary-lavender);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-lavender);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 200px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.btn-primary {
    background: var(--gradient-lavender);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(155, 127, 184, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(155, 127, 184, 0.5);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-lavender);
    border: 2px solid var(--primary-lavender);
}

.btn-secondary:hover {
    background: var(--primary-lavender);
    color: var(--white);
}

.btn-animated span {
    position: relative;
    z-index: 1;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.trust-indicators .indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.trust-indicators .indicator i {
    color: var(--primary-lavender);
    font-size: 1rem;
}

/* Hero Visual Section */
.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-lavender);
}

.badge-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
}

/* Mini Product Grid */
.hero-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mini-product {
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.mini-product img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.mini-product span {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.mini-product:hover {
    transform: translateY(-5px);
}

.mini-product:hover img {
    box-shadow: var(--shadow-md);
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, #6b4f8c 0%, #9b7fb8 50%, #b8a3d0 100%);
    padding: 0.75rem 0;
    position: relative;
    overflow: hidden;
}

.announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.announcement-icon {
    font-size: 1.2rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.announcement-text {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.announcement-text strong {
    font-weight: 700;
}

.announcement-cta {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.85rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.announcement-cta i {
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.announcement-header:hover .announcement-cta {
    background: rgba(255,255,255,0.3);
}

.announcement-banner.expanded .announcement-cta i {
    transform: rotate(180deg);
}

/* Expandable Letter */
.announcement-letter {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: white;
    border-radius: 0;
}

.announcement-banner.expanded .announcement-letter {
    max-height: 2000px;
    padding: 2rem 0;
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    color: var(--dark-gray);
    line-height: 1.8;
}

.letter-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--light-lavender);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-lavender);
    transition: all 0.3s ease;
}

.letter-close:hover {
    background: var(--primary-lavender);
    color: white;
    transform: rotate(90deg);
}

.letter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--dark-lavender);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.letter-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-lavender);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
}

.letter-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.letter-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-lavender);
}

.letter-signature p {
    margin-bottom: 0.25rem;
}

.letter-signature .signature-name {
    font-size: 1.1rem;
    color: var(--dark-lavender);
}

.letter-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-lavender) 0%, #f5f0fa 100%);
    border-radius: 10px;
    text-align: center;
}

.letter-footer p {
    margin-bottom: 0.25rem;
    color: var(--dark-lavender);
}

.letter-footer p:first-child {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .announcement-banner {
        padding: 0.5rem 0;
    }

    .announcement-header {
        gap: 0.5rem;
    }

    .announcement-icon {
        font-size: 1rem;
    }

    .announcement-text {
        font-size: 0.8rem;
        text-align: center;
    }

    .announcement-cta {
        font-size: 0.75rem;
        padding: 0.25rem 0.65rem;
    }

    .letter-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .letter-content h2 {
        font-size: 1.35rem;
    }

    .letter-content h3 {
        font-size: 1rem;
    }

    .letter-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .announcement-banner {
        padding: 0.4rem 0;
    }

    .announcement-header {
        flex-direction: column;
        gap: 0.35rem;
    }

    .announcement-icon {
        font-size: 0.9rem;
    }

    .announcement-text {
        font-size: 0.75rem;
    }

    .announcement-cta {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .letter-content {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }

    .letter-content h2 {
        font-size: 1.2rem;
        padding-right: 2.5rem;
    }

    .letter-content h3 {
        font-size: 0.9rem;
    }

    .letter-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .letter-close {
        width: 30px;
        height: 30px;
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* Category Showcase Section */
.category-showcase {
    padding: 2rem 0;
    background: white;
}

/* Touch device specific styles */
.touch-device .category-card {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Ensure browse button remains stable during transitions */
.touch-device .category-card .category-link {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* Add invisible tap area padding for mobile */
.touch-device .category-link::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
    z-index: -1;
}

/* Prevent iOS from maintaining hover state */
@supports (-webkit-touch-callout: none) {
    .category-card:active {
        transform: none !important;
    }
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.category-card {
    flex: 1 1 250px;
    max-width: calc(25% - 1.5rem);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* 1. Featured */
.category-card:nth-child(1)::before {
    background-image: url('images/categories/generated_featured.png');
}

/* 2. Aromatherapy */
.category-card:nth-child(2)::before {
    background-image: url('images/categories/generated_shop-aromatherapy.png');
}

/* 3. Body Care */
.category-card:nth-child(3)::before {
    background-image: url('images/BathBody.webp');
}

/* 4. Collections */
.category-card:nth-child(4)::before {
    background-image: url('images/categories/generated_collections.webp');
}

/* 5. Essential Oils */
.category-card:nth-child(5)::before {
    background-image: url('images/essentialoil.webp');
}

/* 6. Remedies & Health */
.category-card:nth-child(6)::before {
    background-image: url('images/HomeLiving.webp');
}

/* 7. Soaps */
.category-card:nth-child(7)::before {
    background-image: url('images/categories/generated_shop-soaps.png');
}

/* 8. All Products */
.category-card:nth-child(8)::before {
    background-image: url('images/categories/generated_all-products.png');
}

/* Only apply hover states on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .category-card:hover::before {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(1);
    }

}

/* Active state for touch feedback */
.category-card.active {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card.active::before {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
}

/* Maintain browse button stability when card is active */
.category-card.active .category-link {
    gap: 0.75rem;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Transitioning state for smooth animations */
.category-card.transitioning {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.transitioning::before {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.transitioning .category-link {
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.featured {
    background: linear-gradient(135deg, #faf8fc 0%, #f5f0fa 100%);
    border-color: var(--light-lavender);
}

.category-card.collections {
    background: linear-gradient(135deg, #f8f6fc 0%, #efe8f5 100%);
    border-color: var(--primary-lavender);
}

.category-card.collections .category-icon {
    background: var(--primary-lavender);
    color: #ffffff;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(230, 223, 242, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--primary-lavender);
}

.category-card h3 {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(155, 127, 184, 0.1);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
}

.category-link {
    color: white;
    background: var(--gradient-lavender);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

/* Only apply hover effects on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .category-card:hover .category-link {
        gap: 0.75rem;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Styles for Hero */
@media (min-width: 768px) {
    /* Hero Shop Layout for Tablets and Up */
    .hero-shop {
        padding: 110px 0 3rem;
    }

    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }

    .hero-main {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-content {
        text-align: left;
        max-width: none;
    }

    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .trust-indicators {
        justify-content: flex-start;
    }

    .hero-image-wrapper {
        max-width: 500px;
    }

    .hero-image {
        max-height: 500px;
    }

    .hero-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .mini-product img {
        height: 120px;
    }

    .category-card {
        max-width: calc(50% - 1.5rem);
    }

    .hero-container {
        padding: 3rem 2rem;
    }

    .hero-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .title-line {
        font-size: 1.3rem;
    }

    .title-main {
        font-size: 4rem;
    }

    .title-sub {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .btn-large {
        min-width: auto;
    }

    .btn {
        width: auto;
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    /* Large Desktop Styles for Hero Shop */
    .hero-shop {
        padding: 110px 0 4rem;
    }

    .promo-banner {
        top: 68px;
    }

    .hero-wrapper {
        gap: 4rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .hero-description {
        font-size: 1.2rem;
        max-width: 520px;
    }

    .hero-image-wrapper {
        margin-bottom: 2rem;
        max-width: 480px;
    }

    .hero-image {
        max-height: 480px;
    }

    .mini-product img {
        height: 140px;
    }

    .category-grid {
        gap: 2rem;
    }

    .category-card {
        max-width: calc(25% - 2rem);
        padding: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 700px;
    }
}

/* Enhanced Products Section */
.products {
    padding: 5rem 0;
    background: var(--light-lavender);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--light-lavender);
    color: var(--primary-lavender);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-lavender);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-lavender);
    border-radius: 25px;
    color: var(--dark-gray);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-lavender);
    color: var(--white);
    border-color: var(--primary-lavender);
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Shopify Collection Sections */
.collection-section {
    margin-bottom: 5rem;
    position: relative;
}

.collection-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2e2a39;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
    position: relative;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.collection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-lavender), transparent);
}

/* ============================================
   CUSTOM PRODUCT CARDS - Storefront API
   Full control, no SDK limitations
   ============================================ */

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Product Card */
.product-card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(155, 127, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(155, 127, 184, 0.15);
}

/* Product Image */
.product-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background-color: #f8f6fc;
}

.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Sale Badge */
.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #9b7fb8;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Content */
.product-card__content {
    padding: 14px;
    text-align: left;
}

/* Product Vendor */
.product-card__vendor {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

/* Product Title */
.product-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2e2a39;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product-card:hover .product-card__title {
    text-decoration: underline;
}

/* Product Price */
.product-card__price-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.product-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #7b5e99;
}

.product-card__compare-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* Product Card Divider */
.product-card__divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0d6eb, transparent);
    margin: 12px 0;
}

/* Product Shop CTA */
.product-card__shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #9b7fb8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.product-card__shop-cta i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__shop-cta {
    color: #7b5e99;
}

.product-card:hover .product-card__shop-cta i {
    transform: translateX(4px);
}

/* Loading Skeleton */
.product-card--loading {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton--text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton--short {
    width: 60%;
    margin: 0 auto;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Empty State */
.product-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* ============================================
   END CUSTOM PRODUCT CARDS
   ============================================ */

/* Cart Styles (keeping for potential future use) */
.shopify-buy__cart {
    background: var(--white) !important;
    border-radius: 20px 0 0 20px !important;
    box-shadow: var(--shadow-xl) !important;
}

.shopify-buy__cart__title {
    font-family: 'Playfair Display', serif !important;
    color: var(--dark-gray) !important;
}

.shopify-buy__cart__btn--close {
    color: var(--dark-gray) !important;
}

.shopify-buy__cart-item__title {
    font-family: 'Inter', sans-serif !important;
    color: var(--dark-gray) !important;
}

.shopify-buy__cart-item__price {
    color: var(--primary-lavender) !important;
}

.shopify-buy__cart__subtotal__text,
.shopify-buy__cart__subtotal__price {
    color: var(--dark-gray) !important;
    font-weight: 600 !important;
}

.shopify-buy__btn--cart-checkout {
    background: var(--gradient-lavender) !important;
    border-radius: 25px !important;
}

/* Cart Toggle Button */
.shopify-buy__cart-toggle {
    background: var(--gradient-lavender) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
}

.shopify-buy__cart-toggle:hover {
    transform: scale(1.05) !important;
}

/* Modal Styles */
.shopify-buy__modal {
    background: rgba(0, 0, 0, 0.5) !important;
}

.shopify-buy__modal-product-wrapper {
    background: var(--white) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-xl) !important;
}

.shopify-buy__product__title[data-element="product.title"] {
    font-family: 'Playfair Display', serif !important;
}

.shopify-buy__btn-wrapper {
    padding: 0 1.5rem 1.5rem !important;
}

/* Quantity Selector in Modal */
.shopify-buy__quantity-decrement,
.shopify-buy__quantity-increment {
    border-color: var(--light-lavender) !important;
    color: var(--primary-lavender) !important;
}

.shopify-buy__quantity {
    border-color: var(--light-lavender) !important;
    color: var(--dark-gray) !important;
}

/* Option Selector */
.shopify-buy__option-select__select {
    border-color: var(--light-lavender) !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
}

/* Responsive adjustments for Shopify products */
@media (max-width: 1024px) {
    .shopify-buy__product__variant-img-wrapper {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .shopify-buy__product__variant-img-wrapper {
        height: 180px !important;
    }

    .shopify-buy__product__title {
        font-size: 1.1rem !important;
        padding: 1rem 1rem 0.5rem !important;
    }

    .shopify-buy__product__price {
        font-size: 1.25rem !important;
        padding: 0 1rem 0.75rem !important;
    }

    .shopify-buy__btn {
        margin: 0 1rem 1rem !important;
        padding: 0.75rem 1.25rem !important;
    }
}

.product-card-3d {
    perspective: 1000px;
    height: 560px;
}

.card-3d-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.product-card-3d:hover .card-3d-wrapper {
    transform: rotateY(5deg) rotateX(-5deg);
}

.card-3d-front {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card-3d:hover .card-3d-front {
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-3d:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.product-badge.pulse {
    background: var(--primary-lavender);
    animation: badgePulse 2s ease-in-out infinite;
}

.product-badge.new {
    background: var(--accent-lavender);
}

.product-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 127, 184, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-3d:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-lavender);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-view:hover {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    color: #ffd700;
}

.product-rating span {
    color: var(--gray);
    margin-left: 0.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 60px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-lavender);
}

.btn-add-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-lavender);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow Button for Product Cards - Matching scroll-up button style */
.btn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-lavender);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    opacity: 0.8;
}

.btn-arrow i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-arrow:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-arrow:hover i {
    transform: translateX(2px);
}

.btn-arrow:active {
    transform: translateY(-1px);
}

.btn-add-cart:hover {
    transform: rotate(360deg) scale(1.1);
}

/* Featured Product Advanced */
.featured-product-advanced {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-lavender) 100%);
}

.featured-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-media {
    position: relative;
}

.featured-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.play-button i {
    color: var(--primary-lavender);
    font-size: 2rem;
    margin-left: 5px;
}

.feature-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.feature-icon {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-lavender);
    margin-bottom: 0.5rem;
}

.feature-icon span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.featured-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-lavender);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-content h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.featured-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.benefit-item i {
    color: var(--primary-lavender);
    font-size: 1.2rem;
}

.featured-pricing {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.price-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--primary-lavender);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-lavender);
}

.cents {
    font-size: 1.5rem;
    color: var(--primary-lavender);
}

.price-original {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

.countdown-timer {
    background: var(--gradient-lavender);
    padding: 1.5rem;
    border-radius: 15px;
    color: var(--white);
}

.countdown-timer p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.timer {
    display: flex;
    gap: 1rem;
}

.timer-item {
    text-align: center;
}

.timer-item span:first-child {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-item span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.featured-actions {
    display: flex;
    gap: 1rem;
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-lavender);
    color: var(--primary-lavender);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    background: var(--primary-lavender);
    color: var(--white);
    transform: scale(1.1);
}

.btn-wishlist:hover i {
    animation: heartbeat 0.5s ease;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 127, 184, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Testimonials Carousel */
.testimonials {
    padding: 5rem 0;
    background: var(--off-white);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    position: relative;
    height: 350px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(100%);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card.prev {
    transform: translateX(-100%);
}

.testimonial-card.next {
    transform: translateX(100%);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.rating {
    color: #ffd700;
}

.testimonial-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-product {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light-lavender);
    color: var(--primary-lavender);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-lavender);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-lavender);
    width: 30px;
    border-radius: 5px;
}

/* Newsletter Popup */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: popupSlideIn 0.5s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    z-index: 1;
}

.popup-image {
    flex: 1;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-text {
    flex: 1;
    padding: 2rem;
}

.popup-text h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.popup-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 2px solid var(--light-lavender);
    border-radius: 10px;
    font-size: 1rem;
}

.popup-note {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    margin-top: 1rem;
}

/* Enhanced Contact Section */
.contact-advanced {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-lavender) 100%);
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-card-content {
    flex: 1;
    min-width: 0;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.contact-card a {
    color: var(--primary-lavender);
    font-weight: 500;
    display: block;
    margin: 0.5rem 0;
    word-break: break-word;
}

.contact-card p {
    margin: 0.5rem 0;
}

.response-time {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.social-connect {
    margin-top: 2rem;
}

.social-connect h4 {
    margin-bottom: 1rem;
}

.social-icons-animated {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.pinterest {
    background: #bd081c;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Advanced Form Styles */
.contact-form-advanced {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid var(--light-lavender);
    background: transparent;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--gray);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--primary-lavender);
    background: var(--white);
    padding: 0 0.25rem;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-lavender);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-lavender);
    color: var(--white);
    padding-top: 0;
    position: relative;
    overflow-x: hidden;
}

.footer-waves {
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    line-height: 0;
}

.footer-waves svg {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
}

.footer-content {
    padding: 3rem 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-tagline {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-credit {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.footer-credit a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Cart sidebar removed - will integrate with Shopify */

.btn-block {
    width: 100%;
}

/* Quick View Modal */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    gap: 2rem;
}

.modal-image img {
    width: 100%;
    border-radius: 15px;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-lavender);
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--light-lavender);
    border-radius: 10px;
}

.qty-minus,
.qty-plus {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--primary-lavender);
    cursor: pointer;
}

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-lavender);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.active {
    opacity: 0.6;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .featured-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
}

/* Larger Mobile Phones (414px to 768px) */
@media (min-width: 414px) and (max-width: 768px) {
    /* Tablet Portrait Styles */
    .hero-shop {
        padding: 100px 0 2.5rem;
    }

    .hero-image-wrapper {
        max-width: 420px;
    }

    .hero-image {
        max-height: 420px;
    }

    .hero-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-card {
        max-width: calc(50% - 1rem);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Promo Banner - Mobile */
    .promo-banner {
        padding: 0.5rem 0;
        top: 60px;
    }

    .promo-content {
        gap: 0.4rem;
        padding: 0.5rem 2.5rem;
    }

    .promo-content i.promo-icon {
        font-size: 0.75rem;
    }

    .promo-content span {
        font-size: 0.7rem;
    }

    .promo-content a {
        padding: 0.15rem 0.6rem;
        font-size: 0.65rem;
    }

    .promo-close {
        font-size: 1rem;
        width: 20px;
        height: 20px;
        right: 0.5rem;
    }

    /* Category Cards - Mobile */
    .category-showcase {
        padding: 1.5rem 0;
    }

    .category-grid {
        gap: 0.75rem;
    }

    .category-card {
        max-width: calc(50% - 0.75rem);
        padding: 1.25rem 0.75rem;
        border-radius: 12px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 0.65rem;
    }

    .category-icon i {
        font-size: 1.2rem;
    }

    .category-card h3 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
        padding: 0.4rem 0.85rem;
        border-radius: 8px;
    }

    .category-card p {
        font-size: 0.8rem;
        margin-bottom: 0.65rem;
        padding: 0.35rem 0.75rem;
        border-radius: 7px;
    }

    .category-link {
        font-size: 0.8rem;
        padding: 0.55rem 0.85rem;
    }

    /* Navigation */
    .header {
        transition: transform 0.3s ease;
    }

    .header.hide {
        transform: translateY(-100%);
    }

    .navbar {
        padding: 1rem 0;
        min-height: 60px;
    }

    /* Adjust hero for mobile */
    .hero {
        padding-top: 60px;
        min-height: calc(100vh - 60px);
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .nav-brand {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .brand-icon {
        font-size: 1.2rem;
    }

    .nav-actions {
        gap: 0.75rem;
    }

    /* Cart and dark mode removed */

    /* Hero Section - Mobile button adjustments */
    .hero-buttons {
        align-items: center;
        margin: 0 auto 2rem;
        max-width: 300px;
    }

    .hero-buttons .btn-large {
        width: 100%;
        max-width: 250px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .product-card-3d {
        height: auto;
    }

    .product-filters {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Featured Section */
    .featured-wrapper {
        padding: 0 1rem;
    }

    /* Feature Icons - Mobile Fix */
    .feature-icons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-icon {
        padding: 1rem 1.5rem;
        margin: 0;
        width: 100%;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .featured-content h3 {
        font-size: 1.2rem;
    }

    .featured-pricing {
        flex-direction: column;
        gap: 1rem;
    }

    .countdown-timer {
        width: 100%;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }

    /* Testimonials */
    .testimonials-carousel {
        margin: 0 1rem;
    }

    .testimonial-track {
        height: auto;
        min-height: 400px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Newsletter Popup */
    .popup-content {
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
    }

    .popup-image {
        height: 150px;
    }

    .popup-text {
        padding: 1.5rem;
    }

    .popup-text h3 {
        font-size: 1.5rem;
    }

    .popup-close {
        background: var(--white);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }

    /* Contact */
    .contact-advanced {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .contact-info {
        padding: 0 1rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1rem;
        transform: none !important;
    }

    .contact-card:hover {
        transform: none !important;
    }

    .contact-form-advanced {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .social-connect {
        margin-top: 1.5rem;
    }

    .social-connect h4 {
        font-size: 1.1rem;
    }

    .social-icons-animated {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }


    /* Footer */
    .footer-links {
        padding: 0 1rem;
    }

    /* Sections */
    .section-header h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Prevent horizontal scroll */
    .petals-container {
        display: none; /* Hide petals on mobile to prevent overflow */
    }

    /* Back to Top Button */
    .back-to-top {
        bottom: 2rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .back-to-top.active {
        opacity: 0.4;
    }

    .back-to-top:active {
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    /* Promo Banner - Small Mobile */
    .promo-banner {
        padding: 0.5rem 0;
        top: 56px;
    }

    .promo-content {
        gap: 0.35rem;
        padding: 0.5rem 2rem;
    }

    .promo-content i.promo-icon {
        font-size: 0.7rem;
    }

    .promo-content span {
        font-size: 0.65rem;
    }

    .promo-content a {
        padding: 0.15rem 0.5rem;
        font-size: 0.6rem;
    }

    .promo-close {
        font-size: 0.9rem;
        width: 18px;
        height: 18px;
    }

    /* Category Cards - Small Mobile */
    .category-showcase {
        padding: 1rem 0;
    }

    .category-grid {
        gap: 0.5rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
        border-radius: 10px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.5rem;
    }

    .category-icon i {
        font-size: 1.1rem;
    }

    .category-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        padding: 0.35rem 0.7rem;
        border-radius: 6px;
    }

    .category-card p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        padding: 0.3rem 0.65rem;
        border-radius: 6px;
    }

    .category-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

    /* Navigation for small screens */
    .navbar {
        padding: 0.9rem 0;
        min-height: 56px;
    }

    /* Feature Icons - Small Mobile */
    .feature-icons {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }

    .feature-icon {
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }

    .feature-icon i {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .feature-icon span {
        font-size: 0.85rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .brand-icon {
        font-size: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-toggle span {
        width: 20px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    /* Hero buttons for small mobile */
    .hero-buttons {
        max-width: 240px;
    }

    .hero-buttons .btn-large {
        max-width: 200px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-buttons .btn-large i {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    /* Contact fixes for small screens */
    .contact-info h2.gradient-text {
        font-size: 1.5rem;
        word-break: break-word;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-card .card-icon {
        margin-bottom: 0.5rem;
    }

    .contact-card-content {
        text-align: center;
    }

    .contact-card h4 {
        font-size: 1rem;
        white-space: normal;
    }

    .contact-card a,
    .contact-card p {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .social-icons-animated a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    /* Extra small screens */
    .brand-text {
        display: none;
    }

    .brand-icon {
        font-size: 1.5rem;
    }
}

/* ========================================
   Android Compatibility Mode Styles
   ======================================== */

/* Compatibility mode for older Android devices */
.old-android #loading-screen {
    display: none !important;
    opacity: 0 !important;
}

.old-android [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.3s ease !important;
}

.old-android .petal,
.old-android .lavender-animation,
.old-android .brand-icon {
    animation: none !important;
}

.old-android .loader {
    display: none !important;
}

/* Simplify animations for better performance */
.old-android * {
    animation-duration: 0.3s !important;
}

/* Disable parallax effects on old devices */
.old-android [data-speed] {
    transform: none !important;
}

/* Feature queries for animation support */
@supports not ((animation: name 1s) and (transform: rotate(0deg))) {
    .lavender-animation {
        opacity: 0.8;
        animation: none;
    }

    #loading-screen {
        display: none !important;
    }

    .petal {
        display: none;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #loading-screen {
        display: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}