/*
Theme Name: My Custom Theme
Author: Deepak
Description: Custom theme with a custom home page.
Version: 1.1
Text Domain: mytheme
*/

@font-face {
  font-family: 'Arabian OneNightStand';
  src: url('assets/fonts/XXII-ARABIAN-ONENIGHTSTAND.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #14100b;
  --dark-soft: #1e1812;
  --gold: #d9a94e;
  --gold-bright: #eebd54;
  --cream: #f3e9d8;
  --text-muted: #cfc4b2;

  /* Product page theme (default: warm brown, e.g. Cinnamon Tea) */
  --pp-bg: #26100a;
  --pp-bg-rgb: 38, 16, 10;
  --pp-overlay: 18, 9, 4;
  --pp-glow-top: rgba(90, 30, 12, 0.55);
  --pp-glow: rgba(110, 40, 16, 0.45);
  --pp-glow-soft: rgba(110, 40, 16, 0.4);
  --pp-glow-faint: rgba(110, 40, 16, 0.35);
  --pp-card-end: rgba(28, 11, 5, 0.75);
  --pp-card-end-soft: rgba(28, 11, 5, 0.7);
}

.product-green-tea {
  --pp-bg: #0d2117;
  --pp-bg-rgb: 13, 33, 23;
  --pp-overlay: 6, 20, 13;
  --pp-glow-top: rgba(24, 110, 68, 0.5);
  --pp-glow: rgba(28, 122, 71, 0.4);
  --pp-glow-soft: rgba(28, 122, 71, 0.32);
  --pp-glow-faint: rgba(28, 122, 71, 0.28);
  --pp-card-end: rgba(6, 20, 14, 0.8);
  --pp-card-end-soft: rgba(6, 20, 14, 0.75);
}

.product-black-tea {
  --pp-bg: #0a1220;
  --pp-bg-rgb: 10, 18, 32;
  --pp-overlay: 7, 12, 22;
  --pp-glow-top: rgba(35, 70, 130, 0.5);
  --pp-glow: rgba(40, 80, 145, 0.4);
  --pp-glow-soft: rgba(40, 80, 145, 0.32);
  --pp-glow-faint: rgba(40, 80, 145, 0.28);
  --pp-card-end: rgba(6, 10, 20, 0.8);
  --pp-card-end-soft: rgba(6, 10, 20, 0.75);
}

.product-cardamom-tea {
  --pp-bg: #16210c;
  --pp-bg-rgb: 22, 33, 12;
  --pp-overlay: 10, 16, 6;
  --pp-glow-top: rgba(94, 122, 30, 0.5);
  --pp-glow: rgba(104, 132, 34, 0.4);
  --pp-glow-soft: rgba(104, 132, 34, 0.32);
  --pp-glow-faint: rgba(104, 132, 34, 0.28);
  --pp-card-end: rgba(9, 14, 5, 0.8);
  --pp-card-end-soft: rgba(9, 14, 5, 0.75);
}

.product-saffron-tea {
  --pp-bg: #1c1206;
  --pp-bg-rgb: 28, 18, 6;
  --pp-overlay: 20, 12, 4;
  --pp-glow-top: rgba(150, 95, 15, 0.5);
  --pp-glow: rgba(165, 105, 20, 0.4);
  --pp-glow-soft: rgba(165, 105, 20, 0.32);
  --pp-glow-faint: rgba(165, 105, 20, 0.28);
  --pp-card-end: rgba(14, 8, 3, 0.8);
  --pp-card-end-soft: rgba(14, 8, 3, 0.75);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--cream);
  background: var(--dark);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header: floating pill nav over the hero ---- */
.site-header {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 32px;
}

.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px 36px;
  background: rgba(12, 9, 5, 0.82);
  border: 1px solid rgba(217, 169, 78, 0.25);
  border-radius: 40px;
  backdrop-filter: blur(6px);
}

/*
 * The logo image already contains both lines of the wordmark, so a single
 * height drives the whole lockup. Only the height is ever set - width stays
 * `auto` so the image cannot be stretched, and each context overrides the
 * custom property rather than the dimensions.
 */
.site-logo {
  /* 52px puts the Persian line at ~31px, matching the 2rem .logo-fa this
     replaced, so the header pill keeps its previous proportions. */
  --logo-height: 52px;

  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  height: var(--logo-height);
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  font-family: 'Arabian OneNightStand', 'Aref Ruqaa', serif;
  font-size: 1.15rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero (Home Page) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../../uploads/2026/07/hero-bg.png') center / cover no-repeat var(--dark);
  padding: 140px 0 80px;
}

/* subtle darkening so the text stays readable over the image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 9, 5, 0.55) 0%, rgba(12, 9, 5, 0.15) 55%, rgba(12, 9, 5, 0) 100%);
}

.hero .container {
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-family: 'Arabian OneNightStand', 'Aref Ruqaa', serif;
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 3.6rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 440px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-bright);
  color: #2b1d08;
}

.btn-gold:hover {
  background: #f6cd6e;
}

.btn-outline {
  border: 1px solid rgba(243, 233, 216, 0.5);
  color: var(--gold-bright);
  background: rgba(12, 9, 5, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
}

/* ---- Sections & Cards ---- */
.section {
  padding: 60px 0;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  color: var(--gold-bright);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--dark-soft);
  border: 1px solid rgba(217, 169, 78, 0.18);
  padding: 24px;
  border-radius: 8px;
}

.card a {
  color: var(--cream);
  text-decoration: none;
}

.card a:hover {
  color: var(--gold-bright);
}

/* ---- Section labels & titles ---- */
.section-label {
  font-family: 'Arabian OneNightStand', 'Aref Ruqaa', serif;
  font-size: 1.5rem;
  text-align: center;
  color: #b8860b;
  margin-bottom: 4px;
}

