/*
Theme Name:        Petra Marinou Child
Theme URI:         https://petramarinou.gr
Description:       Child theme of Hello Elementor for Petra Marinou Winery. Mikrathira-inspired clean, typography-driven, earth-toned design with WooCommerce + Polylang support.
Author:            Petra Marinou
Author URI:        https://petramarinou.gr
Template:          hello-elementor
Version:           1.0.0
Text Domain:       petra-marinou-child
*/

/* =========================================================================
   Petra Marinou — preview stylesheet
   Mirrors the WordPress child theme. Extra layout helpers added here are
   the exact things Elementor would produce in the real site.
   ========================================================================= */

:root {
  --pm-bg:           #f7f3ec;
  --pm-bg-alt:       #efe8da;
  --pm-bg-dark:      #1a1410;
  --pm-fg:           #1a1410;
  --pm-fg-muted:     #5d5448;
  --pm-fg-soft:      #8a7e6e;
  --pm-accent:       #7a2e2e;
  --pm-accent-soft:  #c2986a;
  --pm-line:         #d8cfbf;

  --pm-font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --pm-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --pm-radius:       2px;
  --pm-shadow-sm:    0 1px 2px rgba(26,20,16,0.05);
  --pm-shadow-md:    0 12px 32px rgba(26,20,16,0.08);

  --pm-container:    1280px;
  --pm-narrow:       760px;
  --pm-gutter:       max(20px, 4vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pm-bg);
  color: var(--pm-fg);
  font-family: var(--pm-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pm-font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; font-family: var(--pm-font-body); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pm-fg-muted); }
p  { margin: 0 0 1em; }
a  { color: var(--pm-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
a:hover { border-bottom-color: var(--pm-accent); }
img { max-width: 100%; height: auto; display: block; }

.container        { max-width: var(--pm-container); margin: 0 auto; padding-inline: var(--pm-gutter); }
.container--narrow{ max-width: var(--pm-narrow);    margin: 0 auto; padding-inline: var(--pm-gutter); }

.section          { padding-block: clamp(64px, 10vw, 140px); }
.section--tinted  { background: var(--pm-bg-alt); }
.section--dark    { background: var(--pm-bg-dark); color: #cfc6b6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  font-family: var(--pm-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pm-accent);
  margin: 0 0 16px;
}

.lead {
  font-family: var(--pm-font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--pm-fg-muted);
}

.text-center { text-align: center; }

/* -----------------------------------------------------------------------
   Button
   ----------------------------------------------------------------------- */
.button, button.button {
  display: inline-block;
  background: var(--pm-fg);
  color: #fff;
  font-family: var(--pm-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  border-radius: var(--pm-radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.button:hover { background: var(--pm-accent); border-bottom-color: transparent; }
.button:active { transform: translateY(1px); }
.button--ghost { background: transparent; color: var(--pm-fg); border: 1px solid var(--pm-fg); }
.button--ghost:hover { background: var(--pm-fg); color: #fff; }
.button--light { background: transparent; color: #fff; border: 1px solid #cfc6b6; }
.button--light:hover { background: #fff; color: var(--pm-fg); }

/* -----------------------------------------------------------------------
   Header — thin utility bar (social + lang) above, main row below
   (logo left, centered nav, cart right)
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--pm-line);
}

/* Thin utility bar */
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(216, 207, 191, 0.5);
  font-size: 0.72rem;
}
.site-header__top .social-icons a {
  width: 26px; height: 26px;
  border: 1px solid rgba(26, 20, 16, 0.25);
  color: var(--pm-fg-soft);
}
.site-header__top .social-icons a:hover {
  background: var(--pm-accent);
  color: #fff;
  border-color: var(--pm-accent);
}
.site-header__top .social-icons svg { width: 12px; height: 12px; }

.site-header__lang {
  display: flex;
  gap: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-fg-soft);
  align-items: center;
}
.site-header__lang .active { color: var(--pm-fg); font-weight: 500; }
.site-header__lang a { color: var(--pm-fg-soft); border-bottom: none; }
.site-header__lang a:hover { color: var(--pm-accent); }

/* Main row: 3-column grid */
.site-header__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 18px;
}
.site-header__logo { display: block; line-height: 0; justify-self: start; }
.site-header__logo img { height: 76px; width: auto; }

.site-header__nav {
  justify-self: center;
}
.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: clamp(20px, 2.6vw, 36px);
  margin: 0;
  padding: 0;
}
.site-header__nav li { white-space: nowrap; }
.site-header__nav a {
  font-family: var(--pm-font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-fg);
  border-bottom: none;
  padding-block: 4px;
  position: relative;
  display: inline-block;
}
.site-header__nav a:hover { color: var(--pm-accent); }
.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--pm-accent);
  transition: width 0.2s ease, left 0.2s ease;
}
.site-header__nav a:hover::after { width: 100%; left: 0; }

.site-header__cart {
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-fg);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-header__cart:hover { color: var(--pm-accent); border-bottom: none; }
.site-header__cart .cart-icon { width: 18px; height: 18px; }

/* Mobile hamburger toggle */
.site-header__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--pm-fg);
  justify-self: end;
}
.site-header__toggle svg { width: 24px; height: 24px; }

