/* Base Styles & Variables */
:root {
    --primary-color: #c02d28;
    --primary-dark: #981f1c;
    --primary-light: #e14a44;
    --secondary-color: #4f3222;
    --secondary-light: #7a5036;
    --accent-color: #f9a03f;
    --background-color: #ffffff;
    --background-alt: #f8f8f8;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #222222;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-light);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 2px;
    width: 100%;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: white;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Advantages Section */
.advantages {
    padding: var(--section-padding);
    background-color: var(--background-alt);
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(192, 45, 40, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-item .icon svg {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.advantage-item h3 {
    margin-bottom: 15px;
}

.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.cta {
    text-align: center;
    margin-top: 40px;
}

.cta h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* About Products Section */
.about-products {
    padding: var(--section-padding);
}

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

.about-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-content ul li {
    margin-bottom: 8px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--background-alt);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-item .quote {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-item .quote svg {
    color: white;
}

.testimonial-item p {
    margin-bottom: 20px;
}

.testimonial-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.rating {
    color: var(--accent-color);
    margin-top: 5px;
}

/* Products Section */
.products {
    padding: var(--section-padding);
}

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
}

.product-card .price {
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-card p {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    height: 60px;
    overflow: hidden;
}

.product-actions {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-info h2 {
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
}

.availability {
    background-color: #e6f7e9;
    color: #2e7d32;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: var(--accent-color);
    margin-right: 8px;
}

.review-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-description {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.nutrition-info {
    margin-top: 20px;
    background-color: var(--background-alt);
    padding: 15px;
    border-radius: var(--border-radius);
}

.nutrition-info table {
    width: 100%;
}

.nutrition-info table td {
    padding: 5px 0;
}

.nutrition-info table td:first-child {
    font-weight: 600;
    width: 50%;
}

.options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 15px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
}

.quantity {
    margin-bottom: 30px;
}

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

.qty-btn {
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#decreaseQty {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

#increaseQty {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

#qty {
    width: 60px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-tabs {
    margin-bottom: 60px;
}

.tab-headers {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.review-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.average-rating {
    text-align: center;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 10px;
}

.rating-bars {
    width: 60%;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-level {
    width: 70px;
}

.bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: var(--background-alt);
    border-radius: 10px;
    margin: 0 15px;
}

.bar {
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 10px;
}

.percentage {
    width: 40px;
    text-align: right;
}

.review {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-content p {
    color: var(--text-light);
}

.delivery-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-block {
    background-color: var(--background-alt);
    padding: 20px;
    border-radius: var(--border-radius);
}

.info-block h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-block ul {
    list-style-type: disc;
    padding-left: 20px;
}

.related-products {
    margin-top: 40px;
}

.related-products h2 {
    margin-bottom: 30px;
}

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

/* Real-Time Clock */
.real-time-clock {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.clock-container {
    display: inline-block;
}

#clock {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* About Page */
.about-intro {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text h2 {
    margin-bottom: 20px;
}

.our-mission {
    padding: 60px 0;
    background-color: var(--background-alt);
}

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

.mission-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mission-item .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(192, 45, 40, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-item .icon svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-statement blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    padding: 0 40px;
}

.mission-statement blockquote::before,
.mission-statement blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
}

.mission-statement blockquote::before {
    left: 0;
}

.mission-statement blockquote::after {
    right: 0;
    transform: rotate(180deg);
}

.our-food {
    padding: 60px 0;
}

.food-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.food-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.food-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-box h4 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 5px;
}

.team-section {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0 15px;
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 15px;
}

.team-member .social-links a {
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.team-member .social-links a:hover {
    background-color: var(--primary-color);
}

.team-member .social-links a:hover svg {
    color: white;
}

.milestones {
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
}

.timeline-item:nth-child(odd) .content {
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) .content {
    padding-left: 40px;
    margin-left: auto;
}

.year {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.content {
    width: 45%;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sustainability {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.sustainability-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sustainability-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sustainability-item .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(192, 45, 40, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustainability-item .icon svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.sustainability-item h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Contact Page */
.contact-main {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-card .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(192, 45, 40, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card p {
    margin-bottom: 5px;
}

.info-card a {
    color: var(--primary-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

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

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

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

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

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

.full-width {
    grid-column: 1 / -1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: #4caf50;
    margin-bottom: 20px;
}

.form-success h3 {
    margin-bottom: 15px;
    color: #4caf50;
}

.faq-section {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    display: none;
    padding: 0 30px 20px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
}

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

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.item-quantity button {
    width: 30px;
    height: 30px;
    background-color: var(--background-alt);
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.item-quantity input {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 0.9rem;
}

.remove-item {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: var(--primary-color);
}

.empty-cart {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 60px 30px;
    text-align: center;
    grid-column: 1 / -1;
}

.empty-cart-icon {
    width: 80px;
    height: 80px;
    background-color: var(--background-alt);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon svg {
    color: var(--text-light);
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.cart-summary h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.total {
    font-weight: 700;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.continue-shopping {
    text-align: center;
    margin-bottom: 20px;
}

.continue-shopping a {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition);
}

.continue-shopping a:hover {
    color: var(--primary-color);
}

.continue-shopping svg {
    margin-right: 8px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.recommendations {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.recommended-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
}

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

.checkout-main {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
    position: relative;
    width: 50%;
}

.checkout-step::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

.checkout-step:last-child::after {
    display: none;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    z-index: 2;
}

.checkout-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step-label {
    font-weight: 600;
    color: var(--text-light);
}

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

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.checkout-sidebar {
    align-self: start;
}

.order-summary {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 20px;
}

.order-summary h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item .item-details {
    flex-direction: column;
}

.checkout-item .item-quantity {
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkout-info {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background-color: rgba(192, 45, 40, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item .icon svg {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

.info-content h4 {
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Success Page */
.success-section {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.success-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.success-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    color: #4caf50;
}

.confirmation-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.next-steps {
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    padding: 20px;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    color: var(--primary-color);
}

.step h3 {
    margin-bottom: 10px;
}

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

.estimated-delivery, .support-info {
    margin-bottom: 30px;
}

.action-buttons {
    margin-top: 40px;
}

.success-recommendations {
    padding: 60px 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9999;
    max-width: 480px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-policy-link {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
}

address p {
    margin-bottom: 8px;
}

address a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

address a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a svg {
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

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

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .food-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .content {
        padding-right: 0;
        text-align: left;
        padding-left: 80px;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) .content {
        padding-left: 80px;
        margin-left: 0;
    }

    .year {
        left: 30px;
        transform: none;
    }

    .content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    header .container {
        height: 70px;
    }

    .logo img {
        height: 50px;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

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

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .product-layout,
    .cart-content,
    .contact-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        flex-direction: column;
        gap: 20px;
    }

    .checkout-step {
        width: 100%;
    }

    .checkout-step::after {
        display: none;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 40px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .success-content {
        padding: 30px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}
