/* ===== VARIABLES ===== */
:root {
    --primary: #d4a574; /* Warm bread color */
    --primary-dark: #b8864a;
    --secondary: #8b4513; /* Chocolate/crust color */
    --secondary-light: #a05a2c;
    --accent: #a52a2a; /* Berry red */
    --accent-light: #c33;
    --light: #f8f4e9; /* Cream/off-white */
    --light-gray: #f0ede4;
    --dark: #333333;
    --text-light: #666;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --container-width: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding-top: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.9);
    color: white;
    padding: 12px 28px;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.95);
    color: var(--secondary);
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--accent);
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

.cart-icon {
    position: relative;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    background: none;
    border: none;
    padding: 5px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    margin: 20px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.35);
}

.hero .tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.95;
    font-family: 'Playfair Display', serif;
}

.hero .description {
    font-size: 1.15rem;
    margin: 0 auto 35px;
    opacity: 0.95;
    max-width: 800px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER (for sub-pages) ===== */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    margin: 20px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.35);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== LOCAL BANNER ===== */
.local-banner {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    padding: 30px;
    margin: 30px auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: var(--container-width);
    width: 90%;
}

.local-banner h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.local-banner i {
    margin-right: 10px;
    color: var(--primary);
}

.local-banner p {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== PRODUCTS PAGE STYLES ===== */
.category-title {
    font-size: 2.2rem;
    color: var(--secondary);
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-price {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
}

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

/* ===== ABOUT PAGE STYLES ===== */
.about-section {
    padding: 60px 0;
    background-color: white;
    margin: 40px 0;
    border-radius: var(--border-radius);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    padding-right: 20px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 165, 116, 0.3);
}

.feature i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding: 40px 0;
}

.contact-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--secondary);
}

.contact-simple {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 4px;
    min-width: 24px;
}

.contact-item .label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item .value {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-item .note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 6px;
    font-style: italic;
}

.markets-info, .delivery-info {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 2px solid var(--light-gray);
}

.markets-info h3, .delivery-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.market-item p {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.market-item strong {
    color: var(--secondary);
}

.delivery-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== CART PAGE STYLES ===== */
.cart-page {
    padding: 40px 0;
    min-height: 500px;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items-list {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.cart-item-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cart-item-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background-color: white;
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    font-size: 1rem;
}

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

.quantity-control span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.remove-item {
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Open Sans', sans-serif;
}

.remove-item:hover {
    background-color: rgba(165, 42, 42, 0.1);
}

.cart-summary {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
    color: var(--secondary);
    font-size: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary);
    border-bottom: 2px solid var(--light);
    padding-top: 15px;
}

.checkout-btn {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    font-size: 1.1rem;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.empty-cart h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.8rem;
}

.empty-cart p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== CHECKOUT PAGE STYLES ===== */
.checkout-page {
    padding: 40px 0;
    min-height: 600px;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Progress Steps */
.checkout-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    padding: 0 20px;
}

.checkout-progress:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    border: 3px solid white;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(212, 165, 116, 0.2);
}

.progress-step.completed .step-number {
    background-color: var(--primary);
    color: white;
}

.step-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-step.completed .step-label {
    color: var(--primary);
}

/* Checkout Content */
.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.checkout-left h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--secondary);
}

/* Checkout Items */
.checkout-items {
    margin-bottom: 30px;
}

