/* Home Foods E-commerce - Main Stylesheet */

:root {
    --primary-color: #6F4D38;
    --primary-dark: #38261b;
    --secondary-color: #f7b64c;
    --accent-color: #d9a977;
    --mod-color: #9c4f07;
    --soft-ivory: #fdfbf7;
    --glass-surface: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 20px 40px rgba(15, 14, 19, 0.12);
    --text-dark: #261f16;
    --text-muted: #5b4a3c;
    --page-gradient: linear-gradient(180deg, #fffdf9 0%, #f5eee5 55%, #f0e7d7 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--page-gradient);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Forms */
.form-control, .form-select {
    border-color: var(--border-color);
    border-radius: 5px;
    padding: 10px 12px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 77, 56, 0.25);
}

/* Navigation */
.navbar {
    background-color: #FDFBF3 !important;
    box-shadow: 0 1px 4px rgba(61, 33, 26, 0.06);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color) !important;
}

.hf-logo {
    height: 100px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 3px solid var(--primary-color);
}

/* Promo Box (Ready to Enjoy Premium Chocolates) */
.promo-chocolates-box {
    background: #c9a06c;
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 5rem;
    box-shadow: 0 8px 32px rgba(111,77,56,0.13);
    color: #fff;
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    transform: none;
}
@media (max-width: 767px) {
    .promo-chocolates-box {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
        border-radius: 10px;
    }
}

/* Premium layout utilities */
.premium-section {
    padding: 4rem 0;
    position: relative;
}

.premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(247, 182, 76, 0.08), transparent 45%);
    pointer-events: none;
}

.premium-section-inner {
    position: relative;
    z-index: 1;
}

.premium-hero {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
}

.premium-hero .hero-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    color: var(--primary-dark);
}

.premium-hero .hero-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.premium-feature-card {
    background: var(--glass-surface);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.premium-feature-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.premium-card {
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.premium-card h3,
.premium-card h4 {
    color: var(--primary-dark);
}

.premium-divider {
    height: 2px;
    width: 85px;
    background: var(--secondary-color);
    margin: 1rem 0 2rem;
    border-radius: 999px;
}

.premium-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    background: rgba(111, 77, 56, 0.12);
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.3rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(106, 40, 16, 0.35);
    transition: all 0.25s ease;
}

.premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(106, 40, 16, 0.4);
}

.premium-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.premium-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.premium-badge {
    display: inline-flex;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(247, 182, 76, 0.2);
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.glass-panel {
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    position: relative;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.premium-section .glass-panel + .glass-panel {
    margin-top: 1.5rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 2vw, 2.6rem);
    color: var(--primary-dark);
}

.section-heading p {
    color: var(--text-muted);
    max-width: 650px;
}

.premium-product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.premium-product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.premium-cart-summary {
    background: linear-gradient(145deg, rgba(247, 182, 76, 0.15), rgba(255, 255, 255, 0.7));
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

.premium-cart-summary h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.premium-cart-summary .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.premium-cart-summary .summary-line.total {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.premium-timeline {
    position: relative;
    margin-top: 2rem;
}

.premium-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: rgba(111, 77, 56, 0.2);
}

.premium-timeline-step {
    display: flex;
    gap: 1rem;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.premium-timeline-step::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--secondary-color);
    position: absolute;
    left: 0;
    top: 4px;
}

.premium-timeline-step h5 {
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.premium-timeline-step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(247, 182, 76, 0.25), transparent 60%);
    z-index: 0;
    filter: blur(20px);
}

.hero-hero {
    position: relative;
}

/* Product Detail Premium Layout */
.product-detail-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 239, 229, 0.9) 55%, rgba(240, 230, 218, 1) 100%);
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.product-detail-grid .glass-panel {
    padding: 2rem;
}

.product-images-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 229, 0.7));
}

.product-images-panel .product-main-image {
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.product-main-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 14, 19, 0.12);
}

.product-short-description {
    color: var(--text-muted);
    line-height: 1.6;
}

