:root {
    --primary-color: #111111;
    --secondary-color: #f9fafb;
    --accent-color: #0000d6;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --border-light: #e5e7eb;
    --border-dark: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sticky Floating Contact Bar (Bên Phải Màn Hình) */
.floating-contact-bar {
    position: fixed;
    right: 12px;
    top: 22%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.contact-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-btn.phone { background-color: #ef4444; }
.contact-btn.zalo { background-color: #2563eb; }
.contact-btn.wa { background-color: #22c55e; }
.contact-btn.vib { background-color: #7c3aed; }
.contact-btn.fb { background-color: #3b82f6; }
.contact-btn.tg { background-color: #0284c7; }
.contact-btn.tt { background-color: #000000; }
.contact-btn.map { background-color: #475569; }

/* Floating Chat Pill Widget */
.chat-pill-blue {
    position: fixed;
    bottom: 0;
    right: 70px;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 10px 24px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Top Announcement Bar */
.top-announcement {
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.top-announcement a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Header & Hero Search Overlay (Chuẩn Header_2.JPG) */
.hero-header-wrapper {
    position: relative;
    min-height: 360px;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,18,0.72) 0%, rgba(10,12,18,0.58) 55%, rgba(10,12,18,0.8) 100%);
}

.nav-bar-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 14px;
    gap: 20px;
    width: 100%;
}

.brand-logo {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 9px;
    letter-spacing: 1.5px;
    opacity: 0.85;
}

.main-nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.main-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.main-nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.header-right-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-trigger {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -7px;
    right: -10px;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.hero-center-box {
    position: relative;
    z-index: 2;
    max-width: 660px;
    width: 100%;
    padding: 36px 24px 52px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-center-box h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    padding: 8px 4px;
}

.hero-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
}

.hero-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

/* Body 4-Column Editorial Strip (Chuẩn Body_2.JPG) */
.editorial-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.editorial-tile {
    position: relative;
    height: 290px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.editorial-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.editorial-tile:hover img {
    transform: scale(1.04);
}

.editorial-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.68) 100%);
}

.tile-caption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

/* Products & Cart Showcase */
.products-showcase-section {
    padding: 56px 0;
    background: #ffffff;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.section-heading-row h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-heading-row p {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-outline-dark {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shoe-card {
    border: 1px solid var(--border-light);
    background: var(--secondary-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shoe-img-wrap {
    height: 210px;
    background: #ffffff;
    overflow: hidden;
}

.shoe-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shoe-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shoe-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.shoe-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.shoe-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 14px;
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background: #27272a;
}

/* Cart Drawer */
.cart-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1200;
}

.cart-drawer-backdrop.open { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 390px;
    height: 100vh;
    background: #ffffff;
    color: var(--text-dark);
    z-index: 1201;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.18);
    transition: right 0.25s ease;
}

.cart-drawer.open { right: 0; }

.cart-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 { font-size: 15px; font-weight: 700; }

.close-drawer-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
}

.empty-cart-text {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.cart-item-row img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-meta { flex: 1; }
.cart-item-title { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.cart-item-sub { font-size: 11px; color: var(--text-muted); }

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 700;
}

.cart-drawer-footer {
    padding: 18px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--secondary-color);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 14px;
}

.btn-checkout-full {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Lead Form Section */
.lead-section {
    padding: 52px 0;
    background: var(--secondary-color);
    border-top: 1px solid var(--border-light);
}

.form-wrapper-modern {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 28px;
    border-radius: 8px;
}

.badge-tag { font-size: 10px; font-weight: 800; color: var(--text-muted); display: block; margin-bottom: 8px; }
.form-info-side h2 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.form-info-side p { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }

.email-box-highlight {
    background: var(--secondary-color);
    padding: 10px 14px;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    margin-bottom: 8px;
}

.email-box-highlight small { font-size: 10px; color: var(--text-muted); display: block; }
.email-address { font-size: 12px; font-weight: 700; color: var(--text-dark); }
.service-tag { font-size: 10px; color: var(--text-muted); }

.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-field { flex: 1; }
.form-field label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.form-field input {
    width: 100%;
    border: 1px solid #d1d5db;
    padding: 9px 11px;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
}

.btn-submit-dark {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer 5 Cột + Bottom Bar (Chuẩn Footer_2.JPG) */
.site-footer-clean {
    background: #ffffff;
    color: var(--text-dark);
    padding: 56px 0 36px;
    border-top: 1px solid var(--border-light);
}

.footer-columns-5 {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, 1fr);
    gap: 28px;
    padding-bottom: 40px;
}

.footer-columns-5 h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.footer-col-newsletter p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col-newsletter label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.newsletter-input-wrap {
    display: flex;
    border: 1px solid #d1d5db;
    background: #ffffff;
}

.newsletter-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 12px;
    font-size: 12px;
}

.newsletter-input-wrap button {
    border: none;
    background: transparent;
    padding: 0 14px;
    cursor: pointer;
    color: var(--text-dark);
}

.footer-col-links ul {
    list-style: none;
}

.footer-col-links li {
    margin-bottom: 9px;
}

.footer-col-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
}

.footer-col-links a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

.follow-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.follow-row a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
}

.locale-row {
    display: flex;
    gap: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .editorial-grid-4,
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav-links { display: none; }
    .editorial-grid-4,
    .product-grid-4,
    .form-wrapper-modern,
    .footer-columns-5 {
        grid-template-columns: 1fr;
    }
    .form-row { flex-direction: column; }
}