/* ============================================================
   CLOTHBITE — COMPLETE DESIGN SYSTEM
   Fonts: Manrope (headings) + Inter (body)
   Theme: Bold monochrome with electric orange accents
   ============================================================ */

:root {
    --cb-black: #0a0a0a;
    --cb-dark: #111111;
    --cb-gray-900: #1a1a1a;
    --cb-gray-700: #333333;
    --cb-gray-500: #666666;
    --cb-gray-300: #999999;
    --cb-gray-100: #f5f5f5;
    --cb-white: #ffffff;
    --cb-orange: #ff4500;
    --cb-orange-light: #ff6b35;
    --cb-orange-dim: rgba(255,69,0,0.12);
    --cb-success: #00b894;
    --cb-radius: 12px;
    --cb-radius-sm: 8px;
    --cb-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --cb-shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--cb-gray-700);
    background: var(--cb-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6,.brand-text { font-family: 'Manrope', sans-serif; }

/* ---- TOP BAR ---- */
.topbar {
    background: var(--cb-black);
    color: #aaa;
    font-size: 12px;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

/* ---- NAVBAR ---- */
.cb-navbar {
    background: var(--cb-white);
    border-bottom: 1px solid #ebebeb;
    padding: 0;
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 16px 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--cb-black);
    color: var(--cb-white);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
}

.brand-text {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--cb-black);
    letter-spacing: -0.5px;
}

.cb-navbar .nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-gray-700) !important;
    padding: 22px 14px !important;
    letter-spacing: 0.2px;
    position: relative;
    transition: var(--transition);
}

.cb-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--cb-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.cb-navbar .nav-link:hover,
.cb-navbar .nav-link.active { color: var(--cb-black) !important; }
.cb-navbar .nav-link:hover::after,
.cb-navbar .nav-link.active::after { transform: scaleX(1); }

.cb-dropdown {
    border: 1px solid #ebebeb;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow-lg);
    padding: 8px;
    min-width: 180px;
}

.cb-dropdown .dropdown-item {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--cb-radius-sm);
    color: var(--cb-gray-700);
    transition: var(--transition);
}

.cb-dropdown .dropdown-item:hover {
    background: var(--cb-orange-dim);
    color: var(--cb-orange);
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-gray-700);
    font-size: 16px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    transition: var(--transition);
}

.nav-icon-btn:hover { background: var(--cb-gray-100); color: var(--cb-black); }

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--cb-orange);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
}

/* ---- SEARCH MODAL ---- */
.cb-search-modal {
    border: none;
    border-radius: 20px;
    box-shadow: var(--cb-shadow-lg);
}

.search-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--cb-black);
    border-radius: 50px;
    padding: 12px 20px;
}

.search-icon { color: var(--cb-gray-300); font-size: 18px; margin-right: 12px; }

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
}

/* ---- HERO SECTION ---- */
.hero-section {
    min-height: 90vh;
    background: var(--cb-black);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,69,0,0.25) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

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

.hero-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cb-orange);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--cb-orange);
}

.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    color: var(--cb-white);
    margin-bottom: 28px;
}

.hero-title .accent { color: var(--cb-orange); }

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.hero-stat-num {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--cb-white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image-wrap {
    position: relative;
    height: 600px;
}

.hero-img-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }

.hero-img-main {
    width: 280px;
    height: 380px;
    top: 60px;
    left: 20px;
}

.hero-img-sec {
    width: 200px;
    height: 260px;
    top: 30px;
    right: 0;
}

.hero-img-third {
    width: 160px;
    height: 200px;
    bottom: 30px;
    left: 0;
}

.hero-badge-float {
    position: absolute;
    background: var(--cb-orange);
    color: white;
    padding: 12px 18px;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(255,69,0,0.4);
    white-space: nowrap;
}

.badge-float-1 { bottom: 60px; right: 20px; }
.badge-float-2 { top: 20px; left: 50%; transform: translateX(-50%); background: white; color: var(--cb-black); }

