/* 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;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

/* ==========================================
    Header & Navigation (Burger Left, Logo Center, Cart Right)
    ========================================== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
    position: relative;
    z-index: 10;
}

/* Burger Menu Toggle Button (Left) */
.burger-menu-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--title-blue);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 2;
}

.burger-menu-btn:hover {
    color: var(--footer-green-blue);
}

/* Logo Container (Center) */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--title-blue);
    text-align: center;
    margin: 0;
}

.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;
}

/* Header Integrated Shopping Cart Button (Right) */
.fabric-cart-btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: 2 !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: color 0.2s ease !important;
}

.fabric-cart-btn:hover {
    transform: none !important;
    background-color: transparent !important;
}

.fabric-cart-btn i {
    font-size: 1.4rem !important;
    color: var(--title-blue) !important;
    transition: color 0.2s ease;
}

.fabric-cart-btn:hover i {
    color: var(--footer-green-blue) !important;
}

.fabric-cart-btn .cart-count {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background-color: var(--footer-green-blue) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

/* Legacy/Unused Header Actions wrapper fallback */
.header-actions {
    display: none;
}

/* 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;
}

/* 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, Full-Width Light Blue Block, & Bottom Fade Blend */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0 9rem 0;
    min-height: 80vh;
    background-image: url('fimage/shop2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================
    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;
}

/* Full-Width Hero Content Blocks with Light Blue Background */
.hero-content,
.shop-hero-content,
.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: var(--bg-light-blue) !important;
    backdrop-filter: none !important;
    padding: 4rem 5% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
}

.hero-content h2,
.shop-hero-content h2,
.about-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,
.shop-hero-content p,
.about-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.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
    ========================================== */
.site-footer {
    padding: 40px 0 0 0;
    background-color: #1d676f;
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: center;
    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;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    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;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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;
}

.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);
    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;
}

/* Shop Page Specific Styles */
.shop-hero {
    text-align: center;
    padding: 5rem 0 8rem 0;
    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::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 Page Hero Section Styles */
.about-hero {
    text-align: center;
    padding: 5rem 0 8rem 0;
    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::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-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 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #fff;
    padding: 15px 5%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-header-section {
    text-align: left;
    border-bottom: 1px solid #e5e2dc;
    padding-bottom: 16px;
}

.product-category-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 6px;
    display: inline-block;
}

.product-title {
    font-family: 'Gideon Roman', serif;
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.product-price {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0;
}

.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.product-main-image-wrap {
    width: 100%;
    aspect-ratio: 3 / 4; /* Taller aspect ratio */
    max-height: 480px;   /* Increased height */
    overflow: hidden;
    background-color: #f9f8f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.product-thumb {
    width: 60px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #e5e2dc;
    border-radius: 4px;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
    opacity: 1;
    border-color: #1a1a1a;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.product-specifications {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: #f9f8f6;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e5e2dc;
}

@media (min-width: 600px) {
    .product-specifications {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.spec-value {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
}

.product-actions-section {
    margin-top: 5px;
    width: 100%;
}

.add-to-bag-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--title-blue); /* Updated to match theme */
    color: #fff;
    border: none;
    border-radius: 50px; /* Matches rounded style of the site */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-bag-btn:hover {
    background-color: var(--footer-green-blue); /* Matches theme hover */
    transform: translateY(-2px);
}

/* ==========================================
    Slide-Out Cart Drawer Styles
    ========================================== */
.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;
}

.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;
}

.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);
}

.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;
}

.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);
}

@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
        right: -100%;
    }
}

/* ==========================================
    Mobile Optimization for Product Detail Page
    ========================================== */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 10px 4% !important;
        gap: 16px !important;
    }
    
    .product-header-section h2 {
        font-size: 21px !important;
    }
    
    .product-header-section p {
        font-size: 16px !important;
    }

    .product-gallery-section > div {
        max-height: 420px !important;
    }
}