/* ============================================
   OHISEE — shop.css
   Matches index.html design system exactly
============================================ */

/* --- Variables & Reset (identical to style.css) --- */
:root { 
    --brand: #59dfd4;
    --brand-dim: rgba(89, 223, 212, 0.15);
    --black: #0a0a0a;
    --black-mid: #111111;
    --black-soft: #1a1a1a;
    --white: #ffffff;
    --off-white: #f8f5f0;
    --text-light: #e8e4de;
    --text-muted: #888888;
    --text-faint: #444444;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Montserrat', Helvetica, Arial, sans-serif;
    --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--off-white);
    color: var(--black);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ==========================================
   CUSTOM CURSOR
========================================== */
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--brand);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--brand);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s var(--ease-luxury);
    opacity: 0.6;
}
body.hovering .cursor-ring {
    width: 56px; height: 56px;
    opacity: 1;
    background: var(--brand-dim);
}

/* ==========================================
   PRELOADER
========================================== */
.preloader {
    position: fixed; inset: 0;
    background: var(--black);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--ease-luxury), visibility 0.8s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-text {
    font-family: var(--serif);
    font-size: 2.5rem; font-weight: 300;
    color: var(--white);
    letter-spacing: 14px;
    display: block; margin-bottom: 28px;
}
.preloader-bar {
    width: 180px; height: 1px;
    background: rgba(255,255,255,0.12); overflow: hidden;
}
.preloader-fill {
    height: 100%; width: 0%;
    background: var(--brand);
    animation: preloadFill 1.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes preloadFill { to { width: 100%; } }

/* ==========================================
   NAVBAR
========================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 60px;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.5s var(--ease-luxury), padding 0.4s, backdrop-filter 0.5s;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo-img {
    height: 52px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1);
}
.nav-links { list-style: none; display: flex; gap: 44px; }
.nav-links a {
    color: var(--white);
    font-family: var(--sans);
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2.5px;
    position: relative;
    transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--brand);
    transition: width 0.4s var(--ease-luxury);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: none; padding: 4px;
}
.bar {
    width: 24px; height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
}

/* ==========================================
   MOBILE OVERLAY
========================================== */
.mobile-overlay {
    position: fixed; inset: 0;
    background: var(--black); z-index: 900;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s var(--ease-luxury);
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }
.mobile-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.mobile-links a {
    font-family: var(--serif); font-size: 3rem; font-weight: 300;
    color: var(--white); letter-spacing: 3px;
    display: block; padding: 8px 0;
    transition: color 0.3s;
}
.mobile-links a:hover { color: var(--brand); }
.mobile-footer-text {
    position: absolute; bottom: 40px;
    font-family: var(--sans); font-size: 10px;
    letter-spacing: 6px; color: rgba(255,255,255,0.2);
    text-transform: uppercase;
}

/* ==========================================
   SHOP HERO
========================================== */
.shop-hero {
    position: relative;
    height: 100vh; min-height: 440px;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding-top: 90px;
}
.shop-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(89, 223, 212, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
/* Decorative angled line */
.shop-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand), transparent);
    opacity: 0.5;
}
.shop-hero-grain {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
}
.shop-hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    padding: 0 30px;
}
.shop-hero-eyebrow {
    font-family: var(--sans);
    font-size: 10px; font-weight: 500;
    letter-spacing: 5px; text-transform: uppercase;
    color: var(--brand);
    display: block; margin-bottom: 20px;
}
.shop-hero-title {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300; line-height: 1;
    letter-spacing: 2px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    margin-bottom: 24px;
}
.shop-hero-title span { display: block; }
.shop-hero-title em {
    font-style: italic;
    color: var(--text-light);
}
.shop-hero-sub {
    font-family: var(--sans);
    font-size: 0.85rem; font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

.hero-scroll-hint {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.3);
    font-family: var(--sans); font-size: 9px;
    letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ==========================================
   REVEAL ANIMATIONS
========================================== */
.reveal-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.65s; }

.scroll-reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================
   HOTBAR
