:root {
    --sw-green: #000000; /* Black for Header/Footer */
    --sw-green-dark: #111111;
    --sw-orange: #C5A059; /* Elegant Gold for banners & accents */
    --sw-bg: #ffffff;
    --sw-text: #1a1a1a;
    --sw-gray: #6c757d;
    --sw-border: #e0e0e0;
    --sw-card-bg: #ffffff;
    --sw-cat-bg: #fdfdfd;
    --sw-blue: #C5A059; /* Replaced blue with Gold */
    --sw-light-blue: #fcfbf7; /* Very light gold */
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
body { background-color: var(--sw-bg); color: var(--sw-text); line-height: 1.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.sw-header { background: #ffffff; border-bottom: 1px solid #e1e1e1; padding: 0; position: sticky; top: 0; z-index: 100; color: #111111; font-family: BMDupletDSP, sans-serif !important; }
.header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 15px; gap: 20px;}
.header-left { display: flex; align-items: center; gap: 15px; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; color: #111111;}
.logo span { font-weight: 400; color: #555555; }
.main-logo { height: 110px; object-fit: contain; transition: transform 0.2s ease; }
.main-logo:hover { transform: scale(1.05); }
.menu-icon { font-size: 28px; cursor: pointer; font-weight: bold; }
.search-bar { flex-grow: 1; position: relative; max-width: 700px; }
.search-bar input { width: 100%; padding: 12px 12px 12px 40px; border-radius: 4px; border: none; font-size: 16px; outline: none;}
.search-mag { position: absolute; left: 10px; top: 12px; color: gray; }
.header-icons { display: flex; align-items: center; gap: 20px; }
.header-icons .icon { font-size: 20px; cursor: pointer; color: white; transition: color 0.2s; }
.header-icons .icon:hover { color: #555555; }

/* Language Dropdown */
.lang-dropdown { position: relative; display: inline-block; cursor: pointer; }
.lang-dropdown-content {
    display: none; position: absolute; right: 0; top: 100%;
    background-color: #ffffff !important; border: 1px solid #e5e7eb;
    min-width: 120px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08); z-index: 100;
    border-radius: 12px; overflow: hidden; margin-top: 4px;
}
.lang-dropdown-content a {
    color: #374151 !important; padding: 10px 16px; text-decoration: none; display: block;
    font-size: 14px; text-align: left; transition: all 0.2s;
    font-family: BMDupletDSP, sans-serif !important;
    font-weight: 500;
}
.lang-dropdown-content a:hover {
    background-color: #f3f4f6 !important; color: #111111 !important;
}
.lang-dropdown:hover .lang-dropdown-content { display: block; } /* FontAwesome icons color */
.dropdown-content a i, .dropdown-content a svg { width: 18px !important; height: 18px !important; text-align: center; color: #555555; margin-right: 5px; flex-shrink: 0; }

/* Sub Navbar */
.sub-navbar { background-color: white; border-bottom: 2px solid var(--sw-orange); padding: 0; display: none; }
@media(min-width: 992px) { .sub-navbar { display: block; } }
.nav-links { list-style: none; display: flex; gap: 25px; padding: 0; }
.nav-links li a { color: var(--sw-green); font-weight: 700; text-decoration: none; font-size: 15px; }

/* Dropdown */
.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    border-radius: 12px;
    padding: 8px 0;
    top: 100%;
    left: 0;
    border: 1px solid #e5e7eb;
}
.dropdown-content a {
    color: #374151 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: BMDupletDSP, sans-serif !important;
    font-weight: 700 !important;
    transition: background-color 0.2s;
}
.dropdown-content a:hover {
    background-color: #f3f4f6 !important;
    color: #111111 !important;
}
.dropdown-header {
    padding: 8px 16px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dropdown:hover .dropdown-content { display: block; }

/* Perks Banner */
.perks-banner { background: #f8f9fa; border-bottom: 1px solid var(--sw-border); padding: 0; font-size: 14px; font-weight: 500; color: var(--sw-green); }
.perks-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;}

/* Sidebar */
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
.sidebar { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 1000; overflow-y: auto; transition: left 0.3s ease; }
.sidebar.active { left: 0; }
.sidebar-header { border-bottom: 1px solid var(--sw-border); }
.sw-orange-banner { background: var(--sw-orange); color: #fff; padding: 15px; font-weight: bold; font-size: 18px; display: flex; justify-content: space-between; align-items: center;}
.close-btn { background: rgba(0,0,0,0.2); border: none; color: white; width: 30px; height: 30px; border-radius: 4px; cursor: pointer; font-size: 16px;}
.auth-buttons { display: flex; gap: 10px; padding: 15px; }
.btn-login, .btn-register { flex: 1; padding: 10px; border-radius: 4px; font-weight: bold; cursor: pointer; border: 1px solid var(--sw-green); }
.btn-login { background: var(--sw-green); color: white; }
.btn-register { background: white; color: var(--sw-green); }
.sidebar-nav { list-style: none; }
.sidebar-nav li a { display: flex; align-items: center; padding: 15px; color: #333; text-decoration: none; border-bottom: 1px solid #eee; font-weight: 500;}
.sidebar-nav li a .cat-icon { width: 24px; margin-right: 15px; text-align: center; color: #555555; font-size: 18px; }
.sidebar-nav li a .arrow { margin-left: auto; color: #ccc; }
.sidebar-nav li a:hover { background: #fdfdfd; color: #555555; }
.sidebar-shop h3 { padding: 15px 15px 5px; color: #111; font-size: 18px; font-weight: 900;}

/* Banners */
.trust-banner { text-align: center; padding: 30px 0 15px; }
.trust-banner h2 { font-size: 28px; font-weight: 900; }
.trust-rating { color: var(--sw-green); font-size: 16px; margin-top: 5px;}

.promo-banner { background-color: #555555; color: white; border-radius: 4px; padding: 40px 30px; text-align: center; margin-bottom: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px;}
@media(max-width: 768px) { .promo-banner { flex-direction: column; } }
.promo-content { text-align: left; }
.promo-banner h2 { font-size: 36px; font-weight: 900; margin-bottom: 10px; }
.promo-banner p { font-size: 18px; margin-bottom: 20px;}
.btn-white { background-color: white; color: var(--sw-text); padding: 12px 25px; border-radius: 4px; text-decoration: none; font-weight: 700; display: inline-block; }
.phone-graphic { font-size: 100px; }

.blue-banner { background: var(--sw-light-blue); border-radius: 4px; padding: 20px; text-align: center; margin-bottom: 40px; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;}
.blue-banner h2 { color: var(--sw-blue); font-size: 24px; font-weight: 900;}
.btn-blue { background: var(--sw-blue); color: white; border: none; padding: 12px 25px; border-radius: 4px; font-weight: bold; font-size: 16px; cursor: pointer;}

/* Grids */
.section-title { text-align: center; font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--sw-text); margin-bottom: 30px; font-size: 16px; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 50px; }
@media(min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card { background: linear-gradient(to bottom, #dfc168 0%, #fcfcfc 100%); border-radius: 6px; padding: 20px 5px; text-align: center; cursor: pointer; transition: transform 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.cat-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; color: var(--sw-text);}
.cat-img { margin-bottom: 10px; border-radius: 6px; overflow: hidden; height: 240px; display: flex; align-items: center; justify-content: center; background: transparent; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-price { font-size: 13px; color: var(--sw-gray); margin-top: 10px; font-weight: 500; }
.remove-bg { /* Removed blend-mode so the image keeps its original colors */ }

/* Hero Slider - Back Market Style */
.hero-slider-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 320px;
    box-sizing: border-box;
}

.slide a {
    width: 100%;
    height: 100%;
    display: block;
}

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

@media(max-width: 768px) {
    .slide {
        padding: 0;
        min-height: 260px;
    }
}

/* Per-slide background colors */
/* Per-slide backgrounds */
.slide-iphone18 { background: radial-gradient(ellipse 75% 75% at 75% 50%, #2b2c34 0%, #15161b 45%, #08080a 100%) !important; }
@media (max-width: 992px) {
  .slide-iphone18 { background: radial-gradient(ellipse 80% 60% at 50% 65%, #2b2c34 0%, #15161b 50%, #08080a 100%) !important; }
}
.slide-1 { background: linear-gradient(135deg, #000000 40%, #FFD966 100%) !important; }
.slide-2 { background: #000000 !important; }
.slide-3 { background: linear-gradient(180deg, #FFD966 0%, #FFFFFF 100%) !important; }

.slide-content {
    flex: 0 0 45%;
    max-width: 45%;
    z-index: 2;
}

@media(max-width: 768px) {
    .slide-content {
        flex: none;
        max-width: 100%;
    }
}

.slide-content h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px;
}

@media(max-width: 768px) {
    .slide-content h2 {
        font-size: 1.5rem !important;
    }
}

.slide-content p {
    font-size: 1rem;
    color: #2a2a2a;
    margin-bottom: 24px;
    opacity: 1;
}

.btn-slide {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s;
    border: none;
}

.btn-slide:hover {
    background: #333;
    color: white;
    transform: none;
}

.slide-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media(max-width: 768px) {
    .slide-image {
        flex: none;
        max-width: 100%;
        justify-content: center;
    }
}

.slide-image img {
    max-height: 340px;
    max-width: 100%;
    object-fit: contain;
}

/* Slider Navigation Bar */
.slider-nav {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 80px;
}

@media(max-width: 768px) {
    .slider-nav { padding: 14px 24px; }
}

.slider-nav-arrows { display: flex; gap: 12px; }

.slider-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.slider-nav-btn:hover { background: #444; }

.slider-nav-dots { display: flex; gap: 8px; align-items: center; }

.slider-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #1a1a1a;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.slider-nav-dot.active { background: #1a1a1a; }

.slider-btn { display: none !important; }
.slider-dots { display: none !important; }

/* Promo Banner */
.promo-banner { background-color: #dce4f0; border-radius: 6px; padding: 15px 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 15px; }
@media(min-width: 768px) { .promo-banner { flex-direction: row; padding: 20px 60px; } }
.promo-text { font-size: 20px; font-weight: 700; color: #3b5998; }
.promo-btn { background-color: #3b5998; color: white; padding: 10px 25px; border-radius: 4px; text-decoration: none; font-weight: 700; transition: background-color 0.2s; }
.promo-btn:hover { background-color: #2d4373; }

/* Small Category Row */
.sub-category-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 50px; }
@media(min-width: 768px) { .sub-category-row { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 1024px) { .sub-category-row { grid-template-columns: repeat(6, 1fr); } }
.cat-card.small-card { padding: 15px 10px; }
.cat-card.small-card h3 { font-size: 15px; margin-bottom: 5px; }
.cat-card.small-card .cat-img { height: 130px; margin-bottom: 0; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 50px;}
@media(min-width: 768px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }
.product-card { background-color: var(--sw-card-bg); border: 1px solid var(--sw-border); border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; position: relative;}
.product-card:hover { border-color: var(--sw-green); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.product-img { height: 140px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; font-size: 70px; }
.product-title { font-size: 14px; font-weight: 400; margin-bottom: 5px; color: var(--sw-text); }
.stars { color: #555555; font-size: 14px; margin-bottom: 10px;}
.product-price { font-size: 18px; font-weight: 700; color: var(--sw-green); display: flex; align-items: baseline; justify-content: center; gap: 5px; }
.old-price { font-size: 12px; color: var(--sw-gray); text-decoration: line-through; font-weight: normal;}
.brand-icon { position: absolute; bottom: 15px; right: 15px; font-size: 16px; color: gray;}
.staff-pick { position: absolute; top: 0; left: 0; background: #e9ecef; color: #495057; font-size: 11px; padding: 3px 8px; border-radius: 8px 0 8px 0; font-weight: bold;}

/* Why Us */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; margin-bottom: 50px;}
@media(min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item { text-align: center; padding: 0 15px;}
.feature-item .icon { font-size: 40px; color: var(--sw-green); display: block; margin-bottom: 15px; }
.feature-item h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--sw-gray); }

/* Trustpilot */
.trustpilot-section { background: #f4f4f5; padding: 30px; border-radius: 4px; margin-bottom: 50px; text-align: center;}
.tp-header h3 { font-size: 24px; font-weight: 900;}
.tp-stars { color: #00b67a; font-size: 30px; letter-spacing: 2px;}

/* Footer */
.sw-footer { background: #000000; color: white; padding: 60px 0 20px; border-top: 1px solid #222; }
.footer-flex { display: flex; flex-direction: column; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 15px; margin-bottom: 40px; }
@media(min-width: 992px) { .footer-flex { flex-direction: row; } }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; flex: 1;}
@media(min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media(min-width: 992px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-col a { display: block; color: rgba(255,255,255,0.9); text-decoration: none; margin-bottom: 12px; font-size: 13px; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; font-size: 13px; color: rgba(255,255,255,0.8); }


/* Category Page Layout */
.category-page { padding: 40px 0; }
.breadcrumbs { color: #888; font-size: 14px; margin-bottom: 20px; }
.breadcrumbs a { color: #555555; text-decoration: none; }
.breadcrumbs i { font-size: 10px; margin: 0 8px; }
.category-header { margin-bottom: 30px; }
.category-header h1 { font-size: 28px; color: white; margin-bottom: 10px; }
.category-header p { color: #aaa; }

.category-layout { display: flex; gap: 30px; align-items: flex-start; }

/* Sidebar Filters */
.sidebar-filters { flex: 0 0 250px; background-color: var(--sw-dark); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.sidebar-filters h3 { color: #555555; margin-bottom: 20px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;}
.filter-group { margin-bottom: 20px; }
.filter-group h4 { color: white; font-size: 15px; margin-bottom: 12px; }

.custom-checkbox { display: block; position: relative; padding-left: 30px; margin-bottom: 10px; cursor: pointer; font-size: 14px; color: #ccc; user-select: none; transition: color 0.2s;}
.custom-checkbox:hover { color: white; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #2a2a2a; border-radius: 4px; border: 1px solid #444; transition: all 0.2s; }
.custom-checkbox:hover input ~ .checkmark { background-color: #333; }
.custom-checkbox input:checked ~ .checkmark { background-color: #555555; border-color: #555555; }
.checkmark:after { content: ""; position: absolute; display: none; }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.custom-checkbox .checkmark:after { left: 6px; top: 2px; width: 5px; height: 10px; border: solid #121212; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Product List */
.product-list { flex-grow: 1; }
.list-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: #aaa; font-size: 14px; }
.list-controls strong { color: white; }
.sort-by select { background-color: var(--sw-dark); color: white; border: 1px solid #444; padding: 6px 12px; border-radius: 4px; margin-left: 10px; outline: none;}

.cat-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.product-condition { font-size: 12px; color: #888; margin-top: -5px; margin-bottom: 10px; }
.seller-info { font-size: 11px; color: #55aa55; margin-top: 10px; display: flex; align-items: center; gap: 5px; }

/* Responsive Category Layout */
@media (max-width: 768px) {
    .category-layout { flex-direction: column; }
    .sidebar-filters { width: 100%; flex: none; }
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    border-radius: 12px;
    padding: 8px 0;
    top: 100%;
    left: 0;
    border: 1px solid #e5e7eb;
}

.dropdown-content a {
    color: #374151 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: BMDupletDSP, sans-serif !important;
    font-weight: 700 !important;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f3f4f6 !important;
    color: #111111 !important;
}

/* Fix gap closing dropdown */
.lang-dropdown-content {
    display: none; position: absolute; right: 0; top: 100%;
    background-color: #ffffff !important; border: 1px solid #e5e7eb;
    min-width: 120px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08); z-index: 100;
    border-radius: 12px; overflow: hidden; margin-top: 4px;
}
.lang-dropdown {
    padding-bottom: 10px; /* expands hit area downward */
}

/* Make Swappa category cards look gold like index.html */
.card_home_category {
    background: linear-gradient(to bottom, #dfc168 0%, #fcfcfc 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    transition: transform 0.2s !important;
}
.card_home_category:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

/* Make title side-lines gold instead of green */
.jazzy_jon_lines_cool,
.jazzy_jon_lines_warm,
.jazzy_jon_lines_xmas,
.jazzy_jon_lines_gray,
.jazzy_jon_lines_green,
.jazzy_jon_lines {
    border-bottom-color: #dfc168 !important;
}

h1::before, h1::after,
h2::before, h2::after,
h3::before, h3::after {
    border-bottom-color: #dfc168 !important;
}

/* Fix Product Grid Images */
.card_product .image img { height: 160px; object-fit: contain; width: 100%; }

/* Billboard Images */
.card_home_tech_platform .image img, .card_gaming .image img { height: 140px !important; object-fit: contain; width: 100%; }


/* BACK MARKET HEADER RE-STYLE (Overrides Swappa) */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e1e1;
    padding: 0;
    color: #111111;
    font-family: BMDupletDSP, sans-serif !important;
}

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

.search-bar {
    background-color: #f6f6f6 !important;
    border-radius: 9999px !important;
    border: 1px solid transparent !important;
    transition: background-color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 40px;
    flex-grow: 1;
    max-width: 600px;
    margin: 0 32px;
}

.search-bar:focus-within {
    background-color: #f6f6f6 !important;
    border-color: #111111 !important;
    outline: 2px solid #111111;
    outline-offset: 1px;
}

.search-bar input {
    background: transparent !important;
    border: none !important;
    color: #111111 !important;
    font-size: 16px !important;
    outline: none !important;
    width: 100%;
    height: 100%;
    text-overflow: ellipsis;
}

.search-bar input::placeholder {
    color: #717171 !important;
    transition: color 0.1s;
}

.search-bar input:focus::placeholder {
    color: transparent !important;
}

.search-mag {
    color: #111111 !important;
    font-size: 16px !important;
    margin-right: 12px;
}

.header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-icons .icon, .header-icons .lang-dropdown > span {
    color: #111111 !important;
    font-size: 20px !important;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
    cursor: pointer;
    font-weight: 600;
}

.header-icons .icon:hover, .header-icons .lang-dropdown > span:hover {
    background-color: #f6f6f6 !important;
}

/* Sub-navbar Back Market Style */
.sub-navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e1e1e1;
    height: auto !important;
}

.sub-navbar .nav-links {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
    list-style: none;
    /* overflow-x removed so dropdowns can break out */
}

.sub-navbar .dropdown > a {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 16px 0 !important; display: flex; align-items: center; height: 100%;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    font-family: BMDupletDSP, sans-serif !important;
}

.sub-navbar .dropdown > a:hover {
    color: #000000 !important;
    border-bottom: 2px solid #111111;
}

/* Top bar back market */
.top-bar-bm {
    background-color: #f6f6f6;
    color: #111111;
    font-family: BMDupletDSP, sans-serif !important;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 16px;
    border-bottom: 1px solid #e1e1e1;
}
.top-bar-bm a {
    color: #111111;
    text-decoration: none;
}
.top-bar-bm a:hover {
    text-decoration: underline;
}

/* FOOTER FIXES */
.footer-container { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.footer-brand { flex: 1; min-width: 250px; }
.footer-brand img { margin-bottom: 15px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-links { flex: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 16px; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; margin-bottom: 12px; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #FFD758; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,0.5); }


/* Hide Next.js DevTools */
nextjs-portal, #devtools-indicator { display: none !important; }


@keyframes slide-words {
  0%, 15% { transform: translateY(0); }
  20%, 35% { transform: translateY(-16.666%); }
  40%, 55% { transform: translateY(-33.333%); }
  60%, 75% { transform: translateY(-50%); }
  80%, 95% { transform: translateY(-66.666%); }
  100% { transform: translateY(-83.333%); }
}
.words-slider {
  animation: slide-words 12s infinite;
}

/* Force vertical thumbnails on desktop */
@media (min-width: 768px) {
  .desktop-vertical {
    flex-direction: column !important;
  }
}