.section-label::after {
  content: '';
  display: block;
  width: 180px;
  height: 1px;
  margin: 6px auto 0;
  background: linear-gradient(90deg, transparent, #b8860b, transparent);
}

.section-label.gold {
  color: var(--gold-bright);
}

.section-label.gold::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 2.6rem;
  text-align: center;
  color: #3b2a1a;
  margin-bottom: 48px;
}

.section-title.light {
  color: var(--cream);
}

/* ---- Our Story ---- */
.story-section {
  position: relative;
  background: url('../../uploads/2026/07/our-story-bg.png') center / cover #efe3cb;
  padding: 110px 0 110px;
  /* margin-top: 46px; */
}

/* ornate crown trim riding the top edge of the parchment */
/* .story-section::before {
  content: '';
  position: absolute;
  top: -45px;
  left: 0;
  right: 0;
  height: 46px;
  background: url('assets/border-trim.png') bottom center repeat-x;
  background-size: auto 46px;
} */

.story-pendant {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  height: 150px;
  z-index: 2;
}

.timeline-v {
  margin-top: 24px;
}

.tlv-marker {
  position: relative;
}

.tlv-icon {
  position: relative;
  z-index: 2;
  display: block;
  object-fit: contain;
}

.tlv-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #274a43;
  line-height: 1.3;
  margin-bottom: 6px;
}

.tlv-body p {
  font-size: 0.85rem;
  color: #6b5638;
}

/* ---- Mobile: connected vertical list (icon left, text right) ---- */
@media (max-width: 820px) {
  .timeline-v {
    max-width: 360px;
    margin: 24px auto 0;
  }

  .tlv-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .tlv-item:not(:last-child) {
    padding-bottom: 30px;
  }

  .tlv-marker {
    flex: 0 0 52px;
    display: flex;
    justify-content: center;
  }

  .tlv-icon {
    width: 52px;
    height: 52px;
  }

  /* dashed connector running down to the next marker */
  .tlv-item:not(:last-child) .tlv-marker::after {
    content: '';
    position: absolute;
    top: 52px;
    bottom: 0;
    left: 50%;
    border-left: 2px dashed #a8875a;
    transform: translateX(-1px);
  }

  /* bead sitting at the midpoint of the connector */
  .tlv-item:not(:last-child) .tlv-marker::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: calc(50% + 26px);
    left: 50%;
    width: 16px;
    height: 16px;
    background: url('../../uploads/2026/07/Seperator-bullet.png') center / contain no-repeat;
    transform: translate(-50%, -50%);
  }

  .tlv-body {
    padding-top: 4px;
  }
}

/* ---- Desktop: horizontal row with a shared connecting line ---- */
@media (min-width: 821px) {
  .timeline-v {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    position: relative;
  }

  .timeline-v::before {
    content: '';
    position: absolute;
    top: 106px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: #8a6a3f;
  }

  .tlv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tlv-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tlv-icon {
    height: 88px;
    width: auto;
    max-width: 76px;
    object-fit: contain;
    object-position: bottom center;
  }

  /* dot sitting on the shared horizontal line, below every icon */
  .tlv-marker::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../../uploads/2026/07/Seperator-bullet.png') center / contain no-repeat;
    margin-top: 6px;
    margin-bottom: 14px;
  }

  .tlv-body p {
    max-width: 150px;
    margin: 0 auto;
  }
}

.journey-pill {
  display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    /* margin: 48px auto 0; */
    padding: 12px 26px;
    background: #1b6fc4;
    border-radius: 32px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(14, 34, 51, 0.35);
    position: absolute;
    top: 96%;
    left: 50%;
    transform: translateX(-50%);
    /* height: 150px; */
    z-index: 2;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
}

