/* Al-Malik Bakery — Levantine manakeesh & saj bakery */
:root {
  --black: #141a16;
  --dark: #1e3d32;
  --grey-900: #2a241c;
  --grey-700: #5c5044;
  --grey-500: #8a7a64;
  --grey-300: #e4d8c4;
  --grey-100: #f4efe4;
  --white: #fffdf8;
  --red: #c45c26;
  --red-dark: #a34a1a;
  --blue: #1e3d32;
  --gold: #c9a227;
  --gold-light: #e8d5a3;
  --green: #3d6b4f;
  --cream: #f8f3ea;
  --spice: #b54a2e;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Lato', sans-serif;
  --font-arabic: 'Amiri', 'Georgia', serif;
  --shadow: 0 2px 16px rgba(30, 61, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 26, 22, 0.16);
  --radius: 4px;
  --radius-lg: 10px;
  --max: 1280px;
  --header-h: 80px;
  --demo-banner-h: calc(2.7rem + env(safe-area-inset-top, 0px));
  --transition: 0.2s ease;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4l2.2 12.8L43 20l-12.8 3.2L28 36l-2.2-12.8L13 20l12.8-3.2Z' fill='%23c9a227' fill-opacity='0.09'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--grey-900); background: var(--cream); overflow-x: hidden; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); overscroll-behavior-x: none; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(1rem, env(safe-area-inset-right)); padding-left: max(1rem, env(safe-area-inset-left)); }
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--red); color: var(--white); padding: 0.5rem 1rem; z-index: 9999; border-radius: var(--radius); }
.skip-link:focus { top: 0.75rem; }

/* Demo legal banner */
.site-chrome { background: var(--dark); }
.demo-notice {
  background: #101612;
  color: var(--gold-light);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
  padding: 0.5rem 1rem;
  padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid rgba(201,162,39,0.4);
}
.demo-notice strong {
  color: var(--gold);
  font-weight: 700;
}
.footer-demo {
  font-size: 0.8125rem;
  color: var(--grey-500);
  margin-bottom: 0.5rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Header */
.site-header { position: relative; z-index: 1000; background: var(--dark); border-bottom: 1px solid rgba(201,162,39,0.35); }
.header-top { display: none; }
.header-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0.5rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
  gap: 0.5rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; color: var(--white); flex: 1; min-width: 0; }
.logo-mark { width: 36px; height: 36px; min-width: 36px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; overflow: hidden; }
.logo-img { width: 42px; height: 42px; min-width: 42px; object-fit: contain; border-radius: 8px; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-text small { display: block; font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--gold-light); font-weight: 500; text-transform: uppercase; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.625rem;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  z-index: 2;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark);
  border-top: 1px solid var(--grey-900);
  padding: 0.5rem 0 1rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; }
