:root {
    /* Color Scheme */
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-darker: #2E7D32;
    --accent-color: #FFC107;
    --dark-bg: #263238;
    --light-bg: #f8f9fa;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --warning-color: #FFA000;
    --danger-color: #F44336;
    --info-color: #2196F3;

    /* Design Tokens */
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 70px;
    --footer-height: 300px;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.btn {
    transition: var(--transition);
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-muted {
    color: var(--text-medium);
}

.rounded-lg {
    border-radius: var(--border-radius);
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: var(--box-shadow);
}

.transition {
    transition: var(--transition);
}

.fw-medium {
    font-weight: 500;
}

.fw-semi-bold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.main-content {
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    min-height: 100vh;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.logo-text span {
    color: var(--accent-color);
}

/* Search Box */
.search-box {
    width: 500px;
    border-radius: 25px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    padding: 12px 20px;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

.search-button {
    background-color: var(--primary-dark);
    border: none;
    color: white;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background-color: var(--primary-darker);
}

/* Navigation Buttons */
.nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    padding: 8px 15px;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Category Navigation */
.category-nav {
    background-color: var(--primary-darker);
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: sticky;
    top: var(--header-height);
    z-index: 999;
}

.category-nav-container {
    display: flex;
    align-items: center;
}

.category-nav .nav-link {
    padding: 12px 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.category-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    padding: 10px 0;
    border-radius: var(--border-radius);
    margin-top: 5px;
}

.dropdown-item {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
}

/* Banner Section */
.banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}



.banner-content {
    max-width: 500px;
}

.banner-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.banner-btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Section Headings */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Category Cards */
.category-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-img-container {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.category-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.login-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.account__login {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.account__login--header__title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.account__login--header__desc {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.account__login--input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.account__login--input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.account__login--btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.account__login--btn:hover {
    background-color: var(--primary-dark);
}

.account__login--divide {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--text-light);
}

.account__login--divide__text {
    padding: 0 15px;
    background: var(--pure-white);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.account__login--divide:before {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.account__login--signup__text {
    text-align: center;
    color: var(--text-medium);
    font-size: 1rem;
}

.account__login--signup__link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* OTP Input Styling */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 2rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

#otp-countdown {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.category-name {
    padding: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
    background-color: white;
}

/* Product Cards */
.product-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    border: none;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    background-color: white;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.product-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-brand {
    font-size: 0.72rem;
    color: var(--text-medium);
    margin-bottom: 6px;
}

/* ========== WEIGHT / VARIANT SELECTOR - PROFESSIONAL ========== */
.variant-selector {
    margin: 6px 0 4px;
}

.variant-selector small {
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Pill-style weight/variant buttons */
.variant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1.5px solid #d5d5d5;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #555;
    background: #fff;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    user-select: none;
    line-height: 1.5;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 2px 2px 2px 0;
}

.variant-btn:hover:not(.out-of-stock) {
    border-color: var(--primary-color);
    color: var(--primary-dark);
    background: #f2fce8;
    box-shadow: 0 2px 8px rgba(100,180,50,0.18);
    transform: translateY(-1px);
}

.variant-btn.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #84c225 0%, #5a9b1a 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(90,155,26,0.28);
    transform: translateY(-1px);
}

.variant-btn.out-of-stock {
    color: #bbb;
    text-decoration: line-through;
    cursor: not-allowed;
    border-color: #ebebeb;
    background: #f8f8f8;
    box-shadow: none;
    opacity: 0.65;
}

.navbar-checkout {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.progress-steps {
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    position: relative;
    padding-bottom: 10px;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-active {
    color: var(--primary-color);
    font-weight: 600;
}

.step-active .step-icon {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

.step-completed .step-icon {
    background-color: #e8f5e9;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--border-color);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.step-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.checkout-container {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding: 0 30px;
    align-items: start;
}

.checkout-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
    overflow: hidden;
    background: white;
}

.card-body {
    padding: 25px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.form-control {
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.1);
}

.item-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: white;
    padding: 8px;
}

/* Enhanced Price Summary Section */
.price-summary {
    background-color: white;
    border-radius: 10px;
    padding: 0;
    border: 1px solid #eaeaea;
    position: sticky;
    top: 20px;
}

.price-summary .section-title {
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f9f9f9;
    border-radius: 10px 10px 0 0;
}

.summary-row {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total-row {
    background-color: #f9f9f9;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 18px 20px;
    border-top: 1px solid #eaeaea;
    border-bottom: none;
}

.summary-row .value {
    font-weight: 500;
    color: #333;
}

.summary-row.total-row .value {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.discount-row .label,
.discount-row .value {
    color: #28a745;
}

.payment-option {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
}

.payment-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
}

.payment-option.active {
    border-color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.03);
}

.payment-icon {
    width: 45px;
    height: 28px;
    object-fit: contain;
    margin-right: 12px;
}

.delivery-time {
    background-color: white;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
}

.time-slot {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: var(--primary-color);
}

.time-slot.active {
    border-color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.05);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
}

.time-slot .time-range {
    font-weight: 600;
    margin-bottom: 4px;
}

.time-slot .time-status {
    font-size: 0.85rem;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background-color: var(--light-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 45px;
    height: 32px;
    border: none;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
    background-color: white;
    font-size: 0.95rem;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Item list styling */
.cart-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.item-details {
    flex-grow: 1;
    padding-left: 18px;
}

.item-name {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1rem;
}

.item-variant {
    font-size: 0.88rem;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.item-price {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Show more items button */
.show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-color);
    background-color: white;
    transition: all 0.2s ease;
    border: 1px solid var(--primary-color) !important;
    padding: 8px 15px;
    border-radius: 6px;
}

.show-more-btn:hover {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

.show-more-btn i {
    transition: transform 0.2s ease;
    margin-left: 8px;
    font-size: 0.85rem;
}

.show-more-btn.collapsed i {
    transform: rotate(0deg);
}

.show-more-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Order action bar */
.order-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-top: 1px solid #eaeaea;
}

.order-action-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.order-summary {
    margin-right: 30px;
    text-align: right;
}

.order-total-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
}

.order-total-amount {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}

#placeOrderBtn {
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 220px;
}

#placeOrderBtn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

#placeOrderBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(46, 125, 50, 0.2);
}

/* Responsive adjustments - removed mobile styles for desktop-only */
@media (max-width: 1199px) {
    .checkout-container {
        padding: 0 20px;
    }

    .order-action-container {
        padding: 0 20px;
    }
}

.variant-selector {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-medium);
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: var(--transition);
}

.variant-selector:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.variant-btn {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition);
}

.variant-btn.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.variant-btn.out-of-stock {
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    text-decoration: line-through;
}

.price-container {
    margin: 10px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.current-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 8px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-right: 5px;
}

.discount-badge {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-info {
    font-size: 0.8rem;
    margin-top: 5px;
}

.in-stock {
    color: var(--success-color);
}

.low-stock {
    color: var(--warning-color);
}

.out-of-stock {
    color: var(--danger-color);
}

.delivery-time {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 10px;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(76, 175, 80, 0.3);
}

.add-to-cart-btn:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.add-to-cart-btn1 {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 10px;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.add-to-cart-btn1:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(76, 175, 80, 0.3);
}

.add-to-cart-btn1:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cart Popup */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    justify-content: flex-end;
}

.cart-popup {
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.cart-popup.active {
    transform: translateX(0);
}

.cart-popup-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
}

.cart-popup-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.close-cart-popup {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.close-cart-popup:hover {
    transform: rotate(90deg);
}

.cart-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-variant {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.desktop-quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: #f5f5f5;
}

.desktop-quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
    padding: 2px;
    font-size: 0.9rem;
}

.desktop-remove-item-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.remove-item-btn:hover {
    color: #d32f2f;
}

.cart-popup-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-cart {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view-cart:hover {
    background-color: #f1f8e9;
}

.btn-checkout {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-checkout:hover {
    background-color: var(--primary-dark);
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.empty-cart-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1100;
}

.toast {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    max-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    margin-right: 10px;
    font-size: 20px;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .search-box {
        width: 400px;
    }
}

@media (max-width: 991px) {
    .search-box {
        width: 300px;
    }

    .category-nav .nav-link {
        padding: 12px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .desktop-content {
        display: none !important;
    }

    .mobile-message {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        padding: 20px;
        text-align: center;
    }

    .mobile-message i {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .mobile-message h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .mobile-message p {
        font-size: 1rem;
        color: var(--text-medium);
        max-width: 400px;
        margin: 0 auto 20px;
    }
}