/* ========================================
   SUNWEETS D2C - Farmley-Style
   ======================================== */

:root {
    --navy: #1a2744;
    --navy-light: #243352;
    --yellow: #f5c518;
    --yellow-light: #fef3cd;
    --orange: #ff8c42;
    --white: #ffffff;
    --off-white: #faf8f5;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-400: #999;
    --gray-600: #666;
    --text: #1a1a1a;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--off-white); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.announcement-bar {
    background: var(--yellow);
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.announcement-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marqueeAnnounce 30s linear infinite;
}

.announcement-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 0 24px;
}

.announcement-diamond {
    color: var(--navy);
    font-size: 10px;
    margin: 0 8px;
}

@keyframes marqueeAnnounce {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 90;
    height: 72px;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 680px;
    height: 46px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    display: flex;
    align-items: center;
    transition: border-color var(--transition);
}

.header-search:focus-within {
    border-color: var(--orange);
}

.search-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-divider {
    width: 1px;
    height: 24px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    height: 100%;
    border: none;
    background: none;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    font-family: inherit;
}

.search-input::placeholder { color: var(--gray-400); }

.search-btn {
    width: 46px;
    height: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    flex-shrink: 0;
}

.search-btn:hover { color: var(--text); }

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.header-icon-btn:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* ========================================
   MOBILE NAV DRAWER
   ======================================== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 210;
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.mobile-nav-close {
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text);
    line-height: 1;
}

.mobile-nav-links {
    padding: 16px 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-links a:hover {
    background: var(--yellow-light);
    color: var(--navy);
}

/* ========================================
   HERO BANNER SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-slide-text {
    max-width: 560px;
}

.hero-slide-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.hero-slide-title span {
    display: block;
    font-size: 42px;
    font-weight: 700;
    opacity: 0.9;
}

.hero-slide-desc {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 420px;
}

.hero-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
}

.hero-shop-btn:hover {
    background: #0f1a30;
    transform: translateY(-2px);
}

.hero-shop-btn span {
    font-size: 18px;
    transition: transform var(--transition);
}

.hero-shop-btn:hover span {
    transform: translateX(4px);
}

/* Floating Fruit Emojis */
.hero-slide-visual {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.hero-float-fruit {
    position: absolute;
    font-size: 64px;
    animation: heroFruitFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.hero-float-fruit.f1 { top: 10%; left: 20%; animation-delay: 0s; font-size: 80px; }
.hero-float-fruit.f2 { top: 5%; right: 15%; animation-delay: 1s; font-size: 56px; }
.hero-float-fruit.f3 { bottom: 25%; left: 5%; animation-delay: 2s; }
.hero-float-fruit.f4 { bottom: 10%; right: 20%; animation-delay: 0.5s; font-size: 72px; }
.hero-float-fruit.f5 { top: 45%; left: 50%; animation-delay: 1.5s; font-size: 48px; }

@keyframes heroFruitFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-18px) rotate(8deg); }
    66% { transform: translateY(8px) rotate(-5deg); }
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ========================================
   TAGLINE MARQUEE
   ======================================== */
.tagline-marquee {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
    overflow: hidden;
}

.tagline-track {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    animation: taglineScroll 35s linear infinite;
}

.tagline-track span {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.tagline-dot {
    color: var(--orange) !important;
    font-size: 10px !important;
}

@keyframes taglineScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   CATEGORY BANNERS (2x2)
   ======================================== */
.category-banners {
    padding: 32px 0 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 40px 36px;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    transition: transform var(--transition);
}

.category-banner:hover {
    transform: scale(1.01);
}

.category-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
}

.category-banner-text {
    position: relative;
    z-index: 2;
}

.category-banner-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
}

.category-shop {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.category-banner-emojis {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 1;
}

.cb-emoji {
    font-size: 56px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    animation: cbFloat 5s ease-in-out infinite;
}

.cb-emoji.cb1 { animation-delay: 0s; font-size: 64px; }
.cb-emoji.cb2 { animation-delay: 0.8s; font-size: 52px; }
.cb-emoji.cb3 { animation-delay: 1.6s; font-size: 48px; }
.cb-emoji.cb4 { animation-delay: 2.4s; font-size: 44px; }

@keyframes cbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========================================
   SHOP BY CATEGORY / SECTION COMMON
   ======================================== */
.section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.section-subheading {
    font-size: 15px;
    color: var(--gray-600);
    margin-top: 4px;
}

.shop-category {
    padding: 48px 0 24px;
}

.category-tabs {
    display: flex;
    gap: 0;
    margin: 24px 0;
    border-bottom: 2px solid var(--gray-200);
}

.cat-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    position: relative;
    transition: var(--transition);
}

.cat-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: var(--transition);
}

.cat-tab.active {
    color: var(--text);
}