.social-fb { background: #1877f2; }
.social-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-x  { background: #fff; color: #000; border-radius: 50%; }

/* ---- Collection ---- */
/*
 * Blue Persian-dome tilework under a flat navy overlay. The source image
 * averages rgb(53, 95, 149) and carries near-white highlights, so it needs a
 * substantial knock-back for the white/gold headings to hold contrast; at 0.6
 * it resolves to about rgb(21, 47, 90) and the tile pattern still reads.
 * Tune the single custom property below to lighten or deepen the section.
 */
.collection-section {
  --collection-overlay-opacity: 0.6;

  position: relative;
  background: url('../../uploads/2026/07/5ade92b49a7f5d22f29ac7c85c12161540aa7ad5.png') center center / cover no-repeat;
  padding: 90px 0 80px;
}

.collection-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #001033;
  opacity: var(--collection-overlay-opacity);
  pointer-events: none;
}

/* Content sits above the overlay; the tea-card row bleeds wider than the
   container but is still a descendant, so it is covered by this too. */
.collection-section > .container-wide {
  position: relative;
  z-index: 2;
}

.container-wide {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold-divider {
  height: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/*
 * The row runs wider than the viewport and is centred on it, so the outer two
 * cards clip against the screen edges and read as a collection that continues
 * past the fold. Sizing is viewport-relative rather than container-relative
 * because the bleed is measured against the screen, not the content column.
 */
.tea-cards {
  display: flex;
  gap: 1.7vw;
  width: 110vw;
  margin-left: calc(50% - 55vw);
  padding: 48px 0;
}

.tea-card {
  position: relative;
  display: block;
  flex: 0 0 20.7vw;
  padding: 18px 16px 20px;
  border-radius: 6px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  /* border: 1px solid rgba(217, 169, 78, 0.55); */
  transition: transform 0.2s, box-shadow 0.2s;
}

/* CSS-drawn corner brackets: sit on the crisp box edge, so the frame */
/* never crops or stretches unevenly the way a baked-in raster border would */
/* once the card's aspect ratio drifts away from the background image's own. */
/* .tea-card::before {
  content: '';
  position: absolute;
  inset: 7px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  background-image:
    linear-gradient(to right, var(--gold) 2px, transparent 2px),
    linear-gradient(to bottom, var(--gold) 2px, transparent 2px),
    linear-gradient(to left, var(--gold) 2px, transparent 2px),
    linear-gradient(to bottom, var(--gold) 2px, transparent 2px),
    linear-gradient(to right, var(--gold) 2px, transparent 2px),
    linear-gradient(to top, var(--gold) 2px, transparent 2px),
    linear-gradient(to left, var(--gold) 2px, transparent 2px),
    linear-gradient(to top, var(--gold) 2px, transparent 2px);
  pointer-events: none;
} */

.tea-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

/* Background art is zoomed past its own baked-in border/corners so that art */
/* is never left showing a partially-cropped edge; the CSS border above is the */
/* only frame the user sees, and it stays crisp at any card width or height. */
.tea-cinnamon { background: url('../../uploads/2026/07/cinnamon-tea-bg.png') center / 104% 104% no-repeat; }
.tea-black    { background: url('../../uploads/2026/07/black-tea-bg.png') center / 104% 104% no-repeat; }
.tea-cardamom { background: url('../../uploads/2026/07/Cardamom-tea-bg.png') center / 104% 104% no-repeat; }
.tea-saffron  { background: url('../../uploads/2026/07/Saffron-tea-bg.png') center / 104% 104% no-repeat; }
.tea-green    { background: url('../../uploads/2026/07/green-tea-bg.png') center / 104% 104% no-repeat; }

.tea-jar {
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.tea-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tea-card p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/*
 * Narrower than ~1024px, five cards across the screen would be unreadable, so
 * the same bleeding row becomes a real swipeable carousel: cards keep a legible
 * width and the ones past the edge stay reachable by scrolling.
 */
@media (max-width: 1024px) {
  .tea-cards {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    gap: 16px;
    padding: 40px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tea-cards::-webkit-scrollbar {
    display: none;
  }

  .tea-card {
    flex: 0 0 min(62vw, 300px);
    scroll-snap-align: center;
  }
}

/*
 * On phones the carousel becomes a single centred column: one card per row,
 * full width of the content well. This has to undo the whole ≤1024px carousel
 * above it (the 100vw bleed, the horizontal scrolling, the snap points and the
 * fixed flex-basis), so those properties are reset explicitly rather than left
 * to cascade. The section background and overlay are untouched.
 */
@media (max-width: 768px) {
  /*
   * Portrait crop of the same dome for phones. The landscape original is
   * 1201x676, so `cover` on a tall narrow viewport had to scale it ~3x and
   * threw away most of the frame; this one is the same art at 676x1201 and
   * fills the section with far less zoom. Only the image is swapped - the
   * position/size/repeat from the base rule and the #001033 overlay both
   * carry over, so the section reads identically to desktop.
   */
  .collection-section {
    background-image: url('../../uploads/2026/08/5ade92b49a7f5d22f29ac7c85c12161540aa7ad5-1.png');
  }

  .tea-cards {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: 0;
    gap: 20px;
    padding: 36px 0 40px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .tea-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    scroll-snap-align: none;
    padding: 22px 18px 24px;
  }

  /* Cards are the touch target here, so keep them comfortably tall. */
  .tea-card h3 {
    font-size: 1.15rem;
  }

  .tea-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* An <img>, so width alone scales it proportionally - never cropped. */
  .tea-jar {
    max-width: 210px;
  }
}

/* ---- Crafted with Care ---- */
.craft-section {
  background: var(--dark);
  /* padding: 16px; */
}

.craft-panel {
  background: url('../../uploads/2026/07/Crafted-with-care-bg.png') center / cover #efe3cb;
  padding: 64px 0;
}

.craft-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.craft-intro {
  flex: 0 0 300px;
  padding-right: 40px;
  border-right: 1px solid #b8945f;
}

.craft-label {
  font-family: 'Arabian OneNightStand', 'Aref Ruqaa', serif;
  font-size: 1.35rem;
  color: #b8860b;
  margin-bottom: 6px;
}

.craft-intro h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  color: #3b2a1a;
  margin-bottom: 14px;
}

.craft-text {
  font-size: 0.82rem;
  color: #6b5638;
}

.craft-steps {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.craft-step {
  position: relative;
  flex: 1;
  text-align: center;
}

/* small dot between steps */
.craft-step + .craft-step::before {
  content: '';
  position: absolute;
  top: 34px;
  left: -6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b2a1a;
}

.craft-icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.craft-step p {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4a3826;
}

/* ---- Partner with Us ---- */
.partner-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(32, 94, 105, 0.4), transparent 70%),
    linear-gradient(rgba(9, 17, 36, 0.72), rgba(9, 17, 36, 0.8)),
    url('../../uploads/2026/07/Partner-with-us-bg.png') center / cover no-repeat;
  padding: 90px 0 80px;
  overflow : hidden;
}

/* faint archway silhouette behind the content */
.partner-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 90%;
  height: 130%;
  border-radius: 350px 350px 0 0;
  background: rgba(243, 233, 216, 0.04);
  border: 1px solid rgba(217, 169, 78, 0.14);
}

.partner-section .container {
  position: relative;
}

.partner-text {
  max-width: 460px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 48px 0 8px;
}

.partner-item {
  text-align: center;
}

.partner-icon {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.partner-item p {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.partner-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.partner-cta::before,
.partner-cta::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---- Footer ---- */
.site-footer {
  background:
    linear-gradient(rgba(10, 16, 34, 0.85), rgba(10, 16, 34, 0.85)),
    url('../../uploads/2026/07/Footer-bg.png') center / cover no-repeat;
  color: var(--text-muted);
  padding: 64px 0 0;
  border-top: 1px solid rgba(217, 169, 78, 0.25);
}

/* Tint the shared footer to match each product page's palette */
.is-product .site-footer {
  background:
    linear-gradient(rgba(var(--pp-bg-rgb), 0.9), rgba(var(--pp-bg-rgb), 0.95)),
    url('../../uploads/2026/07/Footer-bg.png') center / cover no-repeat;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-brand .site-logo {
  --logo-height: 60px;

  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .social {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.btn-contact {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright) !important;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-contact:hover {
  background: rgba(217, 169, 78, 0.15);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(217, 169, 78, 0.35);
  font-size: 0.78rem;
}

/* ---- Scan to order banner ---- */
.scan-section {
  background: var(--dark);
}

.scan-section .container-fluid {
  width: 100%;
}

/*
 * A full-bleed strip rather than the raw image: the art is 16:9, so cover on a
 * wider box trims it to the banner crop. Anchoring low keeps the QR and its
 * caption in frame and lets the URL at the top fall outside it.
 */
.scan-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 43 / 20;
  max-height: 680px;
  object-fit: cover;
  object-position: center 82%;
}

/* Below the art's own 16:9 the crop turns horizontal, so the strip gets taller
   instead and the whole height of the tilework stays visible. */
@media (max-width: 820px) {
  .scan-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .scan-image {
    aspect-ratio: 4 / 5;
  }
}

.foot-orn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(217, 169, 78, 0.5);
  border-radius: 50%;
  font-size: 0.6rem;
  color: var(--gold);
}

/* ---- Product Page ---- */
.product-hero {
  position: relative;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--pp-bg);
  padding: 150px 0 80px;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--pp-overlay), 0.9) 0%, rgba(var(--pp-overlay), 0.6) 42%, rgba(var(--pp-overlay), 0.15) 72%, rgba(var(--pp-overlay), 0) 100%);
}

/*
 * ---- Composed banner heroes ----
 *
 * Every banner arrives pre-composed: its left ~40% is already a flat brand tone
 * that dissolves into the scene, so the art only needs fitting to the hero
 * height and anchoring right. Repeating that same tone (--hero-flat) as the
 * element colour and as a left-hand gradient layer carries the fade out to any
 * viewport width without a seam, and leaves the copy legible with no darkening
 * wash. Each product declares the tone sampled from its own banner; a product
 * that declares none falls back to its theme background, which is the closest
 * safe match for art that has not been re-cut yet.
 */
.product-page {
  --hero-flat: var(--pp-bg);
  --hero-flat-rgb: var(--pp-bg-rgb);
}

.product-cinnamon-tea {
  --hero-flat: #370d01;
  --hero-flat-rgb: 55, 13, 1;
}

.product-green-tea {
  --hero-flat: #00160a;
  --hero-flat-rgb: 0, 22, 10;
}

.product-black-tea {
  --hero-flat: #000c1d;
  --hero-flat-rgb: 0, 12, 29;
}

.product-cardamom-tea {
  --hero-flat: #001603;
  --hero-flat-rgb: 0, 22, 3;
}

.product-saffron-tea {
  --hero-flat: #1d0e02;
  --hero-flat-rgb: 29, 14, 2;
}

@media (min-width: 821px) {
  .product-page .product-hero {
    padding: 200px 0 105px;
    background-color: var(--hero-flat);
    background-image:
      linear-gradient(
        90deg,
        var(--hero-flat) 0%,
        var(--hero-flat) 22%,
        rgba(var(--hero-flat-rgb), 0.72) 38%,
        rgba(var(--hero-flat-rgb), 0) 58%
      ),
      var(--hero-bg);
    background-size: auto, auto 110%;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
  }

  /* Nothing to darken over the copy, so ::before just feathers the banner's
     foot into the section colour that follows it. */
  .product-page .product-hero::before {
    background: linear-gradient(180deg, rgba(var(--pp-bg-rgb), 0) 82%, var(--pp-bg) 100%);
  }
}

/* Under ~1200px the height-fitted art reaches further in beneath the copy, so
   the flat wash has to travel in with it. */
@media (min-width: 821px) and (max-width: 1200px) {
  .product-page .product-hero {
    background-image:
      linear-gradient(
        90deg,
        var(--hero-flat) 0%,
        var(--hero-flat) 30%,
        rgba(var(--hero-flat-rgb), 0.8) 48%,
        rgba(var(--hero-flat-rgb), 0.25) 68%,
        rgba(var(--hero-flat-rgb), 0) 84%
      ),
      var(--hero-bg);
  }

  .product-page .product-hero-content {
    max-width: 470px;
  }
}

/*
 * Below 821px the copy centres over the banner, so the art reverts to the
 * shared `cover` treatment framed on the jar, under a wash strong enough to
 * carry white text across the busy label.
 */
@media (max-width: 820px) {
  .product-page .product-hero {
    background-color: var(--hero-flat);
    background-position: 72% center;
  }

  .product-page .product-hero::before {
    background: linear-gradient(
      180deg,
      rgba(var(--hero-flat-rgb), 0.94) 0%,
      rgba(var(--hero-flat-rgb), 0.82) 34%,
      rgba(var(--hero-flat-rgb), 0.86) 68%,
      rgba(var(--hero-flat-rgb), 0.97) 100%
    );
  }
}

/* The product hero runs wider than the site default so the copy lines up with
   the highlights panel below it. */
.product-hero .container {
  position: relative;
  max-width: 1180px;
}

.hero-product-cutout {
  position: absolute;
  right: 4%;
  bottom: 0;
  max-width: 44%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.6));
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb .crumb-sep {
  margin: 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: var(--cream);
}

