:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1d4ed8;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --accent-blue: #e7f1ff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --border-color: #334155;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --nav-bg: rgba(15, 23, 42, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar */
nav {
    background-color: var(--nav-bg);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0.2rem;
    transition: var(--transition);
}

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

.cart-icon-container {
    position: relative;
    cursor: pointer;
}

.cart-icon-container svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-icon-container:hover svg {
    color: var(--primary-blue);
}

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

.wishlist-icon-container {
    position: relative;
    cursor: pointer;
    margin-right: 0.5rem;
}

.wishlist-icon-container svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    transition: var(--transition);
}

.wishlist-icon-container:hover svg {
    color: #ff4757;
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--nav-bg);
    min-width: 220px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 1001;
}

/* Bridge the gap between link and menu */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    display: none;
}

.dropdown:hover::after {
    display: block;
}

.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown.show .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    width: 100%;
    color: var(--text-dark);
}

.dropdown-menu li a:hover {
    background-color: var(--accent-blue);
    color: var(--primary-blue);
}

[data-theme="dark"] .dropdown-menu {
    background-color: var(--nav-bg);
}

/* Sections */
main {
    flex: 1;
}

section {
    display: none;
    padding: 2rem 5%;
    animation: fadeIn 0.5s ease;
}

section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Section */
#home {
    position: relative;
    height: 90vh;
    /* Fill most of screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 40, 85, 0.8)), url('background.png');
    background-size: cover;
    background-position: center;
    padding: 0;
}

#home h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#home p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.youtube-link,
.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-link {
    color: #FF0000;
}

.discord-link {
    background-color: #5865F2;
    color: var(--white);
}

.youtube-link:hover,
.discord-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.wishlist-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.wishlist-btn.active svg {
    color: #ff4757;
    fill: #ff4757;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.product-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: block;
}

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

.option-group {
    margin-bottom: 1rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tint-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: multiply;
    /* Or 'color' / 'overlay' depending on look */
    transition: background 0.5s ease;
    border-radius: 8px;
}

select,
.qty-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-size: 1rem;
}

.color-preview-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-preview {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Colors for preview */
.preview-blue {
    background-color: #00AEEF;
}

.preview-white {
    background-color: #ffffff;
}

.preview-black {
    background-color: #000000;
}

.preview-green {
    background-color: #28a745;
}

.preview-orange {
    background-color: #fd7e14;
}

.preview-trans-blue {
    background-color: rgba(0, 0, 255, 0.5);
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    box-shadow: inset 0 0 0 20px rgba(0, 174, 239, 0.6);
    /* Cyan-Blue tint */
}

.preview-trans-green {
    background-color: rgba(0, 255, 0, 0.5);
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    box-shadow: inset 0 0 0 20px rgba(40, 167, 69, 0.6);
}

.preview-trans-yellow {
    background-color: rgba(255, 255, 0, 0.5);
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    box-shadow: inset 0 0 0 20px rgba(255, 255, 0, 0.6);
}

.preview-trans-red {
    background-color: rgba(255, 0, 0, 0.5);
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    box-shadow: inset 0 0 0 20px rgba(220, 53, 69, 0.6);
}

.preview-grey {
    background-color: #808080;
}

.preview-brown {
    background-color: #8B4513;
}

.preview-custom {
    background: conic-gradient(red, orange, yellow, green, blue, indigo, violet, red);
}

.warning-msg {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 8px;
    border-radius: 4px;
}

.file-warning-box {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    word-wrap: break-word;
    /* Ensure single long words break if needed */
    overflow-wrap: anywhere;
}

.file-warning-box span {
    flex: 1;
    min-width: 0;
    /* Critical for flex child wrapping */
}

.file-warning-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.selected-files-list {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
    max-height: 100px;
    overflow-y: auto;
    padding-left: 1.2rem;
}

.selected-files-list li {
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-weight: bold;
    padding: 0 4px;
    font-size: 1.1rem;
    line-height: 1;
}

.remove-file-btn:hover {
    color: #a71d2a;
    transform: scale(1.2);
}

.add-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Wishlist Section */
.wishlist-empty {
    text-align: center;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.wishlist-empty h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Cart Section */
.cart-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-details h4 {
    color: var(--text-dark);
}

.cart-item-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #dc3545;
    padding: 0.5rem;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #bd2130;
    transform: scale(1.1);
}

.cart-summary {
    background-color: var(--accent-blue);
    padding: 1.5rem;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 150px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-btn {
    padding: 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

.hp-field {
    position: absolute;
    left: -5000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        visibility: hidden;
        opacity: 0;
        height: 0;
        overflow: hidden;
        padding: 0;
    }
    .dropdown.show .dropdown-menu {
        visibility: visible;
        opacity: 1;
        height: auto;
        padding: 0.5rem 0;
    }

    #home h1 {
        font-size: 2.5rem;
    }
}

/* Gallery Styles */
.gallery-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
    scrollbar-width: thin;
}

.gallery-slide {
    display: flex;
    gap: 10px;
}

.gallery-img {
    height: 100px;
    width: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
    display: block;
    /* Fix for whitespace */
    border: 1px solid #eee;
}

.gallery-item {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    cursor: pointer;
}

.maximize-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    /* pointer-events removed to ensure clicks work */
}

.gallery-item:hover .maximize-icon {
    opacity: 1;
    background-color: rgba(0, 123, 255, 0.8);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid white;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}


/* Footer */
footer {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    padding: 4rem 5% 2rem 5%;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] footer {
    color: var(--white);
}

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

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

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: inherit;
}