.product-total-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.variant-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.variant-btn {
    border-radius: 18px;
    border: 1px solid rgba(111, 77, 56, 0.3);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(15, 14, 19, 0.08);
}

.product-actions .btn {
    border-radius: 999px;
}

.product-description-card,
.product-features-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.related-products-section {
    border-radius: 24px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.related-product-card {
    border-radius: 20px;
    border: 1px solid rgba(207, 183, 153, 0.3);
    box-shadow: 0 10px 28px rgba(15, 14, 19, 0.08);
}

.related-product-image {
    border-radius: 16px;
}

/* Category Page */
.category-hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 239, 229, 0.85));
    border-radius: 28px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
}

.category-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.category-page-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.category-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(247, 182, 76, 0.15);
    color: var(--primary-dark);
    font-weight: 600;
}

.category-page-container {
    padding-bottom: 4rem;
}

.category-filters-panel,
.category-products-panel {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    border-radius: 20px !important;
    border: none !important;
    background: white;
}

/* Cart Premium Layout */
.cart-page {
    background: var(--page-gradient);
    padding: 4rem 0;
}

.cart-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items-panel,
.cart-summary-panel {
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.cart-item-card {
    border-bottom: 1px solid rgba(15, 14, 19, 0.08);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.cart-item-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-summary-panel .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.cart-summary-panel .summary-line.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.cart-summary-panel .premium-cta {
    width: 100%;
    justify-content: center;
}

@media (max-width: 991px) {
    .cart-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout Layout */
.checkout-page {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fffdf9 0%, #f5eee5 60%, #f0e7d7 100%);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-form-panel,
.checkout-summary-panel {
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.checkout-summary-panel h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.checkout-summary-panel .summary-line {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.checkout-summary-panel .summary-line.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Payment Success Layout */
.payment-success-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 239, 229, 0.85) 70%);
}

.payment-success-panel {
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.payment-success-panel .alert {
    border-radius: 20px;
}

.payment-success-panel table {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.payment-success-panel .btn {
    border-radius: 999px;
}

/* Footer */
footer {
    background-color: #FDFBF3;
    margin-top: 60px;
    border-top: 3.5px solid #b8936a;
    border-radius: 0 !important;
    box-shadow: 0 -4px 24px rgba(111,77,56,0.09);
    position: relative;
    z-index: 1;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

/* Product Grid */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge.bg-success {
    background-color: #6F4D38 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-warning {
    background-color: #CBB799 !important;
    color: #8f6c4c;
}

.badge.bg-info {
    background-color: #A07856 !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Images */
img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 18px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Loading spinner */
.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

/* Table styles */
.table {
    border-collapse: collapse;
}

.table thead th {
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f8f9fa;
}

.table tbody tr {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Pagination */
.pagination {
    gap: 6px;
}

.pagination .page-item {
    border-radius: 999px;
    overflow: hidden;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: transparent;
    border-radius: 999px !important;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #fdfbf3;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(63, 35, 26, 0.25);
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: var(--text-muted);
    border-color: transparent;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(111, 77, 56, 0.12) 0%, rgba(192, 183, 153, 0.18) 100%);
    padding: 60px 0;
    border-radius: 10px;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Home page */
.home-hero {
    border-radius: 0;
}

.home-hero-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background-color: rgba(203, 183, 153, 0.35);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.home-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6F4D38;
}

.home-hero-visual {
    border-radius: 24px;
    background-color: #FDFBF3;
}

.home-hero-plate {
    width: 260px;
    height: 260px;
    position: relative;
}

.home-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #F5F5DC, #A07856);
    opacity: 0.9;
}

.home-hero-circle-lg {
    width: 100%;
    height: 100%;
}

.home-hero-circle-sm {
    width: 120px;
    height: 120px;
    bottom: -10px;
    right: -10px;
    filter: blur(1px);
}

.home-hero-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #8f6c4c;
    opacity: 0.92;
}

.home-categories-section {
    background-color: #f5f2ea;
}

.category-card-new {
    transition: all 0.3s ease;
}

.category-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(63, 35, 26, 0.18) !important;
}

.category-card-new:hover .category-image-container {
    transform: scale(1.05);
}

.category-image-container {
    transition: transform 0.3s ease;
}

.category-card-fallback {
    background: linear-gradient(135deg, #6F4D38 0%, #A07856 100%);
}

.category-card-body {
    min-height: 60px;
}

.category-card-title {
    font-size: 16px;
    color: #8f6c4c;
}

.home-products-section {
    background-color: #fbf7ee !important;
}

.home-product-card {
    border-radius: 16px;
}

.home-product-image-wrapper {
    width: 300px;
    height: 300px;
    margin: 12px auto 0;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-radius: 12px;
}

.home-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-product-card:hover .home-product-image {
    transform: scale(1.05);
}

.home-product-body {
    padding-bottom: 1.1rem;
}

.home-product-title {
    font-weight: 600;
}

.home-product-price strong {
    color: #6F4D38;
    font-size: 1rem;
}

.home-features-section {
    border-top: 1px solid rgba(203, 183, 153, 0.5);
}

.home-feature-icon {
    font-size: 40px;
    color: #6F4D38;
}

/* Home slider & announcement bar */

.home-announcement-bar {
    background: linear-gradient(90deg, #6F4D38, #A07856);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
}

.home-announcement-marquee {
    animation: home-announcement-scroll 28s linear infinite;
    white-space: nowrap;
}

@keyframes home-announcement-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .home-slider-container {
        height: 280px;
        padding-inline: 1rem;
    }

    .home-slider-nav-btn {
        width: 34px;
        height: 34px;
    }
}

/* Auth pages (login/register/reset/forgot) */
.auth-page {
    background: radial-gradient(circle at top left, rgba(160, 120, 86, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(203, 183, 153, 0.24), transparent 55%);
}

.auth-card {
    border-radius: 18px;
    background-color: #fffdf7;
}

.auth-illustration {
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(111, 77, 56, 0.16), rgba(245, 245, 220, 0.85));
    color: #2b1a12;
}

.auth-heading {
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-benefits li {
    margin-bottom: 0.35rem;
}

.auth-title {
    font-weight: 600;
}

.auth-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-submit-btn {
    border-radius: 999px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-weight: 600;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Footer (Lumeria-like layout) */
.hf-footer {
    background-color: #FDFBF3;
    border-top: 1px solid rgba(203, 183, 153, 0.6);
    font-size: 1rem;
}

.hf-footer-logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hf-footer-logo-img {
    height: 70px;
    width: auto;
}

.hf-footer-text {
    color: var(--text-muted);
    max-width: 360px;
}

.hf-footer-heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hf-footer-links li + li {
    margin-top: 0.45rem;
}

.hf-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.hf-footer-links a:hover {
    color: var(--primary-color);
}

.hf-footer-newsletter .hf-footer-input {
    background-color: #fbf7ee;
    border-color: rgba(203, 183, 153, 0.8);
}

.hf-footer-newsletter .hf-footer-input:focus {
    background-color: #fff;
}

.hf-footer-subscribe {
    border-radius: 999px;
}

.hf-footer-bottom {
    border-top: 1px solid rgba(203, 183, 153, 0.5);
    background-color: #FBF7EE;
}

/* Footer social icons */
.hf-footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.08);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 163, 115, 0.4);
    font-size: 0.9rem;
}

.hf-footer-social:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(111, 77, 56, 0.25);
}

/* ============ MODERN NAVBAR ============ */
.hf-modern-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    padding: 0.5rem 0;
    z-index: 1050;
    display: flex;
    align-items: center;
}

.hf-modern-nav .container {
    max-width: 1400px;
}

.hf-modern-brand {
    transition: all 0.3s ease;
}

.hf-logo-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
}

.hf-logo-glow {
    display: none;
}

.hf-modern-brand:hover .hf-logo-glow {
    display: none;
}

.hf-logo-modern {
    position: relative;
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.hf-modern-brand:hover .hf-logo-modern {
    transform: scale(1.05);
}

.hf-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--text-dark), var(--text-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.hf-modern-brand:hover .hf-brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hf-nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Desktop navigation - bold and larger */
@media (min-width: 992px) {
    .hf-nav-link {
        font-weight: 700;
        font-size: 1.75rem;
    }
}

.hf-nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(111, 77, 56, 0.05);
}

.hf-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(111, 77, 56, 0.1);
}

