/* ==========================================================================
   Bambusa Premium CSS Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #1b4332;
    --primary-light: #2d6a4f;
    --primary-hover: #40916c;
    --primary-pale: #e9f5ed;
    --secondary: #d4af37;
    --secondary-hover: #b58900;
    --dark: #222522;
    --dark-muted: #5f665e;
    --light: #ffffff;
    --bg-cream: #faf9f5;
    --bg-sage: #f0f3f1;
    --border-color: #e2e8e4;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout Tokens */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(27, 67, 50, 0.05);
    --shadow-md: 0 8px 16px rgba(27, 67, 50, 0.08);
    --shadow-lg: 0 16px 32px rgba(27, 67, 50, 0.12);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 80px;
    --max-width: 1280px;
}

/* ==========================================================================
   1. Base & Reset Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-cream);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.small-container {
    max-width: 650px;
}

/* ==========================================================================
   2. Typography & Layout Utilities
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--dark-muted);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .sub-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.section-header p {
    font-size: 1.125rem;
}

.section-header-left {
    margin-bottom: 2.5rem;
}

.section-header-left h2 {
    margin-bottom: 0.5rem;
}

.sub-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    font-weight: 600;
    display: inline-block;
}

.green-text {
    color: var(--primary-light) !important;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   3. Buttons & Controls
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    background-color: transparent;
    color: var(--primary);
    border: 1px solid transparent;
}

.icon-btn:hover {
    background-color: var(--primary-pale);
    color: var(--primary-light);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-fast);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-btn {
    border: 1px solid var(--border-color);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary);
    color: var(--light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-cream);
    min-width: 18px;
    text-align: center;
}

.menu-toggle-btn {
    display: none;
}

/* ==========================================================================
   5. Search Overlay
   ========================================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 67, 50, 0.95);
    backdrop-filter: blur(12px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-container {
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-smooth) ease;
}

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

.search-close {
    position: absolute;
    top: -40px;
    right: 20px;
    color: var(--light);
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.75rem;
}

.search-input-wrap input {
    width: 100%;
    font-size: 1.5rem;
    color: var(--light);
    background: transparent;
    padding-right: 1rem;
}

.search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-wrap button {
    color: var(--light);
}

.search-input-wrap button svg {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   6. Main Content Views Routing
   ========================================================================== */

.view-section {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-smooth) ease;
    padding-bottom: 6rem;
}

.view-section.active {
    display: block;
    opacity: 1;
    animation: fadeInUp var(--transition-smooth);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   7. Home Page Specific Layouts
   ========================================================================== */

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(27, 67, 50, 0.92) 30%, rgba(27, 67, 50, 0.5) 100%), 
                      url('https://images.unsplash.com/photo-1516253593875-bd7ba052fbc5?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--light);
    max-width: 700px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-tag {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: var(--light);
    color: var(--light);
}

.hero-actions .btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Value Props Features */
.features-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-pale);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--primary-pale);
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.feature-card p {
    font-size: 0.925rem;
}

/* Categories Section */
.categories-section {
    padding-bottom: 5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-smooth);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, rgba(27, 67, 50, 0.4) 50%, rgba(27, 67, 50, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--light);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.category-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

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

.category-card:hover .category-btn svg {
    transform: translateX(4px);
}

/* Featured Products grid */
.featured-products {
    padding-bottom: 5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-pale);
}

.product-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
    background-color: var(--bg-sage);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-smooth);
}

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

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 5;
}

.badge-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.badge-new {
    background-color: var(--primary);
    color: var(--light);
}

.badge-sale {
    background-color: var(--secondary);
    color: var(--light);
}

.product-action-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    transition: bottom var(--transition-fast) ease;
    background-image: linear-gradient(to top, rgba(27, 67, 50, 0.4), rgba(27, 67, 50, 0));
    z-index: 5;
}

.product-card:hover .product-action-overlay {
    bottom: 0;
}