/* ---- BUTTONS ---- */
.btn-cb-primary {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    background: var(--cb-orange);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-cb-primary:hover {
    background: var(--cb-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,69,0,0.35);
    color: white;
}

.btn-cb-outline {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.25);
    background: transparent;
    color: var(--cb-white);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cb-outline:hover {
    border-color: var(--cb-white);
    background: rgba(255,255,255,0.1);
    color: var(--cb-white);
    transform: translateY(-2px);
}

.btn-cb-dark {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    background: var(--cb-black);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cb-dark:hover {
    background: var(--cb-gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    color: white;
}

.btn-cb-white {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 32px;
    border-radius: 50px;
    border: 2px solid white;
    background: white;
    color: var(--cb-black);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cb-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ---- SECTION HEADERS ---- */
.section-header {
    margin-bottom: 48px;
}

.section-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cb-orange);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--cb-black);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 16px;
    color: var(--cb-gray-500);
    margin-top: 12px;
    max-width: 500px;
}

/* ---- PRODUCT CARDS ---- */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

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

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cb-gray-100);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cb-orange);
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 2;
}

.product-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover .product-actions { transform: translateY(0); opacity: 1; }

.btn-add-cart {
    flex: 1;
    padding: 11px 14px;
    background: var(--cb-black);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover { background: var(--cb-orange); }

.btn-wishlist-sm {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--cb-gray-500);
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-wishlist-sm:hover { color: #e74c3c; background: #fff0f0; }
.btn-wishlist-sm.active { color: #e74c3c; }

.product-info { padding: 16px; }

.product-name {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--cb-black);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-wrap { display: flex; align-items: center; gap: 10px; }

.product-price {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--cb-black);
}

.product-mrp {
    font-size: 13px;
    color: var(--cb-gray-300);
    text-decoration: line-through;
}

.product-discount {
    font-size: 12px;
    font-weight: 700;
    color: var(--cb-success);
    background: rgba(0,184,148,0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--cb-gray-500);
}

.stars { color: #f39c12; font-size: 11px; }

.product-colors {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover, .color-dot.active { transform: scale(1.3); }

/* ---- CATEGORY PILLS ---- */
.category-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

.filter-pill {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 50px;
    border: 2px solid #ebebeb;
    background: white;
    color: var(--cb-gray-700);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--cb-black);
    border-color: var(--cb-black);
    color: white;
}

/* ---- BANNER SECTIONS ---- */
.promo-banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.promo-banner-dark { background: var(--cb-black); }
.promo-banner-orange { background: var(--cb-orange); }

.promo-banner-content { position: relative; z-index: 2; padding: 48px; }

.promo-banner-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -2px;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}

.promo-banner-sub { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 16px; }

.promo-image-abs {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 45%;
    object-fit: cover;
    object-position: top center;
    mix-blend-mode: luminosity;
    opacity: 0.6;
}

/* ---- COLLECTION CARDS ---- */
.collection-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    display: block;
    text-decoration: none;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.collection-card:hover img { transform: scale(1.1); }

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.collection-label {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cb-orange);
    margin-bottom: 6px;
}

.collection-name {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.collection-count { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---- FEATURES BAR ---- */
.features-bar {
    background: var(--cb-gray-100);
    padding: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--cb-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: var(--cb-shadow);
}

.feature-item h6 {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--cb-black);
    margin-bottom: 3px;
}

.feature-item p { font-size: 12px; color: var(--cb-gray-500); margin: 0; }

/* ---- SHOP PAGE ---- */
.shop-sidebar {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #ebebeb;
    position: sticky;
    top: 90px;
}

.sidebar-section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cb-black);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cb-black);
}

.price-range { margin-top: 12px; }

.range-slider {
    width: 100%;
    accent-color: var(--cb-orange);
    height: 4px;
}

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

.size-chip {
    padding: 8px;
    border: 2px solid #ebebeb;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.size-chip:hover, .size-chip.active {
    background: var(--cb-black);
    border-color: var(--cb-black);
    color: white;
}

/* ---- PRODUCT DETAIL PAGE ---- */
.product-gallery { position: sticky; top: 90px; }

.gallery-main {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cb-gray-100);
    margin-bottom: 12px;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

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

.gallery-thumb {
    width: 80px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: var(--transition);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--cb-orange); }

.product-detail-name {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--cb-black);
    margin-bottom: 12px;
}

.product-detail-price {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--cb-black);
}

.detail-section-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cb-gray-500);
    margin-bottom: 10px;
    margin-top: 24px;
}

.size-options { display: flex; gap: 10px; flex-wrap: wrap; }

.size-btn {
    padding: 10px 18px;
    border: 2px solid #ebebeb;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.size-btn:hover, .size-btn.active {
    background: var(--cb-black);
    border-color: var(--cb-black);
    color: white;
}

