/* ecommerce.css */
/* Styles specific to Shop, Product, Cart, and Dashboard pages */

:root { /* Define or re-declare variables if not inheriting from a global :root */
    --primary-color: #2d572c;
    --secondary-color: #5c8d57;
    --accent-color: #a7d7c5;
    --background-light: #f4f7f6;
    --card-background: #ffffff;
    --text-color: #333;
    --text-light: #555;
    --border-color: #dce5e0;
    --shadow-light: rgba(0, 0, 0, 0.07);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --error-color: #c0392b;
    --success-color: #27ae60;
    --cta-button-hover-bg: #4a7d45; 
}

/* --- General E-commerce Page Structure --- */
.shop-page,
.product-detail-page,
.cart-page,
.dashboard-page {
    padding-bottom: 50px; 
    background-color: var(--background-light); 
}

.shop-page .container,
.product-detail-page .container,
.cart-page .container,
.dashboard-page .container {
    padding-top: clamp(30px, 5vw, 50px); 
    padding-bottom: clamp(30px, 5vw, 50px);
}

/* --- Cart Icon in Header (Refined) --- */
/* These styles assume your main styles.css has basic .title-bar and .nav-links setup */
.title-bar .nav-cart-link,
.title-bar .cart-icon-desktop {
    display: inline-flex; /* Changed to inline-flex for better alignment */
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.95rem; 
    margin-left: 10px; /* Add some margin if it's next to other nav links */
}
.title-bar .nav-cart-link:hover,
.title-bar .cart-icon-desktop:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}
.title-bar .nav-cart-link i,
.title-bar .cart-icon-desktop i {
    margin-right: 8px;
    font-size: 1.2em; 
    line-height: 1; /* Helps with vertical alignment */
}
#cart-count-header { /* Text part in mobile nav */
    font-weight: 500;
}
.cart-count-badge { /* Desktop icon badge */
    background-color: var(--error-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px; 
    font-size: 0.7rem; 
    font-weight: bold;
    position: absolute; /* Position relative to the parent (.cart-icon-desktop or .nav-cart-link) */
    top: 0px; /* Adjust as needed */
    right: 0px; /* Adjust as needed */
    border: 1.5px solid var(--primary-color); /* Match header bg for better blend */
    min-width: 18px; 
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translate(40%, -40%); /* Fine-tune badge position */
}
.cart-icon-desktop { /* Ensure parent is relative for badge positioning */
    position: relative;
}


/* --- Shop Page (buyproduct.html) --- */
.shop-hero {
    background-image: linear-gradient(rgba(45, 87, 44, 0.8), rgba(25, 50, 25, 0.9)), url('https://images.unsplash.com/photo-1530903693508-99cee48878a8?q=80&w=2070&auto=format&fit=crop'); /* Different, vibrant garden image */
    background-size: cover;
    background-position: center 40%; /* Adjust focus */
    color: white;
    text-align: center;
    padding: clamp(80px, 18vh, 160px) 20px; 
    border-bottom: 6px solid var(--accent-color); /* Thicker accent border */
}
.shop-hero-content h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2.8rem, 7vw, 4.8rem); /* Even larger title */
    margin-bottom: 20px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.5); 
}
.shop-hero-content p {
    font-size: clamp(1.2rem, 3vw, 1.6rem); 
    max-width: 800px;
    margin: 0 auto 45px auto; 
    opacity: 0.95;
    line-height: 1.75;
}
.cta-button, /* General CTA button style for shop */
.shop-now-hero { 
    display: inline-block;
    background-image: linear-gradient(45deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 16px 40px; 
    text-decoration: none;
    border-radius: 30px; 
    font-weight: 600;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem); /* Larger button text */
    transition: background-image 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* More prominent shadow */
    text-align: center;
    border: none; 
    cursor: pointer;
    letter-spacing: 0.5px;
}
.cta-button:hover, .shop-now-hero:hover,
.cta-button:focus, .shop-now-hero:focus {
    background-image: linear-gradient(45deg, var(--primary-color), #1e3c1d); 
    transform: translateY(-4px) scale(1.03); /* More lift */
    box-shadow: 0 7px 20px rgba(0,0,0,0.25);
    outline: none;
    color: white;
}

.shop-categories-section {
    padding: clamp(50px, 8vw, 80px) 0; 
    background-color: var(--card-background); 
}
.shop-categories-section h2 {
    font-family: 'Lora', serif;
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(2rem, 4.8vw, 3rem); 
    margin-bottom: 45px;
}
.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: clamp(25px, 3.5vw, 35px); 
}
.category-card-link {
    text-decoration: none;
    display: block; 
}
.category-card {
    background-color: var(--card-background);
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow-light); 
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%; 
    display: flex;
    flex-direction: column;
    position: relative; 
}
.category-card::before { 
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 220px; 
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%); 
    opacity: 0.6; 
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.category-card:hover::before {
    opacity: 0.8; 
}
.category-card:hover {
    transform: translateY(-10px) scale(1.03); 
    box-shadow: 0 12px 30px var(--shadow-medium);
}
.category-card img {
    width: 100%;
    height: 220px; 
    object-fit: cover;
}
.category-card h3 {
    font-family: 'Lora', serif;
    padding: 20px 15px; 
    margin: 0;
    color: var(--primary-color);
    font-size: clamp(1.3rem, 2.8vw, 1.6rem); 
    flex-grow: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-background); 
    position: relative; 
    z-index: 2;
}

