/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --border: #dee2e6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background: var(--light);
    color: var(--dark);
    font-size: 16px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--secondary);
}

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

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;

}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-primary:hover {
    background: #1a252f;
}

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

.btn-secondary:hover {
    background: #2980b9;
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

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

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}

.product-card .price {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.product-card .original-price {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-left: 10px;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    border: 1px solid var(--c404-line);
    padding: 30px;
    border-radius: 24px;
    box-shadow: none;
}

.product-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 18px;
    display: block;
}

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.1;
}

.product-description {
    color: var(--c404-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-price .price {
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
}

.product-rating {
    margin-bottom: 20px;
    color: var(--c404-yellow);
    font-size: 1.1rem;
}

.product-options {
    margin-bottom: 20px;
}

.product-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
}

.product-options select,
.product-options input {
    width: 100%;
    max-width: 220px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--c404-line);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.product-options select option {
    color: #111;
}

.quantity-input {
    width: 100%;
    max-width: 120px;
}

/* ============================================
   CART
   ============================================ */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cart-items {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.cart-table thead {
    background: var(--light);
    border-bottom: 2px solid var(--border);
}

.cart-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.cart-table tr:hover {
    background: var(--gray-100);
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
    font-size: 1.1rem;
}

.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--border);
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.coupon-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 10px;
    margin-top: 20px;
}

/* ============================================
   FILTERS & SEARCH
   ============================================ */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input,
.category-filter {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.category-filter {
    min-width: 200px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

/* ============================================
   AUTH CONTAINER
   ============================================ */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.auth-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.auth-form h1 {
    margin-bottom: 20px;
}

.auth-link {
    text-align: center;
    margin-top: 15px;
}

.auth-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.checkout-steps {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step h2 {
    margin-bottom: 20px;
}

.security-notice,
.payment-info {
    background: var(--light);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--success);
}

.checkout-summary {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 50px;
    text-align: center;
    color: var(--gray-500);
}

/* ============================================
   TABS
   ============================================ */
.product-tabs {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.tab-content h2 {
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: none;
    padding-left: 0;
}

.tab-content li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.tab-content li:last-child {
    border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .hero {
        padding: 40px 20px;
    }

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

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

    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-options select,
    .product-options input,
    .quantity-input {
        max-width: 100%;
    }
}

    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

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

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.2rem;
    }

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

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

    .filters {
        flex-direction: column;
    }

    .search-input,
    .category-filter {
        width: 100%;
    }

    .btn-full {
        width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}



/* ===== CLUBE404 HOME REDESIGN ===== */


:root {
    --c404-bg: #0b0f14;
    --c404-panel: #121821;
    --c404-panel-2: #161d27;
    --c404-text: #f3f7fb;
    --c404-muted: #98a6b8;
    --c404-line: rgba(255, 255, 255, 0.08);
    --c404-blue: #3ea6ff;
    --c404-blue-2: #78c4ff;
    --c404-yellow: #ffcc33;
    --c404-red: #ff5d5d;
    --c404-off: #eef3f8;
}

body.clube404-body {
    background:
        radial-gradient(circle at top right, rgba(62, 166, 255, 0.14), transparent 25%),
        linear-gradient(180deg, #0b0f14 0%, #11161d 100%);
    color: var(--c404-text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(11, 15, 20, 0.82);
    border-bottom: 1px solid var(--c404-line);
}

.topbar {
    border-bottom: 1px solid var(--c404-line);
    text-align: center;
    padding: 10px 16px;
    font-size: 0.92rem;
    color: var(--c404-blue-2);
    background: rgba(255, 255, 255, 0.02);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo:hover {
    color: var(--c404-blue);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    background: var(--c404-blue);
}

.container {
    max-width: 1240px;
    padding: 0 24px;
}

.hero404 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 8px;
}

.hero404-content {
    padding: 36px 0;
}

.hero-badge,
.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(62, 166, 255, 0.25);
    border-radius: 999px;
    color: var(--c404-blue-2);
    background: rgba(62, 166, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero404 h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.hero404 p {
    font-size: 1.08rem;
    color: var(--c404-muted);
    max-width: 620px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.btn {
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 700;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--c404-blue), #1f7ad3);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5bb4ff, #2f89e2);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--c404-line);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hero-highlights {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    list-style: none;
    color: var(--c404-off);
    font-size: 0.96rem;
}

.hero-highlights li {
    position: relative;
    padding-left: 16px;
}

.hero-highlights li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c404-yellow);
    position: absolute;
    left: 0;
    top: 8px;
}

.hero404-visual {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--c404-line);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.hero-card-main {
    width: min(100%, 420px);
    background: linear-gradient(180deg, rgba(17, 25, 35, 0.96), rgba(12, 18, 26, 0.96));
}

.hero-card-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin-bottom: 16px;
}

.hero-card-info h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.hero-card-info p {
    color: var(--c404-muted);
    margin: 0;
}

.product-tag,
.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    background: var(--c404-yellow);
    padding: 8px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.card-badge-alt {
    background: var(--c404-blue-2);
}

.hero-floating-note {
    position: absolute;
    right: -8px;
    bottom: 34px;
    width: 200px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--c404-line);
    border-radius: 20px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.hero-floating-note span {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--c404-red);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-floating-note p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--c404-off);
}


section + section {
    margin-top: 48px;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.section-head p {
    color: var(--c404-muted);
    max-width: 700px;
}




.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-box {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--c404-line);
    border-radius: 22px;
    padding: 24px;
    transition: 0.25s ease;
}

.category-box:hover {
    transform: translateY(-6px);
    border-color: rgba(62, 166, 255, 0.35);
    box-shadow: 0 22px 40px rgba(0,0,0,0.22);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(62, 166, 255, 0.12);
    color: var(--c404-blue-2);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.category-box h3 {
    color: #fff;
    margin-bottom: 8px;
}

.category-box p {
    color: var(--c404-muted);
}

.product-grid-404 {
    gap: 22px;
}

.product-card-404 {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    border: 1px solid var(--c404-line);
    border-radius: 24px;
    overflow: hidden;
    padding: 16px;
}

.product-card-404:hover {
    border-color: rgba(62, 166, 255, 0.4);
    box-shadow: 0 24px 48px rgba(0,0,0,0.26);
}

.product-card-404 img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-category {
    color: var(--c404-blue-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-card-404 h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
}

.product-copy {
    color: var(--c404-muted);
    min-height: 48px;
}

.price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.product-card-404 .price {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.installments {
    color: var(--c404-muted);
    font-size: 0.92rem;
}

.manifesto-box {
    background:
        linear-gradient(135deg, rgba(62,166,255,0.12), rgba(255,204,51,0.08)),
        rgba(255,255,255,0.03);
    border: 1px solid var(--c404-line);
    border-radius: 28px;
    padding: 24px;
}

.manifesto-box h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.manifesto-box p {
    max-width: 760px;
    color: var(--c404-off);
    font-size: 1.06rem;
}

.benefits404 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.benefit-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c404-line);
    border-radius: 20px;
    padding: 24px;
}

.benefit-item h3 {
    color: #fff;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--c404-muted);
}


.footer404 {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--c404-line);
    color: var(--c404-muted);
    padding: 10px 0 10px;
}

.footer404-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.footer404 h3 {
    color: #fff;
    margin-bottom: 4px;
    font-size: 1rem;
}

.footer404 p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--c404-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.8;
}