.breadcrumb-rule {
  width: 290px;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(217, 169, 78, 0));
  margin-bottom: 26px;
}

.product-hero-content {
  max-width: 600px;
}

.product-hero .hero-eyebrow {
  font-size: 1.7rem;
}

.product-hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.product-desc-short {
  max-width: 465px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.product-features {
  display: flex;
  align-items: stretch;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

/* Hairline column rule with the gold diamond notched into its middle */
.feature-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 0.5rem;
  line-height: 1;
  opacity: 0.8;
}

.feature-sep::before,
.feature-sep::after {
  content: '';
  flex: 1;
  width: 1px;
  min-height: 8px;
}

.feature-sep::before {
  background: linear-gradient(180deg, rgba(217, 169, 78, 0), rgba(217, 169, 78, 0.5));
}

.feature-sep::after {
  background: linear-gradient(180deg, rgba(217, 169, 78, 0.5), rgba(217, 169, 78, 0));
}

.product-feature {
  width: 118px;
  text-align: center;
}

.feature-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin: 0 auto 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  filter: sepia(0.7) saturate(1.4);
}

/* Illustrated badges are already gold artwork, so they drop the ring and tint */
.feature-icon-circle--img {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  filter: none;
}

.feature-icon-circle--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-feature p {
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.product-hero .hero-actions .btn {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Shared product-page body (color set by --pp-* theme variables) */
.product-highlights,
.product-detail-section,
.quote-banner,
.product-specs-section,
.product-cta-section {
  background: var(--pp-bg);
}

/* ---- Highlights Panel (single ornate frame) ---- */
.product-highlights {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--pp-glow-top), transparent 70%),
    var(--pp-bg);
  padding: 10px 0 40px;
}