.hf-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.hf-cart-btn {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hf-cart-btn:hover {
    background-color: rgba(111, 77, 56, 0.1);
    color: var(--primary-color);
}

.hf-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.hf-login-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hf-login-btn:hover {
    color: var(--primary-color);
    background-color: rgba(111, 77, 56, 0.05);
}

.hf-register-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--text-dark), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hf-register-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--text-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

.hf-user-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hf-user-btn:hover {
    background-color: rgba(111, 77, 56, 0.05);
    color: var(--primary-color);
}

.hf-mobile-toggle {
    padding: 0.5rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.hf-mobile-toggle:hover {
    background-color: rgba(111, 77, 56, 0.1);
}

.hf-mobile-menu {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.hf-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.hf-mobile-link:hover,
.hf-mobile-link.active {
    color: var(--primary-color);
    background-color: rgba(111, 77, 56, 0.1);
    border-left: 4px solid var(--primary-color);
}

.hf-mobile-register {
    background: linear-gradient(135deg, var(--text-dark), var(--secondary-color));
    color: white;
    font-weight: 600;
}

.hf-mobile-register:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--text-dark));
    color: white;
}

/* ============ MARQUEE BAR ============ */
.hf-marquee-bar {
    background: linear-gradient(175deg, var(--primary-color), var(--mod-color));
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1040;
}