.overlay-btn {
    background-color: var(--light);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.overlay-btn:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--dark-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    display: block;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-rating span {
    color: var(--dark-muted);
    margin-left: 0.25rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

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

.price-old {
    text-decoration: line-through;
    font-size: 0.95rem;
    color: var(--dark-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}

.card-add-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

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

.view-all-wrap {
    text-align: center;
    margin-top: 3.5rem;
}

/* Special Offer Section */
.special-offer {
    padding-bottom: 5rem;
}

.offer-banner {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.offer-content {
    padding: 4.5rem 4rem;
    color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.offer-badge {
    background-color: var(--secondary);
    color: var(--light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.offer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.offer-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.promo-code {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-weight: bold;
    color: var(--secondary);
}

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Testimonials Layout */
.testimonials-section {
    padding-bottom: 5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rating {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.user-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

/* About Section homepage */
.about-section {
    padding-bottom: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 480px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-col {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-muted);
}

/* ==========================================================================
   8. Shop Page Layouts
   ========================================================================== */

.page-title-banner {
    background-color: var(--primary-pale);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.page-title-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.page-title-banner p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.shop-content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--light);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.search-bar-wrap {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-muted);
    width: 18px;
    height: 18px;
}

.search-bar-wrap input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-cream);
    transition: var(--transition-fast);
}

.search-bar-wrap input:focus {
    border-color: var(--primary-light);
    background-color: var(--light);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.sort-selector-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-selector-wrap label {
    font-size: 0.9rem;
    color: var(--dark-muted);
    font-weight: 500;
}

.sort-selector-wrap select {
    padding: 0.65rem 2rem 0.65rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--light);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235f665e' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 180px;
}

.sort-selector-wrap select:focus {
    border-color: var(--primary-light);
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Sidebar filter list */
.shop-sidebar {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2.5rem;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-bottom: 2px solid var(--bg-sage);
    padding-bottom: 0.5rem;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-list li button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--dark-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-list li button:hover, .filter-list li.active button {
    color: var(--primary);
    font-weight: 600;
}

.filter-list li.active button::before {
    content: '• ';
    color: var(--secondary);
    margin-right: 0.25rem;
}

.filter-list li span.count {
    font-size: 0.75rem;
    background-color: var(--bg-sage);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    color: var(--dark-muted);
}

.price-range-slider input {
    width: 100%;
    margin-bottom: 1rem;
    accent-color: var(--primary-light);
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--dark-muted);
}

.reset-filters-btn {
    width: 100%;
}

.mobile-categories-scroll {
    display: none;
}

.results-count {
    font-size: 0.9rem;
    color: var(--dark-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
}

.empty-icon {
    font-size: 3rem;
    color: var(--dark-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   9. Product Details View Layouts
   ========================================================================== */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

.product-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-placeholder {
    height: 520px;
    background-color: var(--bg-sage);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image-placeholder img {
    width: 100%;
    height: 100%;
}

.gallery-thumbs-row {
    display: flex;
    gap: 1rem;
}

.thumb-item {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary-light);
}

.thumb-item img {
    width: 100%;
    height: 100%;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.detail-cat {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.detail-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-rating {
    color: var(--secondary);
    font-size: 1rem;
}

.reviews-cnt {
    font-size: 0.875rem;
    color: var(--dark-muted);
}

.detail-price-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.detail-old-price {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--dark-muted);
}

.detail-badge {
    background-color: var(--primary-pale);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.detail-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--dark-muted);
}

.purchase-options-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.qty-selector-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--light);
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark-muted);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    color: var(--primary);
    background-color: var(--bg-sage);
}

.qty-input {
    width: 50px;
    text-align: center;
    font-weight: 600;
}

.detail-action-buttons {
    display: flex;
    gap: 1rem;
}

.detail-action-buttons .btn-primary {
    flex-grow: 1;
}

.product-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.spec-item {
    display: flex;
    font-size: 0.9rem;
}

.spec-lbl {
    font-weight: 600;
    width: 140px;
    color: var(--dark);
}

.spec-val {
    color: var(--dark-muted);
}

.related-products-section {
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.related-products-section h2 {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   10. Cart Page Layouts
   ========================================================================== */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.cart-table-panel {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-header-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    background-color: var(--bg-sage);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cart-item-info h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-info span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--dark-muted);
}

.cart-item-price {
    font-weight: 600;
}

.cart-item-qty .qty-controls {
    display: inline-flex;
}

.cart-item-qty .qty-btn {
    width: 34px;
    height: 34px;
}

.cart-item-qty .qty-input {
    width: 36px;
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-remove {
    color: var(--dark-muted);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: #e63946;
    background-color: #ffeef0;
}

/* Cart Summary Layout */
.cart-summary-panel {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.cart-summary-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    border-bottom: 2px solid var(--bg-sage);
    padding-bottom: 0.75rem;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.totals-row span:first-child {
    color: var(--dark-muted);
}

.totals-row span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.totals-row.total-highlight {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.totals-row.total-highlight span:first-child {
    color: var(--dark);
    font-weight: 700;
}

.totals-row.total-highlight span:last-child {
    color: var(--primary);
    font-weight: 800;
}

.cart-empty-block {
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
    box-shadow: var(--shadow-sm);
    grid-column: 1 / -1;
}

.cart-empty-block svg {
    width: 64px;
    height: 64px;
    color: var(--dark-muted);
    margin-bottom: 1.5rem;
}

.cart-empty-block h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cart-empty-block p {
    margin-bottom: 2rem;
}

/* ==========================================================================
   11. Checkout & Success View Layouts
   ========================================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.checkout-form-panel {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
}

.checkout-form-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    border-bottom: 2px solid var(--bg-sage);
    padding-bottom: 0.75rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.col-full {
    grid-column: 1 / -1;
}

.col-half {
    grid-column: span 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group label span.req {
    color: #e63946;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap svg {
    position: absolute;
    left: 1rem;
    color: var(--dark-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.input-icon-wrap select-top svg {
    top: 1.25rem;
}

.input-icon-wrap input, .input-icon-wrap textarea, .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-cream);
    transition: var(--transition-fast);
}

.input-icon-wrap input {
    padding-left: 2.75rem;
}

.input-icon-wrap textarea {
    padding-left: 2.75rem;
    resize: vertical;
}

.input-icon-wrap input:focus, .input-icon-wrap textarea:focus, .form-group input:focus {
    border-color: var(--primary-light);
    background-color: var(--light);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.payment-method-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    background-color: var(--bg-cream);
    transition: var(--transition-fast);
}

.payment-card.active {
    border-color: var(--primary-light);
    background-color: var(--primary-pale);
}

.payment-card input[type="radio"] {
    margin-top: 0.3rem;
    accent-color: var(--primary-light);
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-details svg {
    color: var(--primary-light);
    width: 20px;
    height: 20px;
    margin-bottom: 0.25rem;
}

.payment-details strong {
    font-size: 0.95rem;
}

.payment-details span {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

.payment-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Checkout Summary Sidebar */
.checkout-summary-panel {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.checkout-summary-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    border-bottom: 2px solid var(--bg-sage);
    padding-bottom: 0.75rem;
}

.checkout-summary-items {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.checkout-item-summary-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-sage);
}

.checkout-item-summary-row:last-child {
    border-bottom: none;
}

.checkout-item-summary-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item-summary-info {
    flex-grow: 1;
}

.checkout-item-summary-info h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

.checkout-item-summary-info span {
    font-size: 0.75rem;
    color: var(--dark-muted);
}

.checkout-item-summary-price {
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-code-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.promo-code-box input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    background-color: var(--bg-cream);
    text-transform: uppercase;
}

.promo-status {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.promo-status.success {
    color: var(--primary-light);
}

.promo-status.error {
    color: #e63946;
}

.discount-row {
    color: var(--primary-light) !important;
}

.discount-row span:last-child {
    color: var(--primary-light) !important;
}

.checkout-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.eco-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.eco-guarantee svg {
    width: 14px;
    height: 14px;
}

/* Success Card details */
.success-card {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.success-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.success-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-pale);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-circle svg {
    width: 44px;
    height: 44px;
    stroke-width: 3px;
}

.success-card h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.success-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.success-desc {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.receipt-box {
    background-color: var(--bg-sage);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.receipt-header {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--dark-muted);
}

.receipt-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
}

.receipt-lbl {
    color: var(--dark-muted);
}

.receipt-val {
    font-weight: 600;
}

.receipt-total {
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==========================================================================
   12. Footer Design
   ========================================================================== */

.footer {
    background-color: var(--primary);
    color: var(--light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    padding-top: 5rem;
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
}

.footer h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-brand-col .logo {
    margin-bottom: 1.25rem;
}

.footer-brand-col .logo-text {
    color: var(--light);
}

.footer-brand-col .logo-icon {
    font-size: 1.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: var(--radius-full);
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col ul a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

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

.footer-newsletter-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.newsletter-form input {
    width: 100%;
    color: var(--light);
    background: transparent;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    color: var(--secondary);
    padding: 0 0.5rem;
}

.newsletter-form button:hover {
    color: var(--light);
    transform: scale(1.1);
}

.newsletter-form svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ==========================================================================
   13. Toast Notification Styles
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 200;
}

.toast {
    background-color: var(--primary);
    color: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform var(--transition-fast) ease-out;
}

.toast.show {
    transform: translateX(0);
}

.toast svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   14. Responsive Layout Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image {
        height: 380px;
    }
    
    .shop-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--light);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 0;
        box-shadow: var(--shadow-md);
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: transform var(--transition-fast), opacity var(--transition-fast);
        z-index: 90;
    }
    
    .nav-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .menu-toggle-btn {
        display: flex;
    }
    
    .offer-banner {
        grid-template-columns: 1fr;
    }
    .offer-content {
        padding: 3rem 2rem;
        align-items: center;
        text-align: center;
    }
    .offer-image-placeholder {
        height: 250px;
    }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        display: none; /* Hidden on mobile */
    }
    
    .mobile-categories-scroll {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        scrollbar-width: none; /* Firefox */
    }
    .mobile-categories-scroll::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }
    
    .category-pill-btn {
        padding: 0.5rem 1.25rem;
        border-radius: var(--radius-full);
        background-color: var(--light);
        border: 1px solid var(--border-color);
        white-space: nowrap;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--dark-muted);
        transition: var(--transition-fast);
    }
    
    .category-pill-btn.active {
        background-color: var(--primary);
        color: var(--light);
        border-color: var(--primary);
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .main-image-placeholder {
        height: 380px;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cart-header-row {
        display: none; /* Hide header row headers on mobile */
    }
    
    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        background-color: var(--light);
        margin-bottom: 1rem;
        position: relative;
    }
    
    .cart-item-product {
        flex-direction: column;
    }
    
    .cart-item-qty {
        justify-content: center;
    }
    
    .cart-item-total {
        justify-content: center;
        font-size: 1.15rem;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-form-panel {
        padding: 2rem 1.25rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .success-card {
        padding: 3rem 1.5rem;
    }
    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}
