/* 
 * CedulaNetix - Mexican Cultural Experiences
 * Main Stylesheet
 * 2024
 */

/* Base styles and resets */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #9a0007;
    --primary-light: #ff6659;
    --secondary-color: #4a148c;
    --secondary-dark: #12005e;
    --secondary-light: #7c43bd;
    --accent-color: #ffab00;
    --text-dark: #333333;
    --text-light: #f8f9fa;
    --gray-light: #f0f0f0;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575;
    --success-color: #388e3c;
    --warning-color: #f57c00;
    --error-color: #d32f2f;
    --border-radius: 4px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --container-width: 1200px;
    --header-height: 80px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    color: var(--secondary-light);
}

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    font-size: 1rem;
}

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

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

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

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

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

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

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

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

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

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

.logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

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

nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

nav a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 120px 0;
    text-align: center;
}

.hero h1, .hero h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefit-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.benefit-box {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-box svg {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-box h3 {
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta {
    text-align: center;
}

/* About Products Section */
.about-products {
    padding: 80px 0;
    background-color: white;
}

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

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

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.products h2, .products h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.products h3 {
    margin-bottom: 3rem;
    color: var(--gray-dark);
    font-weight: 400;
}

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

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

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

.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: 20px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.description {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

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

.product-actions .btn {
    flex: 1;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 15px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
}

.author {
    text-align: right;
    font-weight: 600;
}

.feedback-btn {
    display: block;
    margin: 0 auto;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

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

/* Footer */
footer {
    background-color: #333;
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.footer-links h3, .footer-contact h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

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

.footer-contact p {
    margin-bottom: 0.5rem;
}

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

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: var(--text-light);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
}

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

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

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

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

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent-color);
}

.availability {
    color: var(--success-color);
    font-weight: 500;
}

.product-price {
    margin-bottom: 2rem;
}

.product-price .price {
    font-size: 1.8rem;
}

.product-description h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.product-description ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-form {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
}

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

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

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

select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 1rem;
}

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

.product-actions button {
    flex: 1;
}

/* Tabs */
.additional-info {
    margin-bottom: 60px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-dark);
    transition: all 0.3s ease;
}

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

.tab-content {
    display: none;
}

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

.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.large-rating {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-weight: 500;
}

.date {
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
}

/* Related Products */
.related-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* About Page */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/5.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1, .page-header h2 {
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.about-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.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(--shadow-sm);
    text-align: center;
    padding-bottom: 1.5rem;
}

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

.team-member h3 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--gray-dark);
    padding: 0 1rem;
}

.team-member .social-icons {
    justify-content: center;
}

.achievements {
    padding: 80px 0;
}

.achievements h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.achievement {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.achievement-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

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

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

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-text h3 {
    margin-bottom: 0.25rem;
}

.social-connect h3 {
    margin-bottom: 1rem;
}

.contact-form {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

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

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

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

.contact-form textarea {
    resize: vertical;
}

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

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.875rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

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

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

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

.cart-empty {
    text-align: center;
    padding: 3rem;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

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

.cart-empty p {
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

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

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

.cart-items th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--gray-medium);
}

.cart-items td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-medium);
    vertical-align: middle;
}

.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: 500;
}

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

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cart-summary {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    align-self: flex-start;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-item.total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.summary-line {
    height: 1px;
    background-color: var(--gray-medium);
    margin: 1rem 0;
}

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

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

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

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

.checkout-steps {
    display: flex;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: calc(100% - 40px);
    height: 2px;
    background-color: var(--gray-medium);
    z-index: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--gray-medium);
    color: var(--text-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.step-name {
    display: block;
    font-weight: 500;
}

.checkout-page {
    display: none;
}

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

.order-items {
    margin-bottom: 2rem;
}

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

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

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

.item-details {
    flex: 1;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.item-total {
    font-weight: 500;
}

.order-summary {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

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

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background-color: var(--gray-medium);
    margin: 1rem 0;
}

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

.form-section {
    margin-bottom: 2rem;
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

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

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

.order-security,
.need-help,
.policies-summary {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.help-contact {
    margin-top: 1.5rem;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.policy-item {
    margin-bottom: 1rem;
}

.policy-item h4 {
    margin-bottom: 0.5rem;
}

.policy-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
}

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

.success-message {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.success-message h1 {
    margin-bottom: 1rem;
}

.email-note {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.next-steps {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: left;
    margin-bottom: 2rem;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-experience {
    padding: 60px 0;
    background-color: var(--gray-light);
    text-align: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.email {
    background-color: #ea4335;
}

.share-btn:hover {
    opacity: 0.9;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .contact-columns {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .checkout-process {
        grid-template-columns: 1fr;
    }
    
    .cart-contents {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .benefits {
        padding: 60px 0;
    }
    
    .stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    header {
        position: relative;
        height: auto;
        padding: 15px 0;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .benefit-boxes {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-list {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-items {
        display: block;
        width: 100%;
    }
    
    .cart-items thead {
        display: none;
    }
    
    .cart-items tbody, .cart-items tr, .cart-items td {
        display: block;
        width: 100%;
    }
    
    .cart-items tr {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background-color: var(--gray-light);
        border-radius: var(--border-radius);
    }
    
    .cart-items td {
        text-align: right;
        padding: 0.5rem 0;
        border: none;
    }
    
    .cart-items td::before {
        content: attr(data-label);
        float: left;
        font-weight: 500;
    }
}

/* Animation for elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero h2, .hero p, .hero .btn {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero h2 {
    animation-delay: 0.3s;
}

.hero p {
    animation-delay: 0.5s;
}

.hero .btn {
    animation-delay: 0.7s;
    opacity: 0;
}

.benefit-box {
    animation: fadeIn 0.6s ease-out forwards;
}

.benefit-box:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-box:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-box:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-box:nth-child(4) {
    animation-delay: 0.4s;
}
