:root {
    --primary-color: #181615;
    --accent-color: #c5a059;
    --bg-nude: #f4eee8;
    --bg-light: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #181615;
    --text-muted: #64748b;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    min-height: 600px;
}

/* 1. TOP UTILITY BAR (EXACT VIVENSE WHITE BAR) */
.top-bar-vivense {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 0;
}

.top-bar-vivense .container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-left-links a {
    color: #475569;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left-links a:hover {
    color: #181615;
}

.top-bar-right-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-right-links a {
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.top-bar-right-links a:hover {
    color: #181615;
}

.top-bar-right-links i, .top-bar-left-links i {
    color: #64748b;
    font-size: 13px;
}

/* 2. EXACT VIVENSE MIDDLE HEADER (3-COLUMN LAYOUT) */
.middle-header-vivense {
    padding: 20px 0 16px 0;
    background: #ffffff;
    position: relative;
}

.middle-header-vivense .container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.header-logo-col {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-search-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-box-vivense {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-box-vivense input {
    width: 100%;
    padding: 8px 36px 8px 0px;
    font-size: 13px;
    border: none;
    border-bottom: 1px solid #cbd5e1;
    outline: none;
    background: transparent;
    color: #1e293b;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.search-box-vivense input::placeholder {
    color: #94a3b8;
    font-size: 12.5px;
}

.search-box-vivense input:focus {
    border-bottom-color: #181615;
}

.search-box-vivense button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
}

.header-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    max-height: 46px;
    object-fit: contain;
    vertical-align: middle;
}

.brand-logo-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #181615;
    font-family: var(--font-main);
    text-transform: uppercase;
    vertical-align: middle;
}

.header-actions-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.action-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    position: relative;
}

.action-item:hover {
    color: #0f172a;
}

.action-item i {
    font-size: 18px;
    color: #475569;
    flex-shrink: 0;
}

.badge-count {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 9999px;
    margin-left: -4px;
}

.mobile-hamburger-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #181615;
    cursor: pointer;
    padding: 6px;
    display: none;
}

/* 3. EXACT VIVENSE CATEGORY NAVIGATION BAR */
.main-navbar {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1000;
}

.main-navbar .container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-menu-vivense {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.nav-item {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1e293b;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #181615;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-item:hover > .nav-link {
    color: #181615;
}

.nav-item:hover > .nav-link::after {
    opacity: 1;
}

.nav-badge-collection {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #181615;
    font-weight: 800;
}

.nav-badge-bestprice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
    font-weight: 800;
}

.badge-dot-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #181615;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
}

.badge-dot-icon.red {
    background: #ef4444;
}

/* VIVENSE FULL WIDTH MEGA MENU DROPDOWN */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 2px solid #0f172a;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    padding: 36px 0;
}

.nav-item:hover .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
}

.mega-menu-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    list-style: none;
    align-content: start;
}

.mega-menu-links li a {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    transition: color 0.15s ease, font-weight 0.15s ease;
}

.mega-menu-links li a:hover {
    color: #0f172a;
    font-weight: 700;
}

.mega-menu-visuals {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    align-items: flex-start;
}