.highlights-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 44px 40px;
  border-radius: 10px;
  background: radial-gradient(ellipse 75% 110% at 50% 0%, var(--pp-glow), var(--pp-card-end));
}

/* Ornate gold frame: fixed-size corner flourishes, stretched edge rules */
.highlights-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 38px solid transparent;
  border-image: url('assets/card-frame.png') 215 / 38px / 0 stretch;
}

.highlight-item {
  position: relative;
  text-align: center;
  padding: 4px 22px;
}

/* Hairline divider between columns */
.highlight-item + .highlight-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4%;
  bottom: 4%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(217, 169, 78, 0) 0%,
    rgba(217, 169, 78, 0.5) 22%,
    rgba(217, 169, 78, 0.5) 78%,
    rgba(217, 169, 78, 0) 100%
  );
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  filter: sepia(0.6) saturate(1.3);
}

/* The illustrated set draws its own gold ring, so drop the CSS circle */
.highlight-icon--img {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  filter: none;
}

.highlight-icon--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlight-item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  max-width: 190px;
  margin: 0 auto 10px;
}

.highlight-item p {
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

/* ---- About + Brewing Guide Cards ---- */
.product-detail-section {
  padding: 30px 0 40px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: stretch;
}

/*
 * A brewing card with a full cup cutout needs more width than the standard
 * 1:1.5 split. Opted into via --wide on the grid. Bounded by min-width so it
 * cannot outrank the single-column mobile rule below (a bare class selector
 * there would lose on specificity).
 */
@media (min-width: 821px) {
  .product-detail-grid--wide {
    grid-template-columns: 1fr 2.2fr;
    gap: 26px;
  }
}

.detail-card {
  background: radial-gradient(circle at 50% 0%, var(--pp-glow-soft), var(--pp-card-end));
  border: 1px solid rgba(217, 169, 78, 0.45);
  border-radius: 8px;
  padding: 40px 36px;
}

.detail-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.35;
  margin-bottom: 14px;
}

.card-rule {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

.about-photo-frame {
  margin-top: 24px;
  padding: 8px;
  border: 1px solid rgba(217, 169, 78, 0.4);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.about-photo {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.brew-card {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.brew-info {
  flex: 1.2;
}

.brew-photo {
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(217, 169, 78, 0.35);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.brew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brew-photo--contain {
  background: radial-gradient(circle at 50% 42%, var(--pp-glow-soft), var(--pp-card-end));
}

.brew-photo--contain img {
  width: 68%;
  height: 68%;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
}

.brewing-steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* The icon is centred against the whole title + note block, not its first line */
.brewing-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-icon {
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  filter: sepia(0.6) saturate(1.3);
}

/* Like the highlight and detail sets, these icons draw their own ring */
.step-icon--img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  filter: none;
}

.step-icon--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brewing-step h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.brewing-step p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cream);
}

/* ---------------------------------------------------------------------------
 * Ornate detail cards (opt-in)
 *
 * A product opts in by setting --card-frame (a gold frame PNG with corner
 * flourishes) on .detail-card--framed; the frame is painted by a pseudo
 * element via border-image so it never affects layout. Both frame assets share
 * the same geometry: the rule sits ~10px in and the corner ornament reaches
 * ~74px, so a slice of 86 keeps the flourishes crisp at any card size.
 * --------------------------------------------------------------------------- */
.detail-card--framed {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 46px 34px 40px;
}

.detail-card--framed::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 30px solid transparent;
  border-image: var(--card-frame) 86 / 30px / 0 stretch;
}

.detail-card--framed h2 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.55;
  color: var(--gold);
  margin-bottom: 14px;
}

/* Gold hairline with diamond finials, as under "Brewing Guide" */
.detail-card--framed .card-rule {
  position: relative;
  width: 168px;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 169, 78, 0), var(--gold) 20%, var(--gold) 80%, rgba(217, 169, 78, 0));
  margin-bottom: 26px;
}

.detail-card--framed .card-rule::before,
.detail-card--framed .card-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.detail-card--framed .card-rule::before { left: 0; }
.detail-card--framed .card-rule::after { right: 0; }

