/* =============================================
   TOKO EBI NUSANTARA - MAIN STYLESHEET
   Tema: Deep Sea Premium — Modern Coastal Brand
   ============================================= */

/* ---- VARIABLES ---- */
:root {
    /* Core palette */
    --navy:         #0A1628;
    --navy-mid:     #12213D;
    --navy-soft:    #1C3054;
    --coral:        #E8A857;
    --coral-light:  #F5C97A;
    --coral-dark:   #C88830;
    --teal:         #1E7C8A;
    --teal-light:   #25A0B2;
    --cream:        #FAF7F2;
    --cream-dark:   #F0EAE0;
    --white:        #FFFFFF;

    /* Text */
    --dark:         #0A1628;
    --gray-900:     #1C2540;
    --gray-700:     #3D4F6E;
    --gray-500:     #6B7A99;
    --gray-300:     #B0BAD0;
    --gray-100:     #EFF2F8;

    /* Semantic */
    --primary:      #E8A857;
    --primary-dark: #C88830;
    --primary-light:#F5C97A;
    --secondary:    #1E7C8A;
    --secondary-dark:#145A66;
    --accent:       #E8A857;
    --accent-light: #F5C97A;
    --success:      #22A06B;
    --danger:       #E53935;
    --warning:      #F59E0B;
    --info:         #1E7C8A;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, sans-serif;
    --font-accent:  'Dancing Script', cursive;

    /* Shadows — navy-tinted */
    --shadow-sm:  0 2px 8px rgba(10,22,40,0.08);
    --shadow-md:  0 6px 24px rgba(10,22,40,0.12);
    --shadow-lg:  0 12px 48px rgba(10,22,40,0.18);
    --shadow-xl:  0 24px 64px rgba(10,22,40,0.22);

    /* Radii */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;
    --radius-full:9999px;

    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.65;
    font-size: 15px;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, button, textarea, select { font-family: inherit; }

.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.82);
    text-align: center;
    padding: 10px 0;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(232,168,87,0.25);
}
.announcement-bar strong { color: var(--coral); }

/* ---- HEADER ---- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: 0 4px 24px rgba(10,22,40,0.09);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { font-size: 30px; animation: float 3.5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.logo-text { line-height: 1.1; }
.logo-main {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    display: block;
    letter-spacing: -0.5px;
}
.logo-sub {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--coral);
    display: block;
    font-weight: 600;
}

/* Search */
.search-bar {
    flex: 1;
    display: flex;
    background: var(--gray-100);
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}
.search-bar:focus-within {
    border-color: var(--coral);
    background: white;
    box-shadow: 0 0 0 4px rgba(232,168,87,0.12);
}
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 20px;
    font-size: 14px;
    outline: none;
    color: var(--dark);
}
.search-input::placeholder { color: var(--gray-300); }
.search-btn {
    background: var(--navy);
    border: none;
    color: white;
    padding: 0 22px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.search-btn:hover { background: var(--navy-soft); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.action-btn {
    position: relative;
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--gray-700);
    transition: var(--transition);
}
.action-btn:hover { background: var(--navy); color: white; }
.badge {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--coral);
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    width: 17px; height: 17px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}
.btn-login, .btn-register {
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex; align-items: center; gap: 6px;
}
.btn-login { background: var(--gray-100); color: var(--dark); border: 1.5px solid var(--gray-100); }
.btn-login:hover { border-color: var(--navy); background: white; }
.btn-register { background: var(--navy); color: white; }
.btn-register:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* User dropdown */
.user-dropdown { position: relative; }
.user-btn { width: auto; padding: 0 14px; gap: 6px; font-size: 13px; font-weight: 600; }
.user-name-short { display: none; }
@media(min-width:1024px){ .user-name-short { display: block; } }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    z-index: 100;
}
.user-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--gray-700);
    transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--navy); }
.dropdown-menu a i { width: 16px; color: var(--gray-300); }
.dropdown-menu a:hover i { color: var(--coral); }
.dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }

/* ---- NAVBAR ---- */
.navbar {
    background: var(--navy);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    font-weight: 500;
    padding: 12px 18px;
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.1px;
}
.nav-links a:hover, .nav-links a.active {
    color: white;
    border-bottom-color: var(--coral);
}

