/* 
Tops Pizza UK - Main Stylesheet
Color scheme: Red, orange, white, and dark gray
*/

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #e41e26;
    --primary-dark: #c41e24;
    --secondary-color: #ff9800;
    --secondary-dark: #e68a00;
    --text-color: #333333;
    --light-text: #666666;
    --lighter-text: #999999;
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #eeeeee;
    --medium-gray: #dddddd;
    --dark-gray: #444444;
    --black: #222222;
    --success: #4caf50;
    --error: #f44336;
    --warning: #ff9800;
    --info: #2196f3;
    
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 300px;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.6rem;
    color: var(--black);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.6rem;
}

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

.text-muted {
    color: var(--light-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    text-decoration: none;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--medium-gray);
}

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

.btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1.8rem;
}

.btn-small {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 100%;
    width: auto;
}

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

nav ul {
    display: flex;
    gap: 2.4rem;
}

nav a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding: 0.8rem 0;
}

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

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

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

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

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

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature svg {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature h3 {
    margin-bottom: 1.5rem;
}

/* Products Section */
.products {
    padding: 6rem 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 4rem;
}

#spell-check {
    display: block;
    margin: 0 auto 4rem;
}

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

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

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

.product-image {
    height: 200px;
    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-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.product-info p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-slider {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.8rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 6rem 0 3rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-links h3, 
.footer-contact h3, 
.footer-social h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-contact a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.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: var(--transition);
}

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

.social-icons svg {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    color: var(--medium-gray);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    padding: 2rem;
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-policy {
    font-size: 1.4rem;
}

.cookie-policy a {
    color: var(--secondary-color);
}

.cookie-policy a:hover {
    text-decoration: underline;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

/* Product Detail Page */
.product-detail {
    padding: 6rem 0;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.breadcrumbs a {
    color: var(--light-text);
}

.breadcrumbs span {
    color: var(--text-color);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.product-detail-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info h1 {
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
}

.stars svg {
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
}

.product-detail-info .product-price {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.product-description {
    margin-bottom: 2.5rem;
}

.product-meta {
    margin-bottom: 2.5rem;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 2rem 0;
}

.product-meta-item {
    margin-bottom: 1rem;
}

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

.product-meta-item strong {
    font-weight: 600;
}

.product-quantity {
    margin-bottom: 2.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border: none;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn.minus {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.quantity-btn.plus {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

#quantity {
    width: 60px;
    height: 40px;
    border: 1px solid var(--light-gray);
    text-align: center;
    font-size: 1.6rem;
    -moz-appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-actions {
    display: flex;
    gap: 1.5rem;
}

/* Related Products */
.related-products {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

/* About Page */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.about-story {
    padding: 6rem 0;
}

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

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-values {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.about-values h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.value-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.value-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.team-section {
    padding: 6rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 3px solid var(--primary-color);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--light-text);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: var(--transition);
}

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

.member-social a svg {
    color: var(--text-color);
    width: 18px;
    height: 18px;
}

.member-social a:hover svg {
    color: var(--white);
}

.about-cta {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-cta h2 {
    color: var(--white);
    font-size: 3.6rem;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Contact Page */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    background-color: var(--off-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.info-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    color: var(--white);
}

.info-content h3 {
    margin-bottom: 0.5rem;
}

.social-contact {
    margin-top: 4rem;
}

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

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

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

.map-section {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-section {
    padding: 6rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-item {
    margin-bottom: 2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
}

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

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

.faq-toggle {
    font-size: 2.4rem;
    font-weight: 700;
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
}

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

/* Cart Page */
.cart-section {
    padding: 6rem 0;
}

.cart-empty {
    text-align: center;
    padding: 6rem 0;
}

.cart-empty svg {
    color: var(--medium-gray);
    margin: 0 auto 2rem;
}

.cart-empty h2 {
    margin-bottom: 1rem;
}

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

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

.cart-items-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

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

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    font-weight: 600;
}

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

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.cart-item-name {
    font-weight: 600;
}

.cart-item-price,
.cart-item-total {
    font-weight: 600;
}

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

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

.cart-quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border: none;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-btn.minus {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.cart-quantity-btn.plus {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.cart-quantity-input {
    width: 40px;
    height: 30px;
    border: 1px solid var(--light-gray);
    text-align: center;
    font-size: 1.4rem;
    -moz-appearance: textfield;
}

.cart-quantity-input::-webkit-outer-spin-button,
.cart-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-remove {
    cursor: pointer;
    color: var(--error);
}

.cart-summary {
    background-color: var(--off-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    align-self: start;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.summary-item.total {
    font-size: 2rem;
    font-weight: 700;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.summary-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-promo {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--medium-gray);
}

.promo-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.promo-form input {
    flex: 1;
    padding: 1.2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

.suggested-products {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.suggested-products h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.suggested-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* Checkout Page */
.checkout-section {
    padding: 6rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

#checkout-form .form-group {
    margin-bottom: 2rem;
}

#checkout-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

#checkout-form input,
#checkout-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

#checkout-form input:focus,
#checkout-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: auto !important;
}

.checkbox-group label {
    margin-bottom: 0 !important;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.order-summary {
    background-color: var(--off-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    align-self: start;
}

.checkout-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--medium-gray);
}

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

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

.checkout-item-info {
    flex: 1;
}

.checkout-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.checkout-item-price {
    font-weight: 600;
    font-size: 1.6rem;
}

.summary-totals {
    margin-top: 2rem;
}

.checkout-secure {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.secure-icon {
    width: 40px;
    height: 40px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secure-icon svg {
    color: var(--white);
}

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

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 120px;
    height: 120px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
}

.success-icon svg {
    color: var(--white);
}

.success-content h1 {
    margin-bottom: 1.5rem;
}

.success-content p {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-actions {
    margin-top: 3rem;
}

.success-info {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.info-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.info-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.more-offers {
    padding: 6rem 0;
}

.more-offers h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.more-offers > p {
    text-align: center;
    margin-bottom: 4rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .product-detail-content {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: var(--box-shadow);
    }
    
    nav.active {
        height: auto;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-item-price, 
    .cart-item-quantity, 
    .cart-item-total {
        justify-self: flex-start;
    }
    
    .cart-item-remove {
        justify-self: flex-end;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