.detail-card--framed .brewing-steps {
  gap: 30px;
}

/* --- About card with decorative artwork bled into the base ---
 * Two variants share this layout:
 *   .about-card--art    faint gold line engraving (subtle texture)
 *   .about-card--photo  full-colour photograph (prominent scene)
 * Both read the image from --about-art and fade it upward into the card. */
.about-card--art,
.about-card--photo {
  text-align: center;
  overflow: hidden;
}

/* Keep the copy above the artwork (a positioned ::after would paint over it) */
.about-card--art > *,
.about-card--photo > * {
  position: relative;
  z-index: 2;
}

.about-card--art .card-rule,
.about-card--photo .card-rule {
  display: none;
}

.about-card--art p,
.about-card--photo p {
  font-size: 0.82rem;
  line-height: 1.95;
}

.about-card--art::after,
.about-card--photo::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  pointer-events: none;
  /* Fade the artwork out as it rises so it reads as part of the card */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
  mask-image: linear-gradient(180deg, transparent, #000 55%);
}

/* Engraving: low opacity line-art scaled to card width */
.about-card--art::after {
  height: 46%;
  background: var(--about-art) center bottom / 100% auto no-repeat;
  opacity: 0.42;
}

/* Photo: near-opaque scene that fills the lower band and bleeds to the edges */
.about-card--photo::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 47%;
  background: var(--about-art) center bottom / cover no-repeat;
  opacity: 0.95;
}

/* --- Brewing photo as a bare cutout (no frame, no plate) --- */
.brew-photo--bare {
  flex: 1.15;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.brew-photo--bare img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain;
}

/* --- Brewing photo as a full-bleed card background ---
 * The photo becomes the card's background (bleeding under the ornate frame),
 * and a gradient in the theme colour darkens the side the steps sit on so the
 * copy stays legible. The <img> element is omitted for this variant. */
.brew-card--bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(var(--pp-bg-rgb), 0.95) 0%,
      rgba(var(--pp-bg-rgb), 0.86) 28%,
      rgba(var(--pp-bg-rgb), 0.45) 50%,
      rgba(var(--pp-bg-rgb), 0.05) 70%,
      rgba(var(--pp-bg-rgb), 0) 100%
    ),
    var(--brew-bg);
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
  min-height: 360px;
}

.brew-card--bg .brew-info {
  position: relative;
  z-index: 2;
  flex: 0 1 46%;
  max-width: 430px;
}

/* ---- Quote Banner ---- */
.quote-banner {
  text-align: center;
  padding: 60px 20px 50px;
}

.quote-fa {
  font-family: 'Aref Ruqaa', serif;
  font-size: 2rem;
  color: var(--gold-bright);
  direction: rtl;
  margin-bottom: 14px;
}

.quote-en {
  font-family: 'Arabian OneNightStand', 'Aref Ruqaa', serif;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--gold);
}

/* ---- Product Details ---- */
.product-specs-section {
  padding: 40px 0 60px;
}

/* The title sits inside the frame, so the panel carries the same ornate border
   treatment as the highlights panel above it. */
.specs-panel {
  position: relative;
  border-radius: 10px;
  background: radial-gradient(ellipse 75% 110% at 50% 0%, var(--pp-glow-faint), var(--pp-card-end-soft));
  padding: 44px 44px 46px;
}

.specs-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 38px solid transparent;
  border-image: url('assets/card-frame.png') 215 / 38px / 0 stretch;
}

.specs-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-bright);
  margin-bottom: 34px;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.spec-item {
  position: relative;
  text-align: center;
}

/* Column rule with a small gold terminal at each end */
.spec-item + .spec-item::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 8px;
  bottom: 4px;
  width: 5px;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 45%, transparent 55%) center top / 5px 5px no-repeat,
    radial-gradient(circle at 50% 50%, var(--gold) 45%, transparent 55%) center bottom / 5px 5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat;
  opacity: 0.7;
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 1.2rem;
  filter: sepia(1) saturate(1.6) brightness(1.1);
}

/* Like the highlight set, these icons draw their own ring */
.spec-icon--img {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  filter: none;
}

.spec-icon--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spec-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.spec-value {
  max-width: 145px;
  margin: 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cream);
}

