* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
header {
    background: #e62e04;
}

.header-main {
    max-width: 1200px;
    margin: auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.logo-text span {
    color: #ffcc00;
}

.logo-sub {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.header-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.header-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.header-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== PAGE BODY ===== */
.auth-page {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}

/* Left: brand panel */
.auth-brand {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #e62e04 0%, #c72600 100%);
    border-radius: 6px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    position: sticky;
    top: 20px;
}

.auth-brand h2 {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
}

.auth-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.auth-brand-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-brand-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-brand-steps li span {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.auth-brand-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Right: form card */
.auth-card {
    flex: 1;
    max-width: 500px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 32px 32px 28px;
}

.auth-card h1 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.auth-card .auth-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.auth-card .auth-subtitle a {
    color: #e62e04;
    font-weight: 600;
}

.auth-card .auth-subtitle a:hover {
    text-decoration: underline;
}

/* Social buttons */
.social-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    padding: 10px 8px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, border-color 0.15s;
}

.social-btn:hover {
    background: #f7f7f7;
    border-color: #bbb;
}

.social-btn .s-icon {
    font-size: 16px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.divider span {
    font-size: 12px;
    color: #bbb;
    white-space: nowrap;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

/* Form */
.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    font-family: Arial, sans-serif;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #e62e04;
}

.form-group input.error,
.form-group select.error {
    border-color: #e53935;
}

.field-error {
    font-size: 11px;
    color: #e53935;
    margin-top: 4px;
    display: none;
}

.field-error.show {
    display: block;
}

/* Password strength */
.pw-wrap {
    position: relative;
}

.pw-wrap input {
    padding-right: 44px;
}

.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.pw-toggle:hover {
    color: #333;
}

.pw-strength {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.pw-strength-bar {
    flex: 1;
    height: 3px;
    background: #e8e8e8;
    border-radius: 2px;
    transition: background 0.3s;
}

.pw-strength-label {
    font-size: 10px;
    color: #aaa;
    margin-top: 3px;
}

/* Terms */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}

.terms-check input[type="checkbox"] {
    accent-color: #e62e04;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.terms-check label {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.terms-check label a {
    color: #e62e04;
}

.terms-check label a:hover {
    text-decoration: underline;
}

.terms-error {
    font-size: 11px;
    color: #e53935;
    margin-bottom: 14px;
    display: none;
}

.terms-error.show {
    display: block;
}

.submit-btn {
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #c72600;
}

.submit-btn:active {
    transform: scale(0.99);
}

.auth-terms {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

.auth-terms a {
    color: #888;
}

.auth-terms a:hover {
    color: #e62e04;
    text-decoration: underline;
}

/* ===== FOOTER (minimal) ===== */
.auth-footer {
    background: #222;
    color: #555;
    padding: 16px;
    text-align: center;
    font-size: 11px;
    margin-top: 28px;
}

.auth-footer a {
    color: #666;
    margin: 0 8px;
}

.auth-footer a:hover {
    color: #aaa;
}

@media (max-width: 768px) {
    .auth-brand {
        display: none;
    }

    .auth-card {
        max-width: 100%;
        padding: 24px 20px;
    }

    .auth-page {
        margin: 16px auto;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .social-btns {
        flex-direction: column;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: Arial, sans-serif;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #333;
    color: #ccc;
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px solid #444;
}

.top-bar .inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar a,
.top-bar span {
    color: #ccc;
    font-size: 12px;
    padding: 0 10px;
    line-height: 28px;
    border-right: 1px solid #555;
    display: inline-block;
}

.top-bar a:first-child,
.top-bar span:first-child {
    border-left: 1px solid #555;
}

.top-bar-right a:last-child {
    border-right: 1px solid #555;
}

.top-bar a:hover {
    color: #fff;
}

/* ===== HEADER ===== */
header {
    background: #e62e04;
    position: sticky;
    top: 0;
    z-index: 300;
}

.header-main {
    max-width: 1200px;
    margin: auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    padding: 4px 8px;
    flex-shrink: 0;
    line-height: 1;
}

.logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-text span {
    color: #ffcc00;
}

.logo-sub {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.search-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-bar {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #ff8c00;
    background: #fff;
}

.search-cat-select {
    border: none;
    border-right: 1px solid #ddd;
    padding: 0 10px;
    font-size: 12px;
    color: #333;
    background: #f5f5f5;
    outline: none;
    cursor: pointer;
    min-width: 110px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    color: #333;
    min-width: 0;
}

.search-btn {
    background: #ff8c00;
    color: #fff;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.search-btn:hover {
    background: #e67a00;
}

.search-tags {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.search-tags a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.search-tags a:hover {
    color: #fff;
    text-decoration: underline;
}

.header-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.mobile-search-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 6px 8px;
    flex-shrink: 0;
    line-height: 1;
    border-radius: 4px;
}

.mobile-search-drop {
    display: none;
    background: #c72600;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-search-drop.open {
    display: block;
}

.mobile-search-inner {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #ff8c00;
    background: #fff;
}

.mobile-search-inner input {
    flex: 1;
    border: none;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    color: #333;
    min-width: 0;
}

.mobile-search-inner button {
    background: #ff8c00;
    color: #fff;
    border: none;
    padding: 0 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.hdr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    background: transparent;
    border: none;
    transition: background 0.15s;
    cursor: pointer;
    position: relative;
}

.hdr-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

.hdr-btn .icon {
    font-size: 20px;
    line-height: 1;
}

.hdr-btn .label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.hdr-btn .sublabel {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 4px;
    background: #ffcc00;
    color: #c00;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdr-dropdown-wrap {
    position: relative;
}

.hdr-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 9999;
    padding: 12px 0;
}

.hdr-dropdown-wrap:hover .hdr-dropdown {
    display: block;
}

.hdr-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    transform: rotate(45deg);
}

.acct-dropdown-header {
    padding: 10px 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.acct-dropdown-header p {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.acct-sign-btn {
    display: block;
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.acct-sign-btn:hover {
    background: #c72600;
}

.acct-register {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #e62e04;
    margin-top: 6px;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.12s;
}

.dropdown-menu-item:hover {
    background: #fff4f2;
    color: #e62e04;
}

.dropdown-menu-item .dm-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 0;
}

.locale-dropdown {
    min-width: 280px;
    padding: 16px;
}

.locale-group {
    margin-bottom: 14px;
}

.locale-group:last-child {
    margin-bottom: 0;
}

.locale-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.locale-select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    background: #fafafa;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.locale-select:focus {
    border-color: #e62e04;
}

.locale-save-btn {
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 14px;
}

.locale-save-btn:hover {
    background: #c72600;
}

/* ===== NAV BAR ===== */
.nav-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 200;
}

.nav-bar .inner {
    max-width: 1200px;
    margin: auto;
    padding-left: 16px;
    display: flex;
    align-items: stretch;
}

.nav-cat-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;

}

.nav-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 42px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #e62e04;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    line-height: 1;
}

.nav-cat-btn:hover,
.nav-cat-btn.active {
    background: #c72600;
}

.nav-cat-btn .cat-burger {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-cat-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
    z-index: 500;
    border-radius: 0 0 6px 6px;
    padding: 6px 0;
    overflow: visible;
}

.nav-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background 0.12s;
    border-left: 2px solid transparent;
}

.nav-cat-item:hover,
.nav-cat-item.nav-cat-item-hover {
    background: #fff4f2;
    color: #e62e04;
    border-left-color: #e62e04;
}

.nav-cat-sub {
    display: none;
    position: absolute;
    top: 0;
    left: 180px;
    width: 580px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #e62e04;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.12);
    z-index: 600;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
    border-radius: 0 4px 4px 0;
    overflow-y: auto;
}

.nav-cat-item-hover .nav-cat-sub {
    display: flex;
}

.nav-cat-dropdown.open {
    display: block;
}



.nav-cat-item .nci-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cat-item .nci-icon {
    font-size: 15px;
}

.nav-cat-item .nci-arr {
    font-size: 10px;
    color: #bbb;
}

.nav-cat-item:hover .nci-arr,
.nav-cat-item.nav-cat-item-hover .nci-arr {
    color: #e62e04;
}




/* duplicate .nav-cat-item:hover .nav-cat-sub rule removed —
   panel visibility is handled once above via .nav-cat-item-hover */

.nav-cat-sub-col {
    min-width: 130px;
}




.nav-cat-sub-col h4 {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-cat-sub-col a {
    display: block;
    font-size: 12px;
    color: #555;
    padding: 3px 0;
}

.nav-cat-sub-col a:hover {
    color: #e62e04;
}

.quick-nav {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.quick-nav a {
    font-size: 13px;
    padding: 0 14px;
    line-height: 42px;
    white-space: nowrap;
    color: #333;
    border-bottom: 2px solid transparent;
    display: block;
}

.quick-nav a:hover {
    color: #e62e04;
    border-bottom-color: #e62e04;
}

.quick-nav a.hot {
    color: #e62e04;
    font-weight: 600;
}

.quick-nav-more {
    position: relative;
    display: flex;
    align-items: stretch;
}

.quick-nav-more-btn {
    font-size: 13px;
    padding: 0 14px;
    white-space: nowrap;
    color: #333;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 42px;
    font-family: Arial, sans-serif;
}

.quick-nav-more:hover .quick-nav-more-btn {
    color: #e62e04;
    border-bottom-color: #e62e04;
}

.more-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
    min-width: 200px;
    z-index: 400;
    padding: 8px 0;
}

.quick-nav-more:hover .more-dropdown {
    display: block;
}

.more-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    transition: background 0.12s;
}

.more-dropdown a:hover {
    background: #fff4f2;
    color: #e62e04;
}

.more-dropdown .md-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== MOBILE DRAWER ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 800;
}

.mobile-overlay.open {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 285px;
    height: 100vh;
    background: #fff;
    z-index: 900;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.22);
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-header {
    background: #e62e04;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer-logo {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.mobile-drawer-logo span {
    color: #ffcc00;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
}

.mobile-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-user-section {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff8f7;
}

.mobile-user-section p {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.mobile-sign-btn {
    display: block;
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.mobile-sign-btn:hover {
    background: #c72600;
}

.mobile-drawer-section {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-section-title {
    font-size: 11px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px 4px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid #f8f8f8;
}

.mobile-nav-item:hover {
    background: #fff4f2;
    color: #e62e04;
}

.mn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-icon {
    font-size: 16px;
}

.mn-arr {
    font-size: 11px;
    color: #ccc;
    transition: transform 0.2s;
}

.mobile-nav-item.open .mn-arr {
    transform: rotate(90deg);
    color: #e62e04;
}

.mobile-cat-sub {
    display: none;
    background: #fafafa;
}

.mobile-cat-sub.open {
    display: block;
}

.mobile-cat-sub a {
    display: block;
    padding: 9px 16px 9px 48px;
    font-size: 12px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-cat-sub a:hover {
    color: #e62e04;
    background: #fff4f2;
}

.mobile-quick-link {
    display: block;
    padding: 11px 16px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f8f8f8;
}

.mobile-quick-link:hover {
    color: #e62e04;
    background: #fff4f2;
}

.mobile-quick-link.hot {
    color: #e62e04;
    font-weight: 700;
}


/* ===== BREADCRUMB ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #999;
}

.breadcrumb a:hover {
    color: #e62e04;
    text-decoration: underline;
}

.breadcrumb .sep {
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
}

/* ===== PAGE LAYOUT ===== */
.page-layout {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    width: 210px;
    flex-shrink: 0;
}

.filter-box {
    background: #fff;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 10px;
}

.filter-box h3 {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-category-list {
    list-style: none;
}

.filter-category-list li {
    padding: 5px 0;
}

.filter-category-list li a {
    font-size: 12px;
    color: #555;
    display: flex;
    justify-content: space-between;
}

.filter-category-list li a:hover {
    color: #e62e04;
}

.filter-category-list li a.active {
    color: #e62e04;
    font-weight: 700;
}

.filter-category-list li a span {
    color: #bbb;
    font-size: 11px;
}

.filter-section {
    margin-bottom: 14px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h4 {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-section h4 .toggle-icon {
    font-size: 10px;
    color: #bbb;
}

.filter-check-list {
    list-style: none;
}

.filter-check-list li {
    padding: 4px 0;
}

.filter-check-list label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.filter-check-list label:hover {
    color: #e62e04;
}

.filter-check-list input[type="checkbox"] {
    accent-color: #e62e04;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-check-list label span.count {
    color: #bbb;
    font-size: 11px;
    margin-left: auto;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-inputs input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 12px;
    color: #333;
    outline: none;
    min-width: 0;
}

.price-inputs input:focus {
    border-color: #e62e04;
}

.price-inputs span {
    font-size: 12px;
    color: #bbb;
    flex-shrink: 0;
}

.price-go-btn {
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.price-go-btn:hover {
    background: #c72600;
}

.rating-list {
    list-style: none;
}

.rating-list li {
    padding: 4px 0;
}

.rating-list label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.rating-list label:hover {
    color: #e62e04;
}

.rating-stars {
    color: #ff8c00;
    font-size: 12px;
    letter-spacing: 1px;
}

.rating-list input[type="radio"] {
    accent-color: #e62e04;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-clear-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #e62e04;
    color: #e62e04;
    border-radius: 3px;
    padding: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}

.filter-clear-btn:hover {
    background: #fff4f2;
}

/* ===== MAIN CONTENT ===== */
.products-main {
    flex: 1;
    min-width: 0;
}

/* Toolbar */
.products-toolbar {
    background: #fff;
    border-radius: 4px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.toolbar-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.toolbar-cat-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

.toolbar-results {
    font-size: 12px;
    color: #999;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sort-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.sort-select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px 24px 5px 8px;
    font-size: 12px;
    color: #333;
    outline: none;
    cursor: pointer;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;
}

.sort-select:focus {
    border-color: #e62e04;
}

.view-btns {
    display: flex;
    gap: 2px;
}

.view-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.view-btn.active {
    background: #e62e04;
    border-color: #e62e04;
    color: #fff;
}

.view-btn:hover:not(.active) {
    background: #eee;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.active-filters-label {
    font-size: 12px;
    color: #666;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff4f2;
    border: 1px solid #ffd6cc;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 11px;
    color: #e62e04;
}

.active-filter-tag button {
    background: none;
    border: none;
    color: #e62e04;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.clear-all-filters {
    font-size: 11px;
    color: #e62e04;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product-card {
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.p-img {
    position: relative;
    overflow: hidden;
}

.p-img img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.product-card:hover .p-img img {
    transform: scale(1.05);
}

.p-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e62e04;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
}

.p-tag.yellow {
    background: #ff8c00;
}

.p-tag.green {
    background: #20a010;
}

.p-wish {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .p-wish {
    opacity: 1;
}

.p-info {
    padding: 8px;
}

.p-name {
    font-size: 12px;
    line-height: 1.4;
    height: 34px;
    overflow: hidden;
    color: #333;
    margin-bottom: 5px;
}

.p-price {
    font-size: 17px;
    font-weight: 700;
    color: #e62e04;
}

.p-orig {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
    margin-left: 4px;
}

.p-disc {
    font-size: 11px;
    color: #20a010;
    margin-left: 4px;
    font-weight: 600;
}

.p-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.p-stars {
    color: #ff8c00;
    font-size: 11px;
}

.p-reviews {
    font-size: 10px;
    color: #999;
    margin-left: 2px;
}

.p-ship {
    font-size: 10px;
    color: #20a010;
    font-weight: 600;
}

.p-add-cart {
    width: 100%;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    display: none;
    transition: background 0.15s;
}

.p-add-cart:hover {
    background: #c72600;
}

.product-card:hover .p-add-cart {
    display: block;
}

/* List View */
.product-grid.list-view {
    grid-template-columns: 1fr;
}

.product-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
}

.product-grid.list-view .p-img {
    width: 180px;
    flex-shrink: 0;
}

.product-grid.list-view .p-img img {
    width: 100%;
    height: 180px;
}

.product-grid.list-view .p-info {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}

.product-grid.list-view .p-name {
    height: auto;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-grid.list-view .p-add-cart {
    display: block;
    max-width: 180px;
    margin-top: auto;
}

.product-grid.list-view .product-card:hover .p-add-cart {
    display: block;
}

.p-list-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 6px;
    display: none;
}

.product-grid.list-view .p-list-desc {
    display: block;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.page-btn:hover {
    border-color: #e62e04;
    color: #e62e04;
}

.page-btn.active {
    background: #e62e04;
    border-color: #e62e04;
    color: #fff;
    font-weight: 700;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-btn.prev,
.page-btn.next {
    width: auto;
    padding: 0 12px;
    font-size: 12px;
}

/* ===== FOOTER ===== */
footer {
    background: #222;
    color: #aaa;
    margin-top: 20px;
}

.footer-top {
    background: #1a1a1a;
    padding: 14px 0;
    border-bottom: 1px solid #333;
}

.footer-top .inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-top h3 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}

.footer-top p {
    font-size: 12px;
    color: #888;
}

.app-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.app-btn {
    background: #fff;
    color: #333;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.app-btn:hover {
    background: #f0f0f0;
}

.footer-links {
    max-width: 1200px;
    margin: auto;
    padding: 28px 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.f-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.f-col a {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 7px;
}

.f-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 14px 16px;
}

.footer-bottom .inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 11px;
    color: #555;
}

.payment-icons {
    display: flex;
    gap: 6px;
}

.pay-icon {
    background: #333;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 10px;
    color: #aaa;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .filter-sidebar {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions .hdr-dropdown-wrap {
        display: none;
    }

    .search-tags {
        display: none;
    }

    .search-wrap {
        display: none;
    }

    .mobile-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-main {
        justify-content: space-between;
    }

    .nav-bar {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top .inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-right {
        align-self: flex-end;
    }

    .product-grid.list-view .p-img {
        width: 120px;
    }

    .product-grid.list-view .p-img img {
        height: 120px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px 12px;
    }
}

/* ── Newsletter Section ── */
.footer-newsletter {
    background: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 0;
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.newsletter-text p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 460px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 13px;
    background: #2d2d2d;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
    color: #666;
}

.newsletter-form input[type="email"]:focus {
    border-color: #ff8c00;
}

.newsletter-form button {
    padding: 9px 20px;
    background: #e62e04;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: Arial, sans-serif;
}

.newsletter-form button:hover {
    background: #c72600;
}

.newsletter-msg {
    font-size: 11px;
    margin-top: 6px;
    min-height: 16px;
}

.newsletter-msg.success {
    color: #66bb6a;
}

.newsletter-msg.error {
    color: #ef5350;
}

@media (max-width: 640px) {
    .newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-form button {
        white-space: nowrap;
        flex-shrink: 0;
    }
}


/* // ===== CUSTOM SELECT =====/ */

.custom-select {
    position: relative;
}

.custom-select-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-align: left;
}

.custom-select-toggle:focus,
.custom-select-toggle[aria-expanded="true"] {
    outline: none;
    border-color: #e62e04;
}

.custom-select-flag {
    width: 20px;
    height: 15px;
    flex-shrink: 0;
    background-size: cover;
    border-radius: 2px;
    background-color: #f0f0f0;
}

.custom-select-label {
    flex: 1;
    color: #333;
}

.custom-select-arrow {
    color: #999;
    font-size: 11px;
}

.custom-select-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 20;
    margin: 0;
    padding: 4px 0;
    list-style: none;
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.selected {
    background: #fdece7;
}

.custom-select-option .fi {
    width: 20px;
    height: 15px;
    flex-shrink: 0;
    border-radius: 2px;
}

.phone-input-group {
    display: flex;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.phone-input-group:focus-within {
    border-color: #e62e04;
}

.phone-code-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    background: #f5f5f5;
    border-right: 1.5px solid #e0e0e0;
    white-space: nowrap;
    user-select: none;
}

.form-group .phone-input-group input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    font-family: Arial, sans-serif;
}