:root {
    --bg-body: #f7f8f5;
    --bg-surface: #ffffff;
    --bg-muted: #eef1ec;
    --primary: #0f5132;
    --primary-dark: #0a3622;
    --accent: #f4a226;
    --accent-soft: #fdebc7;
    --text-main: #1e1f20;
    --text-muted: #6c7280;
    --border: #e3e7dd;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 12px 30px rgba(15, 81, 50, 0.08);
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.28s ease;
    --font-main: 'Outfit', sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100%;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

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

.home-shell {
    width: min(1520px, 100%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 4.5rem);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.3rem 0 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(to right, #6366f1, #ec4899);
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover {     background: linear-gradient(to right, #6366f1, #ec4899);
 }

.btn-outline {
    border-color: var(--border);
    color: var(--text-main);
    background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.link-arrow {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.link-arrow i { transition: transform 0.25s ease; }
.link-arrow:hover i { transform: translateX(4px); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--bg-muted);
    color: var(--primary);
}

.promo-bar {
   background: linear-gradient(to right, #6366f1, #ec4899);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    padding: 0.65rem 1rem;
    text-transform: uppercase;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(15, 81, 50, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
    gap: 1.5rem;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--bg-muted);
    border: 1px solid transparent;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 180px;
}
.search-bar:focus-within {
    border-color: var(--primary);
    background: #fff;
}

.icon-btn {
    position: relative;
    font-size: 1.3rem;
    color: var(--text-main);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- NEW CROWBAR BUTTONS (CareDuel Style) --- */

/* 1. The Orange "Login" Button */
.btn-crowbar-login {
    background: linear-gradient(135deg, #F59E0B 0%, #ea580c 100%); /* Vibrant Orange Gradient */
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px; /* Slightly rounded corners like screenshot */
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25); /* Orange glow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-crowbar-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
    color: #ffffff;
}

.btn-crowbar-login i {
    font-size: 1.1rem;
}

/* 2. The Dark "Logout" Button (Same shape, different color) */
.btn-crowbar-logout {
    background: linear-gradient(135deg, #F59E0B 0%, #ea580c 100%); /* Vibrant Orange Gradient */
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-crowbar-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
    color: #ffffff;
    border-color: #ef4444;
}

.nav-toggle {
    border: none;
    background: none;
    font-size: 1.8rem;
    display: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    z-index: 300;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.close-menu {
    align-self: flex-end;
    border: none;
    background: none;
    font-size: 2rem;
}
.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
    gap: 2rem; /* Reduced gap from 3rem to 2rem */
    padding: 1.5rem 0 1rem; /* CHANGED: Reduced top padding from 4.5rem to 1.5rem to pull content up */
    align-items: stretch;
}

/* --- FIX HERO HEIGHT & SPACING --- */

.hero-card {
    /* 1. Restore Full Height to match the image side */
    height: 100%; 
    align-self: stretch;
    
    /* Keep the Glass/White Theme */
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.15) 0%, transparent 55%),
        radial-gradient(circle at 95% 90%, rgba(124, 58, 237, 0.08) 0%, transparent 55%);
    border-radius: var(--radius-lg);
    padding: 2.5rem; /* Increased padding slightly for balance */
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.04),
        0 8px 16px -8px rgba(0, 0, 0, 0.02);
        
    /* 2. Layout Distribution */
    display: flex;
    flex-direction: column;
    
    /* This pushes the Text to the Top and Ratings to the Bottom */
    justify-content: space-between; 
}

/* --- THE FOOTER SEPARATOR --- */
.hero-meta {
    /* Pushes this section to the absolute bottom of the card */
    margin-top: auto; 
    
    /* Add a subtle line to make the empty space look like a design feature */
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
    
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}


.hero-card h1 {
    /* CHANGED: Reduced font size range. Max was 4.2rem, now 3.5rem */
    font-size: clamp(2.2rem, 4vw, 3.5rem); 
    margin: 0.5rem 0 1rem;
    line-height: 1.1;
}

.hero-card p {
    color: var(--text-muted);
    font-size: 1.05rem; /* Slightly smaller text */
    margin-bottom: 1.5rem;
    max-width: 90%; /* Keeps text line length readable */
}

/* --- IMAGE HEIGHT CONTROL --- */

.hero-media {
    display: grid;
    gap: 1rem;
    /* Defines height ratio between main image and the small stack below */
    grid-template-rows: minmax(240px, 1fr) auto; 
}

/* --- HERO BENEFITS LIST --- */

.hero-benefits {
    /* Fills the empty space */
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the list vertically in the gap */
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    /* Adds subtle separator lines to frame it */
    border-top: 1px dashed #e2e8f0; 
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item .icon-box {
    width: 42px;
    height: 42px;
    background: #f0fdf4; /* Light Green background */
    color: #15803d;      /* Eco Green Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Specific color for the Crowbar item */
.benefit-item:last-child .icon-box {
    background: #f5f3ff; /* Light Purple */
    color: #7c3aed;      /* Crowbar Violet */
}

.benefit-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.benefit-item strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.benefit-item span {
    color: #64748b;
    font-size: 0.85rem;
}

.hero-feature {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem; /* Reduced padding */
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 500px; /* CHANGED: Added max-height to prevent it from getting too tall */
}

.hero-feature img {
    width: 100%;
    /* CHANGED: Switch to contain/cover logic to keep it within bounds */
    height: 280px; 
    object-fit: contain; 
    border-radius: var(--radius-md);
    margin-top: auto;
}


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

.stack-card {
    background: var(--bg-surface);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stack-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.stack-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.trust-bar {
    margin: 3rem 0 4rem;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 2.25rem;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem;
}

.trust-item span {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--bg-muted);
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.trust-item p {
    margin: 0;
    color: var(--text-main);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 210px;
    background: var(--bg-muted);
    display: flex;
    align-items: flex-end;
    padding: 1.3rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    transition: transform 0.4s ease;
}
.category-card span { position: relative; z-index: 1; }
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.category-card:hover::after { opacity: 1; }
.category-card:hover img { transform: scale(1.05); }

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

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.card-img-container {
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
}
.card-img-container img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}
.product-card:hover .card-img-container img {
    transform: translateY(-6px);
}

.card-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.15rem;
    font-weight: 600;
}

.card-title {
    font-size: 1.1rem;
    margin: 0;
}

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

.credit-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #5d3b00;
    font-size: 0.8rem;
    font-weight: 600;
}
.credit-chip i { font-size: 0.9rem; }
.credit-chip.lg {
    font-size: 0.95rem;
    padding: 0.35rem 1rem;
}

.btn-add-mini {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #0f0f0f;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}
.product-card:hover .btn-add-mini {
    opacity: 1;
    transform: translateY(0);
}
.btn-add-mini:hover { background: var(--accent); color: #000; }

.feature-panel {
    margin-top: 5rem;
    background: #0f0f0f;
    color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}
.feature-list i { color: var(--accent); }

.membership-split {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.membership-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.membership-card.highlight {
    background: linear-gradient(to right, #6366f1, #ec4899);
    
    color: #fff;
    border: none;
    box-shadow: var(--shadow-card);
}
.membership-card ul { color: inherit; }
.membership-card li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

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

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.gallery-band {
    margin: 4rem auto;
}

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

.story-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: var(--bg-muted);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.story-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.4s ease;
}
.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
    z-index: 0;
    transition: opacity 0.4s ease;
}
.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}
.story-card:hover img { transform: scale(1.08); }
.story-card:hover::after { opacity: 0.9; }
.story-card-content {
    position: relative;
    z-index: 1;
}

.cta-banner {
    margin: 5rem auto;
    background: linear-gradient(120deg, #0f5132, #1c6b45);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
}

.pdp-wrapper {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* --- PDP IMAGE CARD FIX --- */
.pdp-image-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 400px; /* Force restricted height */
    max-width: 450px; /* Force max width */
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.pdp-main-img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
}

.pdp-image-card:hover {
    box-shadow: var(--shadow-card);
}
.pdp-image-card:hover .pdp-main-img {
    transform: scale(1.08);
}

.floating-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 2;
}
/* ------------------------- */

.pdp-gallery {
    /* Kept for layout structure but card logic is now above */
    padding: 0;
    border: none;
    background: transparent;
}

.pdp-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 0.5rem;
}
.pdp-price-lg {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0.5rem 0 1.5rem;
}
.pdp-desc {
    color: var(--text-muted);
}

.pdp-actions {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}
.qty-input {
    width: 90px;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.9rem;
    text-align: center;
}
.btn-main {
    flex: 1;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}
.btn-main:hover { background: var(--primary-dark); }

.pdp-icons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: var(--text-muted);
}
.pdp-icons div {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.review-card {
    margin-top: 1.5rem;
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
}

.cart-wrapper {
    margin: 3rem 0 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.5rem;
    align-items: start;
}

.cart-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
    align-items: center;
}

.cart-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    padding: 0.5rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.35rem;
}
.cart-qty button {
    border: none;
    background: transparent;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.cart-summary {
    position: sticky;
    top: 110px;
}
.summary-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.9rem;
    color: var(--text-muted);
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1.2rem 0 2rem;
}

.checkout-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 1rem;
    background: #000;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.checkout-btn:hover { background: #1f1f1f; }

footer {
    margin-top: 0;
}

.site-footer {
    background: #0a1324;
    color: #eef2ff;
    padding: 2.5rem 0;
    margin-top: 6rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.footer-brand p {
    margin: 0;
    color: #a5b4d6;
}

.footer-network {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #f6d267;
    font-weight: 600;
}
.footer-network span:last-child {
    color: #8ea0c8;
    font-weight: 400;
}
.footer-network i {
    margin: 0 0.2rem;
}

.hero-feature {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem; /* Reduced padding */
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 500px; /* CHANGED: Added max-height to prevent it from getting too tall */
}

.hero-feature img {
    width: 100%;
    /* CHANGED: Switch to contain/cover logic to keep it within bounds */
    height: 280px; 
    object-fit: contain; 
    border-radius: var(--radius-md);
    margin-top: auto;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    .hero-card {
        text-align: center; /* Center text on mobile/tablets */
        align-items: center;
    }
    .hero-card h1 {
        font-size: 2.5rem;
    }
    .hero-media {
        /* On mobile, stack images normally */
        grid-template-rows: auto;
    }
    .hero-feature img {
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .search-bar {
        display: none;
    }
    .nav-toggle { display: block; }
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .feature-copy { padding: 2.5rem; }
}

@media (max-width: 640px) {
    .hero { padding: 2.5rem 0 0.5rem; }
    .hero-card { padding: 1.8rem; }
    .hero-meta { flex-direction: column; gap: 0.5rem; }
    .trust-bar { grid-template-columns: 1fr; padding: 1.2rem; }
    .category-card { min-height: 160px; }
    .feature-panel,
    .membership-split {
        grid-template-columns: 1fr;
    }
    .pdp-actions { flex-direction: column; }
    .qty-input { width: 100%; }
    .btn-main { width: 100%; }
    .cart-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-card img {
        margin: 0 auto;
    }
    .cart-qty {
        justify-content: center;
    }
    .cta-banner {
        padding: 2.25rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature-copy { padding: 2rem; }
    .footer-form {
        flex-direction: column;
        padding: 0.8rem;
    }
    .footer-form button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-actions {
        gap: 0.6rem;
    }
    .hero {
        padding: 2rem 0 0;
    }
    .home-shell {
        padding: 0 1rem;
    }
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    .footer-network {
        text-align: center;
    }
}
/* --- MOBILE RESPONSIVENESS FIX --- */

@media (max-width: 1024px) {
    /* 1. Hide Desktop Elements */
    .nav-links,
    .search-bar,
    #nav-login-btn { /* <--- THIS HIDES THE BIG BUTTON ON MOBILE */
        display: none !important;
    }

    /* 2. Show Hamburger */
    .nav-toggle { 
        display: block; 
        color: var(--primary);
    }

    /* 3. Adjust Cart Grid */
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* 4. Adjust Mobile Menu Button */
    .mobile-menu .btn-crowbar-login,
    .mobile-menu .btn-crowbar-logout {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 520px) {
    /* Tweak logo size for very small phones */
    .nav-brand { font-size: 1.3rem; }
    
    .nav-container { padding: 0 1rem; }
    .nav-actions { gap: 0.8rem; }
    
    /* Ensure Hero text fits */
    .hero h1 { font-size: 2.5rem; }
    
    /* Fix Banner Text */
    .crowbar-banner {
        font-size: 0.7rem;
        padding: 6px;
    }
}
/* --- NEW CROWBAR THEMED HERO --- */

.hero-card {
    /* Base: Pure White */
    background-color: #ffffff;
    
    /* THEME: Soft Blurred Orbs (Green top-left, Crowbar Purple bottom-right) */
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.15) 0%, transparent 55%),
        radial-gradient(circle at 95% 90%, rgba(124, 58, 237, 0.08) 0%, transparent 55%);
        
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    
    /* THEME: Floating "Glass" Shadow */
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.04),
        0 8px 16px -8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.03);
    
    /* Layout Logic (Preserved from previous fix) */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.2rem;
}

/* Update the "New Season Edit" pill to look like the Crowbar "Flash Sale" badge */
.hero-card .pill {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Float effect */
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.04);
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    align-self: flex-start; /* Ensures it stays left aligned */
}

/* Make the Headline Darker and punchier like the screenshot */
.hero-card h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 0.5rem 0 0.5rem;
    line-height: 1.1;
    color: #0f172a; /* Darker Slate color for high contrast */
    letter-spacing: -0.03em; /* Tighter, modern tracking */
}
/* --- CROWBAR DARK THEME SECTION --- */




/* --- CROWBAR ELITE CTA BANNER --- */
    
.cta-banner {
    margin: 5rem auto;
    width: 100%;
    
    /* THEME: Vibrant Pink-to-Red Gradient */
    background: linear-gradient(135deg, #64be5a 0%, #81ac7c 60%);
    
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything */
    gap: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    
    /* Pink Glow Shadow */
    box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.35);
}


/* BUTTON OVERRIDES FOR THIS SECTION ONLY */

.cta-banner .btn {
    border: none !important;
    font-weight: 800;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. The "Go Elite" Style (Yellow Button) - Replaces 'Explore' */
.cta-banner .btn-primary {
    background: #facc15; /* Gold */
    color: #881337;      /* Deep Red Text */
    box-shadow: 0 10px 20px -5px rgba(250, 204, 21, 0.4);
}
.cta-banner .btn-primary:hover {
    background: #fde047;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(250, 204, 21, 0.5);
}

/* 2. The "Claim Spot" Style (White Button) - Replaces 'Review Bag' */
.cta-banner .btn-outline {
    background: #ffffff;
    color: #be123c;      /* Pink/Red Text */
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}
.cta-banner .btn-outline:hover {
    background: #fff1f2;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Typography adjustment for the dark background */
.cta-banner h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}
.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

/* --- FIXED: CLEAN LIGHT RETAIL THEME --- */

.crowbar-trending-section {
    width: 100%;
    
        background: linear-gradient(135deg, #899cc5 10%, #cba464 50%, #899cc4 100%);
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

/* SECTION HEADER (Outside the cards) */
.crowbar-trending-section .section-heading.centered {
    text-align: center;
    flex-direction: column;
    align-items: center;    
    margin-bottom: 3.5rem;
}

.crowbar-trending-section .eyebrow {
    color: #1b1323; /* Dark Gray (Visible on light bg) */
    font-weight: 900;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.crowbar-trending-section h2 {
    color: #0f172a; /* Deep Black/Navy (High Contrast) */
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0;
}

.crowbar-trending-section .link-arrow {
    color: #0f5132; /* Eco Green link */
}

/* --- PRODUCT CARDS (The Fix) --- */
/* --- FIXED CARD & HOVER EFFECTS --- */

.product-card.dark-card {
    background: #ffffff;
    /* Clean, subtle gray border initially */
    border: 1px solid #f1f5f9; 
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    /* Smooth transition for the lift effect */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* --- THE NEW HOVER EFFECT --- */
.product-card.dark-card:hover {
    /* 1. Lift Up */
    transform: translateY(-8px); 
    
    /* 2. KEEP BACKGROUND WHITE (Fixes the readability issue) */
    background: #ffffff !important; 
    
    /* 3. Elegant Shadow */
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 4. Highlight Border with Eco Green */
    border-color: #059669; 
}

//* 1. IMAGE CONTAINER - Remove extra restrictions */
.product-card.dark-card .card-img-container {
    background: #f8fafc;
    width: 100%;
    aspect-ratio: 1 / 1; /* Keep square shape */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative; /* Added for stability */
}

/* 2. THE IMAGE ITSELF - Make it FILL the space */
.product-card.dark-card img {
    /* CHANGED: Increased from 85% to 100% */
    width: 100%;
    height: 100%;
    
    /* Keep 'contain' so it doesn't crop, but fill the box */
    object-fit: contain; 
    
    /* Add just a tiny bit of breathing room so it doesn't touch the absolute edge */
    padding: 10px; 
    
    mix-blend-mode: multiply;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3. HOVER ZOOM - Slightly stronger zoom since image is bigger */
.product-card.dark-card:hover img {
    transform: scale(1.15); 
}



/* Ensure Text Stays Readable on Hover */
.product-card.dark-card .card-category {
    color: #64748b; 
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.product-card.dark-card .card-title {
    color: #0f172a; /* Dark Navy/Black */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

/* Make title turn Green on hover for interaction feedback */
.product-card.dark-card:hover .card-title {
    color: #059669; 
}

.product-card.dark-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card.dark-card .card-price {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.25rem;
}

/* Footer Alignment */
.product-card.dark-card > div:last-child {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Credits Chip */
.product-card.dark-card .credit-chip {
    background: #ecfdf5;
    color: #047857;
    border: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Add Button */
.product-card.dark-card .btn-add-mini {
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 8px; /* Slightly square for modern look */
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card.dark-card .btn-add-mini:hover {
    background: #059669; /* Green Fill */
    color: #fff; /* White Icon */
    transform: scale(1.1);
}

