/* Base reset */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family:'Helvetica Neue', Arial, sans-serif;
  background:#fff; color:#000; line-height:1.6; overflow-x:hidden; font-weight:300;
}

.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* Header / Nav */
header {
  background:rgba(255,255,255,.98); backdrop-filter:blur(20px);
  position:fixed; width:100%; top:0; z-index:1000;
  padding:1.5rem 0; border-bottom:1px solid #f0f0f0;
}
nav { display:flex; justify-content:space-between; align-items:center; }
.logo { font-size:1.5rem; font-weight:400; color:#000; letter-spacing:.15em; text-transform:uppercase; }
.nav-links { display:flex; list-style:none; gap:2rem; }
.nav-links a {
  color:#000; text-decoration:none; transition:.3s; position:relative;
  font-weight:300; font-size:.9rem; text-transform:uppercase; letter-spacing:.1em;
}
.nav-links a:hover { color:#666; }
.nav-links a::after { content:''; position:absolute; width:0; height:1px; bottom:-5px; left:0; background:#000; transition:width .3s; }
.nav-links a:hover::after { width:100%; }

.mobile-nav-toggle { display:none; flex-direction:column; cursor:pointer; padding:.5rem; z-index:1001; }
.mobile-nav-toggle span { width:25px; height:2px; background:#000; margin:3px 0; transition:.3s; }
.mobile-nav-toggle.active span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.mobile-nav-toggle.active span:nth-child(2){ opacity:0; }
.mobile-nav-toggle.active span:nth-child(3){ transform:rotate(-45deg) translate(7px,-6px); }

.mobile-nav-menu {
  position:fixed; top:0; right:-100%; width:320px; height:100vh; background:#fff; transition:right .3s; z-index:1000;
  padding:8rem 3rem 2rem; border-left:1px solid #f0f0f0;
}
.mobile-nav-menu.active { right:0; }
.mobile-nav-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.5); opacity:0; visibility:hidden; transition:.3s; z-index:999;
}
.mobile-nav-overlay.active { opacity:1; visibility:visible; }
.mobile-nav-list { list-style:none; }
.mobile-nav-item { margin:2rem 0; }
.mobile-nav-link {
  display:block; padding:1rem 0; color:#000; text-decoration:none; font-size:1rem; font-weight:300; transition:.3s;
  text-transform:uppercase; letter-spacing:.1em; border-bottom:1px solid #f0f0f0;
}
.mobile-nav-link:hover { color:#666; padding-left:1rem; }

.cart-icon { position:relative; font-size:1.2rem; cursor:pointer; color:#000; transition:.3s; }
.cart-icon:hover { color:#666; }
.cart-count {
  position:absolute; top:-8px; right:-8px; background:#000; color:#fff; border-radius:50%;
  width:18px; height:18px; display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:400;
}

/* Hero */
.hero { height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; background:#fff; position:relative; }
.hero-content h1 { font-size:4rem; margin-bottom:1rem; color:#000; font-weight:100; letter-spacing:.1em; text-transform:uppercase; }
.hero-content p { font-size:1.1rem; margin-bottom:3rem; color:#666; font-weight:300; letter-spacing:.05em; }
.cta-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

.btn { padding:1rem 2.5rem; border:1px solid #000; border-radius:0; font-size:.9rem; font-weight:300; cursor:pointer; transition:.3s;
  text-decoration:none; display:inline-block; text-align:center; text-transform:uppercase; letter-spacing:.1em; background:transparent;
}
.btn-primary { background:#000; color:#fff; }
.btn-primary:hover { background:transparent; color:#000; }
.btn-secondary { background:transparent; color:#000; border:1px solid #000; }
.btn-secondary:hover { background:#000; color:#fff; }

/* Sections */
.section { padding:5rem 0; display:none; }
.section.active { display:block; }
.section h2 {
  text-align:center; font-size:2.5rem; margin-bottom:4rem; color:#000; font-weight:100; text-transform:uppercase; letter-spacing:.15em;
}

/* Product grid/tiles */
.product-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:2rem; margin-top:2rem; }
.product-card {
  background:#fff; border:1px solid #f0f0f0; border-radius:0; padding:2rem; transition:.3s; position:relative; overflow:hidden;
  animation:fadeInUp .6s ease forwards;
}
.product-card:hover { border-color:#000; transform:translateY(-5px); }
.product-image {
  width:100%; height:250px; background:#f8f8f8; border:1px solid #f0f0f0; display:flex; align-items:center; justify-content:center; margin-bottom:1.5rem; font-size:3rem; transition:.3s;
}
.product-card:hover .product-image { background:#f0f0f0; }
.product-info h3 { font-size:1.1rem; margin-bottom:.5rem; color:#000; font-weight:400; text-transform:uppercase; letter-spacing:.05em; }
.product-info p { color:#666; margin-bottom:1.5rem; font-weight:300; line-height:1.5; }
.product-price { font-size:1.2rem; color:#000; font-weight:300; margin-bottom:1.5rem; }
.add-to-cart { width:100%; padding:.8rem; background:transparent; border:1px solid #000; color:#000; font-weight:300; cursor:pointer; transition:.3s; text-transform:uppercase; letter-spacing:.05em; font-size:.85rem; }
.add-to-cart:hover { background:#000; color:#fff; }

/* Filters (shop) */
.filter-buttons { display:flex; justify-content:center; gap:0; margin-bottom:4rem; flex-wrap:wrap; }
.filter-btn { padding:1rem 2rem; background:transparent; border:1px solid #e0e0e0; color:#666; cursor:pointer; transition:.3s; font-weight:300; text-transform:uppercase; letter-spacing:.05em; font-size:.85rem; }
.filter-btn:first-child { border-right:none; }
.filter-btn:not(:first-child):not(:last-child){ border-right:none; }
.filter-btn.active, .filter-btn:hover { background:#000; border-color:#000; color:#fff; }

/* Booking */
.booking-form { max-width:600px; margin:0 auto; background:#fff; padding:3rem; border:1px solid #f0f0f0; }
.form-group { margin-bottom:2rem; }
.form-group label {
  display:block; margin-bottom:.5rem; color:#000; font-weight:300; text-transform:uppercase; letter-spacing:.05em; font-size:.85rem;
}
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:1rem; border:1px solid #e0e0e0; background:#fff; color:#000; font-weight:300; transition:.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:#000; }
.form-group input::placeholder, .form-group textarea::placeholder { color:#999; font-weight:300; }

.calendar { display:grid; grid-template-columns:repeat(7, 1fr); gap:1px; margin-bottom:2rem; border:1px solid #e0e0e0; }
.calendar-day { padding:1rem; text-align:center; background:#fff; cursor:pointer; transition:.3s; border:1px solid #f0f0f0; font-weight:300; }
.calendar-day:hover { background:#f8f8f8; }
.calendar-day.selected { background:#000; color:#fff; }
.calendar-day.disabled { opacity:.3; cursor:not-allowed; background:#f8f8f8; }

.time-slots { display:grid; grid-template-columns:repeat(auto-fit, minmax(120px,1fr)); gap:1px; margin-bottom:2rem; }
.time-slot { padding:1rem; text-align:center; background:#fff; cursor:pointer; transition:.3s; border:1px solid #e0e0e0; font-weight:300; }
.time-slot:hover { background:#f8f8f8; }
.time-slot.selected { background:#000; color:#fff; }

/* Cart & payment */
.cart { position:fixed; top:0; right:-400px; width:400px; height:100vh; background:#fff; z-index:2000; transition:right .3s; overflow-y:auto; padding:2rem; border-left:1px solid #f0f0f0; }
.cart.open { right:0; }
.cart h3 { color:#000; margin-bottom:2rem; text-align:center; font-weight:300; text-transform:uppercase; letter-spacing:.1em; }
.cart-item { display:flex; justify-content:space-between; align-items:center; padding:1rem 0; border-bottom:1px solid #f0f0f0; margin-bottom:1rem; }
.cart-item-info h4 { color:#000; margin-bottom:.5rem; font-weight:300; font-size:.9rem; }
.cart-item-price { color:#000; font-weight:300; }
.cart-total { text-align:center; font-size:1.3rem; color:#000; font-weight:300; margin:2rem 0; text-transform:uppercase; letter-spacing:.05em; }
.close-cart { position:absolute; top:1rem; right:1rem; background:none; border:none; color:#000; font-size:1.5rem; cursor:pointer; transition:.3s; }
.close-cart:hover { color:#666; }

.payment-modal { position:fixed; inset:0; background:rgba(0,0,0,.8); display:none; justify-content:center; align-items:center; z-index:3000; }
.payment-modal.active { display:flex; }
.payment-form { background:#fff; padding:3rem; width:90%; max-width:500px; border:1px solid #f0f0f0; }
.payment-form h3 { color:#000; text-align:center; margin-bottom:2rem; font-weight:300; text-transform:uppercase; letter-spacing:.1em; }

/* Footer */
footer { background:#f8f8f8; padding:4rem 0 2rem; text-align:center; border-top:1px solid #f0f0f0; }
.footer-content { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:3rem; margin-bottom:3rem; }
.footer-section h4 { color:#000; margin-bottom:1.5rem; font-weight:300; text-transform:uppercase; letter-spacing:.1em; font-size:.9rem; }
.footer-section p, .footer-section a { color:#666; text-decoration:none; font-weight:300; line-height:1.8; }
.footer-section a:hover { color:#000; }
.social-links { display:flex; gap:1rem; justify-content:center; }
.social-links a { width:40px; height:40px; border:1px solid #e0e0e0; display:flex; align-items:center; justify-content:center; transition:.3s; background:#fff; }
.social-links a:hover { background:#000; border-color:#000; }

/* Flashes (Portfolio) */
.flash-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px,1fr)); gap:16px; }
.flash-card { background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; cursor:pointer; transition:transform .15s, box-shadow .15s; }
.flash-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.08); }
.flash-card img { display:block; width:100%; height:240px; object-fit:cover; background:#f6f6f6; }
.flash-card .flash-caption { padding:10px 12px; font-size:14px; color:#444; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.flash-modal { position:fixed; inset:0; background:rgba(0,0,0,.75); display:none; align-items:center; justify-content:center; padding:24px; z-index:9999; }
.flash-modal[aria-hidden="false"] { display:flex; }
.flash-modal-content { background:#fff; border-radius:14px; max-width:min(960px, 96vw); width:100%; box-shadow:0 16px 48px rgba(0,0,0,.3); overflow:hidden; position:relative; }
.flash-modal-content { background:#fff; border-radius:14px; max-width:min(960px, 96vw); width:100%; box-shadow:0 16px 48px rgba(0,0,0,.3); overflow:auto; position:relative; max-height:90vh; }
.flash-modal-content img { display:block; width:100%; height:auto; max-height:50vh; object-fit:contain; background:#f6f6f6; }

/* Ensure CTA area inside the modal stays visible: sticky to the bottom of the modal's scrollable area */
.flash-modal-content #flash-cta {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  z-index: 5;
}

/* Slight visual separation for the chip area so sticky CTA doesn't overlap */
.flash-modal-content [x-data] { padding-bottom: 8px; }

/* Firefox fallback: some Firefox versions have quirks with sticky inside overflow containers.
   For Firefox, make the CTA fixed within the viewport but centered above the modal so it's always reachable. */
html.is-firefox .flash-modal[aria-hidden="false"] .flash-modal-content #flash-cta {
  position: fixed !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(520px, 92%) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
  z-index: 10001 !important;
}
.flash-modal-close { position:absolute; top:8px; right:10px; border:0; background:#000; color:#fff; width:36px; height:36px; border-radius:50%; font-size:20px; cursor:pointer; }
.flash-modal-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border-top:1px solid #eee; }
.flash-name { font-size:14px; color:#333; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Flashes filter bar */
.flash-filter-bar {
  display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:8px;
}
.flash-filter-btn {
  border:1px solid #e0e0e0; background:#fff; color:#444; padding:.55rem .9rem; font-size:.85rem;
  text-transform:uppercase; letter-spacing:.05em; cursor:pointer; transition:.2s; border-radius:999px;
}
.flash-filter-btn:hover { background:#000; color:#fff; border-color:#000; }
.flash-filter-btn.active { background:#000; color:#fff; border-color:#000; }
.flash-filter-count {
  font-size:.75rem; opacity:.75; margin-left:.35rem;
}

/* Responsive */
@media (max-width:768px){
  .nav-links { display:none; }
  .mobile-nav-toggle { display:flex; }
  .hero-content h1 { font-size:2.5rem; }
  .product-grid { grid-template-columns:1fr; }
  .cart { width:100%; right:-100%; }
  .cta-buttons, .filter-buttons { flex-direction:column; align-items:center; }
}

/* Animations */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }