:root {
    --white: #ffffff;
    --off-white: #fafaf9;
    --bg-body: #fafaf9;
    --surface: #ffffff;
    --border: #e7e5e4;
    --border-light: #f0efed;
    --muted-bg: #f5f5f4;

    --text-primary: #2d2d2d;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    --accent: #e67e22;
    --accent-hover: #cf6d17;
    --accent-light: #fef5e7;
    --accent-border: #fdebd0;

    --olive: #7c8d5a;
    --olive-light: #eef3e6;
    --olive-dark: #5f6d44;

    --dark: #2d2d2d;
    --dark-secondary: #4a4a4a;
    --glass: rgba(45, 45, 45, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);

    --success: #7c8d5a;
    --success-light: #eef3e6;
    --warning: #f59e0b;
    --danger: #ef4444;

    --font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 25px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --header-h: 60px;
}

* {
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    flex: 1;
    padding-top: var(--header-h);
}

a {
    text-decoration: none;
    transition: color 0.2s;
    color: var(--text-primary);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

@keyframes float-delayed {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease both;
}

.fade-in-up-d1 {
    animation-delay: 0.1s;
}
.fade-in-up-d2 {
    animation-delay: 0.2s;
}
.fade-in-up-d3 {
    animation-delay: 0.3s;
}

/* ── Navbar ── */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--header-h);
    transition: box-shadow 0.35s ease;
    padding: 0;
}

.navbar-main.nav-shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-main .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.navbar-main.bg-transparent {
    background: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar-main.bg-glass {
    background: var(--glass) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 var(--glass-border);
}

.navbar-main .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
    z-index: 1031;
}

.navbar-main .navbar-brand i {
    color: var(--accent);
    font-size: 1.4rem;
}

.navbar-main .navbar-brand:hover {
    color: var(--white);
}

.navbar-main .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition:
        color 0.2s,
        background 0.2s;
    position: relative;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.navbar-main .nav-link.active {
    color: var(--white);
}

.navbar-main .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.navbar-main .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.navbar-main .navbar-search {
    flex: 1;
    max-width: 320px;
    margin: 0 1rem;
}

.navbar-main .search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s;
}

.navbar-main .search-form:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.navbar-main .search-input {
    flex: 1;
    background: none;
    border: none;
    padding: 0.45rem 0 0.45rem 0.85rem;
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-family);
    outline: none;
    min-width: 0;
}

.navbar-main .search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.navbar-main .search-btn {
    background: none;
    border: none;
    padding: 0.45rem 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.navbar-main .search-btn:hover {
    color: var(--white);
}

.navbar-main .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: var(--white);
    min-width: 200px;
}

.navbar-main .dropdown-menu .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.15s;
}

.navbar-main .dropdown-menu .dropdown-item:hover {
    background: var(--muted-bg);
    color: var(--accent);
}

.navbar-main .btn-login {
    background: var(--white);
    color: var(--dark);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-main .btn-login:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.navbar-main .nav-icon-btn {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition:
        color 0.2s,
        background 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.navbar-main .nav-icon-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.navbar-main .cart-badge {
    position: absolute;
    top: 0;
    right: 2px;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    background: var(--danger);
    color: var(--white);
    font-weight: 600;
    line-height: 1;
    min-width: 16px;
    text-align: center;
}

.navbar-main .user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-full);
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    background: none;
}

.navbar-main .user-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.navbar-main .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.navbar-main .navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 1050;
}

@media (max-width: 767.98px) {
    .navbar-main {
        height: auto;
        min-height: var(--header-h);
    }
    .navbar-main .container {
        flex-wrap: wrap;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
    .navbar-main .navbar-brand {
        font-size: 1rem;
    }
    .navbar-main .navbar-brand i {
        font-size: 1.2rem;
    }
    .navbar-main .navbar-brand img {
        max-height: 28px !important;
    }
    .navbar-main .nav-link {
        font-size: 0.82rem;
        padding: 0.35rem 0.5rem;
    }
    .navbar-main .navbar-nav {
        gap: 1px;
    }
    .navbar-main .nav-icon-btn {
        font-size: 1.05rem;
        padding: 0.25rem 0.35rem;
    }
    .navbar-main .btn-login {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    .navbar-main .user-avatar {
        width: 26px;
        height: 26px;
    }
    .navbar-main .user-dropdown-toggle {
        gap: 0.35rem;
    }
    .navbar-main .user-dropdown-toggle span {
        font-size: 0.8rem;
    }
    .navbar-main .cart-badge {
        font-size: 0.5rem;
        padding: 1px 4px;
        min-width: 14px;
    }
    .navbar-main .navbar-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0.25rem 0 0;
    }
    .navbar-main .search-input {
        font-size: 0.8rem;
        padding: 0.4rem 0 0.4rem 0.75rem;
    }
    .navbar-main .search-btn {
        padding: 0.4rem 0.65rem;
        font-size: 0.85rem;
    }
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-section .hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-section .hero-bg-glow::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(
        ellipse,
        rgba(230, 126, 34, 0.12),
        transparent 70%
    );
}

.hero-section .hero-bg-glow::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(
        ellipse,
        rgba(230, 126, 34, 0.08),
        transparent 70%
    );
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .hero-content {
    position: relative;
    min-height: 480px;
}

.hero-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0 3rem;
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.hero-slide .hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    position: relative;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.5);
}

