/* CSS Variables & Reset */
:root {
    --bg-light-blue: #e0f7ff;
    --footer-green-blue: #2c6b6f;
    --footer-text: #f0f7f7;
    --text-dark: #1e293b;
    --title-blue: #014049;
    --accent-pop: #ff6b8b;
    --card-bg: #ffffff;
    --font-main: 'Gideon Roman', serif;
    --font-heading: 'Gideon Roman', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(180deg, #e0f7ff 0%, #f4fbff 35%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header & Navigation */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--title-blue);
    text-align: center;
}

.brand-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--footer-green-blue);
    margin-top: -4px;
    text-align: center;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--footer-green-blue);
}

.nav-btn {
    background: var(--footer-green-blue);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Header Right Actions Wrapper (Cart & Burger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Burger Menu Toggle Button (Hidden by default on desktop) */
.burger-menu-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--title-blue);
    cursor: pointer;
    padding: 8px;
    display: none;
    transition: color 0.2s ease;
}

.burger-menu-btn:hover {
    color: var(--footer-green-blue);
}

/* Mobile Navigation Overlay & Slide-Out Drawer */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 64, 73, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(1, 64, 73, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 1.5rem;
    border-bottom: 1px solid rgba(44, 107, 111, 0.1);
}

.mobile-nav-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--title-blue);
}

.close-nav-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-nav-btn:hover {
    color: var(--accent-pop);
    transform: rotate(90deg);
}

.mobile-nav-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--footer-green-blue);
}

/* Centered Hero Section with Background Image, Frosted Card, & Bottom Fade Blend */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5% 9rem 5%;
    min-height: 80vh;
    background-image: url('fimage/shop2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================
   Page Transition Animation Styles
   ========================================== */
body {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

/* ==========================================
   Looping Announcement Ticker Styles
   ========================================== */
.ticker-container {
    background-color: var(--bg-light-blue);
    border-bottom: 1px solid rgba(44, 107, 111, 0.15);
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    width: 100%;
    position: relative;
    z-index: 4;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: scrollTicker 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding-right: 35px;
}

.ticker-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--title-blue);
}

.ticker-shape {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.85;
}

.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0) 0%, var(--bg-light-blue) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(1, 64, 73, 0.08);
}

.hero-content h2 {
    font-size: 3.2rem;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--title-blue);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--title-blue);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

/* Collection Section with Arch-Inspired Overlap Blend */
.collection-section {
    position: relative;
    margin-top: -50px;
    padding: 4rem 5% 5rem 5%;
    background: linear-gradient(180deg, var(--bg-light-blue) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 3;
    box-shadow: 0 -10px 30px rgba(1, 64, 73, 0.03);
}

.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--title-blue);
}

.section-header p {
    color: #64748b;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.item-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
}

.color-swatch {
    height: 180px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
}

.swatch-pink { background: linear-gradient(135deg, #ffccd5, #ffb5a7); }
.swatch-blue { background: linear-gradient(135deg, #bde0fe, #a2d2ff); }
.swatch-green { background: linear-gradient(135deg, #d8f3dc, #b7e4c7); }

.item-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--title-blue);
}

.item-card span {
    font-size: 0.9rem;
    color: #64748b;
}

/* ==========================================
   Mobile-Only 2-Column Product Grid
   ========================================== */

#productGrid, .simple-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.simple-product-card {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    box-sizing: border-box !important;
}

.simple-product-card .product-image-wrapper {
    width: 100% !important;
    height: 260px !important;
    aspect-ratio: unset !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: 8px !important;
}

.full-size-img,
.simple-product-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.simple-product-card .product-action {
    margin-top: 6px !important;
    padding: 8px 4px !important;
    background: var(--card-bg, #ffffff);
    text-align: center !important;
}

.simple-product-card .view-product-btn {
    display: block !important;
    width: 100% !important;
    background: var(--title-blue, #0b3c49);
    color: white !important;
    font-size: 11px !important;
    padding: 6px 4px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
}

/* ==========================================
   Footer Styles (Flanked Row Above Border Line)
   ========================================== */
    .site-footer {
        padding: 40px 0 0 0;
        background-color: #1d676f; /* Dark light blue background */
        color: #ffffff; /* Sets default text to white for contrast */
    }

    .footer-content {
        display: flex;
        justify-content: center; /* Centers items horizontally */
        align-items: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 20px;
        padding: 0 20px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* Centers any inline text */
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers brand text */
        text-align: center;
        gap: 6px;
    }

    .footer-brand h3 {
        margin: 0;
        color: #ffffff;
    }

    .footer-subtitle-text {
        font-family: var(--font-heading, serif);
        font-size: 1.1rem;
        color: #d1e2ec; /* Soft light blue accent for subtitle */
        margin: 0;
    }

    .footer-social {
        display: flex;
        justify-content: center; /* Centers Instagram link/icon */
        align-items: center;
    }

    /* Instagram Icon Styling */
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border-radius: 50%;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .footer-social a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .footer-social svg,
    .footer-social i {
        width: 20px;
        height: 20px;
        fill: currentColor;
        font-size: 1.2rem;
    }

    /* Unified Footer Middle Row for Single-Line Icons */
    .footer-middle-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto 20px auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        overflow-x: auto;
    }

    .footer-image-group {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0;
    }

    .footer-small-img {
        width: 20px !important;
        height: 20px !important;
        object-fit: contain !important;
    }

    .footer-bottom-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.15); /* Lightened border for dark background */
        padding-top: 20px;
    }

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

.made-love {
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.made-love a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.footer-bottom-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-left: -5%;
    margin-right: -5%;
    width: 110%;
}

/* Shop Page Specific Styles (Light Blue Theme) */
.shop-hero {
    text-align: center;
    padding: 5rem 5% 8rem 5%;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    background-image: url('fimage/shop3.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(1, 64, 73, 0.08);
}

.shop-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0) 0%, var(--bg-light-blue) 100%);
    pointer-events: none;
    z-index: 1;
}

