/* =============================================
   PRESTIPINO CAFÈ — style.css
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --gold:        #8b622b;
  --gold-light:  #8c6225;
  --dark:        #313131;
  --text:        #424242;
  --meta:        #888;
  --bg:          #fff;
  --bg-cream:    #f7f4f0;
  --border:      #dedede;
  --footer-bg:   #8b622b;

  --font-head:   'Raleway', sans-serif;
  --font-body:   'Poppins', sans-serif;
  --font-serif:  'Cormorant Garamond', serif;

  --max-w:       1200px;
  --nav-h:       72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
#header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px 0;
  background: #fff;
  position: relative;
  z-index: 100;
}

.header-logo-wrap {
  padding: 12px 0 20px;
}

.logo-main {
  height: 104px;
  width: auto;
  margin: 0 auto;
}

/* Nav */
#main-nav {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#main-nav .menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

#main-nav .menu li a {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

#main-nav .menu li a:hover {
  color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 4px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   STICKY HEADER
   ============================================= */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo-sticky {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.menu-sticky {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.menu-sticky li a {
  display: block;
  padding: 18px 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.2s;
}

.menu-sticky li a:hover { color: var(--gold); }

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.label-upper {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.title-gold {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-dark {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-white {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-body {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
}

.text-white { color: #fff !important; }
.text-center { text-align: center; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold);
  color: #fff;
}

.btn-dark {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-dark:hover {
  background: #6b4a1e;
  border-color: #6b4a1e;
  color: #fff;
}

.btn-outline-white {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  transition: background 0.25s, color 0.25s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
  width: 100%;
  text-align: center;
}

.btn-link-gold {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.btn-link-gold:hover { opacity: 0.7; }

/* =============================================
   DIVIDER
   ============================================= */
.divider-gold {
  width: 100%;
  height: 3px;
  background: var(--gold-light);
  opacity: 0.35;
  margin: 0;
}

/* =============================================
   SECTION: LA NOSTRA STORIA
   ============================================= */
.section-storia {
  padding: 100px 24px;
  background: #fff;
}

/* =============================================
   SECTION: SHOP
   ============================================= */
.section-shop {
  padding: 100px 0 80px;
  background: #fff;
}

.shop-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 0 0 60px;
}

.shop-intro-left { padding-right: 5%; }

.shop-intro-right {
  padding-top: 24px;
}

.shop-intro-right p {
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.9;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #fafafa;
  border-radius: 50%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.badge-esaurito {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border: 1px solid #ccc;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.product-info h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.product-info h4 a:hover { color: var(--gold); }

.price {
  display: block;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}

/* =============================================
   SECTION: CATERING
   ============================================= */
.section-catering {
  position: relative;
  background-image: url('https://web.archive.org/web/20260211103056im_/https://www.prestipinocafe.it/wp-content/uploads/videobg.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.catering-overlay {
  width: 100%;
  background: rgba(0,0,0,0.52);
  padding: 100px 24px;
}

.catering-overlay .container {
  max-width: 800px;
}

.catering-overlay .text-body {
  color: #fff;
  margin-bottom: 36px;
}

/* =============================================
   SECTION: I CAFÈ
   ============================================= */
.section-cafe {
  padding: 120px 0 100px;
  background: #fff;
}

.cafe-inner {
  max-width: 640px;
}

.cafe-text .label-upper { color: var(--text); }

.cafe-text p {
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.9;
}

/* =============================================
   SECTION: NEWS
   ============================================= */
.section-news {
  position: relative;
  padding: 80px 0 100px;
  background-color: var(--bg-cream);
  background-image: url('https://web.archive.org/web/20260211103056im_/https://www.prestipinocafe.it/wp-content/uploads/giglio-prestipino-beige.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 70%;
}

.news-bg-deco {
  pointer-events: none;
}

.news-header {
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.news-card a {
  display: block;
}

.news-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.news-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  font-family: var(--font-body);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination .page-current,
.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid #ccc;
  font-size: 14px;
  font-family: var(--font-head);
  color: var(--dark);
  transition: all 0.2s;
}

.pagination .page-current {
  background: #0367bf;
  border-color: #0367bf;
  color: #fff;
}

.pagination .page-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--footer-bg);
  color: #fff;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-col-contact p {
  font-size: 14px;
  line-height: 2;
}

.footer-col-contact a {
  color: #fff;
  transition: opacity 0.2s;
}

.footer-col-contact a:hover { opacity: 0.75; }

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 4px;
}

.footer-social a {
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 1; }

.footer-col-paypal p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.footer-bottom a {
  color: rgba(255,255,255,0.9);
  transition: opacity 0.2s;
}

.footer-bottom a:hover { opacity: 0.7; }

.footer-social-bottom {
  display: flex;
  gap: 14px;
  color: #fff;
}

.footer-social-bottom a {
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-social-bottom a:hover { opacity: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .shop-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .title-gold { font-size: 40px; }
  .title-white { font-size: 40px; }
  .title-dark { font-size: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  .logo-main { height: 72px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  #main-nav {
    display: none;
    border-top: 1px solid var(--border);
  }

  #main-nav.open { display: block; }

  #main-nav .menu {
    flex-direction: column;
  }

  #main-nav .menu li a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  /* Sticky nav hidden on mobile (optional) */
  .sticky-header { display: none; }

  .section-storia { padding: 60px 0; }
  .section-shop { padding: 60px 0; }
  .section-cafe { padding: 60px 0; }
  .section-news { padding: 60px 0; }

  .title-gold { font-size: 32px; }
  .title-white { font-size: 32px; }
  .title-dark { font-size: 28px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .catering-overlay {
    padding: 80px 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

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

  .news-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   CAFÈ PAGE — додати в кінець style.css
   ============================================= */

/* Hero */
.cafe-hero {
  position: relative;
  min-height: 70vh;
  background-image: url('https://web.archive.org/web/20250621041036im_/https://www.prestipinocafe.it/wp-content/uploads/slide-locali.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafe-hero-overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.cafe-hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
}

.cafe-hero-title em {
  font-style: italic;
  font-weight: 400;
}

/* Active menu state */
#main-nav .menu li a.active,
.menu-sticky li a.active {
  color: var(--gold);
}

/* Intro section */
.cafe-intro {
  padding: 90px 24px 60px;
  background: #fff;
}

.cafe-intro .text-body {
  max-width: 780px;
}

/* Locations grid */
.cafe-locations {
  padding: 40px 0 100px;
  background: #fff;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.location-card {
  background: #fff;
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
}

.location-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.location-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-img-wrap img {
  transform: scale(1.06);
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 98, 43, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.location-card:hover .location-overlay {
  background: rgba(139, 98, 43, 0.55);
  opacity: 1;
}

.location-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid #fff;
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.location-card:hover .location-cta {
  transform: translateY(0);
}

.location-info {
  padding: 22px 4px 0;
  text-align: center;
}

.location-info h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.location-info h3 a {
  transition: color 0.2s;
}

.location-info h3 a:hover {
  color: var(--gold);
}

.location-meta {
  font-size: 13px;
  color: var(--meta);
  line-height: 1.7;
}

/* Locator */
.cafe-locator {
  padding: 90px 0 100px;
  background: var(--bg-cream);
}

.locator-header {
  margin-bottom: 40px;
}

.locator-form {
  max-width: 720px;
  margin: 0 auto 40px;
}

.locator-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 16px;
}

.locator-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  transition: border-color 0.2s;
}

.locator-input:focus {
  outline: none;
  border-color: var(--gold);
}

.locator-submit {
  padding: 14px 32px;
  border: none;
}

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

.locator-locate-me {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  transition: border-color 0.2s;
}

.locator-locate-me:hover {
  border-bottom-color: var(--gold);
}

.locator-map-placeholder {
  max-width: 960px;
  margin: 0 auto;
  height: 400px;
  background: #e8e1d6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-inner {
  text-align: center;
  color: var(--meta);
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cafe-hero-title { font-size: 60px; }
  .locations-grid { gap: 32px; }
}

@media (max-width: 767px) {
  .cafe-hero { min-height: 50vh; background-attachment: scroll; }
  .cafe-hero-overlay { min-height: 50vh; padding: 80px 24px; }
  .cafe-hero-title { font-size: 42px; }

  .cafe-intro { padding: 60px 24px 40px; }
  .cafe-locations { padding: 20px 0 60px; }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-info h3 { font-size: 22px; }

  .cafe-locator { padding: 60px 0; }

  .locator-fields {
    grid-template-columns: 1fr;
  }

  .locator-map-placeholder { height: 300px; }
}
/* =============================================
   CATERING PAGE — додати в кінець style.css
   ============================================= */

/* Hero */
.catering-hero {
  position: relative;
  min-height: 70vh;
  background-image: url('https://web.archive.org/web/20250621035053im_/https://www.prestipinocafe.it/wp-content/uploads/catering-prestipino1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catering-hero-overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.catering-hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catering-hero-title em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  margin-right: 12px;
}

/* Intro */
.catering-intro {
  padding: 100px 24px 80px;
  background: var(--bg-cream);
}

.catering-intro .title-gold {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.catering-intro .text-body {
  max-width: 720px;
}

/* Services — alternating rows */
.catering-services {
  padding: 100px 0;
  background: #fff;
  background-image: url('https://web.archive.org/web/20250621035053im_/https://www.prestipinocafe.it/wp-content/uploads/giglio-prestipino-beige.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 60%;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 80px;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reverse .service-media {
  order: 2;
}

.service-row.reverse .service-text {
  order: 1;
}

.service-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0ebe2;
}

.service-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-text {
  padding: 0 7%;
}

.service-text h3 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-text p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
}

/* Gallery */
.catering-gallery {
  padding: 60px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Final CTA */
.catering-cta {
  padding: 100px 24px;
  background: var(--bg-cream);
  text-align: center;
}

.catering-cta .title-dark {
  margin-bottom: 24px;
}

.catering-cta .text-body {
  max-width: 720px;
  margin-bottom: 36px;
}

/* Active menu state (if not yet declared) */
#main-nav .menu li a.active,
.menu-sticky li a.active {
  color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .catering-hero-title { font-size: 60px; }
  .catering-intro .title-gold { font-size: 38px; }

  .service-row {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .service-row.reverse .service-media { order: 1; }
  .service-row.reverse .service-text { order: 2; }

  .service-text {
    padding: 32px 24px 0;
  }

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

@media (max-width: 767px) {
  .catering-hero { min-height: 50vh; background-attachment: scroll; }
  .catering-hero-overlay { min-height: 50vh; padding: 80px 24px; }
  .catering-hero-title { font-size: 42px; }

  .catering-intro { padding: 60px 24px; }
  .catering-intro .title-gold { font-size: 30px; }

  .catering-services { padding: 60px 0; background-size: auto 40%; }

  .service-text h3 { font-size: 28px; }

  .catering-cta { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   MENU PAGE — додати в кінець style.css
   ============================================= */

/* Hero */
.menu-hero {
  padding: 90px 24px 60px;
  background: var(--bg-cream);
  background-image: url('https://web.archive.org/web/20260211103056im_/https://www.prestipinocafe.it/wp-content/uploads/giglio-prestipino-beige.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 70%;
}

.menu-hero .title-gold {
  margin-bottom: 18px;
}

.menu-hero .text-body {
  max-width: 680px;
}

/* Tabs nav */
.menu-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.menu-tab {
  background: transparent;
  border: 1.5px solid var(--border);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.menu-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Content */
.menu-content {
  padding: 70px 0 100px;
  background: #fff;
}

/* Panels - only active shown */
.menu-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.menu-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Menu section */
.menu-section {
  max-width: 800px;
  margin: 0 auto 64px;
}

.menu-section:last-child {
  margin-bottom: 0;
}

.menu-section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 16px;
}

.menu-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
}

/* Menu list — name … price layout */
.menu-list {
  list-style: none;
  padding: 0;
}

.menu-list li {
  display: flex;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  gap: 12px;
}

.menu-list li:last-child {
  border-bottom: none;
}

.m-name {
  flex: 0 1 auto;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  flex-direction: column;
}

.m-desc {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: var(--meta);
  margin-top: 4px;
  line-height: 1.5;
}

.m-dots {
  flex: 1;
  border-bottom: 1px dotted #c9b890;
  margin: 0 6px 6px;
  min-width: 30px;
  align-self: flex-end;
  position: relative;
  top: -4px;
}

.m-price {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Variant: list without prices (wine producers etc.) */
.menu-list-simple li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 0;
}

.menu-list-simple li strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-list-simple li .m-desc {
  margin-top: 0;
}

/* Notes */
.menu-note {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 20px 24px;
  background: var(--bg-cream);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.7;
}

.menu-note strong {
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.menu-note-small {
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--meta);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .menu-section-title { font-size: 28px; }
  .menu-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; }
  .menu-tab { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 767px) {
  .menu-hero { padding: 50px 24px 40px; background-size: auto 40%; }
  .menu-content { padding: 40px 0 60px; }

  .menu-section { margin-bottom: 48px; }
  .menu-section-title { font-size: 24px; margin-bottom: 24px; }

  .menu-list li {
    padding: 12px 0;
    gap: 8px;
  }

  .m-name { font-size: 14px; }
  .m-desc { font-size: 12px; }
  .m-price { font-size: 16px; }
  .m-dots { min-width: 12px; margin: 0 4px 6px; }
}
/* =============================================
   SPECIALITÀ PAGE — додати в кінець style.css
   ============================================= */

/* Hero */
.specialita-hero {
  position: relative;
  min-height: 80vh;
  background-image: url('https://web.archive.org/web/20250621050034im_/https://www.prestipinocafe.it/wp-content/uploads/corso-delle-province-bar-catania-prestipino3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialita-hero-overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.specialita-hero-title {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.specialita-hero-title em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 8px;
  color: #f0d8a8;
}

/* Categories — alternating rows */
.specialita-categories {
  padding: 100px 0;
  background: #fff;
  background-image: url('https://web.archive.org/web/20250621050034im_/https://www.prestipinocafe.it/wp-content/uploads/giglio-prestipino-beige.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 50%;
}

.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.cat-row:last-child {
  margin-bottom: 0;
}

.cat-row.reverse .cat-text { order: 2; }
.cat-row.reverse .cat-media { order: 1; }

.cat-text h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 22px;
  line-height: 1.2;
}

.cat-text p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
}

.cat-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-media img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.cat-row:hover .cat-media img {
  transform: scale(1.03);
}

/* Dolci delle Feste — video background */
.specialita-feste {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feste-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.feste-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 140px 24px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feste-overlay .title-white {
  font-size: 48px;
  margin-bottom: 24px;
}

.feste-overlay .text-body {
  max-width: 720px;
}

/* Feste Gallery */
.specialita-feste-gallery {
  padding: 70px 0 40px;
  background: var(--bg-cream);
}

.feste-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feste-gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
}

.feste-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feste-gallery-item:hover img {
  transform: scale(1.05);
}

/* Confezioni Regalo */
.specialita-regalo {
  padding: 60px 0 120px;
  background: var(--bg-cream);
}

.regalo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.regalo-text h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 22px;
  line-height: 1.2;
}

.regalo-text p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
}

.regalo-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.regalo-media a {
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 10;
  background: #fff;
}

.regalo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.regalo-media a:hover img {
  transform: scale(1.04);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .specialita-hero-title { font-size: 52px; }

  .cat-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .cat-row.reverse .cat-text { order: 2; }
  .cat-row.reverse .cat-media { order: 1; }

  .cat-media img { max-width: 360px; }

  .feste-overlay .title-white { font-size: 36px; }

  .regalo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .specialita-hero { min-height: 60vh; background-attachment: scroll; }
  .specialita-hero-overlay { min-height: 60vh; padding: 80px 24px; }
  .specialita-hero-title { font-size: 36px; }
  .specialita-hero-title em { display: block; margin: 8px 0; }

  .specialita-categories { padding: 60px 0; background-size: auto 30%; }
  .cat-text h2 { font-size: 28px; }
  .cat-media img { max-width: 280px; }

  .specialita-feste { min-height: 50vh; }
  .feste-overlay { min-height: 50vh; padding: 80px 24px; }
  .feste-overlay .title-white { font-size: 28px; }

  .specialita-feste-gallery { padding: 50px 0 30px; }
  .feste-gallery-grid { gap: 12px; }

  .specialita-regalo { padding: 30px 0 70px; }
  .regalo-text h2 { font-size: 28px; }
  .regalo-media { gap: 10px; }
}

@media (max-width: 480px) {
  .feste-gallery-grid { grid-template-columns: 1fr; }
}
/* =============================================
   STORIA PAGE — додати в кінець style.css
   ============================================= */

/* Hero */
.storia-hero {
  position: relative;
  min-height: 80vh;
  background-image: url('https://web.archive.org/web/20250521123614im_/https://www.prestipinocafe.it/wp-content/uploads/slide-storia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.storia-hero-overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.storia-hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.storia-hero-title em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 10px;
  color: #f0d8a8;
}

/* Block — alternating image/text */
.storia-block {
  padding: 120px 0;
  background: #fff;
}

.storia-block-cream {
  background-color: var(--bg-cream);
  background-image: url('https://web.archive.org/web/20250521123614im_/https://www.prestipinocafe.it/wp-content/uploads/bg-beige-giglio.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.storia-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.storia-row:last-child {
  margin-bottom: 0;
}

.storia-row.reverse .storia-text { order: 2; }
.storia-row.reverse .storia-media { order: 1; }

.storia-text h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 24px;
  line-height: 1.15;
}

.storia-text p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
}

.storia-text p a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.2s;
}

.storia-text p a:hover {
  opacity: 0.7;
}

.storia-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.storia-media img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Final gallery — 4 edge-to-edge */
.storia-gallery {
  padding: 0;
  background: #fff;
}

.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-grid-4 .gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-grid-4 .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid-4 .gallery-item:hover img {
  transform: scale(1.06);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .storia-hero-title { font-size: 56px; }

  .storia-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }

  .storia-row.reverse .storia-text { order: 2; }
  .storia-row.reverse .storia-media { order: 1; }

  .storia-block { padding: 80px 0; }

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

@media (max-width: 767px) {
  .storia-hero { min-height: 60vh; background-attachment: scroll; }
  .storia-hero-overlay { min-height: 60vh; padding: 80px 24px; }
  .storia-hero-title { font-size: 36px; }
  .storia-hero-title em { display: block; margin: 8px 0; }

  .storia-block { padding: 60px 0; }
  .storia-block-cream { background-size: auto 70%; }

  .storia-text h2 { font-size: 28px; }
  .storia-media img { max-width: 320px; margin: 0 auto; }

  .gallery-grid-4 { gap: 2px; }
}

@media (max-width: 480px) {
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   SINGLE POST PAGE — додати в кінець style.css
   ============================================= */

/* Container widths for post */
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 24px 0 0;
  background: #fff;
}

.breadcrumbs .container {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--meta);
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--meta);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--dark);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

/* Post single wrapper */
.post-single {
  background: #fff;
}

/* Post header */
.post-header {
  padding: 40px 0 30px;
  text-align: center;
}

.post-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.post-meta {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--meta);
  letter-spacing: 0.04em;
}

.post-meta a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.post-meta a:hover {
  opacity: 0.7;
}

.post-sep {
  margin: 0 10px;
  color: var(--border);
}

.post-author {
  font-style: italic;
}

/* Featured image */
.post-featured-img {
  margin: 30px 0 50px;
}

.post-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post content */
.post-content {
  padding-bottom: 80px;
}

.post-content p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}

.post-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold-light);
  margin: 50px 0 22px;
  line-height: 1.25;
}

.post-content em {
  font-style: italic;
  color: var(--dark);
  font-weight: 500;
}

/* Inline figures */
.post-figure {
  margin: 36px 0;
}

.post-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lists */
.post-list {
  margin: 20px 0 28px 20px;
  padding-left: 8px;
}

.post-list li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 6px;
}

ol.post-list li::marker {
  color: var(--gold);
  font-weight: 600;
}

ul.post-list li::marker {
  color: var(--gold);
}

/* Tables */
.post-table-wrap {
  margin: 28px 0 36px;
  overflow-x: auto;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
}

.post-table thead {
  background: var(--bg-cream);
}

.post-table th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--gold);
}

.post-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.post-table tbody tr:last-child td {
  border-bottom: none;
}

.post-table tbody tr:hover {
  background: rgba(247, 244, 240, 0.5);
}

/* ===== Related posts ===== */
.related-posts {
  padding: 70px 0 90px;
  background: var(--bg-cream);
  border-top: 1px solid var(--border);
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--dark);
}

.related-nav {
  display: flex;
  gap: 8px;
}

.related-prev,
.related-next {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 20px;
  font-family: var(--font-head);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.related-prev:hover,
.related-next:hover {
  background: var(--gold);
  color: #fff;
}

.related-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--border);
}

.related-carousel::-webkit-scrollbar {
  height: 6px;
}

.related-carousel::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}

.related-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.related-item {
  scroll-snap-align: start;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.related-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-item:hover .related-thumb img {
  transform: scale(1.05);
}

.related-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  margin: 16px 18px 8px;
  color: var(--dark);
}

.related-item h3 a {
  transition: color 0.2s;
}

.related-item h3 a:hover {
  color: var(--gold);
}

.related-item time {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--meta);
  letter-spacing: 0.04em;
  margin: 0 18px 18px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .post-title { font-size: 36px; }
  .post-content h2 { font-size: 26px; }
  .related-title { font-size: 26px; }

  .related-carousel {
    grid-auto-columns: calc((100% - 24px) / 2);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .post-header { padding: 28px 0 20px; }
  .post-title { font-size: 28px; }
  .post-meta { font-size: 12px; }

  .post-featured-img { margin: 24px 0 32px; }
  .post-featured-img .container-wide { padding: 0; }

  .post-content p { font-size: 15px; }
  .post-content h2 { font-size: 22px; margin: 36px 0 16px; }

  .post-table { font-size: 14px; }
  .post-table th,
  .post-table td { padding: 10px 12px; }

  .related-posts { padding: 50px 0 70px; }

  .related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .related-carousel {
    grid-auto-columns: 80%;
    gap: 14px;
  }

  .related-item h3 { font-size: 17px; }
}