/* ---- Product CTA ---- */
.product-cta-section {
  text-align: center;
  padding: 10px 20px 80px;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .site-header {
    top: 16px;
    padding: 0 16px;
  }

  .header-bar {
    position: relative;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 30px;
  }

  /* Keep the pill compact next to the burger on small screens. */
  .site-branding .site-logo {
    --logo-height: 40px;
  }

  .footer-brand .site-logo {
    --logo-height: 52px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(12, 9, 5, 0.95);
    border: 1px solid rgba(217, 169, 78, 0.25);
    border-radius: 20px;
    padding: 22px 20px;
  }

  .site-header.nav-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .hero {
    min-height: 70vh;
    padding: 110px 0 60px;
    background-image: url('../../uploads/2026/07/hero-bg-mobile.png');
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-pendant {
    height: 110px;
    top: -52px;
  }

  .journey-pill {
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
  }

  .craft-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .craft-intro {
    flex: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid #b8945f;
    text-align: center;
  }

  .craft-steps {
    flex-wrap: wrap;
  }

  .craft-step {
    flex: 1 1 30%;
    margin-bottom: 18px;
  }

  .craft-step + .craft-step::before {
    display: none;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-hero {
    padding: 110px 0 50px;
    background-position: 70% center;
  }

  /* Vertical darkening so centered copy stays legible over the busy jar art */
  .product-hero::before {
    background: linear-gradient(
      180deg,
      rgba(var(--pp-overlay), 0.92) 0%,
      rgba(var(--pp-overlay), 0.62) 40%,
      rgba(var(--pp-overlay), 0.72) 72%,
      rgba(var(--pp-overlay), 0.92) 100%
    );
  }

  .product-hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .product-hero-content h1 {
    font-size: 2.4rem;
    overflow-wrap: break-word;
  }

  /*
   * Optional foreground jar cutout (`hero_fg_image`, currently unused now that
   * every banner is composed art). On desktop it sits absolute over the scene;
   * on tablet/mobile the copy is centred, so let the jar drop into normal flow
   * beneath it (it is already the hero's last child) rather than overlap the
   * button.
   */
  .hero-product-cutout {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    max-width: 62%;
    max-height: none;
    margin: 30px auto 0;
  }

  .product-desc-short {
    margin-left: auto;
    margin-right: auto;
  }

  .breadcrumb {
    text-align: center;
  }

  .breadcrumb-rule {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, rgba(217, 169, 78, 0), var(--gold), rgba(217, 169, 78, 0));
  }

  .product-features {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .brew-card {
    flex-direction: column;
  }

  .brew-photo {
    min-height: 220px;
    background-size: cover;
    background-position: center;
  }

}

/* ---- Product Details panel: tablet & mobile ---- */
@media (max-width: 1024px) {
  .specs-panel {
    padding: 40px 34px 38px;
  }

  .specs-panel::before {
    border-width: 30px;
    border-image-width: 30px;
  }

  .product-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  /*
   * Stacked, a column rule would land at the start of every row, so the grid
   * swaps to horizontal rules instead: every item of a row past the first
   * carries a segment, and together they span the row.
   */
  .spec-item + .spec-item::before {
    display: none;
  }

  .spec-item:nth-child(n + 4)::after {
    content: '';
    position: absolute;
    top: -17px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(217, 169, 78, 0) 0%,
      rgba(217, 169, 78, 0.45) 25%,
      rgba(217, 169, 78, 0.45) 75%,
      rgba(217, 169, 78, 0) 100%
    );
  }
}

@media (max-width: 600px) {
  .specs-panel {
    padding: 34px 22px 32px;
  }

  .specs-panel::before {
    border-width: 22px;
    border-image-width: 22px;
  }

  .specs-title {
    font-size: 1.25rem;
    margin-bottom: 28px;
  }

  .spec-label {
    font-size: 0.9rem;
  }

  .product-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
  }

  /* Two columns start a row at item 3 as well; 4-6 are already covered above */
  .spec-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: -17px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(217, 169, 78, 0) 0%,
      rgba(217, 169, 78, 0.45) 25%,
      rgba(217, 169, 78, 0.45) 75%,
      rgba(217, 169, 78, 0) 100%
    );
  }
}

/* ---- Highlights panel: tablet & mobile ---- */
@media (max-width: 1024px) {
  .highlights-panel {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
    padding: 40px 34px 36px;
  }

  .highlights-panel::before {
    border-width: 30px;
    border-image-width: 30px;
  }

  /* Vertical rule only between the two columns, never at a row start */
  .highlight-item:nth-child(odd)::before {
    display: none;
  }

  /* Horizontal rule between the two rows */
  .highlight-item:nth-child(n + 3)::after {
    content: '';
    position: absolute;
    top: -17px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(217, 169, 78, 0) 0%,
      rgba(217, 169, 78, 0.45) 25%,
      rgba(217, 169, 78, 0.45) 75%,
      rgba(217, 169, 78, 0) 100%
    );
  }
}

@media (max-width: 600px) {
  .product-highlights {
    padding: 16px 0 32px;
  }

  .highlights-panel {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 34px 22px 30px;
    border-radius: 8px;
  }

  .highlights-panel::before {
    border-width: 22px;
    border-image-width: 22px;
  }

  .highlight-item {
    padding: 0 6px;
  }

  /* One column: separate every card with a horizontal rule */
  .highlight-item + .highlight-item::before {
    top: -15px;
    bottom: auto;
    left: 12%;
    right: 12%;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(217, 169, 78, 0) 0%,
      rgba(217, 169, 78, 0.45) 25%,
      rgba(217, 169, 78, 0.45) 75%,
      rgba(217, 169, 78, 0) 100%
    );
  }

  .highlight-item:nth-child(odd)::before {
    display: block;
  }

  .highlight-item:nth-child(n + 3)::after {
    display: none;
  }

  .highlight-item p {
    max-width: 320px;
  }
}