.checkout-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.checkout-item-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.checkout-item-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-item-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Checkout Form */
.checkout-form {
    margin-top: 20px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea,
.checkout-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus,
.checkout-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.checkout-form .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Payment Methods */
.payment-methods {
    margin: 30px 0;
}

.payment-method {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method.active {
    border-color: var(--primary);
    background-color: rgba(212, 165, 116, 0.05);
}

.payment-method:hover {
    border-color: var(--primary);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.method-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.method-header h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

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

.method-details {
    padding-left: 40px;
}

.method-details p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.method-details .note {
    background-color: rgba(212, 165, 116, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.method-details .note i {
    color: var(--primary);
    margin-right: 5px;
}

/* Terms Agreement */
.terms-agreement {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--border-radius);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    transform: scale(1.2);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-label a:hover {
    color: var(--primary-dark);
}

/* Order Summary Sidebar */
.checkout-sidebar {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.checkout-sidebar h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.1);
    color: var(--secondary);
    font-size: 1.5rem;
}

.order-summary-details {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    color: var(--text-light);
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 10px;
}

/* Confirmation Page */
.confirmation-container {
    text-align: center;
    padding: 60px 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 30px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    80% { transform: translateY(-10px); }
}

.confirmation-container h2 {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--secondary);
}

.confirmation-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.detail-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    box-shadow: var(--shadow);
}

.detail-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card h3 i {
    color: var(--primary);
}

.detail-card p {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.detail-card strong {
    color: var(--secondary);
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.confirmation-note {
    background-color: rgba(212, 165, 116, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    text-align: left;
}

.confirmation-note p {
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.confirmation-note i {
    color: var(--primary);
    margin-top: 3px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--secondary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    margin: 20px 0 10px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.modal-body p {
    margin-bottom: 8px;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--light-gray);
    text-align: right;
    background-color: var(--light);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 3000;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
    font-weight: 600;
    max-width: 300px;
    font-size: 0.95rem;
}

.notification.error {
    background-color: var(--accent);
}

.notification.info {
    background-color: var(--primary);
}

@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1; 
    }
    to { 
        opacity: 0; 
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 70px 0 25px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.footer-about p {
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.3rem;
    color: white;
}

.social a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-section h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
    display: inline-block;
    font-size: 1.05rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links li:not(a) {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-size: 1.05rem;
}

.contact-info i {
    margin-right: 12px;
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

#currentYear {
    font-weight: bold;
    color: var(--primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero h1, .page-header h1 {
        font-size: 2.8rem;
    }

    .hero .tagline {
        font-size: 1.6rem;
    }
    
    .about-content, .contact-container, .cart-container, .checkout-content {
        gap: 30px;
    }
    
    .checkout-progress:before {
        left: 40px;
        right: 40px;
    }
}

@media (max-width: 992px) {
    .hero h1, .page-header h1 {
        font-size: 2.4rem;
    }

    .hero, .page-header {
        padding: 60px 0 30px;
        margin: 15px;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }

    .about-content, .contact-container, .cart-container, .checkout-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .checkout-sidebar {
        position: static;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .hero h1, .page-header h1 {
        font-size: 2rem;
    }

    .hero .tagline, .page-header p {
        font-size: 1.3rem;
    }

    .hero .description {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature {
        padding: 25px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .local-banner {
        padding: 25px;
        margin: 25px auto;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .footer-logo-text {
        font-size: 1.8rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .cart-item-image {
        margin: 0 auto;
    }
    
    .cart-item-controls {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .checkout-progress {
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .progress-step {
        flex: 0 0 calc(50% - 10px);
    }
    
    .progress-step:not(:last-child):after {
        display: none;
    }
    
    .checkout-progress:before {
        display: none;
    }
    
    .checkout-content {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .confirmation-details {
        grid-template-columns: 1fr;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
    
    .confirmation-container {
        padding: 40px 20px;
    }
    
    .confirmation-container h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .hero, .page-header {
        padding: 50px 0 25px;
        margin: 10px;
    }

    .hero h1, .page-header h1 {
        font-size: 1.8rem;
    }

    .hero .tagline, .page-header p {
        font-size: 1.2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .footer-logo-text {
        font-size: 1.6rem;
    }
    
    .contact-simple {
        padding: 25px 20px;
    }
    
    .checkout-page {
        padding: 30px 0;
    }
    
    .progress-step {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
    
    .confirmation-container {
        padding: 30px 15px;
    }
    
    .confirmation-container h2 {
        font-size: 1.8rem;
    }
    
    .confirmation-subtitle {
        font-size: 1.1rem;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .notification {
        max-width: 250px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }
    
    .cart-items-list, .cart-summary, .checkout-sidebar {
        padding: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text {
        padding-right: 0;
    }
}

/* Print styles */
@media print {
    header, footer, .notification, .mobile-toggle, .hero-buttons, .add-to-cart, .btn-secondary {
        display: none !important;
    }
    
    .confirmation-container {
        box-shadow: none;
        padding: 0;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .detail-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}