/* ---- FLASH MESSAGES ---- */
.flash-message { padding: 0; animation: slideDown 0.4s ease; }
@keyframes slideDown { from{transform:translateY(-100%)} to{transform:translateY(0)} }
.flash-message .container {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: 500;
}
.flash-success .container { background: #e6f7ef; color: #155724; border: 1px solid #b7e4c7; }
.flash-error .container { background: #fde8e8; color: #7b1d1d; border: 1px solid #f5c6cb; }
.flash-info .container { background: #e8f4fd; color: #0c5460; border: 1px solid #bee5eb; }
.flash-close { margin-left: auto; background: none; border: none; font-size: 20px; cursor: pointer; opacity: 0.5; }
.flash-close:hover { opacity: 1; }

/* ---- HERO SLIDER ---- */
.hero-slider { position: relative; overflow: hidden; height: 540px; background: var(--navy); }
.slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; transition: opacity 0.9s ease;
}
.slide.active { opacity: 1; }
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.38);
    transform: scale(1.04);
    transition: transform 9s ease;
}
.slide.active .slide-bg { transform: scale(1); }
/* Gradient overlay on top of image for editorial look */
.slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,22,40,0.72) 0%, rgba(10,22,40,0.1) 70%, transparent 100%);
    pointer-events: none;
}
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px 0;
    max-width: 580px;
}
.slide-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,168,87,0.15);
    border: 1px solid rgba(232,168,87,0.5);
    color: var(--coral-light);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}
.slide-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.slide-title span { color: var(--coral); }
.slide-sub {
    font-size: 15.5px;
    opacity: 0.80;
    margin-bottom: 34px;
    line-height: 1.75;
    max-width: 460px;
    font-weight: 400;
}
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--coral);
    color: var(--navy);
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
    letter-spacing: 0.2px;
}
.btn-hero-primary:hover { background: var(--coral-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,168,87,0.4); }
.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.btn-hero-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

.slider-controls {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 7px; z-index: 10;
}
.slider-dot {
    width: 7px; height: 7px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.32);
    border: none; cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active { background: var(--coral); width: 26px; }
.slider-arrows {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 100%; display: flex; justify-content: space-between;
    padding: 0 24px; pointer-events: none; z-index: 10;
}
.slider-arrow {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 15px;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: rgba(232,168,87,0.3); border-color: var(--coral); }

/* ---- STATS BAR — signature floating glass strip ---- */
.stats-bar {
    background: var(--navy);
    color: white;
    padding: 0;
    border-bottom: 1px solid rgba(232,168,87,0.15);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 26px 20px;
    border-right: 1px solid rgba(255,255,255,0.07);
    position: relative;
    transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(232,168,87,0.06); }
.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--coral);
    display: block;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.52);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--coral);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.section-title span { color: var(--coral); }
.section-desc { color: var(--gray-500); font-size: 15.5px; max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-line {
    width: 40px; height: 3px;
    background: var(--coral);
    border-radius: var(--radius-full);
    margin: 18px auto 0;
    opacity: 0.7;
}

/* ---- CATEGORY CARDS ---- */
.categories-section { background: white; padding: 72px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.cat-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}
.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
    box-shadow: var(--shadow-md);
    background: white;
}
.cat-icon { font-size: 38px; margin-bottom: 12px; position: relative; transition: transform 0.35s ease; }
.cat-card:hover .cat-icon { transform: scale(1.12); }
.cat-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy);
    position: relative;
}
.cat-count { font-size: 11.5px; color: var(--gray-300); margin-top: 4px; position: relative; }