========================================== */
.hotbar {
    position: sticky;
    top: 89px; /* just below navbar */
    z-index: 800;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 60px;
}
.hotbar-inner {
    display: flex; align-items: center;
    justify-content: center;
    gap: 28px;
    height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
}
.hotbar-inner::-webkit-scrollbar { display: none; }
.hotbar-btn {
    background: none; border: none;
    font-family: var(--sans);
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: rgba(255,255,255,0.45);
    cursor: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s var(--ease-luxury);
    white-space: nowrap;
    flex-shrink: 0;
}
.hotbar-btn::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--brand);
    transition: width 0.4s var(--ease-luxury);
}
.hotbar-btn:hover, .hotbar-btn.active { color: var(--brand); }
.hotbar-btn:hover::after, .hotbar-btn.active::after { width: 100%; }
.hotbar-sep {
    color: rgba(255,255,255,0.12);
    font-size: 7px; flex-shrink: 0;
}

/* ==========================================
   SHOP CONTAINER & CATEGORY SECTIONS
========================================== */
.shop-container { padding: 0; }

.category-section {
    padding: 90px 60px 80px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.category-section:last-child { border-bottom: none; }
.category-section:nth-child(even) {
    background: var(--white);
}
.category-section:nth-child(odd) {
    background: var(--off-white);
}

.category-header {
    margin-bottom: 52px;
}
.section-label {
    font-family: var(--sans);
    font-size: 10px; font-weight: 500;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--brand);
    display: block; margin-bottom: 12px;
}
.category-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300; letter-spacing: 3px;
    text-transform: uppercase; line-height: 1;
    margin-bottom: 20px;
}
.accent-line {
    width: 50px; height: 2px;
    background: var(--brand);
    margin: 0;
}

/* ==========================================
   PRODUCT GRID
========================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    cursor: none;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--black);
    aspect-ratio: 1 / 1;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 1.2s var(--ease-luxury), opacity 0.5s;
    display: block;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.07);
    opacity: 0.65;
}

.product-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-luxury);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay span {
    font-family: var(--sans);
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--white);
    border-bottom: 1px solid var(--brand);
    padding-bottom: 4px;
    transform: translateY(8px);
    transition: transform 0.4s var(--ease-out-expo);
}
.product-card:hover .product-overlay span { transform: translateY(0); }

.product-info {
    padding: 14px 4px 0;
}
.product-name {
    font-family: var(--sans);
    font-size: 11px; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--black); margin-bottom: 4px;
}
.product-sub {
    font-family: var(--sans);
    font-size: 10px; font-weight: 300;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-muted);
}

/* ==========================================
   FOOTER (identical to index.html)
========================================== */
.footer { background: var(--black); color: var(--white); }
.footer-top {
    display: flex; gap: 60px;
    padding: 80px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.footer-brand { flex: 1.5; min-width: 200px; }
.footer-logo {
    height: 52px; width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}
.footer-brand p {
    font-family: var(--sans); font-size: 0.8rem;
    color: var(--text-muted); line-height: 2;
}
.footer-links-col {
    flex: 1; min-width: 130px;
    display: flex; flex-direction: column; gap: 12px;
}
.footer-links-col h5 {
    font-family: var(--sans); font-size: 10px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--white); margin-bottom: 6px;
}
.footer-links-col a {
    font-family: var(--sans); font-size: 0.8rem; font-weight: 300;
    color: var(--text-muted); letter-spacing: 0.5px;
    transition: color 0.3s;
}
.footer-links-col a:hover { color: var(--brand); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 60px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
    font-family: var(--sans); font-size: 0.7rem;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1280px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hotbar { padding: 0 24px; }
}
@media (max-width: 768px) {
    .navbar { padding: 14px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .category-section { padding: 60px 24px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .footer-top { padding: 60px 24px; gap: 40px; }
    .footer-bottom { padding: 20px 24px; }
    .hotbar { top: 81px; }
}
@media (max-width: 480px) {
    .shop-hero { height: 50vh; }
    .product-grid { gap: 10px; }
}