.hero-dot:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-section .hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.2);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section h1 {
    margin: 0;
    color: var(--white);
    font-weight: 700;
    font-size: 3.25rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero-section .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-section .hero-actions .btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-section .hero-actions .btn-primary-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.hero-section .hero-actions .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.45);
    color: var(--white);
}

.hero-section .hero-actions .btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.hero-section .hero-actions .btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-section .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-section .hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-section .hero-stat i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Hero visual column */
.hero-section .hero-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section .hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-section .hero-banner-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.hero-section .hero-banner-link {
    display: block;
}

.hero-section .hero-banner-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Floating elements */
.hero-section .float-el {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section .float-el-1 {
    top: -12px;
    right: -8px;
    background: rgba(230, 126, 34, 0.15);
    color: var(--accent);
    animation: float 4s ease-in-out infinite;
}

.hero-section .float-el-2 {
    bottom: 20px;
    left: -16px;
    background: rgba(124, 141, 90, 0.15);
    color: var(--olive);
    animation: float-delayed 5s ease-in-out infinite;
}

.hero-section .float-el-3 {
    top: 50%;
    right: -20px;
    background: rgba(124, 141, 90, 0.15);
    color: var(--olive);
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

/* ── Features Section ── */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.features-section .feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--off-white);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.features-section .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.features-section .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
}

.features-section .feature-icon.grey {
    background: var(--muted-bg);
    color: var(--text-secondary);
}

.features-section .feature-card h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.features-section .feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Section Common ── */
.section-default {
    padding: 4rem 0;
}

.section-default .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-default .section-head-left h4 {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.section-default .section-head-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.section-default .section-head .section-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: gap 0.2s;
}

.section-default .section-head .section-link:hover {
    gap: 0.6rem;
    color: #4b5563;
}

/* ── Category Cards ── */
.category-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s;
    cursor: pointer;
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.category-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.category-card .card-body {
    padding: 1.5rem 1rem;
    text-align: center;
}

.category-card .cat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
    transition: transform 0.3s;
    background: var(--muted-bg);
    color: var(--text-secondary);
}

.category-card:hover .cat-icon {
    transform: scale(1.1) rotate(-4deg);
}

.category-card .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.category-card.cat-fashion .cat-icon {
    background: var(--accent-light);
    color: var(--accent);
}

.category-card.cat-aksesoris .cat-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.category-card.cat-muslim .cat-icon {
    background: #fdf2f8;
    color: #ec4899;
}

.category-card.cat-sepatu .cat-icon {
    background: #ecfdf5;
    color: var(--success);
}

.category-card.cat-tas .cat-icon {
    background: #f5f3ff;
    color: #8b5cf6;
}

/* ── Product Cards ── */
.product-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s;
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--muted-bg);
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .card-img-top {
    transform: scale(1.06);
}

.product-card .product-img-wrap .quick-add {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0.9);
    opacity: 0;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    background: #6b7280;
    color: #fff;
    border: none;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.product-card:hover .product-img-wrap .quick-add {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

.product-card .product-img-wrap .quick-add:hover {
    opacity: 0.8;
}

.product-card .product-discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--danger);
    color: var(--white);
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.product-card .card-body {
    padding: 0.5rem 0.75rem 0.75rem;
    text-align: center;
}

.product-card .card-title {
    font-size: 14px;
    font-weight: 500;
    min-height: 1em;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-title a {
    color: var(--text-primary);
}

.product-card .card-title a:hover {
    color: var(--accent);
}

.product-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    margin-top: 4px;
}

.product-price-original {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.4rem;
    font-weight: 400;
}

.cart-item-original {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.share-link:hover {
    color: var(--text-primary);
    background: var(--muted-bg);
    transform: translateY(-1px);
}

.rating-stars {
    color: var(--warning);
    font-size: 0.75rem;
}

.breadcrumb {
    font-size: 13px;
    padding: 0.5rem 0;
    background: none;
}
.breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: var(--accent);
}
.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f138";
    font-family: "bootstrap-icons";
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    vertical-align: 0;
    padding-inline: 0.5rem;
}