/* ---- PRODUCT CARDS ---- */
.products-section { padding: 72px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream);
}
.product-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.07); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--danger);
    color: white;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
    letter-spacing: 0.3px;
}
.product-badge.featured { background: var(--navy); }
.product-actions-overlay {
    position: absolute;
    top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(8px);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-actions-overlay { opacity: 1; transform: translateX(0); }
.quick-btn {
    width: 36px; height: 36px;
    background: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 13.5px;
    color: var(--gray-700);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.quick-btn:hover { background: var(--navy); color: white; }
.product-body { padding: 18px; }
.product-cat {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--coral-dark);
    font-weight: 700;
}
.product-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 6px 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.star { color: var(--gray-100); font-size: 12.5px; }
.star.filled { color: var(--coral); }
.star.half { color: var(--coral); opacity: 0.55; }
.rating-count { font-size: 11.5px; color: var(--gray-300); }
.product-price {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 14px; flex-wrap: wrap;
}
.price-current { font-size: 19px; font-weight: 800; color: var(--navy); font-family: var(--font-display); }
.price-old { font-size: 12.5px; color: var(--gray-300); text-decoration: line-through; }
.price-pcs { font-size: 11.5px; color: var(--gray-300); }
.product-footer { display: flex; gap: 8px; }
.btn-cart {
    flex: 1;
    background: var(--navy);
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-cart:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-wish {
    width: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-500);
    transition: var(--transition);
}
.btn-wish:hover, .btn-wish.active { background: #fde8e8; color: var(--danger); }

.product-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    display: flex; align-items: center; justify-content: center;
    font-size: 60px;
}

/* ---- PRODUCT CARD V2 ---- */
.product-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.product-card-v2 {
    display: block;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
}
.product-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card-v2 .product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream);
}
.product-card-v2 .product-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    display: flex; align-items: center; justify-content: center;
    font-size: 60px;
    transition: transform 0.5s ease;
}
.product-card-v2:hover .product-placeholder { transform: scale(1.07); }
.product-card-v2 .product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--danger); color: white;
    font-size: 10.5px; font-weight: 800;
    padding: 3px 10px; border-radius: var(--radius-full); z-index: 2;
}
.product-card-v2 .product-badge.out-of-stock { background: var(--gray-500); }
.product-card-v2 .product-body { padding: 18px; }
.product-card-v2 .product-cat {
    font-size: 10.5px; text-transform: uppercase;
    letter-spacing: 1.8px; color: var(--coral-dark); font-weight: 700;
}
.product-card-v2 .product-name {
    font-family: var(--font-display); font-size: 16px; font-weight: 700;
    color: var(--navy); margin: 6px 0 8px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-v2 .product-rating {
    display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.product-card-v2 .product-price {
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}

/* ---- FEATURED PRODUCT HIGHLIGHT ---- */
.featured-banner {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 56px 60px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 0 0 72px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(232,168,87,0.15);
}
.featured-banner::before {
    content: '🦐';
    position: absolute;
    right: -20px; top: -20px;
    font-size: 200px;
    opacity: 0.04;
}
.featured-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 3px;
    color: var(--coral); font-weight: 700; margin-bottom: 14px; display: block;
}
.featured-title {
    font-family: var(--font-display);
    font-size: 40px; font-weight: 900;
    line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.5px;
}
.featured-desc { opacity: 0.75; font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
.featured-price .price { font-size: 36px; font-weight: 900; font-family: var(--font-display); color: var(--coral); }
.featured-price .old-price { font-size: 17px; text-decoration: line-through; opacity: 0.4; margin-left: 10px; }
.featured-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 100px; }

/* ---- WHY CHOOSE US ---- */
.why-section { background: white; padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; margin-top: 52px; }
.why-card {
    text-align: center;
    padding: 34px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    background: var(--cream);
}
.why-card:hover {
    border-color: var(--coral);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background: white;
}
.why-icon {
    width: 68px; height: 68px;
    background: white;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.why-card:hover .why-icon {
    background: var(--navy);
    border-color: var(--navy);
    transform: scale(1.08);
}
.why-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.why-desc { font-size: 13.5px; color: var(--gray-500); line-height: 1.75; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 80px 0; background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 52px; }
.testi-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-card::before {
    content: '"';
    position: absolute;
    top: 14px; left: 24px;
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--coral);
    line-height: 1;
    opacity: 0.12;
}
.testi-stars { margin-bottom: 14px; }
.testi-text { font-size: 14px; color: var(--gray-700); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 42px; height: 42px;
    background: var(--navy);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    color: var(--coral);
    flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.testi-loc { font-size: 11.5px; color: var(--gray-300); }

/* ---- NEWSLETTER ---- */
.newsletter-section {
    background: var(--navy);
    padding: 72px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(232,168,87,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.newsletter-title {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 900;
    margin-bottom: 12px; letter-spacing: -0.3px;
    position: relative;
}
.newsletter-desc { opacity: 0.72; font-size: 15px; margin-bottom: 30px; position: relative; }
.newsletter-form {
    display: flex; gap: 10px;
    max-width: 460px; margin: 0 auto;
    position: relative;
}
.newsletter-input {
    flex: 1;
    padding: 13px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,0.15);
    font-size: 14px;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: white;
}
.newsletter-input:focus { border-color: var(--coral); background: rgba(255,255,255,0.12); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.38); }
.newsletter-btn {
    background: var(--coral);
    color: var(--navy);
    border: none;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-btn:hover { background: var(--coral-light); transform: translateY(-1px); }

/* ---- FOOTER ---- */
.footer { background: var(--navy-mid); color: rgba(255,255,255,0.6); }
.footer-top { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-icon { font-size: 32px; }
.footer-logo-main { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: white; letter-spacing: -0.3px; }
.footer-logo-tag { font-size: 11px; color: var(--coral); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: block; }
.footer-desc { font-size: 13.5px; line-height: 1.82; color: rgba(255,255,255,0.45); margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.social-btn:hover { background: var(--coral); color: var(--navy); border-color: var(--coral); transform: translateY(-2px); }
.social-btn.whatsapp:hover { background: #25D366; color: white; border-color: #25D366; }
.footer-title {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    color: white; font-weight: 700; margin-bottom: 20px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-links a:hover { color: var(--coral); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 13.5px; color: rgba(255,255,255,0.45); }
.footer-contact i { color: var(--coral); width: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.45); }
.footer-contact a:hover { color: var(--coral); }
.payment-methods { margin-top: 22px; }
.payment-methods h5 { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icon {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}
.footer-bottom {
    padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.3); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 54px; height: 54px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 23px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.38);
    z-index: 998;
    transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
@keyframes pulseWA {
    0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.35)}
    50%{box-shadow:0 4px 38px rgba(37,211,102,0.62)}
}
.wa-float { animation: pulseWA 2.5s ease-in-out infinite; }
.wa-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    background: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: var(--transition);
    pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 100px; right: 30px;
    width: 42px; height: 42px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 15px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 997;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy-soft); transform: translateY(-2px); }

/* ---- BUTTONS (Global) ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--teal); color: white; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-label span { color: var(--danger); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--dark);
    background: white;
    outline: none;
    transition: var(--transition);
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,0.08); }
.form-control::placeholder { color: var(--gray-300); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--gray-300); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.input-group .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 12px 20px; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: var(--navy);
    padding: 52px 0;
    color: white;
    border-bottom: 1px solid rgba(232,168,87,0.15);
}
.page-hero-title { font-family: var(--font-display); font-size: 34px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: 0.65; }
.breadcrumb a:hover { color: var(--coral); opacity: 1; }
.breadcrumb-sep { opacity: 0.4; }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 52px; }
.page-btn {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-100);
    background: white;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 0 12px;
}
.page-btn:hover, .page-btn.active { background: var(--navy); border-color: var(--navy); color: white; }
.page-btn.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ---- CART & CHECKOUT ---- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 12px 16px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-500); background: var(--cream); border-bottom: 1px solid var(--gray-100); font-weight: 700; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.cart-table tr:hover td { background: var(--cream); }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product-img { width: 70px; height: 70px; border-radius: var(--radius-md); object-fit: cover; background: var(--cream); flex-shrink: 0; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.cart-product-name { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; color: var(--navy); }
.cart-product-meta { font-size: 12px; color: var(--gray-300); }
.qty-control { display: flex; align-items: center; }
.qty-btn { width: 32px; height: 32px; background: var(--gray-100); border: 1px solid var(--gray-100); cursor: pointer; font-size: 16px; font-weight: 700; transition: var(--transition); }
.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.qty-input { width: 48px; height: 32px; text-align: center; border: 1px solid var(--gray-100); border-left: none; border-right: none; font-size: 14px; font-weight: 700; outline: none; }
.cart-summary { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--gray-100); position: sticky; top: 100px; }
.summary-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.summary-row:last-of-type { border: none; }
.summary-total { font-size: 18px; font-weight: 800; color: var(--navy); }

/* ---- ALERT ---- */
.alert { padding: 13px 18px; border-radius: var(--radius-md); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.alert-success { background: #e6f7ef; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fde8e8; color: #7b1d1d; border: 1px solid #fca5a5; }
.alert-info { background: #e0f4f7; color: #0c5460; border: 1px solid #a5d8e0; }
.alert-warning { background: #fef9e7; color: #78350f; border: 1px solid #fde68a; }

/* ---- LOADING ---- */
.loading { display: flex; align-items: center; justify-content: center; padding: 60px; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--gray-100); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.75s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.25; }
.empty-state h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.empty-state p { color: var(--gray-300); font-size: 15px; margin-bottom: 24px; }

/* ---- MOBILE MENU ---- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ---- TOAST (if used globally) ---- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: var(--navy);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    animation: toastIn 0.3s ease;
    border-left: 3px solid var(--coral);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
@keyframes toastIn { from{transform:translateX(100%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ---- RESPONSIVE ---- */
@media(max-width:1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
    .header-inner { flex-wrap: wrap; }
    .search-bar { order: 3; flex-basis: 100%; }
    .mobile-menu-btn { display: flex; }
    .navbar { display: none; }
    .navbar.open { display: block; }
    .nav-links { flex-direction: column; padding: 8px 0; }
    .nav-links a { padding: 12px 20px; border-bottom: none; border-left: 3px solid transparent; }
    .nav-links a.active { border-left-color: var(--coral); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 420px; }
    .featured-banner { grid-template-columns: 1fr; padding: 36px 28px; }
    .featured-img { display: none; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .newsletter-form { flex-direction: column; }
}
@media(max-width:480px) {
    .container { padding: 0 14px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}