@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #000;
}

/* DARK MODE */
body.dark {
    background: #121212;
    color: #fff;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 9999;
    display: flex;
    align-items: center;
}

body.dark .navbar {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

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

.logo h2 { font-weight: 700; }
.logo span { color: #d90429; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

body.dark .nav-links a { color: white; }

.nav-links a:hover { color: #d90429; }

.cart-btn { color: #d90429; }

#themeToggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

/* ===========================
   HAMBURGER MENU
=========================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #111;
    border-radius: 2px;
    transition: 0.3s;
}

body.dark .hamburger span { background: #eee; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    display: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    margin-top: 5px;
}

.nav-links.active .menu-close { display: block; }

/* ===========================
   HERO (INDEX)
=========================== */
.hero {
    margin-top: 70px;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(217, 4, 41, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(217, 4, 41, 0.1) 0%, transparent 40%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(217, 4, 41, 0.2);
    color: #ff6b6b;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(217, 4, 41, 0.3);
}

.hero h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #d90429;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #b10321;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.3);
}

/* ===========================
   PRODUCT GRID (INDEX)
=========================== */
.catalog-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 50px 0;
}

.category-sidebar h3 { margin-bottom: 20px; }

.category-sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-sidebar li { margin-bottom: 15px; }

.category-sidebar li a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

body.dark .category-sidebar li a { color: rgba(255, 255, 255, 0.809); }

.category-sidebar a:hover { color: #d90429; }

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

.featured-products { padding: 60px 0; }

.empty-featured-box {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

body.dark .empty-featured-box {
    background: #1a1a1a;
    border-color: #333;
}

.empty-featured-box p {
    font-size: 16px;
    color: #777;
    font-weight: 600;
}

body.dark .empty-featured-box p { color: #aaa; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 { font-size: 28px; }

.view-all {
    text-decoration: none;
    color: #d90429;
    font-weight: bold;
}

.product-card {
    border: 1px solid #eee;
    padding: 20px;
    background: white;
    position: relative;
    transition: 0.3s;
}

body.dark .product-card {
    background: #0f0f0f;
    color: white;
}

.product-card:hover { border-color: #d90429; }

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.price {
    font-weight: bold;
    margin-bottom: 15px;
    color: #b10321;
}

.badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #d90429;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
}

.stock {
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
}

.in-stock { color: green; }
.out-stock { color: #d90429; }

.product-card.out .btn-small {
    background: #999;
    pointer-events: none;
}

.btn-small {
    display: inline-block;
    padding: 8px 15px;
    background: #111;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

body.dark .btn-small { background: #d90429; color: white; }
.btn-small:hover { background: #d90429; }

/* ===========================
   CATEGORY STRIP (INDEX)
=========================== */
.category-strip {
    padding: 30px 0;
    background: #f8f8f8;
}

body.dark .category-strip { background: #0f0f0f; color: white; }

.category-icons {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.category-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111;
}

body.dark .category-icons a { color: white; }

.category-icons img { width: 60px; height: 60px; margin-bottom: 10px; }
.category-icons a span { font-size: 14px; font-weight: 500; }

/* ===========================
   PROMO BANNER
=========================== */
.promo-banner {
    background: #d90429;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    font-size: 16px;
}

/* ===========================
   HOME DESCRIPTION
=========================== */
.home-description {
    padding: 40px 0;
    background: #f8f8f8;
    text-align: center;
    font-size: 15px;
    color: #111;
    line-height: 1.6;
}

body.dark .home-description { background: #1a1a1a; color: #fff; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 14px;
}

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

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #d90429;
}

.footer-column p,
.footer-column li {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
}

.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 10px; }

.footer-column ul li a,
.footer-contact-link {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-contact-link {
    display: block;
    margin-bottom: 8px;
}

.footer-column ul li a:hover,
.footer-contact-link:hover { color: #d90429; }

.social-icons { display: flex; gap: 15px; margin-top: 10px; }

.social-icons img {
    width: 25px; height: 25px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.social-icons img:hover {
    filter: brightness(0) invert(0.7) sepia(1) saturate(5) hue-rotate(-10deg);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.footer-bottom span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #d90429;
}

/* ===========================
   SHOP PAGE
=========================== */
.shop-hero {
    margin-top: 70px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(217, 4, 41, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(217, 4, 41, 0.1) 0%, transparent 40%);
    animation: shopHeroPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shopHeroPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.shop-hero-tag {
    display: inline-block;
    background: rgba(217, 4, 41, 0.2);
    color: #ff6b6b;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(217, 4, 41, 0.3);
}

.shop-hero h1 { font-size: 48px; color: #fff; margin-bottom: 15px; line-height: 1.2; }
.shop-hero p { font-size: 18px; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

.shop-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    padding: 0 20px;
}

.shop-controls input,
.shop-controls select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 180px;
}

body.dark .shop-controls input,
body.dark .shop-controls select {
    background: #222;
    color: #eee;
    border: 1px solid #444;
}

.shop-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.shop-sidebar {
    width: 25%;
    border-right: 1px solid #37353515;
    padding-top: 20px;
}

.shop-sidebar h3 { font-size: 16px; margin-bottom: 15px; font-weight: 600; }

body.dark .shop-sidebar { border-right-color: rgba(255, 255, 255, 0.08); }
body.dark .shop-sidebar h3 { color: #eee; }
body.dark .shop-sidebar button { color: #ccc; }
body.dark .shop-sidebar button:hover,
body.dark .shop-sidebar button.active { color: #d90429; }

.shop-sidebar button.active { background-color: #e60000; color: #fff; }

.filter-list { list-style: none; padding: 0; margin-bottom: 30px; }
.filter-list li { margin-bottom: 10px; }

.filter-list button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    border-radius: 5px;
}

.filter-list button:hover { color: #d90429; }

.shop-products {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-content: start;
}

.shop-products img { background-color: #ccc; }

/* Shop product card overrides */
.shop-products .product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.shop-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: unset;
}

body.dark .shop-products .product-card { background: #1e1e1e; color: #eee; }
body.dark .shop-products .product-card p.price { color: #d90429; }

.product-card button.btn-cart {
    width: 100%;
    padding: 10px;
    background: #111;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.product-card button.btn-cart:hover { background: #d90429; }
body.dark .product-card button.btn-cart { background: #333; color: #fff; }
body.dark .product-card button.btn-cart:hover { background: #d90429; }

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.pagination button.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

.pagination button.page-btn.active,
.pagination button.page-btn:hover {
    background: #d90429;
    color: white;
    border-color: #d90429;
}

body.dark .pagination button.page-btn { background: #222; color: #eee; border: 1px solid #444; }
body.dark .pagination button.page-btn.active,
body.dark .pagination button.page-btn:hover { background: #d90429; color: #fff; }

/* ===========================
   ABOUT PAGE
=========================== */
.about-hero {
    margin-top: 70px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(217, 4, 41, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(217, 4, 41, 0.1) 0%, transparent 40%);
    animation: heroPulse 8s ease-in-out infinite;
}

.about-hero-content { position: relative; z-index: 2; }

.about-hero-tag {
    display: inline-block;
    background: rgba(217, 4, 41, 0.2);
    color: #ff6b6b;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(217, 4, 41, 0.3);
}

.about-hero h1 {
    font-size: 48px; color: #fff;
    margin-bottom: 20px; line-height: 1.2;
    max-width: 700px; margin-left: auto; margin-right: auto;
}

.about-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

.stats-strip { padding: 50px 0; background: #fff; border-bottom: 1px solid #eee; }
body.dark .stats-strip { background: #1a1a1a; border-bottom: 1px solid #333; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }

.stat-number {
    display: block; font-size: 42px; font-weight: 800;
    color: #d90429; margin-bottom: 8px; line-height: 1;
}

.stat-label {
    font-size: 14px; color: #666; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px;
}

body.dark .stat-label { color: #aaa; }

.mission-section { padding: 80px 0; background: #f8f8f8; }
body.dark .mission-section { background: #0f0f0f; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.mvv-card {
    background: #fff; padding: 40px 30px; border-radius: 16px;
    text-align: center; border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark .mvv-card { background: #1a1a1a; border-color: #333; }
.mvv-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
body.dark .mvv-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.mvv-icon { margin-bottom: 20px; }
.mvv-card h3 { font-size: 22px; margin-bottom: 14px; color: #111; }
body.dark .mvv-card h3 { color: #fff; }
.mvv-card p { font-size: 14px; color: #666; line-height: 1.7; }
body.dark .mvv-card p { color: #aaa; }

.story-section { padding: 80px 0; background: #fff; }
body.dark .story-section { background: #121212; }

.timeline {
    position: relative; max-width: 800px;
    margin: 0 auto; padding: 20px 0;
}

.timeline::before {
    content: ''; position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, #d90429, #ff6b6b, #d90429);
    border-radius: 3px;
}

.timeline-item {
    position: relative; width: 50%; padding: 20px 40px;
    opacity: 0; animation: fadeInTimeline 0.6s forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }

@keyframes fadeInTimeline {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-item::after {
    content: ''; position: absolute;
    top: 30px; width: 16px; height: 16px;
    background: #d90429; border: 3px solid #fff;
    border-radius: 50%; z-index: 2;
}

body.dark .timeline-item::after { border-color: #121212; }
.timeline-item.left::after { right: -8px; }
.timeline-item.right::after { left: -8px; }

.timeline-content {
    background: #f8f8f8; padding: 24px;
    border-radius: 12px; border: 1px solid #eee; transition: 0.3s;
}

body.dark .timeline-content { background: #1a1a1a; border-color: #333; }
.timeline-content:hover { border-color: #d90429; box-shadow: 0 8px 24px rgba(217,4,41,0.1); }

.timeline-year {
    display: inline-block; background: #d90429; color: white;
    padding: 4px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 700; margin-bottom: 10px;
}

.timeline-content h4 { font-size: 18px; margin-bottom: 8px; color: #111; }
body.dark .timeline-content h4 { color: #fff; }
.timeline-content p { font-size: 14px; color: #666; line-height: 1.6; }
body.dark .timeline-content p { color: #aaa; }

.why-us-section { padding: 80px 0; background: #f8f8f8; }
body.dark .why-us-section { background: #0f0f0f; }

.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.why-card {
    background: #fff; padding: 36px 24px; border-radius: 12px;
    text-align: center; border: 1px solid #eee; transition: 0.3s;
}

body.dark .why-card { background: #1a1a1a; border-color: #333; }
.why-card:hover { transform: translateY(-5px); border-color: #d90429; box-shadow: 0 12px 30px rgba(217,4,41,0.1); }
.why-icon { font-size: 36px; margin-bottom: 16px; color: #d90429; }
.why-card h4 { font-size: 16px; margin-bottom: 10px; color: #111; }
body.dark .why-card h4 { color: #fff; }
.why-card p { font-size: 13px; color: #666; line-height: 1.6; }
body.dark .why-card p { color: #aaa; }

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #d90429, #b10321);
    text-align: center;
}

.about-cta-content h2 { font-size: 36px; color: #fff; margin-bottom: 14px; }
.about-cta-content p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 30px; }

.about-cta .btn-primary {
    background: #fff; color: #d90429; padding: 14px 40px;
    font-size: 16px; border-radius: 6px; display: inline-block; transition: 0.3s;
}

.about-cta .btn-primary:hover {
    background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===========================
   CART PAGE
=========================== */
.cart-hero { margin-top: 70px; padding: 60px 0; text-align: center; }
.cart-hero h1 { font-size: 36px; margin-bottom: 10px; }
.cart-hero p { font-size: 16px; color: #666; }
body.dark .cart-hero p { color: #bbb; }

.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 60px; }

.cart-items { display: flex; flex-direction: column; gap: 20px; }

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px 100px;
    align-items: center; gap: 15px;
    background: #fff; padding: 15px; border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.08); }

body.dark .cart-item {
    background: #1e1e1e; color: #eee;
    border: 1px solid #333; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

body.dark .cart-item:hover { box-shadow: 0 6px 15px rgba(0,0,0,0.35); }

.cart-item-img img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; }
.cart-item-details h4 { font-size: 16px; margin-bottom: 5px; }
.cart-item-details .manufacturer { font-size: 13px; color: #777; }
body.dark .cart-item-details .manufacturer { color: #999; }
.cart-item-details .stock { font-size: 13px; margin-top: 4px; }
.cart-item-price { font-weight: bold; color: #d90429; font-size: 16px; }

.cart-item-qty { display: flex; align-items: center; gap: 10px; }

.qty-btn {
    width: 32px; height: 32px; border: none;
    background: #111; color: #fff; border-radius: 6px;
    cursor: pointer; font-weight: bold; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.qty-btn:hover { background: #d90429; }
.qty-btn:active { transform: scale(0.9); }
body.dark .qty-btn { background: #333; }
body.dark .qty-btn:hover { background: #d90429; }

.remove-btn {
    background: none; border: none; color: #d90429;
    cursor: pointer; font-size: 13px; font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.remove-btn:hover { opacity: 0.8; text-decoration: underline; }

.cart-summary {
    background: #fff; padding: 24px; border-radius: 10px;
    height: fit-content; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

body.dark .cart-summary {
    background: #1e1e1e; color: #eee;
    border: 1px solid #333; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cart-summary h3 {
    margin-bottom: 20px; font-size: 20px;
    border-bottom: 2px solid #eee; padding-bottom: 10px;
}

body.dark .cart-summary h3 { border-bottom-color: #333; }

.summary-row {
    display: flex; justify-content: space-between;
    margin-bottom: 12px; font-size: 14px; color: #555;
}

body.dark .summary-row { color: #ccc; }
.summary-row span:last-child { font-weight: 600; color: #111; }
body.dark .summary-row span:last-child { color: #fff; }

.summary-total {
    display: flex; justify-content: space-between;
    font-weight: bold; font-size: 18px; margin-top: 15px; color: #111;
}

body.dark .summary-total { color: #fff; }
.summary-total span:last-child { color: #d90429; }

.checkout-btn {
    width: 100%; margin-top: 20px; padding: 12px;
    background: #111; color: #fff; border: none;
    border-radius: 6px; cursor: pointer; font-weight: 600;
    font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.checkout-btn:hover { background: #d90429; }
.checkout-btn:active { transform: scale(0.98); }
body.dark .checkout-btn { background: #333; }
body.dark .checkout-btn:hover { background: #d90429; }

.empty-cart { text-align: center; padding: 80px 0; }

.continue-btn {
    display: inline-block; margin-top: 20px;
    padding: 12px 30px; background: #111; color: #fff;
    border-radius: 6px; text-decoration: none; font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.continue-btn:hover { background: #d90429; }
.continue-btn:active { transform: scale(0.98); }
body.dark .continue-btn { background: #333; }
body.dark .continue-btn:hover { background: #d90429; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-hero {
    margin-top: 70px; padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative; overflow: hidden; text-align: center;
}

.contact-hero::before {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(217,4,41,0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(217,4,41,0.1) 0%, transparent 40%);
    animation: contactPulse 10s ease-in-out infinite;
}

@keyframes contactPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.contact-hero-content { position: relative; z-index: 2; }

.contact-hero-tag {
    display: inline-block; background: rgba(217,4,41,0.2); color: #ff6b6b;
    padding: 8px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
    border: 1px solid rgba(217,4,41,0.3);
}

.contact-hero h1 { font-size: 48px; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.contact-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto; line-height: 1.7; }

.contact-info-section { padding: 60px 0; background: #fff; }
body.dark .contact-info-section { background: #121212; }

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.contact-info-card {
    background: #f8f8f8; padding: 36px 24px; border-radius: 14px;
    text-align: center; border: 1px solid #eee; transition: all 0.3s ease;
}

body.dark .contact-info-card { background: #1a1a1a; border-color: #333; }
.contact-info-card:hover { transform: translateY(-6px); border-color: #d90429; box-shadow: 0 16px 40px rgba(217,4,41,0.12); }
.contact-info-icon { font-size: 36px; margin-bottom: 16px; }
.contact-info-card h4 { font-size: 18px; margin-bottom: 8px; color: #111; }
body.dark .contact-info-card h4 { color: #fff; }
.contact-info-card p { font-size: 14px; color: #333; margin-bottom: 4px; font-weight: 500; }
body.dark .contact-info-card p { color: #ccc; }
.contact-info-card span { font-size: 12px; color: #888; }

.contact-form-section { padding: 80px 0; background: #f8f8f8; }
body.dark .contact-form-section { background: #0f0f0f; }

.contact-layout { display: block; max-width: 820px; margin: 0 auto; }
.contact-form-wrapper h2 { font-size: 30px; margin-bottom: 8px; color: #111; text-align: center; }
body.dark .contact-form-wrapper h2 { color: #fff; }
.form-subtitle { font-size: 15px; color: #666; margin-bottom: 30px; text-align: center; }
body.dark .form-subtitle { color: #aaa; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { width: 100%; }

.form-group label {
    font-size: 13px; font-weight: 600; color: #333;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}

body.dark .form-group label { color: #ccc; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 10px;
    font-size: 15px; font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff; color: #111; outline: none;
}

body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea {
    background: #1a1a1a; border-color: #333; color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d90429; box-shadow: 0 0 0 4px rgba(217,4,41,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 40px; background: #d90429; color: #fff; border: none;
    border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; align-self: flex-start; font-family: 'Roboto', sans-serif;
}

.btn-submit:hover { background: #b10321; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,4,41,0.3); }
.btn-submit:active { transform: translateY(0); }
.contact-form .btn-submit { width: 100%; }

.form-success { text-align: center; padding: 40px; animation: fadeIn 0.5s ease; }

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

.success-icon {
    width: 70px; height: 70px; background: #d90429; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: bold; margin: 0 auto 20px;
}

.form-success h3 { font-size: 24px; margin-bottom: 10px; color: #111; }
body.dark .form-success h3 { color: #fff; }
.form-success p { font-size: 15px; color: #666; }
body.dark .form-success p { color: #aaa; }

.contact-side { display: flex; flex-direction: column; gap: 30px; }

.map-container {
    border-radius: 14px; overflow: hidden;
    border: 1px solid #eee; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

body.dark .map-container { border-color: #333; }

.operating-hours { background: #fff; padding: 30px; border-radius: 14px; border: 1px solid #eee; }
body.dark .operating-hours { background: #1a1a1a; border-color: #333; }
.operating-hours h4 { font-size: 18px; margin-bottom: 18px; color: #111; }
body.dark .operating-hours h4 { color: #fff; }
.operating-hours ul { list-style: none; padding: 0; margin: 0; }

.operating-hours li {
    display: flex; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid #eee;
    font-size: 14px; color: #555;
}

body.dark .operating-hours li { border-bottom-color: #333; color: #aaa; }
.operating-hours li:last-child { border-bottom: none; }
.operating-hours li.highlight { color: #d90429; font-weight: 700; }

.faq-section { padding: 80px 0; background: #fff; }
body.dark .faq-section { background: #121212; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item { border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: 0.3s; }
body.dark .faq-item { border-color: #333; }
.faq-item:hover { border-color: #d90429; }

.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; background: #f8f8f8; border: none; cursor: pointer;
    font-size: 16px; font-weight: 600; color: #111;
    font-family: 'Roboto', sans-serif; transition: background 0.3s; text-align: left;
}

body.dark .faq-question { background: #1a1a1a; color: #fff; }
.faq-question:hover { background: #f0f0f0; }
body.dark .faq-question:hover { background: #222; }

.faq-toggle { font-size: 24px; color: #d90429; font-weight: 700; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

body.dark .faq-answer { background: #1a1a1a; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: #555; line-height: 1.7; }
body.dark .faq-answer p { color: #aaa; }

/* ===========================
   LOGIN & REGISTER
=========================== */
.auth-section {
    margin-top: 70px; padding: 80px 0;
    min-height: calc(100vh - 70px - 60px);
    background: #f8f8f8; display: flex;
    align-items: center; justify-content: center;
    transition: background-color 0.3s ease;
}

body.dark .auth-section { background: #0f0f0f; }

.auth-container { width: 90%; max-width: 480px; margin: 0 auto; }

.auth-card {
    background: #ffffff; border: 1px solid #eee; border-radius: 16px;
    padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.3s ease;
}

body.dark .auth-card { background: #1a1a1a; border-color: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.auth-card h2 { font-size: 32px; font-weight: 700; color: #111; margin-bottom: 8px; text-align: center; }
body.dark .auth-card h2 { color: #fff; }
.auth-subtitle { font-size: 15px; color: #666; margin-bottom: 30px; text-align: center; }
body.dark .auth-subtitle { color: #aaa; }

.alert-success,
.alert-danger {
    padding: 14px 16px; border-radius: 10px; font-size: 14px;
    margin-bottom: 24px; font-weight: 500; line-height: 1.5;
    animation: authShake 0.4s ease;
}

.alert-success { background: rgba(46,117,89,0.1); border-left: 4px solid #2e7559; color: #2e7559; }
.alert-danger { background: rgba(217,4,41,0.1); border-left: 4px solid #d90429; color: #d90429; }
body.dark .alert-success { background: rgba(46,117,89,0.15); color: #52b788; }
body.dark .alert-danger { background: rgba(217,4,41,0.15); color: #ff6b6b; }

@keyframes authShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.auth-card form { display: flex; flex-direction: column; gap: 20px; }

.input-wrapper { position: relative; display: flex; width: 100%; }

.input-wrapper input {
    width: 100%; padding: 14px 16px; border: 2px solid #e0e0e0;
    border-radius: 10px; font-size: 15px; font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease; background: #fff; color: #111; outline: none;
}

body.dark .input-wrapper input { background: #1a1a1a; border-color: #333; color: #fff; }
.input-wrapper input:focus { border-color: #d90429; box-shadow: 0 0 0 4px rgba(217,4,41,0.1); }
body.dark .input-wrapper input:focus { box-shadow: 0 0 0 4px rgba(217,4,41,0.25); }
.input-wrapper input::placeholder { color: #999; }
body.dark .input-wrapper input::placeholder { color: #555; }

.auth-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; padding: 16px; background: #d90429; color: #fff; border: none;
    border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; font-family: 'Roboto', sans-serif; margin-top: 10px;
}

.auth-btn:hover { background: #b10321; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,4,41,0.3); }
.auth-btn:active { transform: translateY(0); }

.auth-footer { margin-top: 24px; text-align: center; font-size: 14px; color: #666; }
body.dark .auth-footer { color: #aaa; }
.auth-footer a { color: #d90429; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.auth-footer a:hover { color: #b10321; text-decoration: underline; }

/* ===========================
   CHECKOUT PAGE
=========================== */
.checkout-section { padding: 40px 0 80px; }

.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }

.checkout-group-card {
    background: #ffffff; border: 1px solid #eee; border-radius: 12px;
    padding: 30px; margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.3s ease;
}

body.dark .checkout-group-card { background: #1e1e1e; border-color: #333; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.checkout-group-card h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 24px; color: #111;
    border-left: 4px solid #d90429; padding-left: 10px; line-height: 1.2;
}

body.dark .checkout-group-card h3 { color: #fff; }

.checkout-form-wrapper form { display: flex; flex-direction: column; }

.form-row-three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 15px; margin-bottom: 20px; }

.checkout-group-card .form-group { margin-bottom: 20px; }
.checkout-group-card .form-group:last-child { margin-bottom: 0; }

.checkout-group-card .form-group label {
    font-size: 12px; font-weight: 600; color: #333; margin-bottom: 8px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

body.dark .checkout-group-card .form-group label { color: #ccc; }

.checkout-group-card .form-group input,
.crypto-select {
    padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 10px;
    font-size: 15px; font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease; background: #fff; color: #111; outline: none; width: 100%;
}

body.dark .checkout-group-card .form-group input,
body.dark .crypto-select { background: #1a1a1a; border-color: #333; color: #fff; }

.checkout-group-card .form-group input:focus,
.crypto-select:focus { border-color: #d90429; box-shadow: 0 0 0 4px rgba(217,4,41,0.1); }

body.dark .checkout-group-card .form-group input:focus,
body.dark .crypto-select:focus { box-shadow: 0 0 0 4px rgba(217,4,41,0.25); }

.checkout-group-card .form-group input::placeholder { color: #999; }
body.dark .checkout-group-card .form-group input::placeholder { color: #555; }

.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }

.payment-method-card {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 15px; border: 2px solid #e0e0e0;
    border-radius: 10px; cursor: pointer; transition: all 0.3s ease; user-select: none;
}

body.dark .payment-method-card { border-color: #333; }
.payment-method-card input[type="radio"] { accent-color: #d90429; width: 18px; height: 18px; cursor: pointer; }
.method-details { display: flex; flex-direction: column; }
.method-title { font-size: 14px; font-weight: 700; color: #111; }
body.dark .method-title { color: #fff; }
.method-subtitle { font-size: 11px; color: #777; margin-top: 2px; }
body.dark .method-subtitle { color: #aaa; }
.payment-method-card.active { border-color: #d90429; background: rgba(217,4,41,0.02); }
body.dark .payment-method-card.active { background: rgba(217,4,41,0.05); }

/* Bank Transfer Type Selector */
.bank-type-selector {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; margin-bottom: 20px;
}
.bank-type-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 2px solid #e0e0e0;
    border-radius: 12px; cursor: pointer;
    transition: all 0.25s ease; user-select: none;
    background: #fff;
}
body.dark .bank-type-card { background: #1a1a1a; border-color: #333; }
.bank-type-card input[type="radio"] { display: none; }
.bank-type-card:hover { border-color: #d90429; box-shadow: 0 4px 12px rgba(217,4,41,0.1); }
.bank-type-card.active { border-color: #d90429; background: rgba(217,4,41,0.03); box-shadow: 0 4px 14px rgba(217,4,41,0.12); }
body.dark .bank-type-card.active { background: rgba(217,4,41,0.08); }
.bank-type-icon { font-size: 24px; flex-shrink: 0; }
.bank-type-info { display: flex; flex-direction: column; }
.bank-type-title { font-size: 13px; font-weight: 700; color: #111; }
body.dark .bank-type-title { color: #fff; }
.bank-type-desc { font-size: 11px; color: #777; margin-top: 2px; }
body.dark .bank-type-desc { color: #aaa; }
.bank-type-card.active .bank-type-title { color: #d90429; }
@media (max-width: 600px) { .bank-type-selector { grid-template-columns: 1fr; } }

.bank-details-box {
    background: #f8f9fa; border-left: 4px solid #d90429;
    border-radius: 0 8px 8px 0; padding: 20px; margin-bottom: 24px; transition: all 0.3s ease;
}

body.dark .bank-details-box { background: #121212; }
.bank-details-title { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 12px; }
body.dark .bank-details-title { color: #fff; }
.bank-info-grid { display: flex; flex-direction: column; gap: 8px; }

.bank-info-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; align-items: center; }
body.dark .bank-info-row { color: #ccc; }
.bank-info-row strong, .copyable-text { font-weight: 600; color: #111; }
body.dark .bank-info-row strong, body.dark .copyable-text { color: #fff; }

.inline-copy-btn { background: none; border: none; cursor: pointer; font-size: 12px; padding: 2px 5px; margin-left: 5px; transition: transform 0.1s ease; }
.inline-copy-btn:hover { transform: scale(1.2); }
.bank-notice { font-size: 12px; font-weight: 600; color: #b10321; margin-top: 12px; }

.receipt-upload-box {
    border: 2px dashed #d0d0d0; border-radius: 10px; padding: 30px;
    text-align: center; background: #fbfbfb; cursor: pointer;
    transition: all 0.3s ease; position: relative; user-select: none;
}

body.dark .receipt-upload-box { background: #121212; border-color: #444; }
.receipt-upload-box.dragover, .receipt-upload-box:hover { border-color: #d90429; background: rgba(217,4,41,0.01); }
body.dark .receipt-upload-box.dragover, body.dark .receipt-upload-box:hover { background: rgba(217,4,41,0.03); }

.upload-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.upload-text { font-size: 14px; color: #444; }
body.dark .upload-text { color: #ccc; }
.upload-text span { color: #d90429; font-weight: 600; text-decoration: underline; }
.upload-hint { font-size: 11px; color: #888; margin-top: 6px; }

.upload-box-selected {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 12px; background: rgba(46,196,182,0.08);
    border-radius: 8px; border: 1px solid rgba(46,196,182,0.3);
}

body.dark .upload-box-selected { background: rgba(46,196,182,0.12); }
.selected-file-icon { font-size: 18px; }
.selected-file-name { font-size: 14px; font-weight: 600; color: #2ec4b6; word-break: break-all; max-width: 80%; }
.remove-file-btn { background: none; border: none; cursor: pointer; color: #e63946; font-size: 16px; font-weight: bold; padding: 2px 6px; }
.remove-file-btn:hover { color: #b10321; }

.crypto-wallet-container {
    display: flex; align-items: center; gap: 25px;
    background: #f8f9fa; border: 1px solid #eee;
    border-radius: 12px; padding: 20px; margin-bottom: 25px; transition: all 0.3s ease;
}

body.dark .crypto-wallet-container { background: #121212; border-color: #333; }
.qr-placeholder-wrapper { flex-shrink: 0; }

.simulated-qr {
    width: 100px; height: 100px; background: #ffffff;
    padding: 8px; border-radius: 8px; border: 1px solid #e0e0e0; position: relative;
}

.qr-dot-grid { width: 100%; height: 100%; opacity: 0.18; background-image: radial-gradient(#111 2px, transparent 2px); background-size: 6px 6px; }

.qr-corner { position: absolute; width: 22px; height: 22px; border: 4px solid #111; background: #fff; }
.qr-corner::before { content: ""; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px; background: #111; }
.qr-corner.top-left { top: 8px; left: 8px; }
.qr-corner.top-right { top: 8px; right: 8px; }
.qr-corner.bottom-left { bottom: 8px; left: 8px; }

.wallet-address-wrapper { flex-grow: 1; display: flex; flex-direction: column; }
.wallet-address-wrapper label { font-size: 11px; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
body.dark .wallet-address-wrapper label { color: #aaa; }

.wallet-address-row { display: flex; gap: 10px; margin-top: 8px; }
.wallet-address-row input { flex-grow: 1; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-family: monospace; font-size: 13px; background: #fff; color: #111; outline: none; width: auto; }
body.dark .wallet-address-row input { background: #1a1a1a; border-color: #333; color: #fff; }

.copy-wallet-btn { padding: 10px 18px; background: #111; color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.2s ease; }
body.dark .copy-wallet-btn { background: #333; }
.copy-wallet-btn:hover { background: #d90429; }
.crypto-notice { font-size: 12px; font-weight: 600; color: #2ec4b6; margin-bottom: 24px; }

.place-order-btn {
    width: 100%; padding: 18px; background: #d90429; color: #fff; border: none;
    border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif; box-shadow: 0 4px 12px rgba(217,4,41,0.2);
}

.place-order-btn:hover { background: #b10321; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,4,41,0.3); }
.place-order-btn:active { transform: translateY(0); }

.checkout-summary-wrapper { position: sticky; top: 90px; }

.checkout-summary {
    background: #ffffff; border: 1px solid #eee; border-radius: 12px;
    padding: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.3s ease;
}

body.dark .checkout-summary { background: #1e1e1e; border-color: #333; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.checkout-summary h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 12px; color: #111; }
body.dark .checkout-summary h3 { color: #fff; border-bottom-color: #333; }

.checkout-summary-items { display: flex; flex-direction: column; gap: 15px; max-height: 280px; overflow-y: auto; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
body.dark .checkout-summary-items { border-bottom-color: #333; }

.checkout-summary-item { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 12px; }
.checkout-summary-item img { width: 45px; height: 45px; object-fit: cover; border-radius: 8px; border: 1px solid #eee; }
body.dark .checkout-summary-item img { border-color: #333; }
.checkout-item-details { display: flex; flex-direction: column; }
.checkout-item-name { font-size: 14px; font-weight: 600; color: #111; line-height: 1.3; }
body.dark .checkout-item-name { color: #eee; }
.checkout-item-qty { font-size: 12px; color: #666; margin-top: 2px; }
body.dark .checkout-item-qty { color: #aaa; }
.checkout-item-price { font-size: 14px; font-weight: 700; color: #d90429; }

.summary-totals { margin-bottom: 20px; }

.checkout-badge-strip { text-align: center; border-top: 1px solid #eee; padding-top: 18px; margin-top: 18px; }
body.dark .checkout-badge-strip { border-top-color: #333; }
.checkout-badge-strip p { font-size: 12px; font-weight: 600; color: #2ec4b6; }

.success-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    z-index: 99999; display: flex; align-items: center; justify-content: center;
}

.success-modal-card {
    background: #ffffff; border: 1px solid #eee; border-radius: 16px; padding: 40px;
    width: 90%; max-width: 500px; text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    animation: modalBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.dark .success-modal-card { background: #1e1e1e; border-color: #333; box-shadow: 0 20px 50px rgba(0,0,0,0.5); color: #eee; }

@keyframes modalBounce {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon-badge {
    width: 80px; height: 80px; background: #2ec4b6; color: white;
    font-size: 38px; font-weight: bold; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; box-shadow: 0 8px 20px rgba(46,196,182,0.3);
}

.success-modal-card h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; color: #111; }
body.dark .success-modal-card h2 { color: #fff; }
.success-modal-card p { font-size: 15px; color: #666; line-height: 1.5; }
body.dark .success-modal-card p { color: #bbb; }

.order-info-box { background: #f8f8f8; border: 1px solid #eee; border-radius: 10px; padding: 20px; margin: 24px 0 30px; text-align: left; }
body.dark .order-info-box { background: #121212; border-color: #333; }
.order-info-box p { margin-bottom: 8px; font-size: 14px; color: #333; }
body.dark .order-info-box p { color: #ccc; }
.order-info-box p:last-child { margin-bottom: 0; }
.order-info-box p strong { color: #111; }
body.dark .order-info-box p strong { color: #fff; }

.modal-close-btn { width: 100%; padding: 16px; background: #111; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.modal-close-btn:hover { background: #d90429; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,4,41,0.25); }
.modal-close-btn:active { transform: translateY(0); }
body.dark .modal-close-btn { background: #333; }
body.dark .modal-close-btn:hover { background: #d90429; }

/* ===========================
   RESPONSIVE MEDIA QUERIES
=========================== */
@media screen and (max-width: 992px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 250px; height: 100vh; background: #111;
        flex-direction: column; align-items: center;
        justify-content: center; gap: 40px; transition: 0.3s; z-index: 999;
    }
    .nav-links li a { color: white; font-size: 18px; }
    .hamburger { display: flex; }
    .nav-links.active { right: 0; }
    .checkout-layout { grid-template-columns: 1fr; gap: 30px; }
    .checkout-summary-wrapper { position: static; }
}

@media (max-width: 1040px) {
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 18px; }
    .category-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mvv-grid { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .about-hero h1 { font-size: 38px; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-hero h1 { font-size: 38px; }
    .shop-products { grid-template-columns: repeat(2, 1fr); }
    .shop-controls { gap: 15px; }
}

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { margin-top: 20px; }
}

@media (max-width: 768px) {
    .shop-layout { flex-direction: column; }
    .shop-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }
    body.dark .shop-sidebar { border-bottom-color: rgba(255,255,255,0.08); }
    .shop-products { width: 100%; grid-template-columns: repeat(2, 1fr); }
    .shop-controls { flex-direction: column; align-items: stretch; padding: 0; }
    .shop-controls input, .shop-controls select { width: 100%; min-width: unset; }
    .shop-hero { padding: 80px 0 60px; }
    .shop-hero h1 { font-size: 36px; }
    .shop-hero p { font-size: 16px; }
    .shop-hero-tag { font-size: 12px; padding: 6px 18px; }
}

@media (max-width: 700px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .about-hero { padding: 80px 0 60px; }
    .about-hero h1 { font-size: 30px; }
    .about-hero p { font-size: 16px; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 10px; }
    .timeline-item::after { left: 12px !important; right: auto !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-number { font-size: 32px; }
    .about-cta-content h2 { font-size: 26px; }
    .contact-hero { padding: 80px 0 60px; }
    .contact-hero h1 { font-size: 30px; }
    .contact-hero p { font-size: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper h2 { font-size: 24px; }
}

@media (max-width: 600px) {
    .cart-item { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 15px; padding: 20px; }
    .cart-item-img { width: 100px; height: auto; }
    .cart-item-img img { height: 80px; }
    .cart-item-qty { justify-content: center; }
    .cart-hero h1 { font-size: 28px; }
    .cart-hero p { font-size: 14px; }
    .form-row, .form-row-three { grid-template-columns: 1fr; gap: 0; }
    .payment-methods { grid-template-columns: 1fr; }
    .checkout-group-card { padding: 20px; }
    .success-modal-card { padding: 30px 20px; }
    .crypto-wallet-container { flex-direction: column; align-items: center; gap: 15px; text-align: center; }
}

@media (max-width: 500px) {
    .shop-products { grid-template-columns: 1fr; }
    .product-card img { height: 160px; }
    .shop-hero { padding: 60px 0 50px; }
    .shop-hero h1 { font-size: 28px; }
    .shop-hero p { font-size: 15px; }
    .shop-hero-tag { font-size: 11px; padding: 5px 16px; margin-bottom: 16px; }
    .shop-controls { gap: 12px; }
}

@media (max-width: 480px) {
    .hero { padding: 60px 0; height: auto; min-height: 50vh; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 15px; }
    .btn-primary { padding: 10px 20px; font-size: 14px; }
    .product-card img { height: 150px; }
    .product-grid { grid-template-columns: 1fr; }
    .container p { font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 24px; }
    .why-us-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 28px; }
    .contact-hero h1 { font-size: 24px; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .btn-submit { width: 100%; }
    .auth-section { padding: 40px 0; }
    .auth-card { padding: 30px 20px; border-radius: 12px; }
    .auth-card h2 { font-size: 26px; }
    .auth-btn { padding: 14px; }
}

@media (max-width: 350px) {
    .cart-hero h1 { font-size: 24px; }
    .checkout-btn { font-size: 14px; }
}

@media (max-width: 320px) {
    .container { width: 94%; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 14px; }
    .btn-primary { width: 100%; text-align: center; }
    .product-card { padding: 12px; }
    .shop-hero h1 { font-size: 24px; }
    .shop-hero p { font-size: 14px; }
    .product-card h4 { font-size: 14px; }
    .product-card p.price { font-size: 14px; }
}