/* 
 * WorldWide Rug - Premium E-Commerce Styles
 * Color Palette:
 * Primary: #6B1E1E (Deep Burgundy)
 * Secondary: #C4952A (Warm Gold)
 * Background: #FAF7F2 (Off-White)
 * Text: #2C2C2C (Charcoal)
 * Accent: #F0E6D3 (Soft Cream)
 */

/* ==========================================================================
   Category Scroll Strip
   ========================================================================== */

.cat-strip-section {
    background-color: var(--white);
    padding: 20px 0 18px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cat-strip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

/* Fade edges */
.cat-strip-wrapper::before,
.cat-strip-wrapper::after {
    display: none;
}

/* Arrow Buttons - Hidden */
.cat-strip-arrow {
    display: none;
}

/* Scrollable Track */
.cat-strip-track-outer {
    overflow: hidden;
    width: 100%;
}
.cat-strip-track {
    display: flex;
    gap: 10px;
    width: max-content;
    cursor: grab;
    user-select: none;
    padding: 6px 4px 10px;
}
.cat-strip-track:active {
    cursor: grabbing;
}

/* Individual Item */
.cat-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
    width: 162px;
    transition: transform 0.25s ease;
}
.cat-strip-item:hover {
    transform: translateY(-4px);
}
.cat-strip-item:hover span {
    color: var(--primary-color);
}

/* Circle Image */
.cat-strip-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid var(--border-color);
    background: var(--accent-color);
    transition: border-color 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}
.cat-strip-item:hover .cat-strip-circle {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(196, 149, 42, 0.3);
}
.cat-strip-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 50%;
}
.cat-strip-item:hover .cat-strip-circle img {
    transform: scale(1.1);
}

/* Label */
.cat-strip-item span {
    font-size: 0.72rem;
    font-family: var(--font-accent);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-main);
    transition: color 0.2s;
    line-height: 1.3;
    max-width: 88px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cat-strip-wrapper {
        padding: 0 4px;
    }
    .cat-strip-circle {
        width: 115px;
        height: 115px;
    }
    .cat-strip-item {
        width: 125px;
        gap: 6px;
    }
    .cat-strip-item span {
        font-size: 0.63rem;
    }
}

/* ==========================================================================
   End Category Scroll Strip
   ========================================================================== */

/* ==========================================================================
   About Page Banner Slider
   ========================================================================== */

.about-banner-section {
    width: 100%;
    overflow: hidden;
}

.about-banner-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 700px;
    overflow: hidden;
}

/* Slides — Top to Bottom slide animation */
.about-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(-100%);
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.about-banner-slide.active {
    transform: translateY(0);
    z-index: 2;
}
.about-banner-slide.about-prev {
    transform: translateY(100%);
    z-index: 3;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* img tag — hidden on desktop, shown on mobile */
.about-slide-img {
    display: none;
}

/* Dark Gradient Overlay */
.about-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.22) 0%,
        rgba(0,0,0,0.58) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

/* Text Content */
.about-banner-content {
    color: #ffffff;
    max-width: 720px;
    animation: aboutFadeUp 0.9s ease both;
}
@keyframes aboutFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.about-banner-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 3px 14px rgba(0,0,0,0.4);
    line-height: 1.15;
}
.about-banner-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.about-banner-content .btn {
    font-size: 0.88rem;
    padding: 13px 34px;
    letter-spacing: 1.2px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Dots */
.about-banner-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}
.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}
.about-dot.active {
    background: var(--secondary-color);
    transform: scale(1.4);
}
.about-dot:hover {
    background: rgba(255,255,255,0.85);
}