@media (max-width: 980px) {
    .hero404 {
        grid-template-columns: 1fr;
    }

    .hero404-visual {
        min-height: auto;
    }

    .categories-grid,
    .benefits404 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer404-wrap {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .topbar {
        font-size: 0.82rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 14px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero404 {
        padding-top: 26px;
    }

    .hero404 h1 {
        max-width: none;
    }

    .hero-floating-note {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .categories-grid,
    .benefits404 {
        grid-template-columns: 1fr;
    }

    .product-card-404 img,
    .hero-card-main img {
        height: auto;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ===== CATALOG CLUBE404 ===== */

.catalog-hero {
    padding-top: 42px;
    padding-bottom: 18px;
}

.catalog-hero-content {
    max-width: 760px;
}

.catalog-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.98;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}

.catalog-hero p {
    color: var(--c404-muted);
    font-size: 1.05rem;
}

.catalog-toolbar {
    margin-top: 18px;
}

.catalog-toolbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border: 1px solid var(--c404-line);
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
}

.filters404 {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1;
}

.search-input-404,
.category-filter-404 {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c404-line);
    color: #fff;
    border-radius: 14px;
    min-height: 50px;
}

.search-input-404::placeholder {
    color: var(--c404-muted);
}

.search-input-404:focus,
.category-filter-404:focus {
    border-color: rgba(62, 166, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.10);
}

.category-filter-404 option {
    color: #111;
}

.catalog-count span {
    color: var(--c404-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.collection-banner {
    margin-top: 26px;
}

.collection-banner-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid var(--c404-line);
    background:
        linear-gradient(135deg, rgba(62,166,255,0.12), rgba(255,204,51,0.06)),
        rgba(255,255,255,0.03);
}

.collection-banner-box h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.collection-banner-box p {
    color: var(--c404-off);
    max-width: 680px;
}

.catalog-section {
    margin-top: 34px;
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.btn-half {
    flex: 1;
}

.pagination404 {
    margin-top: 10px;
    margin-bottom: 70px;
}

.pagination404-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--c404-line);
    background: rgba(255,255,255,0.03);
    font-weight: 700;
    transition: 0.25s ease;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--c404-blue), #1f7ad3);
    border-color: transparent;
}

@media (max-width: 860px) {
    .collection-banner-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-toolbar-wrap {
        align-items: stretch;
    }

    .catalog-count {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .filters404 {
        flex-direction: column;
    }

    .search-input-404,
    .category-filter-404 {
        width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }
}


/* ===== CART CLUBE404 ===== */

.cart-hero {
    padding-top: 34px;
    padding-bottom: 6px;
}

.cart-hero h1,
.auth404-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 12px;
}

.cart-hero p,
.auth404-hero p {
    color: var(--c404-muted);
    max-width: 760px;
}

.cart404-section {
    margin-top: 28px;
    margin-bottom: 40px;
}

.cart404-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 24px;
    align-items: start;
}

.cart404-items,
.summary404-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    border: 1px solid var(--c404-line);
    border-radius: 24px;
    padding: 22px;
}

.cart404-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.cart404-header h2,
.summary404-box h2 {
    color: #fff;
    font-size: 1.35rem;
}

.cart404-table-wrap {
    position: relative;
}

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

.cart404-table thead th {
    text-align: left;
    color: var(--c404-muted);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--c404-line);
}

.cart404-table td {
    padding: 18px 0;
    border-bottom: 1px solid var(--c404-line);
    color: var(--c404-off);
    vertical-align: middle;
}

.cart404-table input.quantity-input {
    width: 82px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c404-line);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
}

.empty-cart404 {
    display: none;
    padding-top: 10px;
}

.empty-cart404-box {
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 34px 24px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.empty-cart404-box h3 {
    color: #fff;
    margin-bottom: 10px;
}

.empty-cart404-box p {
    color: var(--c404-muted);
    margin-bottom: 18px;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--c404-blue-2);
    background: rgba(62,166,255,0.08);
    border: 1px solid rgba(62,166,255,0.18);
    margin-bottom: 16px;
}

.cart404-summary {
    position: sticky;
    top: 110px;
}

.summary404-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c404-line);
    color: var(--c404-off);
}

.summary404-row.total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    border-bottom: 0;
    padding-top: 18px;
}

.coupon404 {
    margin-top: 14px;
    margin-bottom: 14px;
}

.coupon404 label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}