.shop-hero h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--title-blue);
}

.shop-hero p {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About Page Hero Section Styles */
.about-hero {
    text-align: center;
    padding: 5rem 5% 8rem 5%;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    background-image: url('fimage/footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(1, 64, 73, 0.08);
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0) 0%, var(--bg-light-blue) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-hero h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--title-blue);
}

.about-hero p {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.6;
}

.shop-container {
    position: relative;
    margin-top: -50px;
    padding: 4rem 5% 5rem 5%;
    background: linear-gradient(180deg, var(--bg-light-blue) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 3;
    box-shadow: 0 -10px 30px rgba(1, 64, 73, 0.05);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--footer-green-blue);
    color: var(--footer-green-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--footer-green-blue);
    color: white;
}

/* Taller Rectangular Balanced Shop Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    padding: 0 1rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card .product-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-info {
    padding: 1.2rem;
    background: var(--card-bg);
    text-align: center;
}

.product-info h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
    color: var(--title-blue);
}

.price {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--footer-green-blue);
    margin-bottom: 1.2rem;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    background: var(--title-blue);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

/* Product Detail Page Styles */
.product-detail-container {
    padding: 2rem 5% 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--footer-green-blue);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-image-display {
    height: 400px;
    border-radius: 20px;
    width: 100%;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.thumbnail-row {
    display: flex;
    gap: 1rem;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--footer-green-blue);
    transform: translateY(-2px);
}

.product-category-tag {
    display: inline-block;
    background: rgba(44, 107, 111, 0.1);
    color: var(--footer-green-blue);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details-info h2 {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--title-blue);
}

.product-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--footer-green-blue);
    margin-bottom: 1.5rem;
}

.product-price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.product-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 2rem;
}

.option-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.shade-options {
    display: flex;
    gap: 0.8rem;
}

.shade-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #cbd5e1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shade-dot:hover,
.shade-dot.active {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--footer-green-blue);
}

.purchase-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50px;
    overflow: hidden;
}

.quantity-selector button {
    background: transparent;
    border: none;
    padding: 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-dark);
}

.quantity-selector input {
    width: 45px;
    text-align: center;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
}

.quantity-selector input::-webkit-inner-spin-button,
.quantity-selector input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-bag-btn {
    flex: 1;
    border: none;
    cursor: pointer;
    text-align: center;
}

.product-meta-list {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-meta-list p {
    font-size: 0.9rem;
    color: #64748b;
}

.product-meta-list strong {
    color: var(--text-dark);
}

.mobile-product-header {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    .shop-hero-content,
    .about-hero-content {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-middle-row {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-image-group {
        justify-content: center;
    }
    
    /* Hide standard horizontal links and reveal burger menu on smaller screens */
    .nav-links {
        display: none;
    }
    .burger-menu-btn {
        display: block;
    }
    
    .product-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-product-header {
        display: block;
        order: 1;
    }
    .mobile-product-header h2 {
        font-size: 2.2rem;
        font-family: var(--font-heading);
        color: var(--title-blue);
        margin-bottom: 0.3rem;
    }
    
    .product-gallery {
        order: 2;
    }

    .product-details-info {
        order: 3;
    }
    .desktop-title-area {
        display: none;
    }

    .purchase-controls {
        flex-direction: column;
    }
    .quantity-selector {
        justify-content: center;
        padding: 0.5rem 0;
    }
    .simple-product-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Slide-Out Cart Drawer Styles
   ========================================== */
.fabric-cart-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    z-index: 9999 !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #ffffff !important;
    border: 2px solid #0b3c49 !important;
    border-radius: 50% !important;
    color: #0b3c49 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.fabric-cart-btn:hover {
    transform: scale(1.08) !important;
    background-color: #f0f7f9 !important;
}

.fabric-cart-btn i {
    font-size: 20px !important;
}

.fabric-cart-btn .cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background-color: #0b3c49 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
    
/* Semi-Transparent Background Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 64, 73, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Slide-Out Drawer Panel */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(1, 64, 73, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    right: 0;
}

/* Drawer Header */
.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 1.5rem;
    border-bottom: 1px solid rgba(44, 107, 111, 0.1);
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--title-blue);
}

.close-cart-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-cart-btn:hover {
    color: var(--accent-pop);
    transform: rotate(90deg);
}

/* Drawer Body & Items */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
    width: 75px;
    height: 85px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    font-family: var(--font-heading);
    color: var(--title-blue);
    margin-bottom: 0.2rem;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--footer-green-blue);
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    color: #ef4444;
}

/* Drawer Footer */
.cart-drawer-footer {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(44, 107, 111, 0.1);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--title-blue);
    margin-bottom: 0.4rem;
}

.cart-shipping-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.2rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: var(--title-blue);
    color: white;
    text-align: center;
    padding: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.checkout-btn:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

.continue-shopping-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.continue-shopping-btn:hover {
    border-color: var(--footer-green-blue);
    color: var(--footer-green-blue);
}

/* Responsive adjustment for mobile screens */
@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
        right: -100%;
    }
}