/* ---- Ornate detail cards: tablet & mobile ---- */
@media (max-width: 820px) {
  .detail-card--framed {
    padding: 40px 28px 34px;
  }

  /* Stacked cards are narrower, so scale the frame down with them */
  .detail-card--framed::before {
    border-width: 24px;
    border-image-width: 24px;
  }

  .brew-photo--bare {
    flex: none;
  }

  .brew-photo--bare img {
    max-height: 300px;
  }

  /*
   * Stacked, the about card is wide and short, so a percentage band would ride
   * up behind the copy. Reserve a fixed strip for the artwork instead.
   * Doubled-up class keeps this ahead of the padding shorthand reset below.
   */
  .detail-card--framed.about-card--art,
  .detail-card--framed.about-card--photo {
    padding-bottom: 116px;
  }

  .about-card--art::after,
  .about-card--photo::after {
    height: 104px;
  }

  /*
   * Stacked, the brewing background switches to a vertical fade: steps sit over
   * the darkened top, the photo shows through a reserved band at the bottom
   * (mirroring the about-card photo treatment).
   */
  .brew-card--bg {
    min-height: 0;
    background-image:
      linear-gradient(
        180deg,
        rgba(var(--pp-bg-rgb), 0.95) 0%,
        rgba(var(--pp-bg-rgb), 0.93) 52%,
        rgba(var(--pp-bg-rgb), 0.5) 74%,
        rgba(var(--pp-bg-rgb), 0.12) 100%
      ),
      var(--brew-bg);
    background-position: center top, center bottom;
    background-size: cover, cover;
  }

  .detail-card--framed.brew-card--bg {
    padding-bottom: 250px;
  }

  .brew-card--bg .brew-info {
    flex: none;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .detail-card--framed {
    padding: 34px 22px 28px;
  }

  .detail-card--framed::before {
    border-width: 18px;
    border-image-width: 18px;
  }

  .detail-card--framed .brewing-steps {
    gap: 22px;
  }

  .brew-photo--bare img {
    max-height: 240px;
  }
}

@media (max-width: 520px) {
  .product-hero-content h1 {
    font-size: 2.1rem;
  }

  .product-features {
    gap: 12px;
  }

  .product-feature {
    width: 92px;
  }

  .breadcrumb {
    font-size: 0.72rem;
  }

  .breadcrumb .crumb-sep {
    margin: 0 5px;
  }
}

/* ==========================================================================
   Wholesale Catalogue Modal
   Shared popup opened by every [data-wholesale-open] button.
   ========================================================================== */

/* The CTA buttons are now <button>, so strip the UA chrome that .btn (built
   for anchors) never had to override. */
button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.wholesale-modal[hidden] {
  display: none;
}

.wholesale-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wholesale-modal.is-open {
  opacity: 1;
}

.wholesale-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 2, 0.78);
  backdrop-filter: blur(3px);
}

.wholesale-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px 40px 34px;
  border-radius: 10px;
  border: 1px solid rgba(217, 169, 78, 0.35);
  background:
    radial-gradient(ellipse 75% 110% at 50% 0%, var(--pp-glow-faint), var(--pp-card-end-soft)),
    var(--pp-bg, var(--dark));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.wholesale-modal.is-open .wholesale-modal-dialog {
  transform: translateY(0) scale(1);
}

.wholesale-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold-bright);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.wholesale-modal-close:hover,
.wholesale-modal-close:focus-visible {
  background: rgba(238, 189, 84, 0.14);
  color: var(--cream);
}

.wholesale-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-bright);
  margin: 0 0 10px;
}

.wholesale-modal-intro {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 26px;
  max-width: 38ch;
}

.wholesale-modal-fallback {
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
}

.wholesale-modal-fallback a {
  color: var(--gold-bright);
}

/* Lock the page behind the modal. */
body.wholesale-modal-open {
  overflow: hidden;
}

/* ---- Contact Form 7 fields inside the modal ---- */
.wholesale-modal-body .wc-field {
  margin: 0 0 16px;
}

/* CF7 runs the form template through wpautop(). The template avoids stray
   newlines, but editing it in the admin easily reintroduces them, so drop the
   <br>s it would inject rather than let them double the field spacing. */
.wholesale-modal-body .wc-field > br,
.wholesale-modal-body .wc-actions > br {
  display: none;
}

.wholesale-modal-body label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream);
}

.wholesale-modal-body .wc-req {
  color: var(--gold-bright);
}

.wholesale-modal-body input[type="text"],
.wholesale-modal-body input[type="tel"],
.wholesale-modal-body input[type="email"],
.wholesale-modal-body textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(243, 233, 216, 0.22);
  background: rgba(12, 9, 5, 0.45);
  color: var(--cream);
  font-family: inherit;
  /* 16px keeps iOS Safari from zooming the page on focus. */
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.wholesale-modal-body textarea {
  resize: vertical;
  min-height: 110px;
}

.wholesale-modal-body input::placeholder,
.wholesale-modal-body textarea::placeholder {
  color: rgba(207, 196, 178, 0.5);
}

.wholesale-modal-body input:focus,
.wholesale-modal-body textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(12, 9, 5, 0.7);
}

.wholesale-modal-body .wc-actions {
  margin: 22px 0 0;
  text-align: center;
}

.wholesale-modal-body input[type="submit"] {
  width: 100%;
  font-size: 0.95rem;
}

.wholesale-modal-body input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* ---- CF7 validation / response messaging ---- */
.wholesale-modal-body .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #f0a58c;
}

.wholesale-modal-body .wpcf7-not-valid {
  border-color: #c9613f;
}

.wholesale-modal-body .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(243, 233, 216, 0.3);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cream);
}

.wholesale-modal-body form.sent .wpcf7-response-output {
  border-color: rgba(120, 190, 130, 0.6);
  background: rgba(60, 130, 75, 0.16);
}

.wholesale-modal-body form.invalid .wpcf7-response-output,
.wholesale-modal-body form.unaccepted .wpcf7-response-output,
.wholesale-modal-body form.failed .wpcf7-response-output,
.wholesale-modal-body form.aborted .wpcf7-response-output,
.wholesale-modal-body form.spam .wpcf7-response-output {
  border-color: rgba(201, 97, 63, 0.7);
  background: rgba(160, 60, 35, 0.16);
}

.wholesale-modal-body .wpcf7-spinner {
  margin: 10px auto 0;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 620px) {
  .wholesale-modal {
    padding: 16px 12px;
  }

  .wholesale-modal-dialog {
    max-height: calc(100vh - 32px);
    padding: 34px 22px 26px;
  }

  .wholesale-modal-title {
    font-size: 1.25rem;
  }

  .wholesale-modal-intro {
    font-size: 0.86rem;
    margin-bottom: 20px;
  }
}

/* Short/landscape phones: let the dialog use the full height it can get. */
@media (max-height: 560px) {
  .wholesale-modal {
    align-items: flex-start;
  }

  .wholesale-modal-dialog {
    max-height: calc(100vh - 32px);
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wholesale-modal,
  .wholesale-modal-dialog {
    transition: none;
  }
}