.main-nav a {
  display: block;
  padding: 0.875rem 1rem;
  min-height: 44px;
  color: var(--grey-300);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.main-nav-search { display: none; padding: 0.75rem 1rem 0.5rem; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.search-input {
  display: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--grey-700);
  border-radius: var(--radius);
  background: var(--grey-900);
  color: var(--white);
  font-size: 0.875rem;
  width: 200px;
}
.search-input::placeholder { color: var(--grey-500); }
.cart-btn { position: relative; background: none; border: none; color: var(--white); padding: 0.5rem; display: flex; align-items: center; }
.cart-count { position: absolute; top: 0; right: 0; background: var(--red); color: var(--white); font-size: 0.625rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: none; align-items: center; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  touch-action: manipulation;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: #b89220; border-color: #b89220; }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-secondary:hover { background: var(--grey-100); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn.added { background: var(--green); border-color: var(--green); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; background: var(--black); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: var(--black); background-image: linear-gradient(105deg, rgba(20,26,22,0.94) 0%, rgba(30,61,50,0.78) 48%, rgba(20,26,22,0.45) 100%), var(--pattern), url("../images/manakeesh-zaatar-2.jpg"); background-size: auto, 56px 56px, cover; background-position: center, center, center; }
.hero-accent-line { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--spice), var(--gold-light)); }
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  max-width: 680px;
}
.hero-eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; letter-spacing: 0.01em; text-transform: none; margin-bottom: 1.25rem; color: var(--white); overflow-wrap: anywhere; }
.hero-sub { font-size: clamp(1.125rem, 2.5vw, 1.3125rem); color: var(--grey-300); line-height: 1.7; margin-bottom: 2rem; max-width: 48ch; }
.hero--page { min-height: unset; }
.hero--page .hero-content { padding-top: 3.5rem; padding-bottom: 3.75rem; }
.hero--page h1 { font-size: clamp(2rem, 5vw, 3.15rem); margin-bottom: 1rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-grey { background: var(--grey-100); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-transform: none; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.section-header p { color: var(--grey-500); max-width: 50ch; margin: 0 auto; }
.section-label { display: block; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 0.375rem; }
.section-dark .section-header p { color: var(--grey-500); }
.section-dark h2 { color: var(--white); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.cat-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 1rem; color: var(--white); transition: transform var(--transition); }
.cat-tile:hover { transform: scale(1.02); }
.cat-tile-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.cat-tile-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.35) 100%); }
.cat-tile h3 { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); z-index: 0; }

/* League bar */
.league-bar { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.league-bar::-webkit-scrollbar { display: none; }
.league-pill { flex-shrink: 0; padding: 0.75rem 1.5rem; background: var(--white); border: 2px solid var(--grey-300); border-radius: 100px; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; transition: var(--transition); white-space: nowrap; }
.league-pill:hover, .league-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card-link { flex: 1; display: flex; flex-direction: column; color: inherit; }
.product-image { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--grey-100); }
.product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-jersey-preview { font-family: var(--font-display); font-size: 2rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; }
.product-badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 3px; color: var(--white); }
.badge-bestseller, .badge-bestsellers { background: var(--gold); color: var(--black); }
.badge-new { background: var(--dark); }
.badge-sale { background: var(--red); }
.badge-limited { background: var(--black); }
.badge-seasonal { background: var(--spice); }
.badge-catering, .badge-custom, .badge-wholesale { background: var(--dark); }
.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.product-league { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); }
.product-name { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--black); }
.product-team { font-size: 0.75rem; color: var(--grey-500); }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.25rem; }
.price { font-weight: 700; font-size: 1rem; color: var(--black); }
.price-sale { font-weight: 700; font-size: 1rem; color: var(--red); }
.price-original { font-size: 0.8125rem; color: var(--grey-500); text-decoration: line-through; }
.product-availability { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: auto; }
.in-stock { color: var(--green); }
.low-stock { color: var(--gold); }
.out-of-stock { color: var(--red); }
.product-card .btn-contact { margin: 0 1rem 1rem; display: flex; text-align: center; }

/* Catalog display mode */
.catalog-banner { background: var(--gold); color: var(--black); }
.catalog-notice {
  background: var(--grey-100);
  border-left: 3px solid var(--blue);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}
