/* =========================
   FONTS (Upgraded to fetch True 800 Extra-Bold)
========================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700;800&family=Inter:wght@600;700;800&display=swap');

/* =========================
   TOKENS (High Contrast Accessibility Theme)
========================= */
:root {
    /* Palette — Strictly Jet Black Ink */
    --ink:        #000000; 
    --clay:       #A0522D;
    --clay-dark:  #000000; /* Forced to black for high-contrast pricing */
    --clay-light: #C4714A;
    --stone:      #000000; /* Forced to black for high-contrast subtitles */
    
    /* Brightened Backgrounds for White Theme */
    --sand:       #F4EFEA; 
    --sand-light: #F9F7F4;
    --cream:      #FFFFFF; 
    --white:      #FFFFFF;
    --border:     #D8D2C9; /* Slightly darkened border so card edges can be seen */

    --sage:       #55634B;
    --sage-light: #8A9C7A;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md:  0 6px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.16);

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;

    /* Type scale */
    --display: 'Cormorant Garamond', Georgia, serif;
    --body:    'Inter', -apple-system, sans-serif;
}

/* =========================
   RESET
========================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    -webkit-tap-highlight-color: transparent; 
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    font-size: 16px; /* Explicit accessible base size */
    font-weight: 700; 
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--body); cursor: pointer; outline: none; }

/* =========================
   NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    height: 65px; /* Bumped slightly for bigger text */
    background: var(--cream);
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.nav-logo {
    font-family: var(--display);
    font-size: 23px; /* Bumped from 19px */
    font-weight: 800; 
    color: var(--ink);
    letter-spacing: 0.2px;
    line-height: 1;
}

.nav-logo em {
    font-style: normal;
    color: var(--ink); /* Forced to black */
    text-decoration: underline;
    text-decoration-color: var(--clay);
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Bumped */
    color: var(--ink);
    position: relative;
    transition: background 0.2s ease;
}
.nav-icon-btn:hover { background: var(--sand); }

.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #000000;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
}

/* =========================
   SIDE MENU
========================= */
.menu-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
    opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; backdrop-filter: blur(2px); 
}
.menu-overlay.open { opacity: 1; visibility: visible; }

.side-menu {
    position: fixed; left: -310px; top: 0; width: 300px; height: 100dvh;
    background: var(--cream); z-index: 1001; transition: left 0.3s ease;
    display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.side-menu.open { left: 0; }

.menu-head {
    height: 65px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; border-bottom: 1.5px solid var(--border); flex-shrink: 0;
}

.menu-head .nav-logo { font-size: 22px; }

.menu-close {
    width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--sand);
    border: none; font-size: 18px; display: flex; align-items: center; justify-content: center;
    color: var(--ink); transition: 0.2s ease; font-weight: 800;
}
.menu-close:hover { background: var(--border); }

.menu-links { flex: 1; overflow-y: auto; padding: 10px 0; }

.menu-link {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    font-size: 16.5px; /* Bumped from 14.5px */
    font-weight: 800; 
    color: var(--ink); border-bottom: 1px solid var(--sand); transition: 0.2s ease;
}
.menu-link:hover { background: var(--sand-light); padding-left: 26px; } 
.menu-link i { width: 22px; color: var(--ink); font-size: 17px; }

/* =========================
   HERO SLIDER
========================= */
.hero {
    position: relative; overflow: hidden; margin: 14px 14px 0;
    border-radius: var(--r-lg); touch-action: pan-y; box-shadow: var(--shadow-sm);
}

.hero-track { display: flex; transition: transform 0.45s ease; will-change: transform; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { height: 340px; object-fit: cover; display: block; pointer-events: none; }

.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0, 0.85) 0%, rgba(0,0,0, 0.30) 60%, transparent 100%);
    border-radius: inherit;
}

.hero-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 22px; z-index: 2; color: var(--white); }

.hero-title {
    font-family: var(--display);
    font-size: 36px; /* Bumped from 32px */
    font-weight: 800; 
    line-height: 1.1; letter-spacing: -0.3px; margin-bottom: 10px; color: #FFFFFF;
}

