/* CS Gaming Hub - Main Stylesheet */

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #5d4fff;
    --secondary-color: #21d07c;
    --accent-color: #ff5e4d;
    --background-color: #121212;
    --secondary-bg: #1f1f1f;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --header-height: 80px;
    --footer-bg: #0a0a0a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

button, .button {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(93, 79, 255, 0.25);
}

/* ---------- Header ---------- */
header {
    background-color: var(--secondary-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

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

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

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

/* ---------- Hero Section ---------- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x800/?gaming') no-repeat center center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(93, 79, 255, 0.3), transparent 70%);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #4b3ce0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Light effect on button hover */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.cta-button:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

/* ---------- Advantages Section ---------- */
.advantages {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--secondary-bg);
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.advantages h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.advantage-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(93, 79, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-muted);
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.cta-container {
    margin-top: 2rem;
}

/* ---------- Product Info Section ---------- */
.product-info {
    padding: 5rem 2rem;
    background-color: var(--background-color);
    max-width: 1200px;
    margin: 0 auto;
}

.product-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-content {
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.certification-box {
    background-color: var(--card-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.certification-box h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.benefits-list {
    margin: 1.5rem 0 2rem 1.5rem;
    list-style-type: disc;
}

.benefits-list li {
    margin-bottom: 0.5rem;
    list-style-position: outside;
}

/* ---------- Products Section ---------- */
.products {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.product-card a {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    transition: var(--transition);
}

.product-price {
    padding: 0 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-description {
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.add-to-cart, .buy-now {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.add-to-cart {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}

.add-to-cart:hover {
    background-color: rgba(93, 79, 255, 0.1);
}

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

.buy-now:hover {
    background-color: #4b3ce0;
}

/* ---------- Expert Interview Section ---------- */
.expert-interview {
    padding: 5rem 2rem;
    background-color: var(--secondary-bg);
}

.expert-interview h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.interview-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.expert-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: rgba(93, 79, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-image svg {
    color: var(--primary-color);
}

.interview-content {
    flex: 1;
}

.interview-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.expert-title {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.interview-q-a .question {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.interview-q-a .answer {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ---------- Product Detail Page ---------- */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.product-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.product-detail-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.product-info-container {
    flex: 1;
    min-width: 300px;
}

.product-info-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.stars {
    color: #ffc107;
    margin-right: 1rem;
}

.star {
    font-size: 1.25rem;
}

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

.product-availability {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(33, 208, 124, 0.1);
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.product-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-description h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.5rem;
}

.product-description p, .product-description li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 0.75rem 0;
}

.specs-table td:first-child {
    font-weight: bold;
    width: 40%;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
}

.quantity-selector select {
    width: 100px;
}

/* ---------- Related Products ---------- */
.related-products {
    padding: 3rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* ---------- About Page ---------- */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x800/?esports') no-repeat center center/cover;
    padding: 5rem 2rem;
    text-align: center;
}

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

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-story, .about-values, .team-section, .partners-section {
    padding: 5rem 0;
}

.about-story h2, .about-values h2, .team-section h2, .partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-story-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-story-content p {
    margin-bottom: 1.5rem;
}

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

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

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(93, 79, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

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

.team-member {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

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

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    color: var(--text-muted);
}

.team-member p:nth-of-type(1) {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.team-member p:nth-of-type(2) {
    margin-bottom: 1.5rem;
}

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

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

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

.social-links svg {
    color: var(--text-color);
}

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

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

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

.partner-logo svg {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.partner-logo p {
    color: var(--text-muted);
    font-weight: 600;
}

/* ---------- Contact Page ---------- */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x800/?customer-service') no-repeat center center/cover;
    padding: 5rem 2rem;
    text-align: center;
}

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

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info, .contact-form-section, .faq-section {
    padding: 5rem 0;
}

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

.contact-info-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(93, 79, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.contact-info-card h3 {
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-hours {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.chat-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-weight: 600;
}

.chat-button:hover {
    background-color: #4b3ce0;
    color: white;
}

.contact-form-section h2, .faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #2b2b2b;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    width: 100%;
}

.submit-button:hover {
    background-color: #4b3ce0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

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

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

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.empty-cart-icon {
    margin-bottom: 1.5rem;
}

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

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

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

.continue-shopping-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.continue-shopping-btn:hover {
    background-color: #4b3ce0;
    color: white;
}

.cart-items-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 3rem;
}

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

.cart-items {
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

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

.cart-item-price, .cart-item-total {
    text-align: center;
}

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

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

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

.cart-item-quantity span {
    width: 40px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    color: #ff2e1a;
}

.cart-footer {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.cart-totals {
    flex: 1;
    min-width: 300px;
}

.subtotal, .shipping, .tax, .total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.2rem;
}

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

.checkout-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.checkout-btn:hover {
    background-color: #4b3ce0;
    color: white;
}

.recommended-products {
    padding-bottom: 5rem;
}

.recommended-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.checkout-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.checkout-form-container {
    flex: 3;
    min-width: 300px;
}

.checkout-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}

.checkout-form h2:not(:first-child) {
    margin-top: 2.5rem;
}

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

.back-to-cart {
    color: var(--text-muted);
    font-weight: 600;
}

.back-to-cart:hover {
    color: var(--text-color);
}

.complete-order-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.complete-order-btn:hover {
    background-color: #4b3ce0;
}

.order-summary-container {
    flex: 2;
    min-width: 300px;
}

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

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

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

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

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

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 1rem;
}

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

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

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

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

.checkout-item-total {
    font-weight: 600;
    text-align: right;
    align-self: center;
}

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

.order-total-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.secure-checkout, .customer-service {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 2rem;
}

.secure-checkout-icon {
    margin-bottom: 1rem;
}

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

.secure-checkout p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.secure-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: normal !important;
}

.customer-service h3 {
    margin-bottom: 1rem;
}

.customer-service p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* ---------- Success Page ---------- */
.success-section {
    padding: 5rem 2rem;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
}

.success-content {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    margin-bottom: 2rem;
}

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

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

.success-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.success-details {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.next-steps, .support-info {
    text-align: left;
    margin-bottom: 2.5rem;
}

.next-steps h2, .support-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.support-info p {
    margin-bottom: 0.5rem;
}

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

/* ---------- Footer ---------- */
footer {
    background-color: var(--footer-bg);
    padding: 5rem 2rem 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

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

.footer-logo p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

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

.footer-column a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

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

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact {
    margin-top: 0.5rem;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    max-width: 800px;
}

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

#accept-cookies {
    background-color: var(--primary-color);
    color: white;
}

#accept-cookies:hover {
    background-color: #4b3ce0;
}

#customize-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-muted);
}

#customize-cookies:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#decline-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-muted);
}

#decline-cookies:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-content a {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

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

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

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .interview-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .product-detail {
        flex-direction: column;
        align-items: center;
    }
    
    .product-image-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 1rem;
    }
    
    .nav-links li {
        margin-left: 1rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .advantages h2, .products h2, .expert-interview h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        gap: 2rem;
    }
    
    .product-info-container h1 {
        font-size: 2rem;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-info {
        flex-direction: column;
    }
    
    .cart-footer {
        flex-direction: column;
    }
    
    .cart-totals {
        width: 100%;
    }
    
    .cart-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .checkout-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .advantages h2, .products h2, .expert-interview h2 {
        font-size: 1.75rem;
    }
    
    .product-card {
        min-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
}