.price-note { display: block; font-size: 0.75rem; font-weight: 500; color: var(--grey-500); margin-top: 0.25rem; }
.size-display { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-tag {
  padding: 0.5rem 0.875rem;
  border: 2px solid var(--grey-300);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8125rem;
  background: var(--grey-100);
}
.header-cta { display: inline-flex; font-size: 0.8125rem; padding: 0.5rem 0.75rem; }

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grey-300);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: 0.75rem 1.25rem; background: none; border: none; font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-500); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: var(--transition); }
.tab-btn.active { color: var(--black); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.trust-item { text-align: center; padding: 1.5rem; }
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-item h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.375rem; text-transform: uppercase; letter-spacing: 0.03em; }
.trust-item p { font-size: 1rem; color: var(--grey-500); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.review-card { background: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.5rem; font-size: 1rem; }
.review-text { font-size: 1.125rem; font-style: italic; margin-bottom: 0.75rem; line-height: 1.6; }
.review-meta { font-size: 0.875rem; color: var(--grey-500); font-weight: 600; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.insta-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: block; transition: transform var(--transition); position: relative; background: var(--grey-200); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta-item:hover { transform: scale(1.03); }
.pdp-main-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-main-image:has(.pdp-main-img) { background: var(--grey-100); padding: 1rem; }

/* Newsletter */
.newsletter { background: var(--dark); color: var(--white); padding: 3.5rem 0; text-align: center; background-image: var(--pattern); }
.newsletter h2 { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.newsletter p { color: var(--grey-500); margin-bottom: 1.5rem; max-width: 45ch; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; max-width: 440px; margin: 0 auto; }
.newsletter-form input { padding: 0.875rem 1rem; border: 1px solid var(--grey-700); border-radius: var(--radius); background: var(--dark); color: var(--white); font-size: 0.9375rem; }
.newsletter-form input::placeholder { color: var(--grey-500); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
.shop-sidebar { background: var(--grey-100); border-radius: var(--radius-lg); padding: 1.25rem; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.filter-group label { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0; font-size: 0.8125rem; cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--red); }
.filter-group select { width: 100%; padding: 0.5rem; border: 1px solid var(--grey-300); border-radius: var(--radius); font-size: 0.8125rem; background: var(--white); }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-search { flex: 1; min-width: 200px; padding: 0.625rem 1rem; border: 2px solid var(--grey-300); border-radius: var(--radius); font-size: 0.875rem; }
.shop-search:focus { outline: none; border-color: var(--black); }
.shop-results-count { font-size: 0.8125rem; color: var(--grey-500); }
.filter-toggle { display: flex; }

/* Product detail */
.pdp-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
.pdp-gallery { position: relative; }
.pdp-main-image { aspect-ratio: 1; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp-main-image span { font-family: var(--font-display); font-size: 4rem; color: rgba(255,255,255,0.2); text-transform: uppercase; }
.pdp-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.pdp-thumb { width: 64px; height: 64px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.625rem; font-weight: 700; color: rgba(255,255,255,0.5); }
.pdp-thumb.active { border-color: var(--black); }
.pdp-info h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.pdp-league { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); margin-bottom: 0.25rem; }
.pdp-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.875rem; }
.pdp-rating .stars { color: var(--gold); }
.pdp-price { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; }
.pdp-price .price { font-size: 1.75rem; }
.pdp-desc { color: var(--grey-700); margin-bottom: 1.5rem; line-height: 1.7; }
.size-selector { margin-bottom: 1.5rem; }
.size-selector h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-btn { min-width: 48px; padding: 0.625rem 0.75rem; border: 2px solid var(--grey-300); border-radius: var(--radius); background: var(--white); font-weight: 600; font-size: 0.8125rem; transition: var(--transition); }
.size-btn:hover, .size-btn.selected { border-color: var(--black); background: var(--black); color: var(--white); }
.pdp-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pdp-shipping { background: var(--grey-100); padding: 1rem; border-radius: var(--radius); font-size: 0.8125rem; }
.pdp-shipping h4 { font-weight: 700; margin-bottom: 0.375rem; text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.1em; }
.pdp-shipping p { color: var(--grey-700); margin: 0; }

/* Team page */
.team-hero { position: relative; padding: 4rem 0; color: var(--white); overflow: hidden; }
.team-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.team-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 100%); }
.team-hero-content { position: relative; z-index: 1; }
.team-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.team-hero p { font-size: 1.0625rem; opacity: 0.85; max-width: 50ch; }
.team-history { max-width: 720px; }
.team-history h2 { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; margin-bottom: 1rem; }
.team-history p { color: var(--grey-700); margin-bottom: 1rem; line-height: 1.7; }

/* About */
.about-hero-img { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; background: var(--grey-200); }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.values-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-card { background: var(--grey-100); padding: 1.5rem; border-radius: var(--radius-lg); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon { width: 40px; height: 40px; background: var(--white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h3 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); margin-bottom: 0.125rem; }
.contact-item p { font-weight: 500; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; min-height: 220px; width: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.form-card { background: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.25rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--grey-300); border-radius: var(--radius); font-size: 0.9375rem; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--black); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; background: #dcfce7; color: #166534; padding: 0.75rem; border-radius: var(--radius); margin-top: 0.75rem; font-size: 0.875rem; }
.form-success.visible { display: block; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--grey-300); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; background: none; border: none; text-align: left; font-weight: 600; font-size: 1.125rem; cursor: pointer; }
.faq-q:hover { color: var(--spice); }
.faq-icon { font-size: 1.25rem; color: var(--grey-500); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding-bottom: 1rem; color: var(--grey-700); font-size: 1.0625rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 500px; }

/* Page hero */
.page-hero { background: var(--dark); color: var(--white); padding: 2.5rem 0; background-image: var(--pattern); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumb { font-size: 0.75rem; color: var(--grey-500); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--grey-500); }
.breadcrumb a:hover { color: var(--white); }

/* Footer */
.site-footer { background: var(--black); color: var(--grey-500); padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom)); border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.375rem; }
.footer-col a { font-size: 0.9375rem; color: var(--grey-500); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--grey-900); padding-top: 1.5rem; text-align: center; font-size: 0.875rem; }
.footer-seo { font-size: 0.6875rem; color: var(--grey-700); margin-top: 0.5rem; line-height: 1.8; }