.color-swatches { display: flex; gap: 10px; }

.color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.color-swatch.active { border-color: var(--cb-orange); transform: scale(1.2); }

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover { background: var(--cb-gray-100); }
.qty-input {
    width: 50px;
    border: none;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    background: none;
}

.detail-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.btn-detail-cart {
    flex: 1;
    min-width: 180px;
    padding: 16px 24px;
    background: var(--cb-black);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-detail-cart:hover { background: var(--cb-orange); transform: translateY(-2px); }

.btn-detail-buy {
    flex: 1;
    min-width: 180px;
    padding: 16px 24px;
    background: var(--cb-orange);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-detail-buy:hover { background: var(--cb-orange-light); transform: translateY(-2px); color: white; }

/* ---- REVIEWS ---- */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #ebebeb;
    margin-bottom: 16px;
}

.reviewer-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--cb-black);
}

/* ---- CART PAGE ---- */
.cart-item {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #ebebeb;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-img {
    width: 90px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.order-summary-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #ebebeb;
    position: sticky;
    top: 90px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--cb-black);
}

/* ---- CHECKOUT ---- */
.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ebebeb;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: white;
}

.checkout-input:focus { border-color: var(--cb-orange); }

.checkout-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cb-gray-700);
    margin-bottom: 8px;
    display: block;
}

/* ---- BLOG PAGE ---- */
.blog-hero {
    background: var(--cb-black);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid #ebebeb;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-lg); }

.blog-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 24px; }

.blog-category-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cb-orange);
    display: inline-block;
    margin-bottom: 10px;
}

.blog-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--cb-black);
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* ---- STYLE TOOL ---- */
.style-tool-section {
    background: var(--cb-gray-100);
    padding: 80px 0;
}

.style-tool-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--cb-shadow);
}

/* ---- ABOUT & CONTACT ---- */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #ebebeb;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--cb-shadow-lg); transform: translateY(-4px); }

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--cb-orange-dim);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    color: var(--cb-orange);
}

/* ---- TOAST ---- */
.cb-toast { background: var(--cb-black); border-radius: 14px; }

/* ---- FOOTER ---- */
.cb-footer {
    background: var(--cb-black);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
    margin-top: 80px;
}

.cb-footer .footer-brand .brand-text { color: white; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 300px; }

.footer-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--cb-orange); }

.social-links { display: flex; gap: 10px; }

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.social-btn:hover { background: var(--cb-orange); color: white; }

.newsletter-form { display: flex; gap: 8px; }

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus { border-color: var(--cb-orange); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }

.newsletter-btn {
    padding: 12px 20px;
    background: var(--cb-orange);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover { background: var(--cb-orange-light); }

.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }

.payment-icon {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 5px 10px;
    border-radius: 6px;
}

.footer-divider { border-color: rgba(255,255,255,0.06); margin: 0; }
.footer-legal { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; transition: var(--transition); }
.footer-legal:hover { color: var(--cb-orange); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero-title { letter-spacing: -2px; }
    .hero-stats { gap: 24px; }
    .hero-image-wrap { height: 300px; margin-top: 40px; }
    .hero-img-main { width: 180px; height: 240px; }
    .hero-img-sec { width: 140px; height: 180px; }
    .hero-img-third { display: none; }
    .promo-banner-content { padding: 28px; }
    .promo-image-abs { opacity: 0.3; }
    .product-actions { opacity: 1; transform: translateY(0); }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: var(--cb-black);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: white;
    letter-spacing: -2px;
    position: relative;
}

.page-hero-sub {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    margin-top: 12px;
    position: relative;
}

/* Best sellers section */
.bestsellers-tag {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Timer countdown */
.countdown-wrap {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 60px;
}

.countdown-num {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.countdown-label { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

/* ---- Style Tool ---- */
.style-persona-card {
    border: 2px solid #ebebeb;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.style-persona-card:hover, .style-persona-card.active {
    border-color: var(--cb-orange);
    background: var(--cb-orange-dim);
}

.persona-emoji { font-size: 40px; margin-bottom: 10px; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #ebebeb;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    color: var(--cb-orange);
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cb-gray-700);
    margin-bottom: 20px;
    padding-top: 16px;
}

.testimonial-author {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--cb-black);
}