/* ── Product Detail Image Zoom ── */
.product-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--muted-bg);
}

.img-zoom-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
}

.img-zoom-wrap img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.img-zoom-wrap:hover {
    cursor:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%239ca3af' fill-opacity='0.5' stroke='%236b7280' stroke-width='1'/%3E%3Ctext x='20' y='27' text-anchor='middle' font-size='22' font-weight='bold' fill='%23374151'%3E%2B%3C/text%3E%3C/svg%3E")
            20 20,
        crosshair;
}

.img-zoom-wrap:hover img {
    transform: scale(2);
}

.img-zoom-wrap .zoom-indicator {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    transition: opacity 0.3s;
}

.img-zoom-wrap:hover .zoom-indicator {
    opacity: 0;
}

@media (max-width: 768px) {
    .img-zoom-wrap img {
        height: 320px;
    }
}

/* ── Section Title (legacy) ── */
.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* ── Buttons (general) ── */
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

/* ── Pagination ── */
.pagination .page-link {
    border-radius: var(--radius-sm);
    margin: 0 2px;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: var(--muted-bg);
    color: var(--text-primary);
}

.pagination .page-item.active .page-link {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ── Variant Buttons (Size & Color) ── */
.variant-select-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-btn {
    border: 2px solid #e2e8f0;
    background: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 48px;
    text-align: center;
    line-height: 1.4;
}

.variant-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: var(--muted-bg);
}

.variant-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--white);
}

.color-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.color-btn-wrap .color-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.color-btn-wrap:hover .color-label {
    color: var(--text-primary);
}

.color-btn-wrap.active .color-label {
    color: var(--text-primary);
    font-weight: 600;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.color-btn:hover {
    transform: scale(1.08);
}

.color-btn.active {
    border-color: var(--text-primary);
    transform: scale(1.08);
    box-shadow: 0 0 0 2px rgba(45, 45, 45, 0.15);
}

/* ── Quantity Input ── */
.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    user-select: none;
}

.qty-btn:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-btn:last-of-type {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-btn:hover {
    background: var(--muted-bg);
    border-color: var(--text-muted);
}

.qty-btn:active {
    background: var(--border);
}

.quantity-input {
    width: 56px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    -moz-appearance: textfield;
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    border-color: var(--accent);
}

/* ── Form Controls ── */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border-color: var(--border);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

/* ── Misc Shared ── */
.card {
    border-radius: var(--radius-lg);
    border-color: var(--border-light);
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

.order-timeline .timeline-item {
    position: relative;
    padding-left: 28px;
    padding-bottom: 20px;
}

.order-timeline .timeline-item::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.order-timeline .timeline-item:last-child::before {
    display: none;
}

.order-timeline .timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--success);
}

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(230, 126, 34, 0.4),
        transparent
    );
}

.site-footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.site-footer .brand-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.site-footer .brand-footer i {
    color: var(--accent);
}

.site-footer .footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.site-footer .footer-social {
    display: flex;
    gap: 0.5rem;
}

.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.25s;
}

.site-footer .footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 0.6rem;
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.site-footer ul li a:hover {
    color: var(--accent);
}

.site-footer .footer-contact li {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.site-footer .footer-contact li i {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.site-footer .footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2rem;
}

.site-footer .partner-section h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.site-footer .partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.site-footer .partner-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-section .hero-content {
        min-height: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 0 2rem;
        position: relative;
        inset: auto;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .hero-slide .hero-badge {
        margin: 0 auto;
    }

    .hero-slide .hero-sub {
        margin: 0 auto;
    }

    .hero-slide .hero-actions {
        justify-content: center;
    }

    .hero-slide .hero-stats {
        justify-content: center;
    }

    .hero-slide .hero-visual-col {
        display: none;
    }

    .hero-slide h1 {
        font-size: 2.25rem;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-default {
        padding: 3rem 0;
    }

    .section-default .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-slide h1 {
        font-size: 1.85rem;
    }

    .hero-slide .hero-sub {
        font-size: 0.95rem;
    }

    .hero-slide .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slide .hero-actions .btn-primary-custom,
    .hero-slide .hero-actions .btn-secondary-custom {
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    .hero-slide .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .features-section {
        padding: 3rem 0;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .features-section .feature-card {
        padding: 1.25rem 1rem;
    }

    .section-default .section-head-left h4 {
        font-size: 1.25rem;
    }

    .product-card .card-img-top {
        aspect-ratio: 3 / 4;
    }

    .site-footer .row > div {
        margin-bottom: 2rem;
    }
    .site-footer .footer-partners {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-slide h1 {
        font-size: 1.6rem;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}