.hero-sub {
    font-size: 15.5px; /* Bumped from 13.5px */
    font-weight: 700; 
    line-height: 1.5; margin-bottom: 20px; max-width: 310px; color: #FFFFFF;
}

.hero-cta {
    display: inline-flex; align-items: center; gap: 10px; background: var(--white);
    color: #000000; font-size: 15px; font-weight: 800; padding: 14px 24px;
    border-radius: var(--r-sm); border: none; transition: 0.2s;
}
.hero-cta:hover { background: var(--sand); transform: translateY(-2px); }

.hero-dots { position: absolute; bottom: 18px; right: 18px; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; padding: 0; cursor: pointer; }
.hero-dot.active { background: var(--white); width: 22px; border-radius: 4px; }

/* =========================
   SEARCH
========================= */
.search-wrap { padding: 18px 14px 0; }

.search-bar {
    background: var(--white); border: 2px solid var(--ink); /* Darker border */
    border-radius: var(--r-md); padding: 16px 18px; display: flex; align-items: center; gap: 14px;
    cursor: pointer; box-shadow: var(--shadow-sm); transition: 0.2s;
}
.search-bar:hover { box-shadow: var(--shadow-md); }
.search-bar i { color: var(--ink); font-size: 18px; }
.search-bar span { color: var(--ink); font-size: 16px; font-weight: 800; }

/* =========================
   SECTION SHELL
========================= */
.section { padding: 34px 14px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }

.section-title {
    font-family: var(--display);
    font-size: 28px; /* Bumped from 24px */
    font-weight: 800; 
    color: var(--ink); letter-spacing: -0.2px;
}

.section-link {
    font-size: 14px; /* Bumped from 12.5px */
    font-weight: 800; 
    color: var(--ink); /* Changed to pure black */
    display: flex; align-items: center; gap: 6px; text-transform: uppercase; text-decoration: underline;
}

/* =========================
   CATEGORIES
========================= */
.cat-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }

.cat-card { flex-shrink: 0; width: 115px; background: var(--white); border-radius: var(--r-md); border: 1.5px solid var(--border); overflow: hidden; cursor: pointer; transition: 0.2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }

.cat-card img { height: 90px; object-fit: cover; }