.coupon-input-404 {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c404-line);
    color: #fff;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.coupon-input-404::placeholder {
    color: var(--c404-muted);
}

/* ===== LOGIN CLUBE404 ===== */

.auth404-hero {
    padding-top: 34px;
    padding-bottom: 8px;
}

.auth404-section {
    margin-top: 22px;
    margin-bottom: 40px;
}

.auth404-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: stretch;
}

.auth404-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    border: 1px solid var(--c404-line);
    border-radius: 28px;
    padding: 28px;
}

.auth404-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth404-brand h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.auth404-brand p {
    color: var(--c404-off);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 20px;
}

.auth404-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.auth404-list li {
    position: relative;
    padding-left: 18px;
    color: var(--c404-muted);
}

.auth404-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c404-yellow);
    position: absolute;
    left: 0;
    top: 9px;
}

.auth404-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c404-line);
    border-radius: 16px;
    padding: 6px;
}

.auth-tab {
    flex: 1;
    min-height: 46px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: var(--c404-muted);
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, rgba(62,166,255,0.22), rgba(62,166,255,0.10));
    color: #fff;
}

.auth404-form-wrap {
    display: none;
}

.auth404-form-wrap.active {
    display: block;
}

.auth404-form-wrap h2 {
    color: #fff;
    margin-bottom: 8px;
}

.auth404-subtitle {
    color: var(--c404-muted);
    margin-bottom: 20px;
}

.auth404-form .form-group {
    margin-bottom: 16px;
}

.auth404-form label {
    color: #fff;
    font-weight: 700;
}

.auth404-form input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c404-line);
    color: #fff;
    border-radius: 14px;
    min-height: 50px;
    padding: 12px 14px;
}

.auth404-form input::placeholder {
    color: var(--c404-muted);
}

.auth404-form input:focus {
    border-color: rgba(62,166,255,0.45);
    box-shadow: 0 0 0 3px rgba(62,166,255,0.10);
}

.auth404-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.remember404,
.terms404 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c404-muted);
    font-size: 0.95rem;
}

.remember404 input,
.terms404 input {
    width: auto;
    min-height: auto;
}

.auth404-link {
    color: var(--c404-blue-2);
    text-decoration: none;
    font-weight: 700;
}

.auth404-link:hover {
    color: #fff;
}

.terms404 {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .cart404-layout,
    .auth404-layout {
        grid-template-columns: 1fr;
    }

    .cart404-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .cart404-header,
    .auth404-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .cart404-table-wrap {
        overflow-x: auto;
    }

    .cart404-table {
        min-width: 720px;
    }
}


.checkout404 {
margin-top: 30px;
}

.checkout404-grid{
display:grid;
grid-template-columns: 1.4fr 0.8fr;
gap:40px;
margin-top:30px;
}

.checkout404-form{
max-width:720px;
padding-top: 10px;
}

.checkout404-summary{
position:sticky;
top:120px;

background:linear-gradient(
180deg,
rgba(245, 239, 239, 0.04),
rgba(255,255,255,0.02)
);

border:1px solid var(--c404-line);
border-radius:22px;

padding:24px;
height:fit-content;
}

.checkout404-form select{

appearance:none;
-webkit-appearance:none;
}

.checkout404-form input,
.checkout404-form select{

background:rgba(255,255,255,0.04);
border:1px solid var(--c404-line);

color:rgb(100, 97, 97);

border-radius:12px;
min-height:48px;
padding:12px;
}

.btn-primary{
height:56px;
font-size:1.05rem;
}

.product-thumbs{
display:flex;
gap:10px;
margin-top:15px;
}

.product-thumbs img{
width:70px;
height:70px;
object-fit:cover;
border-radius:6px;
cursor:pointer;
border:1px solid var(--border);
transition:var(--transition);
}

.product-thumbs img:hover{
transform:scale(1.05);
border-color:var(--secondary);
}

.size-select,
.color-select{
width:200px;
padding:8px;
border:1px solid var(--border);
border-radius:6px;
margin-bottom:10px;
}