.featured-products-shop-section, .category-product-listing {
    padding: clamp(50px, 8vw, 80px) 0; 
}
.featured-products-shop-section h2, .category-product-listing h2 {
    font-family: 'Lora', serif;
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(2rem, 4.8vw, 3rem);
    margin-bottom: 50px; 
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 28vw, 320px), 1fr)); 
    gap: clamp(25px, 3.5vw, 35px);
}
.product-card-shop {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 6px 18px var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.product-card-shop:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}
.product-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex-grow: 1;}
.product-image-shop {
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    background-color: #f0f0f0; 
    position: relative;
}
.product-image-shop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease; 
}
.product-card-shop:hover .product-image-shop img {
    transform: scale(1.1); 
}
.product-info-shop {
    padding: 20px; 
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-info-shop h3 {
    font-family: 'Lora', serif;
    font-size: clamp(1.15rem, 2.3vw, 1.4rem); 
    color: var(--primary-color);
    margin: 0 0 10px 0; 
    line-height: 1.3;
}
.product-price-shop {
    font-size: clamp(1.05rem, 2.1vw, 1.25rem); 
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 18px; 
}
.add-to-cart-button { 
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 12px 25px; 
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase;
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin: 10px 15px 0px 15px; 
    align-self: center; 
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.add-to-cart-button i {
    font-size: 0.9em;
}
.add-to-cart-button:hover {
    background-image: linear-gradient(45deg, var(--primary-color), #1e3c1d);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Cart Notification (shared style) */
.cart-notification {
    position: fixed;
    bottom: 25px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color); 
    color: white;
    padding: 14px 28px; 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); 
    z-index: 1002; 
    font-size: 1rem; 
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.cart-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px); 
}


/* --- Single Product Page (product.html) --- */
.product-detail-page .container {
    max-width: 1100px; 
}
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: clamp(25px, 4vw, 45px); 
    padding: 20px 0;
}
@media (min-width: 768px) {
    .product-details-grid {
        grid-template-columns: minmax(320px, 2fr) 3fr; 
    }
}
.product-gallery-detail .main-image-container {
    width: 100%;
    aspect-ratio: 1/1; 
    overflow: hidden;
    border-radius: 12px; 
    margin-bottom: 20px; 
    box-shadow: 0 5px 18px var(--shadow-light); 
    border: 1px solid var(--border-color);
    background-color: #f8f8f8; 
}
#mainProductImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
#mainProductImage:hover {
    transform: scale(1.03);
}
.thumbnail-container {
    display: flex;
    gap: 12px; 
    justify-content: flex-start; 
    flex-wrap: wrap;
}
.thumbnail-img {
    width: clamp(70px, 12vw, 90px); 
    height: clamp(70px, 12vw, 90px);
    object-fit: cover;
    border-radius: 8px; 
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.thumbnail-img:hover, .thumbnail-img.active {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.product-info-detail h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4.5vw, 3rem); 
    color: var(--primary-color);
    margin: 0 0 15px 0; 
    line-height: 1.2;
}
.product-price-detail {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem); 
    color: var(--secondary-color);
    font-weight: 700; 
    margin-bottom: 25px; 
}
.product-description-detail h3, .product-features-detail h3 {
    font-family: 'Lora', serif;
    font-size: clamp(1.3rem, 2.8vw, 1.7rem); 
    color: var(--primary-color);
    margin-top: 30px; 
    margin-bottom: 15px; 
    border-bottom: 2px solid var(--accent-color); 
    padding-bottom: 8px; 
}
.product-description-detail p, .product-features-detail ul {
    font-size: clamp(0.95rem, 1.9vw, 1.1rem); 
    color: var(--text-light);
    line-height: 1.75; 
}
.product-features-detail ul {
    list-style: none;
    padding-left: 0;
}
.product-features-detail li {
    margin-bottom: 10px; 
    display: flex;
    align-items: flex-start;
}
.product-features-detail li i {
    color: var(--secondary-color);
    margin-right: 12px; 
    margin-top: 5px; 
    font-size: 1.1em; 
}