.hf-marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: hf-marquee-scroll 30s linear infinite;
}

.hf-marquee-content span {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
}

.hf-marquee-content span:nth-child(even) {
    opacity: 0.7;
}

@keyframes hf-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============ SLIDER ============ */
.home-slider-section {
    height: 610px;
    overflow: visible;
    position: relative;
    background-color: #111827;
}

.home-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.home-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.home-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6F4D38;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.home-slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.home-slider-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.home-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 30;
}

.home-slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.home-slider-nav-prev {
    left: 1rem;
}

.home-slider-nav-next {
    right: 1rem;
}

.home-slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 30;
}

.home-slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.home-slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.home-slider-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .home-slider-section {
        width: 100% !important;
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .home-slider-container {
        height: auto !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .home-slider {
        height: 100%;
        width: 100%;
    }
    
    .home-slider-mobile {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .home-slider-slide {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .home-slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    .home-slider-nav-btn:active {
        background: rgba(255, 255, 255, 0.6);
        transform: translateY(-50%) scale(0.95);
    }
    
    .home-slider-nav-prev {
        left: 0.75rem;
    }
    
    .home-slider-nav-next {
        right: 0.75rem;
    }
    
    .home-slider-indicators {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .home-slider-indicator {
        width: 10px;
        height: 10px;
    }
    
    .home-slider-indicator.active {
        width: 24px;
    }
    
    .home-slider-overlay {
        background: transparent;
    }
    
    .hf-marquee-content {
        font-size: 0.8rem;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .home-slider-section {
        height: 250px;
        min-height: 250px;
    }
    
    .home-slider-slide {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .home-slider-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
    
    .home-slider-nav-prev {
        left: 0.5rem;
    }
    
    .home-slider-nav-next {
        right: 0.5rem;
    }
    
    .home-slider-indicators {
        bottom: 0.75rem;
        gap: 0.4rem;
    }
    
    .home-slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .home-slider-indicator.active {
        width: 20px;
    }
}
/* Product Detail Page Styles */
.product-detail-page {
    background-color: #f7f7f9 !important;
    min-height: 100vh;
}

.product-images-card {
    border-radius: 12px !important;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    margin-top: 1rem;
}

.product-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100px;
    object-fit: cover;
}

.product-thumbnail:hover {
    border-color: #6F4D38;
}

.product-thumbnail.active {
    border-color: #6F4D38;
    box-shadow: 0 0 8px rgba(111, 77, 56, 0.3);
}

.product-details-card {
    background: transparent;
}

.product-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-status-badges .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.product-price-section {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.product-price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6F4D38;
}

.product-price-total {
    font-size: 1.75rem;
    font-weight: 700;
    color: #6F4D38;
}

.product-benefits {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-item i {
    font-size: 1.25rem;
    min-width: 1.5rem;
}

.benefit-item small {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
}

.product-variants-section {
    background-color: transparent;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.variant-btn {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #6F4D38 !important;
    background: white;
}

.variant-btn:hover {
    border-color: #6F4D38;
    background-color: #f8f6f4;
}

.variant-btn.active {
    background-color: #6F4D38;
    color: white !important;
    border-color: #6F4D38;
}

.variant-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.variant-btn.disabled:hover {
    border-color: #ddd;
    background-color: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    color: #6F4D38;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #f8f6f4;
    border-color: #6F4D38;
}

.quantity-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-add-cart-btn {
    background-color: #8B4513;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-cart-btn:hover {
    background-color: #6F3D0C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.product-meta-actions {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
}

.product-meta-actions a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.product-meta-actions a:hover {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price-main {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding-top: 1rem;
    }
    
    .product-main-image {
        min-height: 350px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price-main {
        font-size: 1.75rem;
    }
    
    .product-status-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-benefits {
        padding: 1rem;
    }
    
    .variant-buttons {
        flex-direction: column;
    }
    
    .variant-btn {
        width: 100%;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-add-cart-btn {
        width: 100%;
    }
    
    .cart-sidebar {
        width: 100%;
    }
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 400px;
    background: #F5F1E8;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    background: #E8DFD3;
    border-bottom: 2px solid #D4C4B0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-header h5 {
    margin: 0;
    font-weight: 700;
    color: #8f6c4c;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cart-sidebar-header .btn-close {
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #6b7280;
}

.cart-sidebar-header .btn-close:hover {
    color: #1e293b;
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: #ffffff;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: #6F4D38;
    font-size: 1rem;
}

.cart-item-qty {
    font-size: 0.85rem;
    color: #6b7280;
}

.cart-sidebar-footer {
    background: #E8DFD3;
    border-top: 2px solid #D4C4B0;
    padding: 1.5rem;
}

.cart-summary {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #D4C4B0;
    margin-bottom: 1.5rem;
}

.cart-summary > div {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.cart-total-line {
    padding-top: 1rem;
    border-top: 1px solid #D4C4B0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6F4D38;
    display: flex;
    justify-content: space-between;
}

.cart-total-line span:last-child {
    color: #dc3545;
}

.cart-btn-view {
    width: 100%;
    border: 2px solid #6F4D38;
    color: #6F4D38;
    background: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cart-btn-view:hover {
    background: rgba(111, 77, 56, 0.08);
    text-decoration: none;
    color: #6F4D38;
}

.cart-btn-checkout {
    width: 100%;
    background: #8B4513;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.95rem;
}

.cart-btn-checkout:hover {
    background: #6F3D0C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    color: white;
    text-decoration: none;
}

.cart-free-shipping {
    text-align: center;
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

@media (max-width: 992px) {
    .cart-sidebar {
        width: 350px;
    }
}

@media (max-width: 576px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .cart-sidebar-body {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
}

/* Flavour Selection Styles */
.flavour-option .form-check-input {
    display: none;
}

.flavour-option .form-check-label {
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.flavour-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.flavour-option .form-check-input:checked + .flavour-label .flavour-card {
    border-color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.08) 0%, rgba(40, 167, 69, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.flavour-check {
    position: absolute;
    top: 5px;
    right: 5px;
}

.flavour-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Gift Selection Styles */
.gift-option .form-check-input {
    display: none;
}

.gift-option .form-check-label {
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.gift-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gift-option .form-check-input:checked + .gift-label .gift-card {
    border-color: #8B4513;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(160, 82, 45, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
    transform: translateY(-2px);
}

.gift-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flavour-card,
    .gift-card {
        padding: 0.75rem;
        min-height: auto;
    }
    
    .flavour-name,
    .gift-name {
        font-size: 0.85rem;
    }
}

/* Authentication Pages - Premium Redesign */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background: radial-gradient(circle at top right, #fbf7f2 0%, #f0e6dc 100%);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 203, 175, 0.4) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(231, 203, 175, 0.3) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 10;
}

.auth-card-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(111, 77, 56, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 650px;
}

.auth-sidebar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-sidebar-content {
    position: relative;
    z-index: 2;
}

.auth-sidebar h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.auth-sidebar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.auth-badges {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-badge-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.auth-badge-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.15);
}

.auth-badge-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.auth-main {
    flex: 1.4;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow-y: auto;
}

.auth-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.auth-header h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.auth-form-group {
    margin-bottom: 1.75rem;
}

.auth-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.auth-forgot-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f0f0f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fbfbfb;
    color: var(--text-dark);
}

.auth-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(111, 77, 56, 0.08);
}

.auth-btn-primary {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(111, 77, 56, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auth-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(111, 77, 56, 0.35);
    color: #fff;
}

.auth-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f5f5f5;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    margin-left: 0.25rem;
}

.auth-link:hover {
    text-decoration: none;
    color: var(--secondary-color);
}

.auth-input-icon-wrapper {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: color 0.3s ease;
}

.auth-input-with-icon {
    padding-left: 3rem;
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--primary-color);
}

.auth-alert {
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.5;
}

.auth-alert-danger {
    background-color: #fff5f5;
    color: #c0392b;
    border: 1px solid #ffdede;
}

.auth-alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

@media (max-width: 991px) {
    .auth-card-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .auth-sidebar {
        padding: 3rem 2rem;
        flex: 0 0 auto;
        border-radius: 20px 20px 0 0;
    }
    
    .auth-badges {
        display: none;
    }
    
    .auth-main {
        padding: 3rem 2rem;
        border-radius: 0 0 20px 20px;
    }
    
    .auth-wrapper {
        padding: 1rem;
        align-items: flex-start;
    }
    
    .auth-container {
        margin-top: 1rem;
    }
}

/* ========== OTP & AUTH STYLES ========== */

.auth-divider {
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 0.85rem;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.auth-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.auth-btn-primary {
    background-color: #d4a373;
    color: white;
    border: 2px solid #d4a373;
}

.auth-btn-primary:hover {
    background-color: #c09464;
    border-color: #c09464;
}

.auth-btn-outline-primary {
    background-color: transparent;
    color: #d4a373;
    border: 2px solid #d4a373;
}

.auth-btn-outline-primary:hover {
    background-color: #d4a373;
    color: white;
}

.otp-input {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    text-align: center;
    font-weight: 600;
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.otp-input:focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 0.2rem rgba(212, 163, 115, 0.25);
    outline: none;
}

.otp-timer {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.link {
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    text-decoration: underline;
}

/* ============ CATEGORY PAGE MOBILE RESPONSIVE ============ */
/* Hide Categories, Price Range, and Results Controls Bar on mobile */
@media (max-width: 768px) {
    /* Hide category hero section on mobile */
    .category-hero-section {
        display: none !important;
    }
    
    /* Hide sidebar filters on mobile */
    .category-page-container .col-lg-3 {
        display: none !important;
    }
    
    /* Hide Results and Controls Bar on mobile */
    .products-controls-bar {
        display: none !important;
    }
    
    /* Hide results count on mobile */
    .controls-left {
        display: none !important;
    }
    
    /* Hide Show and Sort controls on mobile */
    .controls-right {
        display: none !important;
    }
    
    /* Make main content full width on mobile */
    .category-page-container .col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Hide categories section on desktop */
@media (min-width: 769px) {
    .categories-section {
        display: none !important;
    }
}
