@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #cc2943;
    --primary-hover: #b02037;
    --primary-light: rgba(204, 41, 67, 0.15);
    --dark: #090d16;
    --light-bg: #0f1422;
    --card-bg: #161d31;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: #212c45;
    --border-hover: #324266;
    --radius: 16px;
    --shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 45px -10px rgba(204, 41, 67, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* TOP BAR */
.top-bar {
    background: linear-gradient(135deg, #05070c, #0f1422);
    color: #e5e7eb;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.top-bar .sep { color: var(--primary); }

/* NAVBAR */
.navbar {
    background: rgba(15, 20, 34, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 900;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    color: #fff;
}

.logo span { color: var(--primary); }

.search-box {
    display: flex;
    width: 38%;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    font-size: 14px;
    background: #0b0f1a;
    color: #fff;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    background: #161d31;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: var(--primary);
    color: #fff;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.search-box button:hover { background: var(--primary-hover); }

.nav-actions { display: flex; gap: 12px; }

.icon-btn {
    background: #161d31;
    border: 1.5px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    color: #fff;
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.cart-btn {
    background: var(--primary);
    color: #fff;
    border: none;
}

.cart-btn:hover {
    background: var(--primary-hover);
}

.cart-badge {
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
}

/* HERO */
.hero {
    position: relative;
    background: url(thumbnail.jpg) center/cover no-repeat;
    padding: 120px 6%;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.8), rgba(9, 13, 22, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.hero-tag {
    background: rgba(204, 41, 67, 0.2);
    border: 1px solid var(--primary);
    color: #ff6b81;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 10px 0 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-weight: 400;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(204, 41, 67, 0.35);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(204, 41, 67, 0.45);
}

.btn-secondary {
    background: #161d31;
    color: #fff;
    border: 1.5px solid var(--border);
}

.btn-secondary:hover { 
    background: #212c45; 
    border-color: var(--border-hover);
}

.btn-success {
    background: #10b981;
    color: #fff;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-success:hover { background: #059669; }

.btn-block { width: 100%; }

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* TRUST BAR */
.trust-bar {
    background: #161d31;
    border-bottom: 1px solid var(--border);
    padding: 35px 6%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.trust-item i {
    font-size: 34px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 15px;
    border-radius: 50%;
}

.trust-item h4 { font-size: 16px; font-weight: 700; color: #fff; }
.trust-item p { font-size: 13px; color: var(--text-muted); }

/* CATALOG */
.products-section { padding: 80px 6%; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: all 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    z-index: 5;
    letter-spacing: 0.5px;
}

.img-wrapper {
    height: 270px;
    overflow: hidden;
    background: #0b0f1a;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.06);
}

.card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.35;
}

.card-content .desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: #ff6b81;
}

.old-price {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 14px;
}

/* PRODUCT PAGE */
.product-page-wrapper {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.product-page-card {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
}

.product-gallery { position: relative; }

.product-gallery img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.trust-icons-row {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.product-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin: 10px 0 25px;
}

.price-banner {
    background: #0b0f1a;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.price-current {
    font-size: 36px;
    font-weight: 900;
    color: #ff6b81;
}

.price-before {
    text-decoration: line-through;
    color: #6b7280;
    margin-left: 12px;
    font-size: 16px;
}

.discount-badge {
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
}

.selector-box { margin-bottom: 25px; }

.selector-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.size-grid, .colors-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.letters-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.opt-btn {
    padding: 10px 18px;
    border: 1.5px solid var(--border);
    background: #0b0f1a;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-main);
}

.opt-btn:hover, .opt-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: #ff6b81;
}

.qty-picker {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #fff;
}

.qty-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #0b0f1a;
}

.qty-counter button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
}

.qty-counter button:hover { background: var(--border); }

.qty-counter span {
    width: 45px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}

.guarantee-box {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.guarantee-box p { margin-bottom: 8px; }

/* MODALS & CHECKOUT */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 7, 12, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    color: #fff;
}

.modal-lg { max-width: 680px; }

.close-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    background: #0b0f1a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.close-btn:hover { background: var(--border); color: #fff; }

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.step {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.step.active { color: #ff6b81; }

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b0f1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.step.active .step-num {
    background: var(--primary);
    color: #fff;
}

.step-line {
    height: 2px;
    width: 40px;
    background: var(--border);
}

.cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.empty-cart-text {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    font-size: 15px;
}

.empty-cart-text i { font-size: 45px; margin-bottom: 12px; color: var(--border); }

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
    background: #0b0f1a;
}

.cart-item-details { flex-grow: 1; }
.cart-item-details strong { font-size: 14.5px; color: #fff; }

.cart-item-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 4px 0;
}

.badge-val {
    background: #0b0f1a;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    color: #fff;
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    border-radius: 8px;
    transition: 0.2s;
}

.remove-item-btn:hover { background: rgba(239, 68, 68, 0.15); }

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14.5px;
}

.total-line {
    font-size: 20px;
    font-weight: 800;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    margin-bottom: 25px;
    color: #fff;
}

.form-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.full-width { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    background: #0b0f1a;
    color: #fff;
    transition: 0.3s;
}

.form-group input:focus { 
    border-color: var(--primary); 
    background: #161d31;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.bank-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.bank-card input { display: none; }

.bank-box {
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    background: #0b0f1a;
}

.bank-box b { display: block; font-size: 14px; color: #fff; }
.bank-box span { font-size: 11px; color: var(--text-muted); }

.bank-card input:checked + .bank-box {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(204, 41, 67, 0.2);
}

.checkout-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

/* AUTH MODAL TABS */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 25px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

.auth-tab.active {
    color: #ff6b81;
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.account-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff7f8d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(204, 41, 67, 0.2);
}

.account-kicker {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.account-actions {
    margin-top: 20px;
    justify-content: flex-end;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: #161d31;
    border: 1px solid var(--border);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show { bottom: 35px; }
.toast i { color: #10b981; font-size: 18px; }

/* FOOTER */
footer {
    background: #05070c;
    color: var(--text-muted);
    padding: 70px 6% 30px;
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col .logo { color: #fff; margin-bottom: 18px; }
.footer-col p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #161d31;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col h4 {
    color: #fff;
    font-size: 16.5px;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
    font-size: 13.5px;
    color: #6b7280;
}

.info-modal {
    max-width: 820px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 28px 24px;
}

.info-modal h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(22px, 4vw, 30px);
}

.info-modal h3 {
    color: #fff;
    margin: 22px 0 12px;
    font-size: 18px;
}

.info-modal p,
.info-modal li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.info-modal ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.info-modal table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-main);
}

.info-modal th,
.info-modal td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.info-modal thead th {
    background: var(--light-bg);
    color: #fff;
    text-align: left;
}

.info-modal tbody td {
    color: #f3f4f6;
}

.info-modal .size-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cc2943, #ff6b81);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 18px rgba(204, 41, 67, 0.3);
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 6px;
        padding: 10px 16px;
        font-size: 11px;
    }
    .navbar { padding: 15px 4%; flex-wrap: wrap; gap: 12px; }
    .search-box { display: none; }
    .nav-actions { width: 100%; justify-content: space-between; }
    .icon-btn { flex: 1; justify-content: center; }
    .hero h1 { font-size: 36px; }
    .hero { padding: 80px 4%; }
    .product-page-card { grid-template-columns: 1fr; padding: 25px; gap: 30px; }
    .footer-content { grid-template-columns: 1fr; gap: 35px; }
    .bank-options { grid-template-columns: repeat(2, 1fr); }
    .trust-bar { padding: 25px 4%; }
    .info-modal { padding: 26px 18px 20px; }
}

@media (max-width: 480px) {
    .navbar { justify-content: center; }
    .logo { font-size: 22px; }
    .nav-actions { gap: 8px; }
    .icon-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    .icon-btn span { display: none; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .modal {
        padding: 24px 18px;
        border-radius: 18px;
    }
    .close-btn {
        width: 32px;
        height: 32px;
        top: 14px;
        right: 14px;
    }
    .checkout-steps { gap: 8px; }
    .step { font-size: 11px; }
    .step-line { width: 14px; }
    .footer-col ul li a { display: inline-block; }
    .info-modal table { display: block; overflow-x: auto; }
}

/* CATEGORY BAR STYLES */
.category-bar {
    background: #161d31;
    border-bottom: 1px solid var(--border);
    padding: 15px 6%;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: sticky;
    top: 73px;
    z-index: 850;
}

.cat-pill {
    background: #0b0f1a;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s ease;
}

.cat-pill i { color: var(--primary); }

.cat-pill:hover {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary-light);
}

.cat-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(204, 41, 67, 0.3);
}

.cat-pill.active i { color: #fff; }