/* Responsive header */
@media (max-width: 960px) {
  .site-header__main {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    padding-block: 14px;
  }
  .site-header__logo img { height: 56px; }
  .site-header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: var(--pm-bg);
    border-left: 1px solid var(--pm-line);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
    box-shadow: -20px 0 40px rgba(0,0,0,0.1);
    justify-self: auto;
  }
  .site-header__nav.open { transform: translateX(0); }
  .site-header__nav ul {
    flex-direction: column;
    gap: 24px;
  }
  .site-header__nav a {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }
  .site-header__nav a::after { display: none; }
  .site-header__cart { justify-self: end; gap: 4px; }
  .site-header__cart .cart-text { display: none; }
  .site-header__toggle { display: inline-flex; justify-self: end; }
}
@media (max-width: 560px) {
  .site-header__top { padding-block: 6px; font-size: 0.66rem; }
  .site-header__top .social-icons { gap: 6px; }
  .site-header__top .social-icons a { width: 24px; height: 24px; }
  .site-header__logo img { height: 44px; }
}
@media (max-width: 380px) {
  .site-header__top .social-icons a:nth-child(3) { display: none; }
}

/* Body scroll lock when mobile nav open */
body.nav-open { overflow: hidden; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 55;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* -----------------------------------------------------------------------
   Hero (homepage)
   ----------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(26,20,16,0.45), rgba(26,20,16,0.55)),
              url('assets/photos/vineyard.jpg') center center / cover no-repeat;
}
.hero__inner { max-width: 880px; padding: var(--pm-gutter); }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto 32px; }
.hero .eyebrow { color: var(--pm-accent-soft); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* -----------------------------------------------------------------------
   Page hero (secondary pages — about, shop, vineyards, etc.)
   ----------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(26,20,16,0.40), rgba(26,20,16,0.55));
  z-index: -1;
}
.page-hero__inner {
  max-width: 760px;
  padding: clamp(60px, 8vw, 100px) var(--pm-gutter);
}
.page-hero h1 {
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.page-hero .eyebrow { color: var(--pm-accent-soft); }
.page-hero p {
  font-family: var(--pm-font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(255,255,255,0.92);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* -----------------------------------------------------------------------
   Two-column intro
   ----------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}
.split img { border-radius: var(--pm-radius); }

/* -----------------------------------------------------------------------
   Wine grid (shop + featured)
   ----------------------------------------------------------------------- */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.wine-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-bottom: none;
}
.wine-card__media {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--pm-bg);
  border: 1px solid var(--pm-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.wine-card:hover .wine-card__media { transform: translateY(-4px); }
.wine-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.wine-card__media .badge-bio {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pm-fg);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.wine-card__title {
  font-family: var(--pm-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 24px 0 6px;
  line-height: 1.2;
}
.wine-card__variety {
  font-size: 0.85rem;
  color: var(--pm-fg-muted);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.wine-card__price {
  font-family: var(--pm-font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--pm-fg);
  margin: 0;
}
.wine-card__price del { color: var(--pm-fg-soft); margin-right: 8px; }

/* -----------------------------------------------------------------------
   Product page (single)
   ----------------------------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.product__media {
  background: var(--pm-bg-alt);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pm-radius);
  position: sticky;
  top: 100px;
}
.product__media img { max-height: 560px; width: auto; }
.product__meta {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-fg-muted);
  margin: 0 0 16px;
}
.product__title { margin-bottom: 8px; }
.product__variety {
  font-family: var(--pm-font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pm-fg-muted);
  margin: 0 0 24px;
}
.product__price {
  font-family: var(--pm-font-display);
  font-size: 2.2rem;
  color: var(--pm-fg);
  margin: 0 0 8px;
}
.product__vat { font-size: 0.78rem; color: var(--pm-fg-soft); margin: 0 0 24px; }
.product__cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 32px 0;
}
.product__cart input[type="number"] {
  width: 72px;
  padding: 14px 12px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  font: inherit;
  font-size: 1rem;
  background: #fff;
}
.product__tabs { border-top: 1px solid var(--pm-line); padding-top: 32px; }
.product__tablist { display: flex; gap: 24px; border-bottom: 1px solid var(--pm-line); margin-bottom: 24px; }
.product__tablist button {
  background: none;
  border: none;
  font-family: var(--pm-font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-fg-muted);
  padding: 12px 0;
  cursor: pointer;
  position: relative;
}
.product__tablist button.active {
  color: var(--pm-fg);
}
.product__tablist button.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--pm-accent);
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
}
.specs th, .specs td {
  border-bottom: 1px solid var(--pm-line);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
  vertical-align: top;
}
.specs th { width: 40%; font-weight: 500; color: var(--pm-fg-muted); }

.awards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.awards li {
  border: 1px solid var(--pm-line);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--pm-fg-muted);
  background: #fff;
}
.awards li strong {
  display: block;
  color: var(--pm-fg);
  font-weight: 500;
  margin-bottom: 4px;
}

/* -----------------------------------------------------------------------
   Tasting experiences
   ----------------------------------------------------------------------- */
.tasting-banner {
  position: relative;
  background:
    linear-gradient(rgba(26,20,16,0.55), rgba(26,20,16,0.65)),
    url('assets/photos/experience-banner.webp') center center / cover no-repeat;
  color: #fff;
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
}
.tasting-banner h2 { color: #fff; max-width: 620px; margin: 0 auto 16px; }
.tasting-banner p { max-width: 580px; margin: 0 auto 32px; color: rgba(255,255,255,0.92); }

.tasting-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.tasting-card {
  background: #fff;
  border: 1px solid var(--pm-line);
  padding: 36px 32px;
  text-align: left;
}
.tasting-card__name { margin: 0 0 4px; }
.tasting-card__price {
  font-family: var(--pm-font-display);
  font-size: 1.6rem;
  color: var(--pm-accent);
  margin: 0 0 16px;
}
.tasting-card__wines {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.92rem;
  color: var(--pm-fg-muted);
}
.tasting-card__wines li {
  padding: 6px 0;
  border-bottom: 1px solid var(--pm-bg-alt);
}
.tasting-card__wines li:last-child { border-bottom: none; }

/* -----------------------------------------------------------------------
   Trophies
   ----------------------------------------------------------------------- */
.trophies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.trophy-year h3 {
  border-bottom: 1px solid var(--pm-line);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.trophy-year ul { list-style: none; padding: 0; margin: 0; }
.trophy-year li { padding: 8px 0; color: var(--pm-fg-muted); font-size: 0.95rem; }
.trophy-year .medal--gold { color: #b8860b; font-weight: 500; }
.trophy-year .medal--silver { color: #888; font-weight: 500; }

/* -----------------------------------------------------------------------
   Contact
   ----------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { font-size: 1.05rem; }
.contact-info strong { display: block; font-family: var(--pm-font-display); font-size: 1.3rem; color: var(--pm-fg); margin-bottom: 4px; font-weight: 500; }
.contact-info p { margin: 0 0 24px; color: var(--pm-fg-muted); }

.form-grid {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-grid label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-fg-muted);
  margin-bottom: 6px;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--pm-fg);
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none;
  border-color: var(--pm-accent);
}
.form-grid textarea { min-height: 160px; resize: vertical; }

/* -----------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.site-footer {
  background: var(--pm-fg);
  color: #cfc6b6;
  padding: clamp(56px, 7vw, 96px) 0 32px;
  margin-top: clamp(64px, 8vw, 120px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: 56px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 0.18em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: #cfc6b6;
  font-size: 0.92rem;
  border-bottom: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: #fff; }
.site-footer__brand img { height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer__brand p { font-size: 0.92rem; color: #cfc6b6; max-width: 320px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(207,198,182,0.7);
}
@media (max-width: 600px) { .site-footer__bottom { flex-direction: column; gap: 12px; } }
.site-footer__social a { margin-right: 16px; }

/* -----------------------------------------------------------------------
   Age gate (visible on first visit)
   ----------------------------------------------------------------------- */
.age-gate {
  position: fixed;
  inset: 0;
  background: var(--pm-bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--pm-gutter);
}
.age-gate__inner { max-width: 480px; text-align: center; }
.age-gate img { height: 80px; margin: 0 auto 24px; filter: brightness(0) invert(1); }
.age-gate h2 { color: #fff; margin-bottom: 12px; font-size: 2rem; }
.age-gate p { color: rgba(255,255,255,0.8); }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.age-gate.hidden { display: none; }

/* -----------------------------------------------------------------------
   Preview-only ribbon
   ----------------------------------------------------------------------- */
.preview-ribbon {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--pm-accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--pm-radius);
  z-index: 1000;
  box-shadow: var(--pm-shadow-md);
}

/* -----------------------------------------------------------------------
   Utility
   ----------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 40px; }

/* -----------------------------------------------------------------------
   Social media icons (header + footer + contact)
   ----------------------------------------------------------------------- */
.social-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--pm-fg);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid currentColor; /* override link reset */
}
.social-icons a:hover { background: var(--pm-accent); color: #fff; border-color: var(--pm-accent); }
.social-icons svg { width: 16px; height: 16px; }
.site-header .social-icons a { width: 32px; height: 32px; }
.site-header .social-icons svg { width: 14px; height: 14px; }
.site-footer .social-icons a { color: #cfc6b6; border-color: rgba(207,198,182,0.4); }
.site-footer .social-icons a:hover { color: #fff; background: var(--pm-accent); border-color: var(--pm-accent); }

/* -----------------------------------------------------------------------
   Add-to-cart from shop grid
   ----------------------------------------------------------------------- */
.wine-card__actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.wine-card__actions input[type="number"] {
  width: 56px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.wine-card__actions .button {
  padding: 10px 18px;
  font-size: 0.78rem;
  flex: 1;
}

/* -----------------------------------------------------------------------
   Toast (cart confirmation)
   ----------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--pm-fg);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--pm-radius);
  font-size: 0.9rem;
  box-shadow: var(--pm-shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* -----------------------------------------------------------------------
   Gallery
   ----------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--pm-line);
  padding-bottom: 16px;
}
.gallery-tabs button {
  background: none;
  border: none;
  font-family: var(--pm-font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-fg-muted);
  padding: 8px 4px;
  cursor: pointer;
  position: relative;
}
.gallery-tabs button.active { color: var(--pm-fg); }
.gallery-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -17px;
  height: 2px;
  background: var(--pm-accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  grid-auto-rows: 220px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--pm-radius);
  position: relative;
  cursor: zoom-in;
}
.gallery-grid figure.tall  { grid-row: span 2; }
.gallery-grid figure.wide  { grid-column: span 2; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(26,20,16,0.7));
  color: #fff;
  font-size: 0.85rem;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--pm-radius);
  background: var(--pm-bg-dark);
  cursor: pointer;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.video-card:hover img { opacity: 0.95; }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.video-card__play svg {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  padding: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.video-card:hover .video-card__play svg { background: var(--pm-accent); transform: scale(1.05); }
.video-card__title {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  font-family: var(--pm-font-display);
  font-size: 1.2rem;
}

/* -----------------------------------------------------------------------
   Photo strip (used inline in About / Vineyards / Winery)
   ----------------------------------------------------------------------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 32px 0;
}
.photo-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--pm-radius);
}

/* (legacy .site-header__right replaced by .site-header__utility above) */
