/* Base Styles */
:root {
    --primary-color: #d62828;
    --primary-dark: #b31818;
    --primary-light: #f94144;
    --secondary-color: #f8961e;
    --secondary-dark: #f3722c;
    --accent-color: #90be6d;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --gray-dark: #dddddd;
    --gray-darker: #999999;
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-block;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--gray-darker);
}

.btn-tertiary:hover {
    background-color: var(--gray-color);
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

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

nav li {
    margin-left: 30px;
    position: relative;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

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

.cart-icon {
    position: relative;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/1600x900/?pizza,italian') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    color: var(--light-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Advantages Section */
.advantages {
    background-color: var(--gray-color);
    padding: 80px 0;
    text-align: center;
}

.advantages h2 {
    margin-bottom: 40px;
}

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

.advantage-item {
    background-color: var(--light-color);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.advantage-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.advantage-item p {
    color: var(--gray-darker);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.stat-item {
    padding: 0 20px;
}

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

.cta {
    margin-top: 50px;
}

.cta h3 {
    margin-bottom: 20px;
}

/* About Products Section */
.about-products {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-products h2 {
    margin-bottom: 30px;
    text-align: center;
}

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

.countdown-container {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 50px 0;
    text-align: center;
}

.countdown-container h3 {
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    min-width: 80px;
}

.countdown-item span {
    font-size: 32px;
    font-weight: bold;
    display: block;
}

.countdown-item p {
    font-size: 14px;
    margin: 0;
}

.article-highlights {
    background-color: var(--gray-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-highlights h3 {
    margin-top: 0;
}

.article-highlights ul {
    margin-bottom: 0;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

.product-card:hover {
    transform: translateY(-5px);
}

.product-card.mini {
    text-align: center;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card.mini img {
    height: 160px;
}

.product-info {
    padding: 20px;
}

.product-card h3,
.product-card.mini h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.product-card.mini h3 {
    font-size: 18px;
    padding: 0 10px;
}

.price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.description {
    margin-bottom: 20px;
    color: var(--gray-darker);
}

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.product-card.mini .product-actions {
    padding: 0 15px 15px;
    flex-direction: column;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 20px;
}

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

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-links a {
    color: var(--gray-darker);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-color);
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--gray-darker);
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 15px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 15px;
}

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

.cookie-buttons button {
    font-size: 14px;
    padding: 8px 16px;
}

.cookie-more-info {
    font-size: 12px;
    margin-top: 10px;
    color: var(--gray-darker);
}

.cookie-more-info a {
    color: var(--light-color);
    text-decoration: underline;
}

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

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

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-darker);
}

.product-detail h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

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

.stars {
    color: var(--secondary-color);
    margin-right: 10px;
}

.rating-count {
    color: var(--gray-darker);
    font-size: 14px;
}

.product-description {
    margin-bottom: 30px;
}

.product-attributes {
    margin-bottom: 30px;
}

.attribute {
    margin-bottom: 15px;
}

.attribute-label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.attribute-options {
    display: flex;
    gap: 10px;
}

.attribute-option {
    border: 1px solid var(--gray-darker);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    background-color: var(--light-color);
    transition: all 0.3s;
}

.attribute-option.selected {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.attribute-option:hover:not(.selected) {
    border-color: var(--primary-color);
}

.quantity-selector {
    margin-bottom: 30px;
}

.quantity-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

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

.quantity-buttons button {
    background-color: var(--gray-color);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-buttons button:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.quantity-buttons button:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quantity-buttons input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--gray-color);
    border-left: none;
    border-right: none;
    font-size: 16px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-dark);
    margin-bottom: 30px;
}

.tab-button {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
    margin-bottom: 30px;
}

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

.nutritional-table {
    width: 100%;
    border-collapse: collapse;
}

.nutritional-table td {
    padding: 8px;
    border-bottom: 1px solid var(--gray-dark);
}

.nutritional-table tr td:first-child {
    font-weight: 500;
}

.nutritional-table tr:last-child td {
    border-bottom: none;
}

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

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

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-stars {
    margin-right: 15px;
    color: var(--secondary-color);
}

.review-title {
    font-weight: bold;
}

.review-author {
    font-size: 14px;
    color: var(--gray-darker);
    margin-bottom: 10px;
}

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

.related-products h3 {
    margin-bottom: 30px;
    text-align: center;
}

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

/* About Us Page */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/1600x400/?pizza,restaurant') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    color: var(--light-color);
    text-align: center;
}

.page-banner h1 {
    color: var(--light-color);
    margin-bottom: 15px;
}

.about-story {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-list {
    margin-bottom: 30px;
}

.mission-card,
.values-card {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.values-card ul {
    margin-bottom: 0;
}

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

.team-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

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

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

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

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

.team-member h3 {
    margin: 15px 0 5px;
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 10px;
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member .social-icons {
    justify-content: center;
    margin: 15px 0;
}

.team-member .social-icons a {
    width: 30px;
    height: 30px;
    background-color: var(--gray-color);
    color: var(--dark-color);
}

.achievements {
    padding: 80px 0;
}

.achievements h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.achievement-item {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.achievement-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.achievement-item h3 {
    margin-bottom: 10px;
}

.achievement-item p {
    margin-bottom: 0;
    color: var(--gray-darker);
}

.testimonials {
    background-color: var(--gray-color);
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

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

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: 10px;
    color: var(--gray-dark);
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author p {
    margin-bottom: 0;
    text-align: right;
    color: var(--gray-darker);
}

.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

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

.contact-info h2 {
    margin-bottom: 20px;
}

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

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

.contact-method {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

.contact-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-details p,
.contact-details address {
    margin-bottom: 0;
}

.contact-hours {
    font-size: 14px;
    color: var(--gray-darker);
}

.social-icons-small {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons-small a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons-small a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.business-info h3 {
    margin-bottom: 15px;
}

.business-info p {
    color: var(--gray-darker);
}

.contact-form-container h2 {
    margin-bottom: 25px;
}

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

.form-group {
    flex: 1 1 calc(50% - 10px);
}

.form-group.full-width {
    flex: 1 1 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

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

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

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--gray-darker);
}

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

.cart-empty {
    text-align: center;
    padding: 60px 0;
}

.cart-empty-icon {
    font-size: 60px;
    color: var(--gray-darker);
    margin-bottom: 20px;
}

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

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

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding: 15px 10px;
    border-bottom: 2px solid var(--gray-dark);
    font-weight: 500;
}

.cart-table td {
    padding: 15px 10px;
    border-bottom: 1px solid var(--gray-dark);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-info {
    margin-left: 15px;
}

.cart-product-name {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-product-variant {
    font-size: 14px;
    color: var(--gray-darker);
}

.cart-quantity-selector {
    width: fit-content;
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-darker);
    transition: color 0.3s;
}

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

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

.cart-summary {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.cart-totals {
    margin-bottom: 30px;
}

.cart-subtotal,
.cart-tax,
.cart-delivery,
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid var(--gray-dark);
    padding-top: 15px;
    margin-bottom: 30px;
}

.cart-checkout {
    margin-bottom: 20px;
}

.cart-checkout .btn-primary {
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.cart-notes {
    font-size: 14px;
    color: var(--gray-darker);
}

.cart-notes p {
    margin-bottom: 5px;
}

.cart-notes p:last-child {
    margin-bottom: 0;
}

.recommended-section {
    background-color: var(--gray-color);
    padding: 80px 0;
}

.recommended-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

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

.checkout-form h2 {
    margin-bottom: 25px;
}

.order-summary {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    margin-bottom: 25px;
}

#order-items {
    margin-bottom: 30px;
}

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

.order-item-name {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.order-item-price {
    text-align: right;
}

.order-totals {
    margin-bottom: 30px;
}

.order-subtotal,
.order-tax,
.order-delivery,
.order-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid var(--gray-dark);
    padding-top: 15px;
    margin-bottom: 0;
}

.back-to-cart {
    margin-top: 30px;
}

.back-to-cart .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Success Page */
.success-section {
    padding: 80px 0;
    text-align: center;
}

.success-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 80px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.success-message {
    font-size: 20px;
    margin-bottom: 30px;
}

.success-details {
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.newsletter-section {
    background-color: var(--gray-color);
    padding: 80px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin: 30px 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.newsletter-privacy {
    font-size: 14px;
    color: var(--gray-darker);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: var(--dark-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
}

.form-success h2 {
    color: var(--light-color);
    margin-bottom: 15px;
}

.form-success p {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav li {
        margin: 0 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-product-image {
        display: none;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        margin: 0 auto;
    }
}
