:root {
  --cream: #fff8ef;
  --ivory: #fffdf8;
  --cocoa: #3b2418;
  --caramel: #b06c3a;
  --gold: #d7a85d;
  --blush: #f5dfd5;
  --terracotta: #8f3f2b;
  --muted: #7a665b;
  --line: rgba(59, 36, 24, .12);
  --shadow: 0 18px 45px rgba(59, 36, 24, .10);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(255, 248, 239, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cocoa);
  color: var(--cream);
  font-family: Georgia, serif;
  font-weight: 700;
}

.brand-name {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
}

.site-nav a:hover {
  color: var(--cocoa);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: .95rem;
  font-weight: 700;
  transition: .25s ease;
}

.nav-cta,
.btn-primary {
  background: var(--cocoa);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(59, 36, 24, .16);
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--terracotta);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
  color: var(--cocoa);
}

/* Layout */

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 4vw, 32px);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  min-height: 680px;
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(44px, 6vw, 78px);
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--caramel);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}

.hero h1,
.intro h2,
.section-heading h2,
.catering h2,
.delivery h2,
.contact h2,
.page-content h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--cocoa);
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 5rem);
  max-width: 680px;
}

.hero-text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 540px;
  color: var(--muted);
  margin: 20px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.photo-frame {
  border-radius: 32px;
  min-height: 430px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, .55);
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, .85), transparent 18%),
    linear-gradient(135deg, #8f3f2b, #d7a85d 48%, #fff0d9);
  position: relative;
  overflow: hidden;
}

.photo-frame:after,
.menu-image:after,
.gallery-grid div:after {
  content: "";
  position: absolute;
  inset: 22%;
  background: rgba(255, 248, 239, .42);
  border-radius: 999px;
  filter: blur(18px);
}

.hero-card {
  position: relative;
}

.floating-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  z-index: 2;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  border-radius: 18px;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.floating-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1rem;
}

/* Intro */

.intro {
  text-align: center;
  max-width: 820px;
}

.intro h2,
.section-heading h2,
.catering h2,
.delivery h2,
.contact h2 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.intro p:last-child,
.catering p,
.delivery p,
.section-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 18px auto 0;
}

/* Menu */

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.menu-card {
  background: rgba(255, 253, 248, .76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 14px 36px rgba(59, 36, 24, .06);
}

.menu-image {
  height: 165px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blush), #f8c87c, var(--terracotta));
  position: relative;
  overflow: hidden;
}

.menu-card h3 {
  font-family: Georgia, serif;
  font-size: 1.28rem;
  margin: 16px 0 8px;
}

.menu-card p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: .96rem;
}

.menu-card a {
  font-weight: 800;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
}

/* Icons */

.ok-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: inline-block;
}

.menu-card .ok-icon {
  width: 15px;
  height: 15px;
}

/* Catering / Contact */

.catering-panel,
.contact-card {
  background: var(--cocoa);
  color: var(--cream);
  border-radius: 32px;
  padding: clamp(30px, 5vw, 54px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.catering-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.catering-panel:before,
.contact-card:before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(215, 168, 93, .18);
  right: -100px;
  top: -120px;
}

.catering h2,
.contact h2 {
  color: var(--cream);
  position: relative;
}

.catering p {
  color: rgba(255, 248, 239, .78);
  margin-left: 0;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 12px;
}

.gallery-grid div {
  border-radius: 20px;
  background: linear-gradient(135deg, #f3d0a2, #9f4e32);
  position: relative;
  overflow: hidden;
}

.gallery-grid div:nth-child(1),
.gallery-grid div:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid div:nth-child(2),
.gallery-grid div:nth-child(3),
.gallery-grid div:nth-child(5),
.gallery-grid div:nth-child(6) {
  grid-column: span 2;
}

/* Delivery */

.delivery {
  background: rgba(255, 253, 248, .68);
  border: 1px solid var(--line);
  border-radius: 32px;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Contact */

.contact {
  text-align: center;
}

.contact-card {
  max-width: 840px;
  margin: 0 auto;
}

.contact-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 44px);
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.site-footer p {
  margin: .2rem 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 800;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Animation */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    max-width: 720px;
  }

  .photo-frame {
    min-height: 360px;
  }

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

  .catering-panel {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid div,
  .gallery-grid div:nth-child(1),
  .gallery-grid div:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    flex-direction: column;
  }

  .floating-card {
    left: 18px;
  }
}

/* Mobile */

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: .92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    padding: 9px 15px;
    font-size: .9rem;
  }

  .section-pad {
    padding: 42px 18px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .photo-frame {
    min-height: 300px;
    border-radius: 26px;
  }

  .floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 14px;
  }

  .intro h2,
  .section-heading h2,
  .catering h2,
  .delivery h2,
  .contact h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

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

  .menu-image {
    height: 155px;
  }

  .gallery-grid {
    grid-auto-rows: 130px;
  }

  .catering-panel,
  .contact-card,
  .delivery {
    border-radius: 26px;
  }
}

/* ===== Compact Premium Layout Overrides ===== */

.section-pad {
  padding: 34px 24px !important;
  max-width: 1080px !important;
}

.site-header {
  padding: 10px 34px !important;
}

.brand-mark {
  width: 36px !important;
  height: 36px !important;
  font-size: .9rem !important;
}

.brand-name {
  font-size: .95rem !important;
}

.site-nav {
  gap: 20px !important;
  font-size: .9rem !important;
}

.nav-cta,
.btn {
  padding: 9px 17px !important;
  font-size: .9rem !important;
}

.hero {
  min-height: auto !important;
  padding-top: 54px !important;
  padding-bottom: 44px !important;
  grid-template-columns: 1fr .82fr !important;
  gap: 42px !important;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.3vw, 4.6rem) !important;
  line-height: 1.02 !important;
  max-width: 660px !important;
}

.hero-text {
  font-size: 1.05rem !important;
  max-width: 500px !important;
  margin-top: 18px !important;
}

.hero-actions {
  margin-top: 26px !important;
}

.photo-frame {
  min-height: 330px !important;
  border-radius: 26px !important;
  border-width: 6px !important;
}

.floating-card {
  padding: 12px 15px !important;
  border-radius: 15px !important;
  bottom: 20px !important;
}

.intro h2,
.section-heading h2,
.catering h2,
.delivery h2,
.contact h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.75rem) !important;
  line-height: 1.08 !important;
}

.intro p:last-child,
.catering p,
.delivery p,
.section-intro {
  font-size: .96rem !important;
  margin-top: 14px !important;
}

.section-heading {
  margin-bottom: 22px !important;
}

.menu-grid {
  gap: 16px !important;
}

.menu-card {
  padding: 12px !important;
  border-radius: 20px !important;
}

.menu-image {
  height: 125px !important;
  border-radius: 16px !important;
}

.menu-card h3 {
  font-size: 1.15rem !important;
  margin: 13px 0 6px !important;
}

.menu-card p {
  font-size: .9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 11px !important;
}

.catering-panel,
.contact-card {
  padding: 34px !important;
  border-radius: 26px !important;
}

.gallery-grid {
  grid-auto-rows: 105px !important;
  gap: 10px !important;
}

.gallery-grid div {
  border-radius: 16px !important;
}

.delivery {
  border-radius: 24px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.site-footer {
  padding: 22px 34px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr !important;
  }

  .photo-frame {
    min-height: 280px !important;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 620px) {
  .section-pad {
    padding: 32px 18px !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
  }

  .menu-grid {
    grid-template-columns: 1fr !important;
  }

  .menu-image {
    height: 120px !important;
  }

  .site-header {
    padding: 10px 16px !important;
  }
}

/* ===== Wider Premium Layout Fix ===== */

.section-pad {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: clamp(28px, 5vw, 80px) !important;
  padding-right: clamp(28px, 5vw, 80px) !important;
}

/* Hero should use more screen width */
.hero.section-pad {
  max-width: 1540px !important;
  width: 100% !important;
}

/* Header should span properly */
.site-header {
  width: 100% !important;
  padding-left: clamp(24px, 4vw, 70px) !important;
  padding-right: clamp(24px, 4vw, 70px) !important;
}

/* Keep centred text sections readable */
.intro {
  max-width: 980px !important;
}

.intro.section-pad {
  max-width: 1180px !important;
}

/* Menu section wider */
.menu-section.section-pad {
  max-width: 1480px !important;
}

/* Gallery wider */
.gallery.section-pad {
  max-width: 1480px !important;
}

/* Contact/delivery should still feel premium */
.delivery.section-pad,
.contact.section-pad,
.catering.section-pad {
  max-width: 1320px !important;
}

/* Reduce excessive top spacing between hero and about */
.hero {
  padding-bottom: 36px !important;
}

.intro {
  padding-top: 38px !important;
}

/* ===== Fix Catering / Delivery / Contact Alignment ===== */

/* Fix sticky header under WordPress admin bar */
body.admin-bar .site-header {
  top: 32px !important;
}

/* Catering section alignment */
.catering-panel {
  display: block !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 58px) !important;
  text-align: left !important;
}

.catering-panel .eyebrow {
  max-width: none !important;
  margin-bottom: 14px !important;
}

.catering-panel h2 {
  max-width: 820px !important;
  font-size: clamp(2rem, 3.8vw, 3.8rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 16px !important;
}

.catering-panel p:not(.eyebrow) {
  max-width: 620px !important;
  margin: 0 0 26px !important;
  line-height: 1.6 !important;
}

.catering-panel .btn {
  margin-top: 4px !important;
}

/* Delivery card alignment */
.delivery {
  max-width: 1180px !important;
  padding: clamp(34px, 5vw, 56px) !important;
  text-align: left !important;
}

.delivery .eyebrow,
.delivery h2,
.delivery p {
  max-width: 760px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Contact card alignment */
.contact-card {
  max-width: 900px !important;
  padding: clamp(34px, 5vw, 56px) !important;
}

.contact-card h2 {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.contact-actions {
  margin-top: 24px !important;
}

/* Reduce weird oversized decorative circles */
.catering-panel:before,
.contact-card:before {
  width: 240px !important;
  height: 240px !important;
  right: -90px !important;
  top: -90px !important;
  opacity: .75 !important;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ok-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
  transition: .25s ease;
}

.ok-cart-link:hover {
  background: var(--blush);
  transform: translateY(-2px);
}

.ok-cart-link .ok-icon {
  width: 19px;
  height: 19px;
}

.ok-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--cocoa);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid var(--ivory);
}

/* ============================================================
   Wax-seal stamp component
   ============================================================
   Shared circular "OK" stamp used sparingly at signature moments:
   hero card, product-card hover (shop), and the final CTA card.
   Kept as a single reusable component so it stays a signature
   rather than decoration sprinkled everywhere.
*/

.ok-stamp {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ok-stamp__ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cocoa);
  box-shadow: 0 10px 22px rgba(59, 36, 24, .28), inset 0 0 0 3px rgba(255, 253, 248, .7);
  border: 2px solid var(--cocoa);
  transform: rotate(-8deg);
}

.ok-stamp__text {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
}

.ok-hero-stamp {
  top: 16px;
  right: 16px;
}

.ok-cta-stamp {
  bottom: 20px;
  right: 20px;
}

.ok-cta-stamp .ok-stamp__ring {
  width: 56px;
  height: 56px;
}

/* ============================================================
   Shop / WooCommerce
   ============================================================
   Restyles the default WooCommerce markup (product loop, single
   product, cart, checkout) to match the site's existing design
   system rather than WooCommerce's default look. Pairs with:
   - functions.php (theme support, wrapper hooks, dequeued WC CSS)
   - woocommerce.php (page wrapper template)
   - woocommerce/content-product.php (product card override)
*/

.ok-shop-wrap {
  min-height: 40vh;
}

.ok-shop-empty {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
}

.ok-shop-viewall {
  margin-top: 28px;
  text-align: center;
}

/* Product grid */

.woocommerce ul.products,
.ok-shop-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product,
.ok-product-card {
  background: rgba(255, 253, 248, .76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 14px 36px rgba(59, 36, 24, .06);
  transition: .3s ease;
  list-style: none;
}

.ok-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(59, 36, 24, .12);
}

.ok-product-card__link {
  display: block;
}

.ok-product-card__image {
  height: 148px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blush), #f8c87c, var(--terracotta));
  position: relative;
  overflow: hidden;
}

.ok-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ok-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.ok-product-card__stamp {
  top: 10px;
  right: 10px;
  opacity: 0;
  transform: scale(.85) rotate(-8deg);
  transition: .3s ease;
}

.ok-product-card__stamp .ok-stamp__ring {
  width: 48px;
  height: 48px;
}

.ok-product-card:hover .ok-product-card__stamp {
  opacity: 1;
  transform: scale(1) rotate(-8deg);
}

.ok-product-card__title {
  font-family: Georgia, serif;
  font-size: 1.12rem;
  margin: 12px 0 4px;
  color: var(--cocoa);
  line-height: 1.3;
}

.ok-product-card__excerpt {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: .88rem;
  line-height: 1.45;
}

.ok-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ok-product-card__price {
  font-weight: 800;
  color: var(--terracotta);
  font-size: 1rem;
  line-height: 1.25;
  flex: 1 1 auto;
  min-width: 0;
}

/* The add-to-cart/select-options button only needs to sit on its own
   full-width line when there truly isn't room beside the price (e.g.
   the related-products grid, which shares page width with the product
   summary panel instead of spanning the full page like the homepage
   menu). Letting it wrap onto a second line inside the same row — the
   previous behaviour — stretched the whole card taller and looked
   sloppy, so force the clean break instead. */
.ok-product-card__footer .button {
  flex: 1 1 100%;
  order: 3;
}

.ok-product-card__footer .ok-product-card__price {
  order: 1;
}

.ok-product-card__price .woocommerce-Price-amount {
  font-weight: 800;
}

.ok-product-card__price del {
  color: var(--muted);
  opacity: .7;
  margin-right: 6px;
  font-weight: 500;
}

/* Add-to-cart / general WooCommerce buttons */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 700;
  background: var(--cocoa);
  color: var(--cream) !important;
  border: none;
  box-shadow: 0 10px 24px rgba(59, 36, 24, .16);
  transition: .25s ease;
  cursor: pointer;
  text-align: center;
}

.ok-product-card__footer .button {
  margin-top: 4px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  background: var(--terracotta);
}

.woocommerce a.button.loading,
.woocommerce button.button.loading {
  opacity: .7;
}

/* Menu section — enquiry cards ("Snack Boxes" / "Party Trays")
   ------------------------------------------------------------
   Bespoke WhatsApp-enquiry items rendered by
   ok_render_menu_enquiry_card() in functions.php, shown in their own
   grid under the fixed-price menu/store items (see front-page.php).
   Reuses .ok-product-card markup so it matches the real product cards,
   with an "Enquire" badge/price/button in place of the sale badge and
   Add to Cart button. The button below is intentionally its own
   self-contained class rather than .woocommerce a.button — that shared
   rule only applies on pages where WordPress adds the .woocommerce
   body class (shop/product/cart), which the front page never gets. */

.ok-product-card__badge--enquiry {
  background: var(--gold);
  color: var(--cocoa);
}

.ok-product-card__price--enquiry {
  color: var(--muted);
  font-style: italic;
  font-weight: 700;
}

.ok-product-card__enquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 700;
  background: var(--cocoa);
  color: var(--cream);
  border: none;
  box-shadow: 0 10px 24px rgba(59, 36, 24, .16);
  transition: .25s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  flex: 1 1 100%;
  order: 3;
  margin-top: 4px;
}

.ok-product-card__enquire-btn:hover {
  transform: translateY(-2px);
  background: var(--terracotta);
  color: var(--cream);
}

.ok-product-card__enquire-btn svg {
  width: 16px;
  height: 16px;
}

/* Single product page
   ------------------------------------------------------------
   Rendered through woocommerce/content-single-product.php:
   .ok-product-single__gallery (left) + .ok-product-single__info
   (right, tag pills + Add to Cart/Buy Now + accordion panels for
   Description and Delivery & Ordering, replacing WooCommerce's
   default tabs UI). */

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

/* content-single-product.php only explicitly places the gallery and
   info columns below (each pinned to row 1). Everything else that
   WooCommerce hooks add as a further direct child of #product-X —
   notices from woocommerce_before_single_product, the related-
   products section from woocommerce_after_single_product_summary,
   any future upsell/tab output — defaults to spanning the full grid
   width on its own row instead of being auto-placed into the second
   460px/1fr column track (which squeezed related products and
   wrapped the description into a narrow sliver). */
.woocommerce div.product > * {
  grid-column: 1 / -1;
}

.woocommerce div.product .ok-product-single__gallery {
  grid-column: 1;
  grid-row: 1;
}

.woocommerce div.product .ok-product-single__info {
  grid-column: 2;
  grid-row: 1;
}

/* Delivery & Ordering panel — its own grid item (split out of the
   info column) so it can sit in row 2 next to Related Products
   rather than stacking underneath the Description accordion. */
.woocommerce div.product .ok-product-single__delivery {
  grid-column: 2;
  grid-row: 2;
}

/* Related Products — pinned to column 1 / row 2, directly under the
   gallery, so it fills that column's remaining height next to the
   Delivery & Ordering panel instead of dropping to its own full-width
   row below everything (which left a tall blank gap under the
   gallery whenever it was shorter than the info column). */
.woocommerce div.product .related.products {
  grid-column: 1;
  grid-row: 2;
}

@media (max-width: 880px) {
  /* Below the two-column breakpoint everything stacks in DOM order:
     gallery, info, Related Products, Delivery & Ordering. */
  .woocommerce div.product .ok-product-single__delivery,
  .woocommerce div.product .related.products {
    grid-column: 1;
  }
}

.woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blush);
}

/* Cap the gallery to a fixed, predictable height so tall/odd-aspect
   uploads never blow the layout out — object-fit crops instead of
   stretching, so photos always look intentional regardless of the
   source image's dimensions. */
.woocommerce div.product .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce div.product .woocommerce-product-gallery__image {
  aspect-ratio: 1 / 1;
  max-height: 460px;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WooCommerce's built-in PhotoSwipe "zoom" magnifier button. It expects
   the image's natural dimensions to open a lightbox, which conflicts
   with the fixed/cropped display size above and looks like stray admin
   chrome against this design system, so it's hidden rather than styled. */
.woocommerce div.product .woocommerce-product-gallery__trigger {
  display: none !important;
}

/* Thumbnail strip under the main gallery image, if a product has more
   than one photo attached */
.woocommerce div.product .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .flex-control-thumbs li {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  list-style: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s ease;
}

.woocommerce div.product .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce div.product .flex-control-thumbs li.flex-active-slide {
  border-color: var(--caramel);
}

.woocommerce div.product .summary,
.woocommerce div.product .ok-product-single__info {
  padding-top: 4px;
  max-width: 480px;
}

.woocommerce div.product .summary h1.product_title {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 10px;
  color: var(--cocoa);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--terracotta);
  font-size: 1.3rem;
  font-weight: 800;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--muted);
  margin: 14px 0 22px;
  line-height: 1.6;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.woocommerce div.product .variations {
  width: 100%;
  margin-bottom: 6px;
}

.woocommerce div.product .variations select,
.woocommerce table.shop_table select,
.woocommerce form .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--ivory);
  color: var(--cocoa);
}

.woocommerce div.quantity {
  display: inline-flex;
}

.woocommerce div.quantity .qty {
  width: 68px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  background: var(--ivory);
}

/* Quantity stepper — the plain number input above is progressively
   enhanced with −/+ buttons by ok_enhance_quantity_inputs() in
   main.js (wraps the existing .quantity markup, so it degrades
   gracefully to the plain input if JS is unavailable). */
.woocommerce div.quantity.ok-qty-stepper {
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  overflow: hidden;
}

.woocommerce div.quantity.ok-qty-stepper .qty {
  width: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 10px 4px;
}

.ok-qty-stepper__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--cocoa);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.ok-qty-stepper__btn:hover {
  background: var(--blush);
}

.ok-qty-stepper__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  background: transparent;
}

/* Add to Cart / Buy Now pair — Add to Cart as a secondary outline
   button, Buy Now as the primary filled action (matches the reference
   layout's button hierarchy). */
.woocommerce div.product .single_add_to_cart_button {
  background: transparent;
  color: var(--cocoa) !important;
  border: 1.5px solid var(--cocoa);
  box-shadow: none;
}

.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--cocoa);
  color: var(--cream) !important;
  transform: translateY(-2px);
}

.woocommerce div.product .ok-buy-now {
  background: var(--terracotta);
}

.woocommerce div.product .ok-buy-now:hover {
  background: var(--cocoa);
}

/* Tag pills ("Main Notes"-style row) — sourced from Products > Tags,
   see ok_get_product_tags() in functions.php. Hidden entirely by the
   template when a product has no tags set. */
.ok-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 20px;
}

.ok-notes__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--cocoa);
  font-size: .82rem;
  font-weight: 600;
}

/* Accordion panels (Description / Delivery & Ordering) — replaces
   WooCommerce's default tabs UI; toggled by main.js, which respects
   prefers-reduced-motion by skipping the height transition. */
.ok-accordion {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.ok-accordion__item {
  border-bottom: 1px solid var(--line);
}

.ok-accordion__heading {
  margin: 0;
}

.ok-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 2px;
  background: none;
  border: none;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cocoa);
  cursor: pointer;
  text-align: left;
}

.ok-accordion__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .25s ease;
}

.ok-accordion__trigger[aria-expanded="true"] .ok-accordion__chevron {
  transform: rotate(180deg);
}

.ok-accordion__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .3s ease;
}

.ok-accordion__panel.is-collapsed {
  grid-template-rows: 0fr;
}

.ok-accordion__panel-inner {
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 20px;
}

.ok-accordion__panel-inner p:first-child {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ok-accordion__panel,
  .ok-accordion__chevron {
    transition: none;
  }
}

/* Delivery & Ordering panel content */
.ok-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
}

@media (max-width: 640px) {
  .ok-delivery-grid {
    grid-template-columns: 1fr;
  }
}

.ok-delivery-grid__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ok-delivery-grid__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blush);
  color: var(--terracotta);
}

.ok-delivery-grid__icon .ok-icon {
  width: 19px;
  height: 19px;
}

.ok-delivery-grid__label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.ok-delivery-grid__item strong,
.ok-delivery-grid__item a {
  color: var(--cocoa);
  font-size: .92rem;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .8rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--cocoa);
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--cocoa);
  margin: 0 0 10px;
}

/* WooCommerce prints both a plain-text tab heading (e.g. "Description")
   as an h2 the same way its default theme does, which duplicated the
   already-visible tab label above it. The single active tab's own label
   is enough context, so hide the repeated in-panel heading. */
.woocommerce div.product .woocommerce-tabs #tab-description > h2:first-child {
  display: none;
}

/* Related products — rendered through woocommerce/related.php, which
   routes each item through the theme's own content-product.php (same
   ok-product-card markup as the homepage menu grid and shop archive),
   so this section only needs section-level spacing/heading rules here;
   the card styling itself is already covered by the ok-product-card
   rules above. */
.woocommerce div.product .related.products {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.woocommerce div.product .related.products > h2 {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cocoa);
  margin: 0 0 14px;
}

/* Horizontal scroll-snap strip rather than a wrapping grid — keeps
   every related-product card the same height (no row-to-row overflow)
   and matches the scroll-snap pattern already used for the gallery
   section on smaller screens. Native CSS scroll-snap, no JS needed.
   Cards are narrower than the homepage/shop grid version since this
   strip now lives in the ~460px gallery column (row 2, beside the
   Delivery & Ordering panel) rather than spanning the full page. */
.woocommerce div.product .related.products ul.products {
  display: flex !important;
  grid-template-columns: none !important;
  margin: 0;
  padding: 4px 4px 14px;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.woocommerce div.product .related.products ul.products .ok-product-card {
  flex: 0 0 auto;
  width: 150px;
  padding: 8px;
  scroll-snap-align: start;
}

/* Compact card scaled down for this narrow, secondary strip — the
   full-size ok-product-card (image height, type scale, button size)
   is tuned for the homepage/shop grid where cards are the main
   content; here they're a small "you may also like" aside next to
   the Delivery & Ordering panel, so image, title, price and button
   all shrink accordingly. */
.woocommerce div.product .related.products ul.products .ok-product-card__image {
  height: 90px;
  border-radius: 10px;
}

.woocommerce div.product .related.products ul.products .ok-product-card__title {
  font-size: .85rem;
  margin: 8px 0 2px;
  line-height: 1.25;
}

.woocommerce div.product .related.products ul.products .ok-product-card__excerpt {
  display: none;
}

.woocommerce div.product .related.products ul.products .ok-product-card__footer {
  margin-top: 6px;
}

.woocommerce div.product .related.products ul.products .ok-product-card__price {
  font-size: .8rem;
}

.woocommerce div.product .related.products ul.products .ok-product-card__footer .button {
  padding: 5px 10px;
  font-size: .72rem;
  box-shadow: none;
}

.woocommerce div.product .related.products ul.products .ok-product-card__stamp .ok-stamp__ring {
  width: 40px;
  height: 40px;
}

@media (max-width: 880px) {
  .woocommerce div.product .related.products ul.products .ok-product-card {
    width: 200px;
  }

  .woocommerce div.product .related.products ul.products .ok-product-card__image {
    height: 130px;
  }

  .woocommerce div.product .related.products ul.products .ok-product-card__title {
    font-size: 1rem;
  }

  .woocommerce div.product .related.products ul.products .ok-product-card__excerpt {
    display: block;
  }

  .woocommerce div.product .related.products ul.products .ok-product-card__price {
    font-size: .9rem;
  }

  .woocommerce div.product .related.products ul.products .ok-product-card__footer .button {
    padding: 8px 14px;
    font-size: .82rem;
  }
}

@media (max-width: 640px) {
  .woocommerce div.product .related.products ul.products .ok-product-card {
    width: 72vw;
    max-width: 260px;
  }
}

/* Notices (info / success / error) */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  background: var(--blush) !important;
  color: var(--cocoa) !important;
  border-top: 3px solid var(--caramel) !important;
  border-radius: 14px;
  padding: 14px 18px !important;
  list-style: none;
}

.woocommerce-error {
  border-top-color: var(--terracotta) !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--cocoa);
  color: var(--cream) !important;
}

/* Cart page */

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.woocommerce table.shop_table thead {
  color: var(--muted);
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .06em;
}

.woocommerce table.shop_table tbody tr {
  background: var(--ivory);
}

.woocommerce table.shop_table tbody tr td {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
}

.woocommerce table.shop_table tbody tr td:first-child {
  border-left: 1px solid var(--line);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.woocommerce table.shop_table tbody tr td:last-child {
  border-right: 1px solid var(--line);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.woocommerce-cart-form .product-remove a {
  color: var(--terracotta) !important;
  font-weight: 800;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: rgba(255, 253, 248, .9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(59, 36, 24, .06);
}

.woocommerce-cart .cart_totals h2 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  margin: 0 0 14px;
}

/* Checkout page */

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  background: rgba(255, 253, 248, .9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(59, 36, 24, .06);
  margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
}

.woocommerce-checkout #payment {
  background: transparent;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--blush);
  border-radius: 14px;
  color: var(--cocoa);
}

.woocommerce-checkout #place_order {
  width: 100%;
  padding: 15px 20px !important;
  font-size: 1rem !important;
}

/* Mobile */

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

  .woocommerce div.product .woocommerce-product-gallery__image {
    max-height: 340px;
  }

  .woocommerce div.product .related.products ul.products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .woocommerce div.product .related.products ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .woocommerce ul.products,
  .ok-shop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products,
  .ok-shop-grid {
    grid-template-columns: 1fr;
  }

  .ok-product-card__image {
    height: 155px;
  }

  .ok-stamp__ring {
    width: 52px;
    height: 52px;
  }
}

/* Reduced motion: stamps and cards should still show, just without the
   hover-lift / scale transition — a plain fade is enough. */
@media (prefers-reduced-motion: reduce) {
  .ok-product-card,
  .ok-product-card__stamp,
  .ok-cart-link,
  .woocommerce a.button,
  .woocommerce button.button,
  .ok-product-card__enquire-btn {
    transition: opacity .2s linear !important;
    transform: none !important;
  }
}

/* ============================================================
   Real-photo fixes
   ============================================================
   The placeholder version never needed a height cap or object-fit
   on real photos (it only showed CSS gradients). Now that real
   client images are uploaded, constrain and crop them so a tall
   portrait photo can't blow out the hero height, and gallery/menu
   photos fill their grid tiles instead of floating at their native
   size.
*/

.hero-photo {
  height: clamp(320px, 38vw, 520px) !important;
  max-height: 560px;
}

.hero-photo img,
.hero-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid > div {
  height: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ok-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Hero — premium/modern refresh
   ============================================================
   Back to a two-column layout (copy left, photo card right) — the
   earlier full-bleed/overlaid-text version made a lower-resolution
   source photo look worse the bigger it was stretched. Keeps the
   parts of the refresh that weren't the problem:
   - a soft background glow behind the section for depth
   - a slow, continuous Ken Burns zoom + mild contrast/saturation
     boost on the photo (kept subtle since it's a smaller, boxed
     image again rather than a full-bleed one)
   - a gentle float on the "Perfect for..." card and a soft wobble on
     the wax-seal stamp
   - a compact, honest trust row under the CTAs (no fake stats/stars)
   All motion is disabled under prefers-reduced-motion at the bottom
   of this section. A light scroll parallax on the photo card is
   handled in main.js (also reduced-motion aware).
*/

.hero {
  isolation: isolate;
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero:before {
  top: -8%;
  left: -6%;
  width: 42%;
  padding-bottom: 42%;
  background: radial-gradient(circle, rgba(215, 168, 93, .3), transparent 70%);
}

.hero:after {
  bottom: -12%;
  right: 2%;
  width: 34%;
  padding-bottom: 34%;
  background: radial-gradient(circle, rgba(143, 63, 43, .18), transparent 70%);
}

.photo-frame img,
.photo-frame video {
  animation: ok-kenburns 18s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.03);
}

@keyframes ok-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.floating-card {
  animation: ok-float 5.5s ease-in-out infinite;
}

@keyframes ok-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.ok-hero-stamp .ok-stamp__ring {
  animation: ok-stamp-wobble 6s ease-in-out infinite;
}

@keyframes ok-stamp-wobble {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(-1deg); }
}

/* Trust row under the hero CTAs — plain, honest statements rather
   than invented stats/star ratings. */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
}

.hero-trust__item .ok-icon {
  color: var(--caramel);
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .hero-trust {
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .hero-trust__item {
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-frame img,
  .photo-frame video,
  .floating-card,
  .ok-hero-stamp .ok-stamp__ring {
    animation: none !important;
  }
}
