/* 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 */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
}

.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;
}

.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 {
    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 Header Controls & Drawer Styles
   ========================================== */
.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--title-blue);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav Drawer Overlay & Panel */
.mobile-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: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 300px;
    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);
}

.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);
    margin: 0;
}

.close-mobile-nav {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-mobile-nav:hover {
    color: var(--accent-pop);
    transform: rotate(90deg);
}

.mobile-nav-links {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.3s ease;
}

.mobile-link:hover,
.mobile-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;
}

/* Simple Product Grid Layout (Taller Rectangular & Edge-to-Edge Cover) */
.simple-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
}

.simple-product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.full-size-img,
.simple-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.simple-product-card:hover .full-size-img,
.simple-product-card:hover img {
    transform: scale(1.03);
}

.product-action {
    padding: 1.5rem;
    background: var(--card-bg);
    text-align: center;
}

.view-product-btn {
    display: block;
    width: 100%;
    background: var(--title-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-product-btn:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

/* ==========================================
   Footer Styles (Flanked Row Above Border Line)
   ========================================== */
.site-footer {
    position: relative;
    background: var(--footer-green-blue);
    color: var(--footer-text);
    padding: 3rem 5% 0 5%;
}

.footer-middle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-image-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.left-images {
    justify-content: flex-start;
}

.right-images {
    justify-content: flex-end;
}

.footer-small-img {
    width: auto;
    max-width: 50px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-small-img:hover {
    transform: scale(1.08);
}

.collab {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0 1rem;
}

.collab a {
    color: var(--footer-text);
    text-decoration: none;
    transition: opacity 0.3s ease, border-bottom 0.3s ease;
}

.collab a:hover {
    opacity: 1;
    border-bottom: 1px solid var(--footer-text);
}

/* Flanked Footer Top Row Above Bottom Line */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem; 
    margin-bottom: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--footer-text);
    opacity: 0.9;
    transition: 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(1.15);
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.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: var(--footer-text);
    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 Media Queries */
@media (max-width: 768px) {
    .site-header .nav-links.desktop-nav,
    .nav-links {
        display: none !important;
    }
    
    .mobile-header-controls {
        display: flex !important;
    }

    .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 adjustments for mobile layout */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .footer-middle-row {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-image-group {
        justify-content: center;
    }
    
    .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;
    }

    /* 2 columns layout for product grids on mobile screens */
    .simple-product-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .product-info h4,
    .item-card h4 {
        font-size: 0.95rem;
    }

    .price {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .add-to-cart-btn,
    .view-product-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* ==========================================
   Slide-Out Cart Drawer Styles
   ========================================== */
.fabric-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 107, 111, 0.1);
    color: var(--title-blue) !important;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(44, 107, 111, 0.2);
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease !important;
}

.fabric-cart-btn i {
    font-size: 1rem;
    color: var(--footer-green-blue);
}

.fabric-cart-btn .cart-count {
    background: var(--title-blue);
    color: white;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 2px;
}

.fabric-cart-btn:hover {
    background: var(--footer-green-blue);
    color: white !important;
    border-color: var(--footer-green-blue);
    transform: translateY(-2px);
}

.fabric-cart-btn:hover i,
.fabric-cart-btn:hover .cart-count {
    color: white;
    background: var(--title-blue);
}

/* 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 small mobile screens */
@media (max-width: 480px) {
    .cart-drawer,
    .mobile-nav-drawer {
        max-width: 100%;
        right: -100%;
    }
}