.footer-link {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-link:hover {
    color: inherit;
    opacity: 1;
    padding-left: 5px;
}

.footer-col a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: inherit;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.copyright {
    color: inherit;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-light);
    transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle {
    color: #fbbf24;
}

/* Section Headers */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-size: 2.5rem;
}

/* Process Section */
/* ... (existing process styles) ... */

/* Testimonials Section */
/* ... (existing testimonial styles) ... */

/* About Section */
.about-section {
    background-color: var(--white);
    padding: 4rem 5%;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder-box {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .image-placeholder-box {
        height: 250px;
    }
}

/* FAQ Accordion */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #fbbf24;
}

/* Product Reviews Display */
.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-stars {
    color: #fbbf24;
}

.rate-btn {
    background: none;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: auto;
    transition: var(--transition);
}

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

.user-reviews-list {
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.user-review {
    background: var(--bg-light);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2rem;
    font-weight: bold;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: normal;
}

/* FAQ Accordion */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 4rem 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #fbbf24;
    /* Amber/Gold */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.author {
    font-weight: bold;
    color: var(--primary-blue);
    text-align: right;
}

.process-section {
    background-color: var(--white);
    margin-bottom: 2rem;
}

.process-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    position: relative;
}

.process-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--accent-blue);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.process-step:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-blue);
    color: var(--white);
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-blue);
    align-self: center;
    margin-top: -2rem;
    /* Align with icons */
}

@media (max-width: 768px) {
    .process-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* Material Section */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.material-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.material-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 2rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 2rem 1.25rem 2rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--card-shadow);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

/* 3D Preview */
.model-viewer-wrapper {
    width: 100%;
    height: 500px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
}

.model-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Cookie Modal Overlay */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out forwards;
}

.cookie-overlay.show {
    display: flex;
}

/* Cookie Modal Content */
.cookie-modal {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    opacity: 0;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.2s;
}

@keyframes popIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.cookie-modal h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cookie-modal p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.cookie-btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    flex: 1;
}

.cookie-btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.cookie-btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

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

/* ============================================
   NEW FEATURES STYLES
   ============================================ */

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary-blue);
    background: var(--accent-blue);
}

.lang-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Price Calculator */
.calculator-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calc-input-group input,
.calc-input-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.calc-input-group input:focus,
.calc-input-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: none;
}

.slider-value {
    display: inline-block;
    margin-left: 1rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.calc-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--accent-blue);
    border-radius: 12px;
    text-align: center;
}

.calc-result h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.calc-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.calc-disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Material Comparison Table */
.comparison-table-container {
    overflow-x: auto;
    margin: 2rem auto;
    max-width: 1000px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

.comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    color: var(--text-dark);
}

.rating-bar {
    display: inline-block;
    width: 100px;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Coupon Input */
.coupon-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: monospace;
    text-transform: uppercase;
}

.coupon-apply-btn {
    padding: 0.6rem 1.2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.coupon-apply-btn:hover {
    background: var(--secondary-blue);
}

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
}

.coupon-remove-btn {
    background: none;
    border: none;
    color: #721c24;
    cursor: pointer;
    font-weight: bold;
}

/* Seasonal Offer Banner */
.seasonal-offer-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.offer-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.offer-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

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

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Guarantee Badge */
.guarantee-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.guarantee-text {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Referral Program */
.referral-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--primary-blue);
}

.referral-link-box {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.referral-link-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: monospace;
    background: var(--bg-light);
}

.copy-link-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.copy-link-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Enhanced Admin Analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.analytics-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--primary-blue);
}

.analytics-card h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.analytics-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.analytics-change {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.analytics-change.positive {
    color: #10b981;
}

.analytics-change.negative {
    color: #ef4444;
}

.chart-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin: 2rem 0;
}

.chart-container canvas {
    max-height: 300px;
}

/* Print Time Badge */
.print-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.print-time-icon {
    font-size: 1rem;
}

/* Push Notification Permission */
.notification-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-prompt h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.notification-prompt p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.notification-actions button {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.notification-allow {
    background: var(--primary-blue);
    color: white;
}

.notification-deny {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.8rem;
    }

    .countdown-item {
        padding: 0.5rem 0.8rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-white);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.info {
    border-left-color: var(--primary-blue);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info .toast-icon {
    color: var(--primary-blue);
}

.toast-content {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.toast-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease-in forwards;
}

@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        top: 70px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* Checkout Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.checkout-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.progress-step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

.checkout-step {
    animation: fadeIn 0.3s ease;
}

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

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-input.success {
    border-color: #10b981;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.checkout-btn.secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

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

.checkout-confirmation {
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .checkout-progress {
        font-size: 0.85rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }
}

/* Social Proof Counter */
.social-proof-counter {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.counter-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transition: var(--transition);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

.counter-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Urgency Notifications */
.urgency-notifications {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 9997;
    max-width: 350px;
}

.urgency-notification {
    background: white;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInLeft 0.4s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.urgency-notification.removing {
    animation: slideOutLeft 0.3s ease-in forwards;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-400px);
        opacity: 0;
    }
}

.urgency-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.urgency-content {
    flex: 1;
}

.urgency-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.urgency-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .urgency-notifications {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 90px;
    }

    .social-proof-counter {
        gap: 1rem;
    }

    .counter-item {
        min-width: 120px;
        padding: 1rem;
    }

    .counter-number {
        font-size: 1.5rem;
    }
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-message.user .chat-avatar {
    background: #10b981;
}

.chat-bubble {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    max-width: 70%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

.chat-message.user .chat-bubble {
    background: var(--primary-blue);
    color: white;
}

.chat-quick-replies {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.quick-reply-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: #1e40af;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: -10px;
    }

    .chat-widget {
        right: 10px;
    }
}