/* Collections banner */
.collection-banner { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.collection-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; padding: 1.5rem; color: var(--white); }
.collection-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.collection-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%); }
.collection-card h3 { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.25rem; }
.collection-card p { position: relative; z-index: 1; font-size: 0.8125rem; opacity: 0.8; margin-bottom: 0.75rem; }
.collection-card .btn { position: relative; z-index: 1; }

/* Responsive */
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(6, 1fr); }
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
  .collection-banner { grid-template-columns: repeat(2, 1fr); }
  .values-row { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile-first overrides */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
    --demo-banner-h: calc(3.5rem + env(safe-area-inset-top, 0px));
  }
  body.nav-open { overflow: hidden; }

  .header-main {
    min-height: var(--header-h);
    padding: 0.35rem 0.75rem;
    gap: 0.4rem;
  }
  .logo { order: 1; flex: 1; min-width: 0; }
  .header-actions { order: 2; }
  .nav-toggle { order: 3; }
  .main-nav { order: 4; }
  .logo-img { width: 36px; height: 36px; min-width: 36px; }
  .logo-text { font-size: 1.2rem; }
  .logo-text small { display: none; }

  .header-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
    min-height: 40px;
    white-space: nowrap;
  }

  .sale-banner {
    font-size: 0.75rem;
    line-height: 1.45;
    padding: 0.625rem 0.75rem;
  }

  .main-nav-search {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
  }

  .hero--page .hero-content {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .hero-sub {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
  }

  .hero-arabic {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .section {
    padding: 2.25rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .product-grid {
    gap: 0.75rem;
  }

  .product-card-body {
    padding: 0.75rem;
  }

  .product-name {
    font-size: 0.9375rem;
  }

  .product-jersey-preview {
    font-size: 1.5rem;
  }

  .product-card .btn-contact {
    margin: 0 0.75rem 0.75rem;
    font-size: 0.75rem;
    padding: 0.625rem 0.5rem;
    min-height: 44px;
  }

  .cat-tile h3 {
    font-size: 0.875rem;
  }

  .league-pill {
    padding: 0.625rem 1.125rem;
    font-size: 0.75rem;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-item {
    padding: 1rem;
  }

  .collection-card {
    min-height: 160px;
    padding: 1.25rem;
  }

  .collection-card h3 {
    font-size: 1.25rem;
  }

  .pdp-layout {
    padding: 1.25rem 0;
    gap: 1.5rem;
  }

  .pdp-main-image span {
    font-size: 2.5rem;
  }

  .pdp-actions {
    flex-direction: column;
  }

  .pdp-actions .btn {
    width: 100%;
  }

  .team-hero {
    padding: 2.5rem 0;
  }

  .team-hero p {
    font-size: 0.9375rem;
  }

  .page-hero {
    padding: 2rem 0;
  }

  .contact-card .btn-group,
  .contact-layout .btn-group {
    flex-direction: column;
  }

  .contact-card .btn-group .btn,
  .contact-layout .btn-group .btn {
    width: 100%;
  }

  .newsletter {
    padding: 2.5rem 1rem;
  }

  .newsletter h2 {
    font-size: 1.75rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-seo {
    font-size: 0.75rem;
  }

  .faq-q {
    font-size: 1rem;
    padding: 0.875rem 0;
    min-height: 44px;
  }

  .hours-bar {
    padding: 1rem;
    gap: 0.85rem;
  }
  .hours-item p {
    overflow-wrap: anywhere;
  }

  .menu-jump {
    top: calc(env(safe-area-inset-top, 0px) + 0.35rem);
    max-width: none;
    border-radius: 0;
    margin: 0 calc(-1 * max(1rem, env(safe-area-inset-left))) 1.5rem;
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
    border-left: none;
    border-right: none;
  }
  .menu-jump a {
    padding: 0.4rem 0.25rem;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .menu-jump a span { font-size: 1rem; }
  .menu-jump a strong {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
  .menu-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.85rem 0;
  }
  .menu-row-ar { white-space: normal; font-size: 1.2rem; }
  .menu-row h4 { font-size: 1.3rem; }
  .menu-row-desc { font-size: 0.9375rem; }
  .menu-board-list { padding: 0.25rem 1rem 1rem; }
  .menu-board-kicker { left: 1rem; right: 1rem; bottom: 0.85rem; }
  .menu-board-kicker h3 { font-size: 1.5rem; }
  .menu-board-kicker .arabic { font-size: 1.35rem; }
  .menu-board-photo,
  .menu-board-photo img { min-height: 150px; }
  .menu-masthead-ar { font-size: 1.6rem; }
  .review-text { font-size: 1rem; }

  .map-wrap {
    aspect-ratio: 4/3;
    min-height: 240px;
  }
}

@media (max-width: 359px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .filter-toggle { display: flex !important; }
}

@media (min-width: 768px) {
  html { font-size: 18px; }
  .header-main {
    height: var(--header-h);
    padding: 0 1rem;
    gap: 1rem;
  }

  .logo {
    flex: 0 1 auto;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .header-top { display: none; }
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  .main-nav ul { display: flex; gap: 0.25rem; }
  .main-nav a { padding: 0.5rem 0.75rem; font-size: 0.875rem; min-height: auto; }
  .main-nav a:hover, .main-nav a.active { background: none; color: var(--white); border-bottom: 2px solid var(--gold); }
  .main-nav-search { display: none !important; }
  .search-input { display: none; }
  .header-cta { display: inline-flex; font-size: 0.875rem; padding: 0.5rem 1rem; }
  .shop-layout { grid-template-columns: 240px 1fr; }
  .filter-toggle { display: none; }
  .pdp-layout { grid-template-columns: 1fr 1fr; }
  .pdp-actions { flex-direction: row; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { min-height: 80vh; }
  .section { padding: 4.5rem 0; }
}

/* Levantine bakery extras */
.arabic {
  font-family: var(--font-arabic);
  font-weight: 400;
  direction: rtl;
}
.hero-arabic {
  display: block;
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gold);
  margin: 0 auto 0.75rem;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.cat-tile h3 .arabic-sub {
  display: block;
  font-family: var(--font-arabic);
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.9;
  margin-top: 0.15rem;
}
.product-arabic {
  display: block;
  font-family: var(--font-arabic);
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.3;
}
.hours-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.hours-item h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.hours-item p { font-weight: 600; color: var(--black); }
.saj-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.saj-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  min-height: 280px;
}
.saj-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.saj-copy p { color: var(--grey-700); margin-bottom: 1rem; }

/* Printed bakery menu */
.section-menu {
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  background:
    linear-gradient(180deg, rgba(248,243,234,0.92), rgba(248,243,234,0.97)),
    var(--pattern);
  background-size: auto, 56px 56px;
}
.menu-masthead { text-align: center; margin-bottom: 1.75rem; }
.menu-masthead-ar {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--gold);
  margin-top: 0.15rem;
  line-height: 1.3;
}
.menu-note {
  margin: 0.85rem auto 0;
  max-width: 42ch;
  color: var(--grey-500);
  font-size: 1rem;
}
.menu-jump {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 auto 2rem;
  padding: 0.35rem;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 100px;
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
  z-index: 30;
  box-shadow: var(--shadow);
}
.menu-jump a {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 100px;
  color: var(--grey-700);
  transition: var(--transition);
}
.menu-jump a span {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--gold);
}
.menu-jump a strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.menu-jump a:hover,
.menu-jump a:focus-visible {
  background: var(--dark);
  color: var(--white);
}
.menu-jump a:hover span,
.menu-jump a:focus-visible span { color: var(--gold-light); }

.menu-board {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 5.5rem);
  position: relative;
}
.menu-board::before,
.menu-board::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
  pointer-events: none;
}
.menu-board::before { top: 8px; }
.menu-board::after { bottom: 8px; }
.menu-board-inner { display: grid; grid-template-columns: 1fr; }
.menu-board-photo {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: var(--dark);
}
.menu-board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}
.menu-board-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,26,22,0.82) 0%, rgba(20,26,22,0.15) 55%, transparent 100%);
}
.menu-board-kicker {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  color: var(--white);
}
.menu-board-kicker .arabic {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  color: var(--gold-light);
  line-height: 1.2;
}
.menu-board-kicker h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-board-list { padding: 0.5rem 1.25rem 1.25rem; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--grey-300);
  color: inherit;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover h4 { color: var(--dark); }