.product-actions {
    margin-top: 35px; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
}
@media (min-width: 520px) { 
    .product-actions {
        flex-direction: row;
        align-items: center;
    }
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px; 
}
.quantity-selector label {
    font-weight: 600; 
    margin-right: 8px;
    color: var(--text-dark);
    font-size: 1rem;
}
.quantity-btn {
    background-color: #e9ecef; 
    border: 1px solid #ced4da; 
    color: var(--text-dark);
    width: 35px; 
    height: 35px;
    border-radius: 50%;
    font-size: 1.4rem; 
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; 
}
.quantity-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}
#quantity {
    width: 60px; 
    text-align: center;
    padding: 8px 10px; 
    border: 1px solid #ced4da;
    border-radius: 6px; 
    font-size: 1.05rem; 
    font-weight: 500;
    -moz-appearance: textfield; 
}
#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.add-to-cart-button-detail { 
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 14px 28px; 
    text-decoration: none;
    border-radius: 28px; 
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.15rem); 
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12); 
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    flex-grow: 1; 
}
.add-to-cart-button-detail:hover {
    background-image: linear-gradient(45deg, var(--primary-color), #1a2e19); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.customer-reviews-section {
    padding: clamp(30px, 6vw, 50px) 0; 
    margin-top: 35px; 
    border-top: 1px solid var(--border-color);
}
.customer-reviews-section h2 {
    font-family: 'Lora', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 30px; 
    text-align: center;
}
.reviews-container {
    display: grid;
    gap: 25px; 
}
.review-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px var(--shadow-light);
}
.review-rating {
    color: #f39c12; 
    font-size: 1.1rem;
    margin-bottom: 8px; 
}
.review-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.05rem; 
}
.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7; 
}

/* --- Cart Page (cart.html) --- */
.cart-page .container {
    max-width: 950px; 
}
.cart-page-title {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 35px; 
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 15px;
}
.cart-items-list {
    margin-bottom: 35px; 
}
.cart-item-row {
    display: grid;
    grid-template-columns: 100px 1fr auto auto 60px; /* Image, Info, Qty, Subtotal, Remove */
    gap: 20px; 
    align-items: center;
    padding: 20px 0; 
    border-bottom: 1px solid var(--border-color);
}
.cart-item-row:last-child {
    border-bottom: none;
}
.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px; 
    border: 1px solid var(--border-color);
}
.cart-item-info h3 {
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: var(--primary-color);
    margin: 0 0 5px 0;
}
.cart-item-price {
    font-size: 0.95rem;
    color: var(--text-light);
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: center; 
}
.quantity-adjust-btn {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    color: var(--text-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-adjust-btn:hover { background-color: #d1d9e0; }
.quantity-input-cart {
    width: 45px; 
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin: 0 8px; 
    padding: 6px; 
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}
.quantity-input-cart::-webkit-outer-spin-button,
.quantity-input-cart::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item-subtotal p {
    font-weight: 600;
    font-size: 1.1rem; 
    color: var(--text-dark);
    text-align: right;
}
.remove-item-btn {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 1.4rem; 
    cursor: pointer;
    padding: 8px; 
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex; 
    align-items: center;
    justify-content: center;
}
.remove-item-btn:hover { color: #a02d1f; transform: scale(1.1); }
.empty-cart-message {
    text-align: center;
    font-size: 1.2rem; 
    padding: 40px 0; 
    color: var(--text-light);
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}
.empty-cart-message a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}
.empty-cart-message a:hover {
    color: var(--primary-color);
}

.cart-summary-box {
    background-color: #f0f4f0; 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    margin-top: 30px; 
    box-shadow: 0 4px 10px var(--shadow-light);
}
.cart-summary-box h2 {
    font-family: 'Lora', serif;
    font-size: clamp(1.6rem, 3.2vw, 2rem); 
    color: var(--primary-color);
    margin: 0 0 25px 0; 
    text-align: left; 
    border-bottom: 2px solid var(--accent-color); 
    padding-bottom: 12px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px; 
    font-size: 1.05rem; 
}
.summary-row span:first-child { color: var(--text-light); }
.summary-row span:last-child { font-weight: 600; color: var(--text-dark); }
.total-row {
    font-weight: 700; 
    font-size: 1.3rem; 
    color: var(--primary-color);
    padding-top: 15px; 
    border-top: 2px solid var(--secondary-color); 
    margin-top: 15px;
}
.checkout-btn-cart { 
    display: block; 
    width: 100%;
    margin-top: 25px; 
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 16px 30px; 
    text-decoration: none;
    border-radius: 30px; 
    font-weight: 600;
    font-size: clamp(1.05rem, 2vw, 1.2rem); 
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    border: none;
    cursor: pointer;
    text-align: center;
}
.checkout-btn-cart:hover:not(:disabled) {
    background-image: linear-gradient(45deg, var(--primary-color), #1a2e19); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.checkout-btn-cart:disabled {
    background-image: none;
    background-color: var(--disabled-color);
    color: var(--disabled-text-color);
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Dashboard Page (dashboard.html) --- */
.dashboard-page .container {
    text-align: center;
}
.dashboard-title {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 15px;
}
.dashboard-intro {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-light);
    margin-bottom: 40px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: clamp(25px, 3.5vw, 35px); 
    margin-bottom: 40px;
}
.dashboard-card {
    background-color: white;
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 5px 15px var(--shadow-light); 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dashboard-card:hover {
    transform: translateY(-6px); 
    box-shadow: 0 8px 22px var(--shadow-medium); 
}
.dashboard-icon {
    font-size: 3.5rem; 
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1; 
}
.dashboard-card h3 {
    font-family: 'Lora', serif;
    font-size: clamp(1.4rem, 2.8vw, 1.7rem); 
    color: var(--primary-color);
    margin-bottom: 12px;
}
.dashboard-card p {
    font-size: 1rem; 
    color: var(--text-light);
    margin-bottom: 20px; 
    flex-grow: 1; 
}
.dashboard-card-link { 
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px; 
    text-decoration: none;
    border-radius: 25px; 
    font-weight: 500;
    font-size: 0.95rem; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; 
}
.dashboard-card-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}
.dashboard-logout-section {
    margin-top: 30px; 
}
.logout-button-dashboard { 
    background-image: linear-gradient(45deg, #c0392b, #a02d1f); 
    color: white;
    padding: 14px 30px; 
    text-decoration: none;
    border-radius: 28px; 
    font-weight: 600;
    font-size: clamp(1rem, 1.9vw, 1.1rem); 
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(192, 57, 43, 0.3); 
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px; 
}
.logout-button-dashboard:hover {
    background-image: linear-gradient(45deg, #a02d1f, #782419); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(192, 57, 43, 0.4);
}


/* --- Responsive Design Adjustments --- */
/* These should ideally be in your main styles.css if they affect shared components like the header */
/* For this exercise, keeping them here to show context */

@media screen and (max-width: 992px) { 
    /* General Nav adjustments are in main styles.css */
    /* E-commerce specific adjustments for tablet */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    }
    .cart-item-row { 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .cart-item-image img { margin-right: 0; margin-bottom: 10px; }
    .cart-item-quantity, .cart-item-subtotal, .cart-item-remove { text-align: center; width: 100%;}
    .cart-item-remove button { margin: 10px auto 0 auto; display: block;}
}


@media screen and (max-width: 768px) { 
    /* E-commerce specific adjustments for smaller tablets/large phones */
    .shop-hero-content h1, .product-info-detail h1, .cart-page-title, .dashboard-title {
        font-size: clamp(1.8rem, 5.5vw, 2.4rem); /* Adjust main titles for smaller tablets */
    }
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .product-details-grid { grid-template-columns: 1fr; } 
}

@media screen and (max-width: 480px) { 
    /* E-commerce specific adjustments for small phones */
    .shop-page section, 
    .product-detail-page .container,
    .cart-page .container,
    .dashboard-page .container {
        padding-left: 15px; 
        padding-right: 15px;
    }
    .shop-categories-section .container, 
    .featured-products-shop-section .container,
    .category-product-listing .container {
        padding-left: 0; 
        padding-right: 0;
    }
    .products-grid, .plant-cards-container, .full-gallery-container, .dashboard-grid { 
        grid-template-columns: 1fr; 
    }
}


/* Keyframes for animations (if any specific to e-commerce) */
/* ... (can be copied from main styles.css if needed globally) ... */
