/* ShoeMart — Bata-inspired theme | Red, Black, White */

:root {
    --primary: #cc0000;        /* Bata red */
    --primary-dark: #990000;
    --primary-light: #ff3333;
    --accent: #cc0000;
    --dark: #1a1a1a;
    --dark-2: #2a2a2a;
    --dark-soft: #4a4a4a;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d4d4d4;
    --gray-500: #888;
    --gray-700: #555;
    --text-primary: #1a1a1a;
    --text-muted: #666;
    --bg-cream: #f8f8f8;
    --bg-white: #fff;
    --border: #e8e8e8;
    --success: #16a34a;
    --warning: #f59e0b;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }

a { color: var(--text-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--dark);
    color: #fff;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    text-align: center;
    letter-spacing: 0.04em;
}
.top-bar .bi { color: var(--primary-light); margin-right: 4px; }

/* ============ HEADER ============ */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-main {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; padding: 1rem 0;
}
.brand-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem; font-weight: 900;
    color: var(--dark); letter-spacing: -1.5px;
}
.brand-logo .accent { color: var(--primary); }
.search-bar {
    flex: 1; max-width: 500px; position: relative;
}
.search-bar input {
    width: 100%;
    padding: 0.7rem 3rem 0.7rem 1.2rem;
    border: 1.5px solid var(--border);
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.92rem;
    transition: all var(--transition);
}
.search-bar input:focus {
    outline: none; border-color: var(--primary); background: #fff;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.search-bar button {
    position: absolute; right: 5px; top: 5px;
    background: var(--primary); color: #fff;
    border: none; width: 38px; height: 38px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-icon-btn {
    color: var(--dark); font-size: 1.3rem; position: relative;
    transition: color var(--transition);
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.header-icon-btn:hover { color: var(--primary); background: var(--gray-100); }
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--primary); color: #fff;
    font-size: 0.65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ============ NAV ============ */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}
.main-nav-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 2rem; align-items: center;
    flex-wrap: wrap;
}
.main-nav-list > li > a {
    display: block; padding: 1rem 0;
    font-size: 0.9rem; font-weight: 600;
    color: var(--dark); text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
}
.main-nav-list > li > a:hover { color: var(--primary); }
.main-nav-list > li > a::after {
    content: ''; position: absolute;
    left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.main-nav-list > li > a:hover::after { width: 100%; }
.main-nav-list .has-dropdown { position: relative; }
.dropdown-menu-custom {
    position: absolute; top: 100%; left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--transition);
    list-style: none; margin: 0;
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu-custom li a {
    display: block; padding: 0.6rem 1.2rem;
    font-size: 0.88rem; color: var(--dark);
    text-transform: none; font-weight: 500;
}
.dropdown-menu-custom li a:hover { background: var(--gray-100); color: var(--primary); }

.mobile-toggle {
    display: none;
    background: none; border: none;
    color: var(--dark); font-size: 1.5rem;
}

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    height: 600px;
}
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slider-controls {
    position: absolute; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 30px; height: 4px;
    background: rgba(255,255,255,0.4);
    border: none; border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
}
.slider-dot.active { background: var(--primary); width: 50px; }
.slider-arrow {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer; z-index: 10;
    transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

/* ============ BUTTONS ============ */
.btn-primary-custom {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.85rem 2rem;
    background: var(--primary); color: #fff;
    border: none; border-radius: 50px;
    font-weight: 700; font-size: 0.92rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-dark); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204,0,0,0.3);
}
.btn-outline-custom {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.85rem 2rem;
    background: transparent; color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 50px;
    font-weight: 700; font-size: 0.92rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-outline-custom:hover {
    background: var(--dark); color: #fff;
}
.btn-dark-custom {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.85rem 2rem;
    background: var(--dark); color: #fff;
    border: none; border-radius: 50px;
    font-weight: 700; font-size: 0.92rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-dark-custom:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ============ SECTION ============ */
.section {
    padding: 5rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-eyebrow {
    color: var(--primary);
    font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1.5px;
}
.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============ CATEGORY GRID ============ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    cursor: pointer;
    transition: transform var(--transition);
}
.category-card:hover { transform: translateY(-4px); }
.category-card-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.5s ease;
}
.category-card:hover .category-card-img { transform: scale(1.08); }
.category-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.category-card-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem; color: #fff;
}
.category-card-content h4 {
    color: #fff; font-size: 1.5rem; font-weight: 800;
    margin: 0 0 0.5rem 0;
}
.category-card-content span {
    color: var(--primary-light);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
}