.menu-row-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.menu-row h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--black);
  overflow-wrap: anywhere;
}
.menu-row-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}
.menu-row-desc {
  margin-top: 0.3rem;
  font-size: 1rem;
  color: var(--grey-500);
  line-height: 1.55;
  max-width: 52ch;
}
.menu-row-ar {
  font-family: var(--font-arabic);
  font-size: 1.375rem;
  color: var(--grey-700);
  white-space: nowrap;
  direction: rtl;
}
.menu-boards-split { display: grid; gap: 1.5rem; }
.menu-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--grey-500);
}

@media (min-width: 900px) {
  .menu-board--featured .menu-board-inner {
    grid-template-columns: 0.36fr 0.64fr;
  }
  .menu-board--featured .menu-board-photo {
    min-height: 100%;
  }
  .menu-board--featured .menu-board-photo img {
    min-height: 100%;
    position: absolute;
    inset: 0;
  }
  .menu-board--featured .menu-board-list {
    padding: 0.75rem 1.75rem 1.5rem;
  }
  .menu-boards-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.product-card { border: 1px solid transparent; }
.product-card:hover { border-color: var(--gold); }
.filter-group input[type="checkbox"] { accent-color: var(--gold); }
.catalog-notice { border-left-color: var(--gold); }

@media (min-width: 768px) {
  .hours-bar { grid-template-columns: repeat(3, 1fr); text-align: center; }
  .saj-panel { grid-template-columns: 1.05fr 0.95fr; }
}