.cat-label {
    padding: 12px 6px; text-align: center;
    font-size: 14px; /* Bumped from 12px */
    font-weight: 800; color: var(--ink); line-height: 1.3;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.product-card { background: var(--white); border-radius: var(--r-md); border: 1.5px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: 0.25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }

.prod-img-wrap { position: relative; overflow: hidden; }
.prod-img-wrap img { aspect-ratio: 4 / 5; object-fit: cover; transition: 0.5s; display: block; }
.product-card:hover .prod-img-wrap img { transform: scale(1.05); }

.prod-badge {
    position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; 
    letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
    background: #000000; color: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.prod-oos { position: absolute; inset: 0; background: rgba(0,0,0, 0.6); display: flex; align-items: center; justify-content: center; }
.prod-oos span { background: var(--white); color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 8px 16px; border-radius: 20px; }

.prod-body { padding: 16px 14px; flex: 1; display: flex; flex-direction: column; }

.prod-name {
    font-size: 15.5px; /* Bumped from 13.5px */
    font-weight: 800; 
    line-height: 1.4; color: var(--ink); flex: 1; min-height: 42px;
}

.prod-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }

.prod-price {
    font-family: var(--display);
    font-size: 23px; /* Bumped from 20px */
    font-weight: 800; color: #000000; /* Pure pitch black */
}

.prod-price-original { font-size: 14px; font-weight: 700; color: #000000; text-decoration: line-through; }

.prod-btn {
    margin-top: 14px; width: 100%; background: #000000; color: #FFFFFF;
    border: none; padding: 14px 10px; border-radius: var(--r-sm);
    font-size: 14px; /* Bumped */
    font-weight: 800; letter-spacing: 0.5px; transition: 0.2s;
}
.prod-btn:hover:not(:disabled) { background: #333333; }
.prod-btn:disabled { background: var(--border); color: #555555; cursor: not-allowed; }

.skel { background: linear-gradient(90deg, var(--sand) 25%, var(--sand-light) 50%, var(--sand) 75%); background-size: 200% 100%; animation: skel-shimmer 1.4s infinite; border-radius: var(--r-md); }
@keyframes skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-card { height: 280px; }

/* =========================
   ABOUT STRIP
========================= */
.about-strip { margin: 34px 14px 0; padding: 28px 22px; background: var(--sand); border-radius: var(--r-lg); border: 2px solid var(--ink); }
.about-strip h2 { font-family: var(--display); font-size: 25px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.about-strip p { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.7; }

/* =========================
   FOOTER (High Contrast White on Black)
========================= */
.footer { margin-top: 45px; background: #000000; color: #FFFFFF; padding: 45px 20px 35px; }

.footer-brand { font-family: var(--display); font-size: 26px; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.footer-tagline { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 32px; }

.footer-col-title { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #FFFFFF; margin-bottom: 18px; text-decoration: underline; }

.footer-link { display: block; font-size: 16px; font-weight: 700; color: #FFFFFF; margin-bottom: 14px; transition: 0.2s; }
.footer-link:hover { padding-left: 6px; }

.footer-socials { display: flex; gap: 14px; margin-top: 8px; }
.footer-social-btn { width: 42px; height: 42px; border-radius: var(--r-sm); background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #000000; font-weight: 800; transition: 0.2s; }
.footer-social-btn:hover { background: var(--clay); color: #FFFFFF; transform: translateY(-2px); }

.footer-divider { border: none; border-top: 1.5px solid #444444; margin: 30px 0 22px; }
.footer-copy { font-size: 13.5px; font-weight: 700; color: #FFFFFF; }

/* =========================
   WHATSAPP
========================= */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); z-index: 800; transition: 0.25s; }
.wa-float:hover { transform: scale(1.1); }

/* =========================
   EMPTY STATE
========================= */
.state-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--ink); font-size: 16px; font-weight: 800; }
.state-empty i { font-size: 40px; margin-bottom: 14px; display: block; color: var(--ink); }

/* =========================
   RESPONSIVE
========================= */
@media (min-width: 640px) {
    .hero-slide img { height: 400px; }
    .hero-title { font-size: 44px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
    .hero-slide img { height: 500px; }
    .hero-title { font-size: 54px; }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { margin: 20px 20px 0; }
    .section { padding: 40px 20px 0; }
    .search-wrap { padding: 20px 20px 0; }
}

/* =========================
   REVIEWS
========================= */
.reviews-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: center; flex: 0 0 82%; max-width: 320px; height: 380px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); border: 2px solid var(--ink); }

.reviews-wrapper { margin: 0 14px 24px; }
.reviews-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.write-review-btn { background: #000000; color: #FFFFFF; border: none; padding: 12px 18px; border-radius: var(--r-sm); font-size: 14px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 20px; }
.review-stars { color: #000000; font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 16px; font-weight: 700; color: #000000; line-height: 1.6; margin-bottom: 14px; }
.review-author { font-size: 14px; color: #000000; font-weight: 800; text-transform: uppercase; }
.review-empty { font-size: 16px; font-weight: 700; color: #000000; padding: 14px 0; text-align: center;}

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0, 0.75); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; backdrop-filter: blur(2px); }
.modal-content { background: var(--white); width: 100%; max-width: 440px; padding: 30px; border-radius: var(--r-lg); border: 2px solid var(--ink); }
.modal-content h3 { font-family: var(--display); font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--ink); }

.modal-input { width: 100%; background: var(--cream); border: 2px solid var(--ink); padding: 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--ink); box-sizing: border-box; }
textarea.modal-input { resize: vertical; min-height: 100px; }

.star-selector { display: flex; gap: 10px; margin-bottom: 20px; font-size: 28px; color: var(--border); cursor: pointer; }
.star-selector i.fas { color: #000000; }

.submit-rev-btn { width: 100%; background: #000000; color: #FFFFFF; border: none; padding: 16px; border-radius: var(--r-sm); font-weight: 800; font-size: 16px; cursor: pointer; margin-bottom: 12px; }
.cancel-rev-btn { width: 100%; background: transparent; color: #000000; border: none; padding: 14px; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: underline; }
