/* ShieldCase E-commerce Website Styles */

/* Base styles */
:root {
    --primary-color: #3d5afe; /* Vibrant blue */
    --secondary-color: #304ffe;
    --accent-color: #536dfe;
    --light-color: #f5f7ff;
    --dark-color: #212121;
    --gray-color: #757575;
    --light-gray: #e0e0e0;
    --success-color: #00c853;
    --danger-color: #ff1744;
    --warning-color: #ffc400;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9fafb;
}

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

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

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

nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

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

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

.cart-icon {
    position: relative;
    display: flex;
}

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

/* Hero Section */
.hero {
    background-color: var(--light-color);
    padding: 5rem 0;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(61, 90, 254, 0.1) 0%, rgba(83, 109, 254, 0.1) 100%);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

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

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

.feature-item {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 4rem 0;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.cta {
    text-align: center;
    margin-top: 3rem;
}

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

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

.summary {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: var(--box-shadow);
}

.summary h4 {
    margin-bottom: 1rem;
}

.summary ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.summary li {
    margin-bottom: 0.5rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: white;
}

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

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.product-image {
    height: 250px;
    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: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info h3 a {
    color: var(--dark-color);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

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

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

/* Product Detail */
.product-detail {
    padding: 3rem 0 5rem;
}

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

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

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

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.product-detail-image img {
    width: 100%;
    display: block;
}

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

.product-detail-info .product-price {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.stars {
    color: #ffc107;
}

.count {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.product-detail-info .product-description {
    margin-bottom: 1.5rem;
}

.product-detail-info .product-description ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.product-detail-info .product-description li {
    margin-bottom: 0.5rem;
}

.product-variants {
    margin-bottom: 1.5rem;
}

.variant-row {
    margin-bottom: 1rem;
}

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

select, input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.color-option input {
    width: auto;
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
}

.quantity {
    margin-bottom: 1.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    width: 120px;
}

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

.quantity input {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    text-align: center;
    padding: 0;
}

.product-meta {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.product-meta p {
    margin-bottom: 0.5rem;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 3rem;
}

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

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    position: relative;
}

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

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

.tab-content {
    display: none;
}

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

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

.specifications-table th, .specifications-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.specifications-table th {
    width: 30%;
    color: var(--gray-color);
}

.review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.rating-average .stars {
    font-size: 1.5rem;
}

.rating-average .score {
    font-size: 1.2rem;
    font-weight: 700;
}

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

.review-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1.5rem;
}

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

.reviewer {
    font-weight: 500;
}

.date {
    color: var(--gray-color);
}

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

/* Related Products */
.related-products {
    padding: 3rem 0;
}

.related-products h2 {
    margin-bottom: 2rem;
}

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

/* Product Summary */
.product-summary {
    background-color: var(--light-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

.product-summary h3 {
    margin-bottom: 0.5rem;
}

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

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

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p:before, .testimonial-content p:after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-author {
    text-align: right;
}

.testimonial-author .rating {
    color: #ffc107;
}

/* Glossary */
.glossary {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.glossary h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.glossary-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.glossary-item p {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column p, .footer-column address {
    color: #bbbbbb;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: normal;
}

.footer-column a {
    color: #bbbbbb;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

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

.social-icons a {
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #bbbbbb;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: none;
    z-index: 1000;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
}

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

.cookie-more {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* About Page */
.page-header {
    background-color: var(--light-color);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.about-image {
    position: relative;
}

.about-stats {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.value-icon {
    background-color: white;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.team-section h2, .team-section .section-intro {
    text-align: center;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

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

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
}

.social-links a {
    color: var(--gray-color);
    transition: var(--transition);
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

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

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

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

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

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

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

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

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

.info-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    display: flex;
    align-items: flex-start;
}

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

.info-detail {
    font-size: 0.9rem;
    color: var(--gray-color);
}

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

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

.form-group {
    margin-bottom: 0;
}

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

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

textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

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

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

.required {
    color: var(--danger-color);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

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

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

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

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

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

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

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

.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--light-gray);
}

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

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

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

.cart-product-name {
    font-weight: 500;
}

.cart-quantity {
    width: 100px;
}

.cart-remove {
    color: var(--danger-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cart-remove:hover {
    color: #ff4081;
}

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

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

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

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.recommended-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.recommended-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.checkout-empty {
    text-align: center;
    padding: 3rem 0;
}

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

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

#checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.order-summary {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

.order-summary h2 {
    margin-bottom: 1.5rem;
}

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

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

.order-item-name {
    display: flex;
    gap: 0.5rem;
}

.order-item-quantity {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

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

.grand-total {
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    color: var(--gray-color);
    font-size: 0.9rem;
}

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

.place-order-btn {
    grid-column: 1 / -1;
    padding: 1rem;
    font-size: 1.1rem;
}

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

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

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

.success-message {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.success-next-steps h2 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.success-next-steps ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.success-next-steps li {
    margin-bottom: 0.5rem;
}

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

.related-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

    h2 {
        font-size: 1.8rem;
    }

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

    .about-grid, .product-detail-grid, .contact-grid, .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .recommended-grid, .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem 1.5rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .cart-summary {
        max-width: 100%;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    #checkout-form {
        grid-template-columns: 1fr;
    }
    
    .success-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .success-buttons .btn {
        width: 100%;
    }
}
