/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
    --color-bg: #fdfcf9;
    --color-text: #3e4a3d;
    --color-text-light: #7c8e7a;
    --color-accent: #e2a099;
    --color-primary: #6b8e6b;
    --color-primary-dark: #557555;
    --color-surface: #ffffff;
    --color-border: #e8e6df;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-script: 'Allura', cursive;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

::selection {
    background-color: var(--color-accent);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* =========================================
   Typography & Utilities
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 93, 35, 0.2);
}

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

/* =========================================
   Navigation (Glassmorphism)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(252, 251, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 227, 218, 0.5);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.logo {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-text);
}

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

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

.cart-toggle {
    position: relative;
    color: var(--color-text);
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.cart-toggle:hover {
    transform: scale(1.05);
}

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

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    padding-top: 80px; /* Offset for nav */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUP 1s ease forwards;
}

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

.hero h1 {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2rem, 8vw, 6rem);
    margin-bottom: 1rem;
    white-space: nowrap;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-weight: 300;
}

/* =========================================
   Shop Section & Product Grid
   ========================================= */
.shop-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

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

.product-card {
    background: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-image-container {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.add-to-cart-btn {
    margin-top: auto;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* =========================================
   Wishlist & Icons
   ========================================= */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wishlist-toggle {
    position: relative;
    color: var(--color-text);
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
    cursor: pointer;
}

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

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #dc3545; /* Red for heart */
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: #dc3545;
}

/* =========================================
   Shipping Banner
   ========================================= */
.shipping-banner {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem 2rem;
    border-radius: 8px;
    border-left: 4px solid #ffeeba;
    margin-bottom: 3rem;
    text-align: left;
    font-size: 0.95rem;
}

/* =========================================
   Shop Controls (Search, Filter, Sort)
   ========================================= */
.shop-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.search-box input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    width: 250px;
    font-size: 0.95rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: white;
    color: var(--color-text-light);
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-accent);
}

.filter-btn.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.sort-box select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
    background: white;
    border-radius: 8px;
}

/* =========================================
   Product Metadata
   ========================================= */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    background-color: #f4f1ea;
    padding: 6rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* =========================================
   Growing Guide Section
   ========================================= */
.growing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.growing-content {
    text-align: center;
}

.growing-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.guide-intro {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.growing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.guide-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-accent);
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.guide-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--color-text);
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-family: var(--font-script);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-bg);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* =========================================
   Cart Modal (Slide-out)
   ========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

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

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

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

.cart-header h2 {
    font-size: 1.5rem;
}

.close-cart {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.close-cart:hover {
    color: var(--color-text);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.cart-item {
    display: flex;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
}

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

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

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

.cart-item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
}

.qty-input {
    width: 45px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.2rem;
    font-family: inherit;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

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

.qty-btn:hover {
    background-color: #f0f0f0;
}

.remove-item {
    font-size: 0.85rem;
    color: #dc3545;
    margin-left: auto;
    text-decoration: underline;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* =========================================
   Toast Notification
   ========================================= */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-text);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    z-index: 2000;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
}

.toast.show {
    bottom: 2rem;
}

/* =========================================
   Checkout Form
   ========================================= */
.hidden { display: none !important; }

.checkout-form-container {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    background: var(--color-surface);
}

.checkout-header {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.payment-heading {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.form-row .form-group {
    flex: 1;
}

.back-to-cart-btn {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    margin-top: 0.75rem;
}

.back-to-cart-btn:hover {
    background: #f0f0f0;
}

/* =========================================
   Animations & Badges
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.show-more-container {
    display: flex;
    justify-content: center;
    padding: 3rem 0 5rem;
}

#show-more-btn {
    padding: 1.25rem 4rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border-radius: 50px; /* Pill shape for premium feel */
}

#show-more-btn:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#show-more-btn:active {
    transform: translateY(-1px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.product-badge.sold-out {
    background: #555;
    color: white;
}

.product-badge.low-stock {
    background: var(--color-accent);
    color: white;
}

.product-card.oos {
    opacity: 0.7;
}

.product-card.oos .product-image-container {
    filter: grayscale(0.5);
}

.stock-info {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0;
    display: block;
}

.stock-in { color: var(--color-primary); }
.stock-low { color: var(--color-accent); }
.stock-out { color: #888; }

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
    padding: 6rem 2rem;
    background-color: #fff;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.faq-item p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* =========================================
   Newsletter Section
   ========================================= */
.newsletter-section {
    background-color: #fdfcf9;
    padding: 6rem 2rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-script);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
}

/* =========================================
   Quick View Modal
   ========================================= */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.qv-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.qv-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .qv-content {
    transform: scale(1);
}

.close-qv {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
    z-index: 10;
    color: var(--color-text-light);
}

.qv-body {
    display: flex;
    width: 100%;
}

.qv-image {
    flex: 1;
    background: #f9f9f9;
}

.qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-details {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.qv-details h2 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1.5rem;
}

.qv-description {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.qv-details .product-price {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .qv-body {
        flex-direction: column;
    }
    .qv-image {
        height: 300px;
    }
    .qv-details {
        padding: 2rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

/* =========================================
   Cart Icon Animation
   ========================================= */
@keyframes cartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-bounce {
    animation: cartBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card {
    cursor: pointer;
}

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

.quick-view-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.product-card:hover .quick-view-overlay {
    opacity: 1;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    
    .shop-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .sort-box select {
        width: 100%;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .cart-modal {
        right: -100%;
        max-width: 100%;
    }
    
    .checkout-form-container {
        padding: 1.5rem;
    }
}

/* =========================================
   Stripe Embedded Checkout & Utilities
   ========================================= */
.hidden {
    display: none !important;
}

#checkout {
    margin-top: 1.5rem;
    background: var(--color-surface);
    border-radius: 8px;
    min-height: 400px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.checkout-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--color-text-light);
    font-style: italic;
}
