/* MintMart Storefront Custom Styles */
:root {
    --primary-mint: #10B981;
    --primary-mint-dark: #059669;
    --primary-mint-light: #A7F3D0;
    --primary-mint-bg: #ECFDF5;
    --primary-mint-soft: #D1FAE5;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FAFC;
    --accent-coral: #F43F5E;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: 100vh;
}

/* Custom Mint Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Header Gradient */
.mint-header-gradient {
    background: linear-gradient(135deg, #059669 0%, #10B981 60%, #14B8A6 100%);
}

.mint-badge {
    background-color: var(--primary-mint-bg);
    color: var(--primary-mint-dark);
    border: 1px solid var(--primary-mint-light);
}

/* Product Card Styling */
.product-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    background: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.25);
    border-color: #a7f3d0;
}

.product-image-container {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #f8fafc;
}

.product-image-container img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.06);
}

/* Floating Quick Action Overlay */
.product-action-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.product-card:hover .product-action-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Flash Sale Countdown Pill */
.timer-pill {
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 8px;
    min-width: 32px;
    text-align: center;
    display: inline-block;
}

/* Category Pill */
.category-chip {
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.category-chip:hover, .category-chip.active {
    background-color: #10B981;
    color: white !important;
    border-color: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Cart Drawer */
.cart-drawer-overlay {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.cart-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ripple & Pulse */
@keyframes mintPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mint-pulse {
    animation: mintPulse 2s infinite;
}

/* ========================================================
   GITHUB-STYLE SIDEBAR DRAWER (Bản menu bên hông giống GitHub)
   ======================================================== */
.github-sidebar-backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    transition: opacity 0.25s ease-in-out;
}

.github-sidebar-drawer {
    background-color: #0d1117;
    color: #f0f6fc;
    border-right: 1px solid #30363d;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-100%);
    width: 320px;
    max-width: 85vw;
}

.github-sidebar-drawer.open {
    transform: translateX(0);
}

.github-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #f0f6fc;
    transition: all 0.15s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.github-menu-item:hover {
    background-color: #161b22;
    color: #10B981;
}

.github-menu-item.active {
    background-color: #21262d;
    color: #34d399;
    font-weight: 600;
}

.github-menu-item i {
    width: 18px;
    text-align: center;
    color: #848d97;
    transition: color 0.15s ease;
}

.github-menu-item:hover i,
.github-menu-item.active i {
    color: #10B981;
}

.github-divider {
    border: 0;
    border-top: 1px solid #30363d;
    margin: 8px 0;
}

.github-section-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #848d97;
    padding: 6px 12px 4px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
}

.github-repo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #f0f6fc;
    transition: background 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
}

.github-repo-item:hover {
    background-color: #161b22;
    color: #10B981;
}

.github-repo-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #30363d;
    flex-shrink: 0;
}

/* ========================================================
   DANIEL WELLINGTON STYLE LEFT DRAWER (Bảng danh mục bên trái - Image 3)
   ======================================================== */
.dw-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}

.dw-sidebar-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.dw-sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 340px;
    max-width: 86vw;
    background-color: #ffffff;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.dw-sidebar-drawer.open {
    transform: translateX(0);
    pointer-events: auto;
}

.dw-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1e293b;
    text-transform: uppercase;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    cursor: pointer;
}

.dw-menu-item:hover {
    background-color: #f8fafc;
    color: #059669;
    padding-left: 24px;
}

.dw-menu-item.highlight-red {
    color: #e11d48;
}

.dw-menu-item.highlight-red:hover {
    color: #be123c;
    background-color: #fff1f2;
}

/* ========================================================
   FLOATING CONTACT BUTTONS (HOTLINE & ZALO - Image 3 Style)
   ======================================================== */
.floating-contact-container {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #0f172a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.contact-floating-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.contact-floating-btn.phone-btn {
    color: #0f172a;
}
.contact-floating-btn.phone-btn:hover {
    background-color: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.contact-floating-btn.zalo-btn {
    font-weight: 900;
    font-size: 13px;
    color: #0068FF;
    border-color: #0f172a;
}
.contact-floating-btn.zalo-btn:hover {
    background-color: #0068FF;
    color: #ffffff;
    border-color: #0068FF;
}

@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-effect {
    animation: phonePulse 2s infinite;
}

/* ========================================================
   CUSTOMER BACKGROUND COLOR THEMES (Đổi màu nền cho khách)
   ======================================================== */
body.theme-white {
    background-color: #ffffff !important;
    color: #1e293b;
}

body.theme-mint {
    background-color: #f0fdf4 !important;
    color: #064e3b;
}

body.theme-cream {
    background-color: #faf7f2 !important;
    color: #292524;
}

body.theme-slate {
    background-color: #f1f5f9 !important;
    color: #0f172a;
}

body.theme-dark {
    background-color: #0b1120 !important;
    color: #f1f5f9;
}
body.theme-dark .bg-white {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
body.theme-dark .text-slate-800 {
    color: #f8fafc !important;
}
body.theme-dark .text-slate-700 {
    color: #e2e8f0 !important;
}
body.theme-dark .text-slate-600 {
    color: #cbd5e1 !important;
}
body.theme-dark .text-slate-500 {
    color: #94a3b8 !important;
}
body.theme-dark .border-slate-200 {
    border-color: #334155 !important;
}
body.theme-dark .border-slate-100 {
    border-color: #1e293b !important;
}
body.theme-dark .bg-slate-50 {
    background-color: #0f172a !important;
}
body.theme-dark .product-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

.category-card-hover {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.15);
    border-color: #34d399;
}

/* Store Navigation Link Styles */
.store-nav-link {
    transition: all 0.2s ease;
    position: relative;
    padding: 0.45rem 0.85rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    white-space: nowrap;
}
.store-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.store-nav-link.active {
    background-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Table Row Hover */
.table-row-hover {
    transition: background-color 0.15s ease;
}
.table-row-hover:hover {
    background-color: #f8fafc;
}