.circle-banner-item {
    text-align: center;
    width: 130px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.circle-banner-item:hover {
    transform: translateY(-4px);
}

.circle-image-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    padding: 4px;
    margin: 0 auto 10px auto;
    background: #ffffff;
    transition: border-color 0.2s ease;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.circle-banner-item:hover .circle-image-ring {
    border-color: #0f172a;
}

.circle-image-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.circle-banner-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* 4. FIXED MOBILE OFFCANVAS DRAWER STYLES */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block !important;
}
.mobile-drawer-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: #ffffff;
    box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.mobile-drawer-overlay.active .mobile-drawer-box {
    transform: translateX(0);
}
.mobile-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.mobile-drawer-logo {
    font-size: 18px;
    font-weight: 900;
    color: #181615;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #64748b;
    cursor: pointer;
}
.mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.mobile-drawer-user {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.drawer-user-btn {
    flex: 1;
    background: #181615;
    color: #ffffff !important;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}
.drawer-user-btn.outline {
    background: #f1f5f9;
    color: #181615 !important;
    border: 1px solid #cbd5e1;
}
.drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.drawer-menu-item {
    margin-bottom: 12px;
}
.drawer-menu-link {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a !important;
    display: block;
    padding: 6px 0;
    text-decoration: none !important;
}
.drawer-sublinks {
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.drawer-sublinks a {
    font-size: 13px;
    color: #64748b !important;
    text-decoration: none !important;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #181615;
    margin: 0 0 4px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-subtitle {
    font-size: 13px;
    color: #78716c;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.product-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #faf9f6;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-box img {
    transform: scale(1.05);
}

.heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 12;
}

.heart-btn:hover, .heart-btn.active {
    color: #ef4444;
    transform: scale(1.1);
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-box {
    margin-top: auto;
    padding-top: 8px;
}

.old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}

.current-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

/* 6. FOOTER STYLES */
.footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding-top: 50px;
    margin-top: 60px;
}

.newsletter-box {
    background: #e2e8f0;
    padding: 36px 20px;
    text-align: center;
    border-radius: 8px;
    max-width: 1380px;
    margin: 0 auto 50px auto;
}

.newsletter-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.newsletter-form button {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: #1e293b;
}

.footer-grid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #64748b;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #0f172a;
}

.footer-bottom {
    background: #0f172a;
    color: #94a3b8;
    padding: 20px 0;
    font-size: 12px;
}

.footer-bottom .container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 7. ACCOUNT DROPDOWN */
.account-dropdown {
    position: relative;
}

.account-menu-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    display: none;
    z-index: 1100;
}

.account-dropdown:hover .account-menu-list {
    display: block;
}

.account-menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    transition: background 0.15s ease;
}

.account-menu-list a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* 8. MODAL OVERLAYS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #0f172a;
}

.modal-icon {
    width: 56px;
    height: 56px;
    background: #ffe4e6;
    color: #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px auto;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-modal-primary {
    background: #0f172a;
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: block;
}

.btn-modal-secondary {
    background: #f1f5f9;
    color: #334155;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: block;
}

/* 9. MOBILE BOTTOM DOCK */
.mobile-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid #e8dfd7;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1080;
}
.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #78716c;
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    text-decoration: none !important;
    flex: 1;
}
.dock-item i {
    font-size: 18px;
}
.dock-item.active {
    color: #181615;
    font-weight: 800;
}
.dock-item.active i {
    color: #181615;
}
.dock-badge {
    position: absolute;
    top: 4px;
    right: 24%;
    background: #181615;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 10. PRELOADER */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.preloader-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.preloader-img {
    height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.preloader-brand-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #181615;
    text-transform: uppercase;
    font-family: var(--font-main);
}
.pulse-anim {
    animation: preloaderPulse 1.8s infinite ease-in-out;
}
@keyframes preloaderPulse {
    0% { transform: scale(0.96); opacity: 0.85; }
    50% { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(0.96); opacity: 0.85; }
}
.preloader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(24, 22, 21, 0.15);
    border-top-color: #181615;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.preloader-subtext {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #181615;
    font-family: var(--font-main);
}

/* 11. RESPONSIVE (max-width: 991px) */
@media (max-width: 991px) {
    .top-bar-vivense {
        display: none;
    }

    .middle-header-vivense .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    .header-logo-col {
        text-align: center;
        flex: 1;
        order: 2;
    }

    .brand-logo-text {
        display: none !important;
    }

    .brand-logo-img {
        height: 34px !important;
        max-height: 38px !important;
    }

    .header-search-col {
        width: 100%;
        order: 4;
        margin-top: 6px;
    }

    .search-box-vivense {
        max-width: 100%;
    }

    .header-actions-col {
        gap: 12px;
        order: 3;
    }

    .action-item span {
        display: none;
    }

    .main-navbar {
        display: none !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-title {
        font-size: 12px !important;
        height: 34px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    body {
        padding-bottom: 65px;
    }
}