/* Mobile — full image using <img> tag, zero crop */
@media (max-width: 768px) {
    .about-banner-slider {
        height: auto;
        min-height: unset;
        max-height: unset;
        overflow: hidden;
        position: relative;
    }

    /* Switch slides to normal flow on mobile */
    .about-banner-slide {
        position: relative;
        inset: auto;
        width: 100%;
        background: none !important;
        transform: none !important;
        transition: none;
        display: none;
        z-index: 1;
    }
    .about-banner-slide.active {
        display: block;
    }
    .about-banner-slide.about-prev {
        display: none;
        transform: none !important;
    }

    /* Show full image without any crop */
    .about-slide-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    /* Overlay on top of img */
    .about-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5;
    }

    .about-banner-content h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 6px;
    }
    .about-banner-content p {
        display: none;
    }
    .about-banner-content .btn {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
    .about-dot {
        width: 8px;
        height: 8px;
    }
}

/* ==========================================================================
   Inner Page Banner (Static Image + Breadcrumbs)
   ========================================================================== */

.inner-banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}
.inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.inner-banner h1 {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.inner-breadcrumb-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    padding: 12px 0;
    font-size: 0.85rem;
    font-family: var(--font-body);
}
.inner-breadcrumb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.breadcrumb-left {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.breadcrumb-left a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-left a:hover {
    color: var(--secondary-color);
}
.breadcrumb-left .divider {
    margin: 0 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.breadcrumb-right a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}
.breadcrumb-right a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .inner-banner {
        height: 250px;
    }
    .inner-banner h1 {
        font-size: 2rem;
    }
    .inner-breadcrumb-container {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   End Inner Page Banner
   ========================================================================== */

:root {
    --primary-color: #1A2D4D;
    --primary-hover: #101B30;
    --secondary-color: #CCC1BB;
    --secondary-hover: #B3A9A3;
    --bg-color: #FAF7F2;
    --text-main: #2C2C2C;
    --text-light: #666666;
    --accent-color: #F0E6D3;
    --white: #FFFFFF;
    --border-color: #E5E0D8;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radius: 4px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(107, 30, 30, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(196, 149, 42, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--secondary-color);
    font-style: italic;
}

.main-nav .nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    font-size: 1.2rem;
    color: var(--text-main);
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.menu-toggle,
.close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    /* No overlay to display images in full color */
    z-index: 5;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(-100%);
    z-index: 2;
}

.hero-slide.active {
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 4;
}

.hero-slide.prev {
    transform: translateY(100%);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 3;
}

/* Slides - consistent on all screens */

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
}