.cat-tab.active::before {
    content: '\25A0';
    margin-right: 8px;
    font-size: 8px;
    vertical-align: middle;
}

.cat-tab.active::after {
    background: var(--text);
}

/* ========================================
   PRODUCT CARDS (Navy Dark Cards)
   ======================================== */
.products-carousel-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 0 20px 20px;
}

.products-carousel-wrap::-webkit-scrollbar { display: none; }

.products-carousel {
    display: flex;
    gap: 16px;
}

.product-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg, var(--navy));
    transition: transform var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-top {
    position: relative;
    padding: 20px 20px 0;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quick-view-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 100px;
}

.discount-badge.new-badge {
    background: var(--orange);
    color: #fff;
}

.preorder-badge {
    position: absolute;
    top: 52px;
    right: 16px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-card-bottom {
    padding: 20px;
    position: relative;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.price-original {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-decoration: line-through;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: scale(1.1);
}

/* ========================================
   BESTSELLERS
   ======================================== */
.bestsellers {
    padding: 40px 0 48px;
}

.bestsellers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--orange);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 56px 0 0;
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-secret {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 300px;
}

.footer-secret strong {
    color: var(--text);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-slides { height: 420px; }
    .hero-slide-title { font-size: 42px; }
    .hero-slide-title span { font-size: 32px; }
    .hero-slide-visual { width: 280px; height: 280px; }
    .hero-float-fruit { font-size: 48px; }
    .hero-float-fruit.f1 { font-size: 64px; }
    .hero-float-fruit.f4 { font-size: 56px; }

    .category-banner-text h3 { font-size: 26px; }
    .category-banner { min-height: 240px; padding: 32px 28px; }
    .cb-emoji { font-size: 44px; }
    .cb-emoji.cb1 { font-size: 52px; }
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }

    .hero-slides { height: 380px; }
    .hero-slide-content { padding: 0 24px; flex-direction: column; text-align: center; }
    .hero-slide-visual { display: none; }
    .hero-slide-title { font-size: 36px; }
    .hero-slide-title span { font-size: 26px; }
    .hero-slide-desc { margin-left: auto; margin-right: auto; }

    .category-grid { grid-template-columns: 1fr; gap: 12px; }
    .category-banner { min-height: 200px; }
    .category-banner-emojis { width: 45%; }

    .section-heading { font-size: 26px; }
    .product-card { flex: 0 0 220px; }
    .product-emoji-lg { font-size: 80px; }

    .bestsellers-header { flex-direction: column; align-items: flex-start; gap: 8px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .scroll-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-slides { height: 340px; }
    .hero-slide-title { font-size: 30px; }
    .hero-slide-title span { font-size: 22px; }
    .hero-shop-btn { padding: 14px 28px; font-size: 14px; }

    .category-banner { min-height: 170px; padding: 24px 20px; }
    .category-banner-text h3 { font-size: 22px; }
    .cb-emoji { font-size: 36px; }
    .cb-emoji.cb1 { font-size: 44px; }

    .product-card { flex: 0 0 200px; }
    .product-card-top { min-height: 180px; }
    .product-emoji-lg { font-size: 72px; }

    .category-tabs { overflow-x: auto; gap: 0; }
    .cat-tab { white-space: nowrap; padding: 12px 16px; font-size: 13px; }
}

/* ========================================
   AUTH MODAL
   ======================================== */
.auth-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.auth-overlay.open { opacity: 1; visibility: visible; }

.auth-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
    background: #fff; border-radius: 16px; width: 420px; max-width: 92vw;
    z-index: 1001; padding: 36px 32px 28px; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.auth-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.auth-close {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
    border-radius: 50%; border: none; background: #f0f0f0; font-size: 20px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #666; transition: 0.2s;
}
.auth-close:hover { background: #e0e0e0; color: #000; }

.auth-tabs {
    display: flex; gap: 0; margin-bottom: 24px; border-bottom: 2px solid #f0f0f0;
}
.auth-tab {
    flex: 1; padding: 12px; text-align: center; font-size: 15px; font-weight: 700;
    background: none; border: none; border-bottom: 2px solid transparent;
    margin-bottom: -2px; cursor: pointer; color: #999; transition: 0.2s;
    font-family: inherit;
}
.auth-tab.active { color: var(--orange, #ff8c42); border-bottom-color: var(--orange, #ff8c42); }

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form-group { margin-bottom: 16px; }
.auth-form-group label {
    display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #333;
}
.auth-form-group input {
    width: 100%; padding: 13px 16px; border: 1.5px solid #e0e0e0; border-radius: 10px;
    font-size: 14px; font-family: inherit; outline: none; transition: 0.2s;
}
.auth-form-group input:focus { border-color: var(--orange, #ff8c42); box-shadow: 0 0 0 3px rgba(255,140,66,0.1); }

.auth-submit {
    width: 100%; padding: 14px; background: var(--orange, #ff8c42); color: #fff;
    border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
    cursor: pointer; margin-top: 8px; font-family: inherit; transition: 0.2s;
}
.auth-submit:hover { background: #e87a30; transform: translateY(-1px); }

.auth-switch {
    text-align: center; margin-top: 16px; font-size: 13px; color: #888;
}
.auth-switch a { color: var(--orange, #ff8c42); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Login mode toggle */
.auth-login-toggle {
    display: flex; gap: 0; background: #f0f0f0; border-radius: 8px; padding: 3px;
    margin-bottom: 20px;
}
.login-mode-btn {
    flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 700;
    border: none; background: none; border-radius: 6px; cursor: pointer;
    color: #888; font-family: inherit; transition: 0.2s;
}
.login-mode-btn.active { background: #fff; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

.login-mode { display: none; }
.login-mode.active { display: block; }

/* OTP Phone */
.otp-phone-row {
    display: flex; align-items: center; border: 1.5px solid #e0e0e0; border-radius: 10px;
    overflow: hidden; transition: 0.2s;
}
.otp-phone-row:focus-within { border-color: var(--orange, #ff8c42); box-shadow: 0 0 0 3px rgba(255,140,66,0.1); }
.phone-prefix {
    padding: 13px 14px; background: #f8f8f8; font-size: 14px; font-weight: 700;
    color: #666; border-right: 1px solid #e0e0e0;
}
.otp-phone-row input {
    flex: 1; padding: 13px 14px; border: none; font-size: 15px; font-family: inherit;
    outline: none; letter-spacing: 1px;
}

/* OTP Boxes */
.otp-inputs { display: flex; gap: 12px; justify-content: center; }
.otp-box {
    width: 52px; height: 56px; text-align: center; font-size: 22px; font-weight: 800;
    border: 2px solid #e0e0e0; border-radius: 10px; outline: none;
    font-family: inherit; transition: 0.2s;
}
.otp-box:focus { border-color: var(--orange, #ff8c42); box-shadow: 0 0 0 3px rgba(255,140,66,0.1); }

.otp-timer { text-align: center; font-size: 13px; color: #888; margin-top: 10px; }

/* ========================================
   CART DRAWER
   ======================================== */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw;
    height: 100vh; background: #fff; z-index: 1001; display: flex;
    flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid #eee;
}
.cart-drawer-header h3 { font-size: 18px; font-weight: 800; }
.cart-drawer-close {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: #f0f0f0; font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: #666;
}
.cart-drawer-close:hover { background: #e0e0e0; }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.cart-empty {
    text-align: center; padding: 48px 0; color: #999;
}
.cart-empty svg { margin-bottom: 16px; }
.cart-empty p { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.cart-shop-link {
    display: inline-block; padding: 10px 24px; background: var(--orange, #ff8c42);
    color: #fff; border-radius: 8px; font-size: 14px; font-weight: 700;
    text-decoration: none; transition: 0.2s;
}
.cart-shop-link:hover { background: #e87a30; }

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
    display: flex; gap: 14px; padding: 14px; background: #f8f8f8;
    border-radius: 12px; align-items: center;
}
.cart-item-img {
    width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cart-item-price { font-size: 14px; color: var(--orange, #ff8c42); font-weight: 800; }

.cart-item-qty {
    display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.cart-qty-btn {
    width: 28px; height: 28px; border-radius: 6px; border: 1px solid #ddd;
    background: #fff; font-size: 16px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; font-weight: 700;
}
.cart-qty-btn:hover { border-color: var(--orange, #ff8c42); color: var(--orange, #ff8c42); }
.cart-qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }

.cart-item-remove {
    background: none; border: none; color: #ccc; cursor: pointer; padding: 4px;
    transition: 0.2s;
}
.cart-item-remove:hover { color: #ef5350; }

.cart-drawer-footer {
    padding: 20px 24px; border-top: 1px solid #eee; background: #fff;
}
.cart-total {
    display: flex; justify-content: space-between; font-size: 18px;
    font-weight: 800; margin-bottom: 16px;
}
.cart-checkout-btn {
    width: 100%; padding: 15px; background: #1a2744; color: #fff;
    border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
    cursor: pointer; font-family: inherit; transition: 0.2s;
}
.cart-checkout-btn:hover { background: #2d3e5e; }
.cart-note { text-align: center; font-size: 12px; color: #999; margin-top: 10px; }

/* ========================================
   FOOTER SOCIAL
   ======================================== */
.footer-social { margin-top: 12px; }
.social-link {
    display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7);
    text-decoration: none; font-size: 14px; transition: 0.2s; padding: 6px 0;
}
.social-link:hover { color: #fff; }
.social-link svg { flex-shrink: 0; }