/* ============ PRODUCT CARD ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
    display: block;
    color: inherit;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    color: inherit;
}
.product-image-wrap {
    aspect-ratio: 1;
    background: var(--gray-100);
    background-size: cover; background-position: center;
    position: relative;
    overflow: hidden;
}
.product-image-placeholder {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300);
    font-size: 4rem;
}
.product-badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex; flex-direction: column;
    gap: 6px;
}
.product-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}
.badge-new { background: var(--dark); }
.badge-sale { background: var(--primary); }
.badge-bestseller { background: var(--warning); color: var(--dark); }

.product-quick-actions {
    position: absolute;
    top: 12px; right: 12px;
    display: flex; flex-direction: column;
    gap: 6px;
    opacity: 0; transform: translateX(10px);
    transition: all var(--transition);
}
.product-card:hover .product-quick-actions { opacity: 1; transform: translateX(0); }
.product-quick-btn {
    width: 36px; height: 36px;
    background: #fff; color: var(--dark);
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.product-quick-btn:hover { background: var(--primary); color: #fff; }

.product-body {
    padding: 1rem 1.2rem 1.2rem;
}
.product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.product-category {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.product-name {
    font-size: 0.98rem; font-weight: 700;
    color: var(--dark);
    margin: 0.4rem 0;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price-row {
    display: flex; align-items: center;
    gap: 8px; margin-top: 8px;
}
.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}
.product-old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============ FEATURE STRIP ============ */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--gray-100);
}
.feature-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0 1rem;
}
.feature-icon {
    width: 50px; height: 50px;
    background: var(--primary);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.feature-content h6 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.feature-content p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: #aaa;
    padding: 4rem 0 0;
}
.footer h6 {
    color: #fff;
    font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.footer a { color: #aaa; display: block; padding: 4px 0; font-size: 0.9rem; }
.footer a:hover { color: var(--primary-light); }
.footer .brand-logo {
    color: #fff;
    font-size: 1.85rem;
}
.footer .brand-logo .accent { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px;
    background: #2a2a2a;
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
    transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; }

/* ============ PAGE HEADER ============ */
.page-header {
    background: var(--gray-100);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
}
.breadcrumb-nav {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.breadcrumb-nav a { color: var(--text-muted); }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav .sep { margin: 0 8px; }

/* ============ SHOP LAYOUT ============ */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}
.shop-sidebar {
    position: sticky; top: 100px;
    align-self: start;
}
.filter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.filter-card h6 {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: var(--dark);
}
.filter-card .form-check { padding-left: 1.6rem; margin-bottom: 8px; }
.filter-card .form-check-label { font-size: 0.88rem; cursor: pointer; }

/* ============ PRODUCT DETAIL ============ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.product-gallery-main {
    aspect-ratio: 1;
    background: var(--gray-100);
    background-size: cover; background-position: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.gallery-thumb {
    aspect-ratio: 1;
    background-size: cover; background-position: center;
    background-color: var(--gray-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--primary); }

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.detail-brand { font-size: 0.85rem; color: var(--primary); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.detail-rating { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0; }
.detail-rating .stars { color: var(--warning); }
.detail-price-row {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 1.5rem 0;
}
.detail-price {
    font-size: 2rem; font-weight: 800;
    color: var(--primary);
}
.detail-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 12px;
}
.detail-discount {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 8px;
}

.option-group { margin: 1.5rem 0; }
.option-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
}
.option-pill:hover { border-color: var(--dark); }
.option-pill.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.qty-row { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.qty-control {
    display: inline-flex; align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.qty-control button {
    width: 38px; height: 42px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}
.qty-control button:hover { background: var(--gray-100); }
.qty-control input {
    width: 50px; height: 42px;
    border: none; text-align: center;
    font-weight: 700;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }

/* ============ CART ============ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--gray-100);
    padding: 1rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.cart-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.cart-product-cell {
    display: flex; align-items: center; gap: 1rem;
}
.cart-product-img {
    width: 80px; height: 80px;
    background: var(--gray-100);
    background-size: cover; background-position: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.summary-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.summary-card h5 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex; justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.92rem;
}
.summary-total {
    border-top: 2px solid var(--dark);
    margin-top: 0.5rem;
    padding-top: 1rem !important;
    font-size: 1.15rem;
    font-weight: 800;
}
.summary-total span:last-child { color: var(--primary); }

/* ============ FORMS ============ */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.form-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

/* ============ AUTH ============ */
.auth-card {
    max-width: 440px;
    margin: 3rem auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.auth-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

/* ============ ALERTS ============ */
.alert-success-custom {
    background: #d1fae5; color: #065f46;
    border-left: 4px solid var(--success);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}
.alert-error-custom {
    background: #fee2e2; color: #991b1b;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    z-index: 999;
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    .section-title { font-size: 1.85rem; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .header-main { flex-wrap: wrap; }
    .search-bar { order: 3; flex-basis: 100%; max-width: 100%; }
    .main-nav-list { display: none; }
    .main-nav-list.show { display: flex; flex-direction: column; gap: 0; padding: 1rem 0; }
    .main-nav-list.show > li > a { padding: 0.75rem 1rem; }
    .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .dropdown-menu-custom { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1rem; min-width: auto; }
    .hero-slider { height: auto; min-height: 480px; }
    .slider-arrow { display: none; }
    .section { padding: 3rem 0; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .cart-table thead { display: none; }
    .cart-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border); }
    .cart-table td { display: block; padding: 0.5rem 0; border: none; }
    .cart-table td::before { content: attr(data-label); display: inline-block; width: 100px; font-weight: 600; color: var(--text-muted); }
    .cart-table td.cart-product-cell::before { display: none; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.65rem; }
    .section-title { font-size: 1.55rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .auth-card { padding: 2rem 1.5rem; }
    .feature-strip { grid-template-columns: 1fr; }
    .hero-slider { min-height: 380px; }
    .brand-logo { font-size: 1.5rem; }
}

@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
    .container { padding-left: 0.875rem; padding-right: 0.875rem; }
}

/* Performance + lazy loading */
img { content-visibility: auto; image-rendering: -webkit-optimize-contrast; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (hover: none) {
    .product-card:hover { transform: none; }
    .btn-primary-custom:hover { transform: none; }
}

/* Utility */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-active { background: #d1fae5; color: #065f46; }
.status-inactive { background: #e5e7eb; color: #4b5563; }

/* ============ BATA-STYLE LAYOUT ============ */

/* Hover Shop Now button */
.product-card { position: relative; overflow: hidden; }
.product-card .shop-now-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 5;
}
.product-card:hover .shop-now-overlay { transform: translateY(0); }
.product-card .shop-now-overlay i { margin-left: 6px; }

/* Top notification bar with icons */
.top-bar-bata {
    background: #f5f5f5;
    color: var(--dark);
    padding: 8px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--border);
}
.top-bar-bata .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-left a { color: var(--dark); display: inline-flex; align-items: center; gap: 4px; }
.top-bar-left a:hover { color: var(--primary); }

/* Sale Hero Banner - Bata style */
.bata-hero {
    background: linear-gradient(135deg, #1ab5d4 0%, #0e8aa3 100%);
    min-height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.bata-hero-content {
    padding: 4rem 3rem;
    color: #fff;
    z-index: 2;
    position: relative;
}
.bata-hero-tagline {
    font-family: 'Plus Jakarta Sans', cursive;
    font-size: 6rem; font-weight: 900;
    color: #fff200;
    line-height: 0.9;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 0;
}
.bata-hero-tagline em {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: #fff;
    font-size: 5rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.15);
    margin-top: -10px;
}
.bata-discount-badge {
    background: #fff;
    color: var(--dark);
    padding: 1rem 2rem;
    margin-top: 2rem;
    border: 4px solid #fff200;
    display: inline-block;
    transform: rotate(-2deg);
}
.bata-discount-badge .label-up {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.bata-discount-badge .percent {
    font-size: 4.5rem; font-weight: 900;
    line-height: 1;
    color: var(--primary);
}
.bata-discount-badge .off {
    font-size: 1.4rem; font-weight: 800;
    color: var(--primary);
}
.bata-hero-image {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center;
}

/* Category Showcase Cards (4 cards row) */
.collection-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.collection-card {
    background: var(--gray-100);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--dark);
    display: block;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}
.collection-card.bg-blue { background: linear-gradient(135deg, #cce5ff, #99ccff); }
.collection-card.bg-pink { background: linear-gradient(135deg, #ffe0ec, #ffb3d1); }
.collection-card.bg-yellow { background: linear-gradient(135deg, #fff9c4, #ffeb3b); }
.collection-card.bg-mint { background: linear-gradient(135deg, #c8f5e8, #80e0c0); }
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--dark); }
.collection-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark);
    text-align: left;
}
.collection-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: left;
    margin-top: 0.25rem;
}
.collection-card-img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-top: 1rem;
}

/* Gift Voucher Banner */
.gift-voucher-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a0e0e 50%, #1a1a1a 100%);
    border-radius: 8px;
    padding: 2rem 3rem;
    margin: 3rem 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}
.gift-voucher-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 50%, rgba(255,200,0,0.15), transparent 30%),
      radial-gradient(circle at 80% 50%, rgba(204,0,0,0.2), transparent 40%);
}
.gift-voucher-banner > * { position: relative; z-index: 1; }
.gift-voucher-text h3 {
    font-family: 'Plus Jakarta Sans', cursive;
    color: #ffc107;
    font-size: 2rem;
    font-style: italic;
    font-weight: 700;
    margin: 0;
}
.gift-voucher-text .vouchercta {
    background: #fff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.78rem;
    margin-top: 8px;
    display: inline-block;
    letter-spacing: 0.1em;
}
.gift-cards-row {
    display: flex; gap: 1rem;
}
.gift-card-item {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: var(--dark);
    padding: 1.25rem 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}
.gift-card-item.green { background: linear-gradient(135deg, #4caf50, #2e7d32); color: #fff; }
.gift-card-item.red { background: linear-gradient(135deg, #cc0000, #990000); color: #fff; }
.gift-card-item .amount {
    font-size: 1.5rem; font-weight: 900;
    line-height: 1;
}
.gift-card-item .small-text {
    font-size: 0.65rem; letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Section header with title left + arrow right */
.section-bata {
    padding: 3rem 0;
}
.section-bata-header {
    margin-bottom: 1.5rem;
}
.section-bata-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Tab Pills (Just Landed style) */
.bata-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}
.bata-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
}
.bata-tab.active, .bata-tab:hover {
    background: #fff;
    color: var(--dark);
    border-color: var(--dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* Hand Picked Collection - 2 large banners */
.handpicked-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.handpicked-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}
.handpicked-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.handpicked-content {
    position: absolute;
    bottom: 1.5rem; left: 0; right: 0;
    text-align: center;
    z-index: 2;
    color: #fff;
}
.handpicked-content h4 {
    color: #fff; font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.handpicked-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}
.handpicked-shop-now {
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
    display: inline-block;
}

/* Pick Your Favourites - 3 lifestyle cards */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.favorite-card {
    aspect-ratio: 0.75;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    color: var(--dark);
    text-decoration: none;
    display: block;
}
.favorite-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 30%, transparent 60%);
    pointer-events: none;
}
.favorite-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    z-index: 2;
}
.favorite-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.favorite-card-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.favorite-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.favorite-shop-now {
    color: var(--dark);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 2px solid var(--dark);
    padding-bottom: 2px;
    display: inline-block;
}
.favorite-card:hover .favorite-shop-now {
    color: var(--primary);
    border-color: var(--primary);
}

/* Carousel arrow buttons (left/right) */
.carousel-with-arrows {
    position: relative;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--border);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.25s;
    z-index: 10;
    color: var(--dark);
}
.carousel-arrow:hover { background: var(--dark); color: #fff; }
.carousel-arrow.left { left: -20px; }
.carousel-arrow.right { right: -20px; }

/* Discount eye-catcher menu link */
.menu-discounted {
    color: var(--primary) !important;
    font-weight: 800 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .collection-cards { grid-template-columns: repeat(2, 1fr); }
    .handpicked-grid { grid-template-columns: 1fr; }
    .favorites-grid { grid-template-columns: 1fr; }
    .bata-hero { min-height: 380px; }
    .bata-hero-content { padding: 2rem 1.5rem; }
    .bata-hero-tagline { font-size: 3.5rem; }
    .bata-hero-tagline em { font-size: 3rem; }
    .bata-hero-image { display: none; }
    .gift-cards-row { display: none; }
}

@media (max-width: 576px) {
    .collection-cards { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .collection-card { padding: 1.25rem 1rem; min-height: 160px; }
    .collection-card-img { height: 80px; }
    .bata-tabs { gap: 0.25rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .bata-tab { font-size: 0.78rem; padding: 6px 14px; white-space: nowrap; }
    .bata-hero-tagline { font-size: 2.5rem; }
    .bata-hero-tagline em { font-size: 2rem; }
    .gift-voucher-banner { padding: 1.5rem; }
}

/* ============ SCROLL TO TOP BUTTON ============ */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(204,0,0,0.35);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(204,0,0,0.45);
}
@media (max-width: 576px) {
    .scroll-top-btn { bottom: 80px; right: 16px; width: 44px; height: 44px; font-size: 1.2rem; }
    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
}