.product-badge.sale {
    background-color: #E74C3C;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: #f5f5f5;
}

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

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-actions {
    bottom: 0;
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-name a {
    color: var(--text-main);
}

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

.product-price {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

/* Features Section */
.features {
    background-color: var(--accent-color);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background-color: #1A1A1A;
    color: #DDDDDD;
    padding: 80px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--secondary-color);
    font-style: italic;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #BBBBBB;
    font-size: 0.95rem;
}

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

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    outline: none;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    color: #888888;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebd5a;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cart-item-size {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.cart-item-price {
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

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

.qty-btn {
    width: 25px;
    height: 25px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input {
    width: 30px;
    height: 25px;
    border: none;
    text-align: center;
    font-size: 0.85rem;
    -moz-appearance: textfield;
}

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

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    font-size: 0.8rem;
    cursor: pointer;
}

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

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background-color: #f9f9f9;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.shipping-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 15px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
    }

    .main-nav.active {
        left: 0;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .hidden-mobile {
        display: none;
    }

    /* Hero Banner - Mobile */
    .hero {
        height: 55vw;
        min-height: 220px;
        max-height: 420px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

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

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
    }

    .hero-slide.active {
        transform: translateY(0);
        opacity: 1;
        display: block;
    }

    .hero-slide.prev {
        transform: translateY(100%);
        opacity: 0;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   Etsy-Style Product Details Page CSS
   ========================================================================== */

/* Layout */
.etsy-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.etsy-breadcrumb a {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}

.etsy-breadcrumb a:hover {
    text-decoration-color: var(--text-main);
}

.etsy-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.etsy-product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.etsy-left-col {
    flex: 1 1 55%;
    min-width: 300px;
}

.etsy-right-col {
    flex: 1 1 35%;
    min-width: 300px;
    position: sticky;
    top: 100px;
}

/* Image Gallery */
.etsy-gallery-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.etsy-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 64px;
    flex-shrink: 0;
}

.etsy-thumb-btn {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.etsy-thumb-btn.active,
.etsy-thumb-btn:hover {
    border-color: var(--text-main);
}

.etsy-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.etsy-thumb-btn.video-thumb {
    position: relative;
}

.etsy-thumb-btn.video-thumb::after {
    content: '\f04b';
    /* FontAwesome play icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.etsy-main-image-container {
    flex-grow: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etsy-main-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.etsy-main-image.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.etsy-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.etsy-gallery-arrow:hover {
    background: #f5f5f5;
    transform: translateY(-50%) scale(1.05);
}

.etsy-gallery-arrow.left {
    left: 15px;
}

.etsy-gallery-arrow.right {
    right: 15px;
}

.etsy-bestseller-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.etsy-bestseller-badge i {
    color: #f0a500;
}

.etsy-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    z-index: 10;
    transition: transform 0.2s;
}

.etsy-wishlist-btn:hover {
    transform: scale(1.05);
}

.etsy-wishlist-btn.active {
    color: #CC0000;
}

/* Right Panel Typography & Info */
.etsy-urgency-text {
    color: #CC0000;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.etsy-price-block {
    margin-bottom: 15px;
}

.etsy-price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 5px;
}

.etsy-price-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.etsy-discount-badge {
    color: #00A550;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 10px;
}

.etsy-countdown {
    color: #00A550;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
}

.etsy-tax-info {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.etsy-product-title {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 10px;
}

.etsy-seller-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.etsy-stars {
    color: #F0A500;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.etsy-returns-badge {
    display: inline-block;
    background: #e8f8f5;
    color: #00A550;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Forms & Buttons */
.etsy-form-group {
    margin-bottom: 20px;
}

.etsy-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.etsy-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--text-main);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232C2C2C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.etsy-select:focus {
    outline: 2px solid var(--text-main);
    outline-offset: 2px;
}

.etsy-btn-black {
    width: 100%;
    background-color: #1A1A1A;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    margin-bottom: 25px;
}

.etsy-btn-black:hover {
    background-color: #000000;
    transform: scale(1.02);
}

.etsy-btn-black:active {
    transform: scale(0.98);
}

.etsy-klarna-info {
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Star Seller Card */
.etsy-star-seller-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.etsy-star-icon {
    width: 40px;
    height: 40px;
    background: #6a40a8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.etsy-star-seller-card h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.etsy-star-seller-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Accordions */
.etsy-accordion {
    border-top: 1px solid var(--border-color);
}

.etsy-accordion:last-child {
    border-bottom: 1px solid var(--border-color);
}

.etsy-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: left;
}

.etsy-accordion-header i {
    transition: transform 0.3s ease;
}

.etsy-accordion.open .etsy-accordion-header i {
    transform: rotate(180deg);
}

.etsy-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.etsy-accordion-inner {
    padding-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.etsy-highlights-list {
    margin-bottom: 15px;
}

.etsy-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.etsy-highlights-list i {
    margin-top: 4px;
    color: var(--text-main);
}

.etsy-learn-more-btn {
    background: none;
    border: none;
    color: var(--text-main);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    font-size: 0.95rem;
}

/* Delivery Section Specifics */
.etsy-delivery-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.etsy-delivery-item {
    display: flex;
    flex-direction: column;
}

.etsy-delivery-label {
    font-weight: 600;
    margin-bottom: 3px;
}

.etsy-delivery-sub {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Reviews Section */
.etsy-reviews-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.etsy-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.etsy-reviews-header h2 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.etsy-review-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.etsy-chip {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, border 0.2s;
}

.etsy-chip:hover {
    background: #e8e8e8;
}

.etsy-chip.active {
    background: var(--text-main);
    color: white;
}

.etsy-review-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.etsy-review-card:last-child {
    border-bottom: none;
}

.etsy-review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.etsy-review-badge {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.etsy-review-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.etsy-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.etsy-reviewer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-weight: 600;
}

/* Toast */
.etsy-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #27ae60;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.etsy-toast.show {
    bottom: 30px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .etsy-gallery-wrapper {
        flex-direction: column-reverse;
    }

    .etsy-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .etsy-thumb-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .etsy-product-container {
        flex-direction: column;
    }

    .etsy-right-col {
        position: static;
        width: 100%;
    }

    .etsy-btn-black {
        position: fixed;
        bottom: 20px;
        left: 5%;
        width: 90%;
        z-index: 900;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* ==========================================================================
   Etsy-Style Catalog Product Card Overrides
   ========================================================================== */

.product-card {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition: none !important;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1 !important;
    border-radius: 8px;
    background-color: #f5f5f5;
}

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

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #222222;
    font-size: 0.9rem;
    z-index: 5;
    transition: transform 0.2s, background-color 0.2s;
    outline: none;
}

.product-card-wishlist-btn:hover {
    transform: scale(1.06);
}

.product-card-wishlist-btn.active {
    color: #CC0000;
}

.product-info {
    padding: 2px 0 0 0 !important;
    text-align: left !important;
}

.product-name {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #222222;
    text-align: left;
}

.product-name a {
    color: #222222;
}

.product-name a:hover {
    color: #222222;
    text-decoration: underline;
}

/* Ratings & Seller Row */
.product-card-rating-row {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
    margin-bottom: 2px;
    color: #595959;
}

.product-card-rating-val {
    font-weight: 700;
    color: #222222;
}

.product-card-star {
    color: #222222;
    font-size: 0.7rem;
}

.product-card-reviews-count {
    color: #595959;
}

.product-card-seller {
    color: #595959;
}

.product-card-seller-badge {
    color: #9b51e0;
    font-size: 0.75rem;
    margin-left: 1px;
}

/* Price & Discount Row */
.product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 2px;
}

.product-card-price-current {
    color: #007A3D;
    font-weight: 700;
    font-size: 1.05rem;
}

.product-card-price-original {
    color: #595959;
    text-decoration: line-through;
    font-size: 0.82rem;
}

.product-card-price-discount {
    color: #595959;
    font-size: 0.82rem;
    font-weight: 400;
}

/* Delivery Indicator */
.product-card-delivery {
    font-size: 0.8rem;
    color: #595959;
    margin-bottom: 2px;
}

/* Dispatch Location Row */
.product-card-location {
    font-size: 0.8rem;
    color: #595959;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

.product-card-location i {
    color: #2258F5;
    font-size: 0.8rem;
}

/* Catalog Card Actions */
.product-card-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 10px;
}

.product-card-add-btn {
    background-color: white;
    color: #222222;
    border: 1px solid #222222;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    gap: 4px;
    outline: none;
}

.product-card-add-btn:hover {
    background-color: #f5f5f5;
}

.product-card-more-link {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: #222222;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.product-card-more-link:hover {
    color: #000000;
    text-decoration: underline;
}



/* ==========================================================================
   Etsy-Style Size Guide Modal Styles
   ========================================================================== */

.etsy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: opacity 0.25s ease;
}

.etsy-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.etsy-modal-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 620px;
    padding: 35px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}

.etsy-modal-overlay.active .etsy-modal-container {
    transform: translateY(0);
}

.etsy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    outline: none;
}

.etsy-modal-close:hover {
    color: var(--text-main);
}

.etsy-modal-header {
    margin-bottom: 25px;
    text-align: left;
}

.etsy-modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.etsy-modal-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Premium Shop By Category
   ========================================================================== */

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

.premium-cat-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.premium-cat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.premium-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.premium-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.premium-cat-card:hover .premium-cat-overlay {
    opacity: 1;
}

.premium-cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.premium-cat-title {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: capitalize;
    transition: transform 0.4s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.premium-cat-arrow {
    color: var(--secondary-color);
    font-size: 1.2rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translateX(-15px);
    opacity: 0;
}

.premium-cat-card:hover .premium-cat-arrow {
    transform: translateX(0);
    opacity: 1;
    background: var(--secondary-color);
    color: var(--white);
}

.premium-cat-card:hover .premium-cat-title {
    transform: translateX(5px);
}

/* ==========================================================================
   Premium Product Card Overrides
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.product-img-wrapper {
    position: relative;
    padding-top: 125%; /* 4:5 Aspect Ratio for elegant tall images */
    overflow: hidden;
    background: #f8f8f8;
}

.product-img-wrapper img.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-img-wrapper img.product-img {
    transform: scale(1.06);
}

.product-card-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card-wishlist-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.product-name a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.product-card-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.product-card-star {
    color: #f5c518;
}

.product-card-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.product-card-price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card-price-original {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
}

.product-card-price-discount {
    font-size: 0.8rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.product-card-delivery, .product-card-location {
    display: none; /* Hide cluttered Etsy info for a cleaner premium look */
}

.product-card-actions-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.product-card-add-btn {
    flex: 1;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.product-card-add-btn:hover {
    background: var(--primary-color);
    color: white;
}

.product-card-add-btn[href*="buy_now"] {
    background: var(--primary-color);
    color: white;
}

.product-card-add-btn[href*="buy_now"]:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==========================================================================
   Navigation Bar Height Adjustment
   ========================================================================== */
.main-header {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    min-height: 90px !important;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Shop Sidebar Filters
   ========================================================================== */
.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.filter-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.clear-btn {
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.clear-btn:hover { color: var(--secondary-color); }

/* Accordion */
.filter-group { margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.filter-group:last-child { border-bottom: none; }

.filter-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px 0;
}

.filter-toggle i { transition: transform 0.3s; }
.filter-group.collapsed .filter-toggle i { transform: rotate(-180deg); }
.filter-content { margin-top: 15px; transition: max-height 0.3s ease; overflow: hidden; max-height: 500px; }
.filter-group.collapsed .filter-content { max-height: 0; margin-top: 0; }

/* Checkboxes & Radios */
.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color 0.2s;
}
.filter-label:hover { color: var(--primary-color); }
.filter-label input { width: 16px; height: 16px; accent-color: var(--secondary-color); cursor: pointer; }

/* Color Swatches */
.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch {
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    position: relative;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active { border-color: var(--secondary-color); transform: scale(1.1); }
.color-swatch.active::after {
    content: '\2713'; position: absolute; color: white;
    font-size: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Style Tags (Pills) */
.style-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.style-tag {
    padding: 6px 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.style-tag.active { background: var(--secondary-color); color: var(--white); border-color: var(--secondary-color); }

/* Price Slider */
.price-range { display: flex; flex-direction: column; gap: 10px; }
.price-inputs { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price-inputs input[type="number"] {
    width: 45%; padding: 8px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body);
}

/* Top Bar & Active Chips */
.top-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.top-bar-header { display: flex; justify-content: space-between; align-items: center; }
.product-count { font-size: 1.1rem; font-weight: 500; color: var(--text-main); }

.active-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.active-chip {
    background: var(--white);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.active-chip i { cursor: pointer; }
.active-chip i:hover { color: red; }

/* Mobile Drawer Button */
.mobile-filter-btn {
    display: none;
    background: var(--primary-color); color: var(--white); border: none; padding: 10px 20px;
    border-radius: 4px; cursor: pointer; font-weight: 500; font-family: var(--font-body);
}

.close-mobile { display: none; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .mobile-filter-btn { display: inline-flex; align-items: center; gap: 8px; }
    
    .shop-sidebar {
        position: fixed; top: 0; left: -100%; height: 100vh; width: 300px;
        z-index: 1000; border-radius: 0; overflow-y: auto; transition: left 0.3s ease;
        box-shadow: 5px 0 25px rgba(0,0,0,0.2);
    }
    .shop-sidebar.open { left: 0; }
    
    .sidebar-overlay {
        display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
    }
    .sidebar-overlay.open { display: block; }
    
    .close-mobile { display: block !important; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
}