/*
Theme Name: Pastificio Nonna Lisa
Theme URI: https://pastificiononnalisa.it/
Author: Magenta
Description: La tradizione della pasta fatta in casa
Version: 1.0.0
Text Domain: pastificio-nonna-lisa
*/

:root {
  --cream: #f4efe6;
  --bordeaux: #8c2f2f;
  --beige: #e7d6b6;
  --olive: #3f4a3c;
  --dark-text: #2b2b2b;
  --muted: #5c5c5c;
  --border: #d4c9b8;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--dark-text);
}

.pnl-site-preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}

.pnl-site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.pnl-site-preloader-inner {
  text-align: center;
}

.pnl-site-preloader-logo {
  max-width: min(48vw, 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  animation: pnlPreloaderPulse 1.4s ease-in-out infinite;
}

.pnl-site-preloader-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  color: var(--bordeaux);
  letter-spacing: .02em;
  animation: pnlPreloaderPulse 1.4s ease-in-out infinite;
}

@keyframes pnlPreloaderPulse {
  0%, 100% { opacity: .55; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1); }
}


h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: "Playfair Display", serif;
}

.bg-cream { background: var(--cream); }
.bg-beige { background: var(--beige); }
.bg-bordeaux { background: var(--bordeaux); }
.bg-olive { background: var(--olive); }
.text-bordeaux { color: var(--bordeaux); }
.text-olive { color: var(--olive); }
.text-muted { color: var(--muted) !important; }

/* NOTE: padding of .section-space moved to Bootstrap utilities. */

/* Layout base: container massimo 1500px */
.container {
  max-width: 1500px !important;
}

.navbar-brand-title {
  font-family: "Playfair Display", serif;
  letter-spacing: .02em;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.navbar-brand-subtitle {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  opacity: .8;
}

.pnl-custom-logo-wrap .custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.pnl-custom-logo-wrap .custom-logo {
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pnl-custom-logo-wrap {
  max-width: 100%;
  overflow: hidden;
}

.pnl-custom-logo {
  max-width: 100%;
}

.pnl-text-cream {
  color: rgb(244, 239, 230) !important;
}

/* Hamburger icon color (Bootstrap uses this CSS var) */
.pnl-nav {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(244,239,230)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 768px) {
  .pnl-custom-logo-wrap .custom-logo {
    max-height: 130px;
  }
}

@media (min-width: 992px) {
  .pnl-custom-logo-wrap .custom-logo {
    max-height: 130px;
  }
}

.pnl-site-header {
  position: relative;
  z-index: 1050;
  --pnl-header-bg-image: none;
}

.pnl-site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.68) 35%,
      rgba(0, 0, 0, 0.36) 65%,
      rgba(0, 0, 0, 0) 100%
    ),
    var(--pnl-header-bg-image);
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
}

.pnl-site-header .navbar {
  position: relative;
  z-index: 1;
}

.pnl-nav .nav-link {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(244, 239, 230, .9);
}

.pnl-nav.dark .nav-link {
  color: rgba(244, 239, 230, .9);
}

.pnl-nav.light .nav-link {
  color: rgba(244, 239, 230, .9);
}

.pnl-nav .nav-link:hover {
  color: #fff;
}

.pnl-header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 239, 230, .95);
  background: transparent;
  border: 0;
  text-decoration: none;
  padding: 0;
}

.pnl-header-cart-link svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pnl-header-cart-link:hover,
.pnl-header-cart-link:focus-visible {
  color: #fff;
}

.pnl-header-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 239, 230, .95);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.pnl-header-search-link svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pnl-header-search-link:hover,
.pnl-header-search-link:focus-visible {
  color: #fff;
}

.pnl-search-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.pnl-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pnl-search-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, .72);
  cursor: pointer;
}

.pnl-search-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 760px);
  margin-top: clamp(1rem, 8vh, 4rem);
  background: var(--cream);
  color: var(--dark-text);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pnl-search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.pnl-search-modal-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--olive);
  margin: 0;
  line-height: 1.2;
}

.pnl-search-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(43, 43, 43, .16);
  background: #fff;
  color: var(--olive);
  cursor: pointer;
  flex: 0 0 auto;
}

.pnl-search-modal-close svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
}

.pnl-search-modal-close:hover,
.pnl-search-modal-close:focus-visible {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

.pnl-search-form {
  padding: 1rem 1.2rem .75rem;
  background: var(--cream);
}

.pnl-search-input-wrap {
  position: relative;
}

.pnl-search-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--bordeaux);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}

.pnl-search-input {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: .85rem 1rem .85rem 2.75rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--dark-text);
  box-shadow: inset 0 0 0 1px rgba(43, 43, 43, .12);
}

.pnl-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(140, 47, 47, .18);
}

.pnl-search-input::placeholder {
  color: rgba(92, 92, 92, .85);
}

.pnl-search-results-wrap {
  padding: 0 1.2rem 1.2rem;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.pnl-search-results-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--bordeaux);
  font-weight: 600;
  margin-bottom: .75rem;
}

.pnl-search-results {
  display: grid;
  gap: .55rem;
}

.pnl-search-result {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .8rem;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, .1);
  text-decoration: none;
  color: inherit;
  transition: background-color .18s ease, border-color .18s ease;
}

.pnl-search-result:hover,
.pnl-search-result:focus-visible,
.pnl-search-result.is-active {
  background: rgba(231, 214, 182, .55);
  border-color: rgba(140, 47, 47, .28);
  color: inherit;
}

.pnl-search-result-image {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  background: var(--beige);
  overflow: hidden;
}

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

.pnl-search-result-body {
  min-width: 0;
  flex: 1 1 auto;
}

.pnl-search-result-name {
  font-family: "Playfair Display", serif;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--olive);
  margin: 0 0 .2rem;
}

.pnl-search-result-meta {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}

.pnl-search-result-price {
  font-size: .88rem;
  font-weight: 600;
  color: var(--bordeaux);
  white-space: nowrap;
  flex: 0 0 auto;
}

.pnl-search-empty,
.pnl-search-loading {
  font-size: .92rem;
  color: var(--muted);
  padding: .5rem 0 .25rem;
}

.pnl-search-empty.is-hidden,
.pnl-search-loading.is-hidden {
  display: none;
}

@media (max-width: 767px) {
  .pnl-search-modal {
    padding: 0;
    align-items: stretch;
  }

  .pnl-search-modal-panel {
    width: 100%;
    max-height: 100vh;
    margin-top: 0;
    min-height: 100vh;
    border: 0;
  }

  .pnl-search-modal-header,
  .pnl-search-form,
  .pnl-search-results-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pnl-search-result {
    align-items: flex-start;
  }

  .pnl-search-result-price {
    align-self: center;
  }
}

.pnl-header-cart-trigger {
  cursor: pointer;
}

.pnl-header-cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 .22rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  line-height: 1;
  font-weight: 700;
  background: var(--bordeaux);
  color: var(--cream);
}

.pnl-header-cart-count.is-hidden {
  display: none;
}

.pnl-cart-drawer {
  background: var(--olive);
  color: var(--cream);
  border-left: 1px solid rgba(244, 239, 230, .14);
  font-family: "Inter", sans-serif;
  width: min(92vw, 380px);
}

.pnl-mobile-offcanvas {
  background: var(--olive);
  color: var(--cream);
  border-left: 1px solid rgba(244, 239, 230, .14);
  font-family: "Inter", sans-serif;
  width: min(92vw, 380px);
}

.pnl-cart-drawer .offcanvas-header,
.pnl-mobile-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(244, 239, 230, .14);
  padding: 1.1rem 1.15rem;
}

.pnl-mobile-offcanvas-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pnl-mobile-offcanvas-header .btn-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  margin: 0;
}

.pnl-mobile-offcanvas-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 2.5rem;
}

.pnl-mobile-offcanvas-brand .custom-logo {
  max-height: 72px;
  width: auto;
}

.pnl-mobile-offcanvas-brand .navbar-brand {
  text-align: center;
}

.pnl-cart-drawer .offcanvas-title,
.pnl-cart-item-name {
  font-family: "Playfair Display", serif;
  color: var(--cream);
}

.pnl-mobile-offcanvas .offcanvas-body {
  padding: 1rem 1.15rem 1.25rem;
}

.pnl-mobile-nav-items {
  display: grid;
  gap: 0;
}

.pnl-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  width: 100%;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, .1);
  background: transparent;
  border-radius: 0;
  color: rgba(244, 239, 230, .95);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color .2s ease;
}

.pnl-mobile-nav-item:last-child .pnl-mobile-nav-link {
  border-bottom: 0;
}

.pnl-mobile-nav-link svg {
  width: .9rem;
  height: .9rem;
  flex: 0 0 .9rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
  transition: transform .2s ease, opacity .2s ease;
}

.pnl-mobile-nav-link:hover,
.pnl-mobile-nav-link:focus-visible {
  color: #fff;
  background: transparent;
}

.pnl-mobile-nav-link:hover svg,
.pnl-mobile-nav-link:focus-visible svg {
  opacity: .9;
  transform: translateX(2px);
}

.pnl-mobile-nav-footer {
  display: grid;
  gap: .75rem;
  border-top: 1px solid rgba(244, 239, 230, .14);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.pnl-mobile-nav-action {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid rgba(244, 239, 230, .18);
  border-radius: 5px;
  background: rgba(0, 0, 0, .14);
  color: rgba(244, 239, 230, .92);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .76rem;
  font-weight: 500;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pnl-mobile-nav-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 5px;
  background: rgba(244, 239, 230, .08);
  border: 1px solid rgba(244, 239, 230, .12);
}

.pnl-mobile-nav-action-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pnl-mobile-nav-action:hover,
.pnl-mobile-nav-action:focus-visible {
  color: #fff;
  border-color: rgba(244, 239, 230, .3);
  background: rgba(0, 0, 0, .24);
}

.pnl-mobile-nav-footer .btn-pnl-primary {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 600;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

.pnl-mobile-nav-cart-count {
  margin-left: .35rem;
  font-weight: 600;
}

.pnl-cart-items {
  display: grid;
  gap: 1rem;
}

.pnl-cart-item {
  border-bottom: 1px solid rgba(244, 239, 230, .12);
  padding-bottom: 1rem;
}

.pnl-cart-item-card {
  background: rgba(244, 239, 230, .08);
  border: 1px solid rgba(244, 239, 230, .12);
  border-radius: 5px;
  padding: .85rem;
}

.pnl-cart-item-image img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.pnl-cart-item-name {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.pnl-cart-item-name:hover {
  color: #fff;
}

.pnl-cart-item-meta {
  color: rgba(244, 239, 230, .78);
  font-size: .85rem;
  margin-top: .25rem;
}

.pnl-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 5px;
  color: rgba(244, 239, 230, .82);
  text-decoration: none;
  border: 1px solid rgba(244, 239, 230, .22);
  background: rgba(0, 0, 0, .14);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.pnl-cart-remove svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pnl-cart-remove:hover,
.pnl-cart-remove:focus-visible {
  color: #fff;
  border-color: rgba(244, 239, 230, .36);
  background: rgba(0, 0, 0, .28);
}

.pnl-cart-remove.is-loading {
  opacity: .55;
  pointer-events: none;
}

.pnl-cart-footer {
  border-top: 1px solid rgba(244, 239, 230, .14);
  padding-top: 1rem;
}

.pnl-cart-empty {
  color: rgba(244, 239, 230, .8);
}

/* WooCommerce Cart & Checkout styling */
.wc-block-cart,
.wc-block-checkout {
  color: var(--dark-text);
  font-family: "Inter", sans-serif;
}

.wc-block-cart h1,
.wc-block-cart h2,
.wc-block-cart h3,
.wc-block-checkout h1,
.wc-block-checkout h2,
.wc-block-checkout h3,
.wc-block-components-title,
.wc-block-components-totals-item__label,
.wc-block-components-order-summary__button-text {
  font-family: "Playfair Display", serif;
  color: var(--olive);
}

.wc-block-cart a,
.wc-block-checkout a {
  color: var(--bordeaux);
}

.wc-block-cart a:hover,
.wc-block-checkout a:hover {
  color: #7f2929;
}

.wc-block-cart .wc-block-components-totals-wrapper,
.wc-block-checkout .wc-block-components-sidebar {
  background: var(--cream);
  border: 0;
  padding: 1.25rem;
}

/* Checkout summary aligned to cart style */
.wc-block-checkout .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  background: #fff !important;
  border: 0 !important;
  border-radius: 5px !important;
  overflow: hidden;
}

.wp-block-woocommerce-checkout-order-summary-block {
  border: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-totals-block {
  margin-top: 15px !important;
  border-top: 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary {
  border-top: 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary-item {
  background: #fff;
  border-bottom: 1px solid rgba(43, 43, 43, .12) !important;
}

.wc-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-image {
  width: 84px;
  min-width: 84px;
}

.wc-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-image img {
  width: 84px;
  height: auto;
}

.wc-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
  font-family: "Playfair Display", serif;
  font-size: 1.04rem;
  line-height: 1.25;
}

.wc-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-price,
.wc-block-checkout .wc-block-components-order-summary-item .wc-block-formatted-money-amount {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.wc-block-cart .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name {
  color: var(--olive);
  text-decoration: none;
  font-weight: 600;
}

.wc-block-cart .wc-block-components-product-price,
.wc-block-checkout .wc-block-components-product-price,
.wc-block-cart .wc-block-formatted-money-amount,
.wc-block-checkout .wc-block-formatted-money-amount {
  color: var(--dark-text);
  font-weight: 600;
}

.wc-block-cart .wc-block-cart-items,
.wc-block-checkout .wc-block-components-order-summary {
  border-top: 1px solid rgba(43, 43, 43, .14);
}

.wc-block-cart .wc-block-cart-items__row,
.wc-block-checkout .wc-block-components-order-summary-item {
  border-bottom: 1px solid rgba(43, 43, 43, .14);
}

.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row {
  background: #fff !important;
  border: none !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(43, 43, 43, .12) !important;
  border-radius: 5px !important;
  margin-bottom: 5px !important;
  overflow: hidden !important;
}

.wp-block-woocommerce-cart.alignwide .wc-block-cart__main .wc-block-cart-items td {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.wp-block-woocommerce-cart.alignwide .wc-block-cart__main .wc-block-cart-items tr {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.wp-block-woocommerce-cart.alignwide .wc-block-cart__main .wc-block-cart-items td.wc-block-cart-item__product {
  border-bottom: 1px solid rgba(43, 43, 43, .12) !important;
}

.wc-block-cart .wc-block-cart-items {
  border-top: 0 !important;
}

.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row {
  border-bottom: 0 !important;
}

.wc-block-cart .wc-block-components-quantity-selector,
.wc-block-checkout .wc-block-components-quantity-selector {
  border-radius: 0;
  border: 1px solid rgba(43, 43, 43, .16);
  background: rgba(244, 239, 230, .65);
}

.wc-block-cart .wc-block-components-text-input input,
.wc-block-cart .wc-block-components-combobox-control .components-combobox-control__input,
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox-control .components-combobox-control__input,
.wc-block-checkout .wc-block-components-select select {
  border-radius: 0;
  border: 1px solid rgba(43, 43, 43, .16);
  background: rgba(244, 239, 230, .65);
  min-height: 46px;
}

/* Checkout form style aligned to template-contatti.php */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox-control .components-combobox-control__input,
.wc-block-checkout .wc-block-components-select select,
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  min-height: 52px;
  padding: .85rem 1rem !important;
  box-shadow: none !important;
  font-family: "Inter", sans-serif;
}

.wc-block-checkout .wc-block-components-select select,
.wc-blocks-components-select .wc-blocks-components-select__select {
  min-height: 56px !important;
  padding: 1.15rem 2.2rem .45rem 1rem !important;
  line-height: 1.25 !important;
}

.wc-block-checkout .wc-block-components-select .wc-blocks-components-select__label,
.wc-blocks-components-select .wc-blocks-components-select__label {
  top: .38rem !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox-control .components-combobox-control__input {
  padding: 1.28rem 1rem .4rem !important;
  line-height: 1.25;
}

.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-combobox-control .components-combobox-control__input:focus,
.wc-block-checkout .wc-block-components-select select:focus,
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(140, 47, 47, .14) !important;
}

.wc-block-checkout .wc-block-components-checkout-step__heading,
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-select label,
.woocommerce-checkout .form-row label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--olive);
}

.wc-block-checkout .wc-block-components-text-input label {
  top: 50% !important;
  transform: translateY(-50%);
  transform-origin: left top;
  transition: transform .18s ease, top .18s ease, font-size .18s ease;
  pointer-events: none;
}

.wc-block-checkout .wc-block-components-text-input:focus-within label,
.wc-block-checkout .wc-block-components-text-input input:not(:placeholder-shown) + label,
.wc-block-checkout .wc-block-components-text-input input:not(:placeholder-shown) ~ label {
  top: .34rem !important;
  transform: translateY(0);
  font-size: .72rem;
}

.wc-block-cart .wc-block-components-text-input input:focus,
.wc-block-cart .wc-block-components-combobox-control .components-combobox-control__input:focus,
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-combobox-control .components-combobox-control__input:focus,
.wc-block-checkout .wc-block-components-select select:focus {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 2px rgba(140, 47, 47, .14);
  outline: none;
}

.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout .wc-block-components-order-summary-item__description {
  border-color: rgba(43, 43, 43, .14);
}

.wc-block-checkout .wc-block-components-checkout-step__heading,
.wc-block-checkout .wc-block-components-radio-control__label,
.wc-block-checkout .wc-block-components-checkbox__label {
  color: var(--olive);
  font-weight: 600;
}

/* Terms/privacy acceptance checkbox: visible and clear */
.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
  margin-top: .9rem;
}

.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox label {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: .55rem !important;
  line-height: 1.35 !important;
}

.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 0 !important;
  background: transparent !important;
  opacity: .01 !important;
  visibility: visible !important;
  position: absolute !important;
  top: 0;
  left: 0;
  margin-right: .55rem;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 3;
}

.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
  font-family: "Inter", sans-serif;
  font-size: .92rem;
  line-height: 1.35;
}

.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox .wc-block-components-checkbox__mark {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 1px solid rgba(43, 43, 43, .4) !important;
  background: #fff !important;
  border-radius: 2px;
  position: relative;
  top: 1px;
  flex: 0 0 18px;
}

.wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked + .wc-block-components-checkbox__mark {
  background: rgba(140, 47, 47, .08) !important;
  border-color: var(--bordeaux) !important;
}

.wc-block-cart .wc-block-components-button,
.wc-block-checkout .wc-block-components-button {
  background: var(--bordeaux) !important;
  color: var(--cream) !important;
  border: 1px solid var(--bordeaux) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
}

.wc-block-cart .wc-block-components-button:hover,
.wc-block-checkout .wc-block-components-button:hover {
  background: #7f2929 !important;
  color: var(--cream) !important;
}

.wc-block-cart .wc-block-components-button:focus,
.wc-block-checkout .wc-block-components-button:focus {
  box-shadow: 0 0 0 3px rgba(140, 47, 47, .2) !important;
  outline: none !important;
}

.wc-block-cart .wc-block-components-product-name {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-components-product-price {
  font-family: "Inter", sans-serif;
}

.wc-block-cart .wc-block-components-product-price {
  font-size: 1.03rem;
}

.wc-block-cart .wc-block-components-product-image {
  width: 126px !important;
  min-width: 126px !important;
  flex: 0 0 126px !important;
}

.wc-block-cart .wc-block-components-product-image img {
  width: 126px !important;
  max-width: none !important;
  height: auto !important;
}

.wc-block-cart .wc-block-components-panel,
.wc-block-cart .wc-block-components-totals-coupon,
.wc-block-checkout .wc-block-components-panel,
.wc-block-checkout .wc-block-components-totals-coupon {
  border-color: rgba(43, 43, 43, .14);
  border-radius: 0;
}

.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table,
.pnl-woocommerce-page .shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart .shop_table th,
.woocommerce-cart .shop_table td,
.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td,
.pnl-woocommerce-page .shop_table th,
.pnl-woocommerce-page .shop_table td {
  border-top: 1px solid rgba(43, 43, 43, .14);
}

.woocommerce-cart .shop_table thead th,
.woocommerce-checkout .shop_table thead th,
.pnl-woocommerce-page .shop_table thead th {
  border-top: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}

.woocommerce-cart input.input-text,
.woocommerce-cart textarea.input-text,
.woocommerce-cart select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea.input-text,
.woocommerce-checkout select,
.pnl-woocommerce-page input.input-text,
.pnl-woocommerce-page textarea.input-text,
.pnl-woocommerce-page select {
  border-radius: 0;
  border: 1px solid rgba(43, 43, 43, .16);
  background: rgba(244, 239, 230, .65);
  padding: .85rem .95rem;
}

.woocommerce-cart .quantity input.qty,
.woocommerce-cart .quantity .qty,
.woocommerce-checkout .quantity input.qty,
.woocommerce-checkout .quantity .qty,
.pnl-woocommerce-page .quantity input.qty,
.pnl-woocommerce-page .quantity .qty {
  width: 6rem;
  max-width: 100%;
}

.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart a.button,
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-checkout a.button,
.pnl-woocommerce-page .button,
.pnl-woocommerce-page button.button,
.pnl-woocommerce-page a.button {
  background: var(--bordeaux);
  color: var(--cream);
  border-radius: 0;
  border: 1px solid var(--bordeaux);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  padding: .95rem 2rem;
  box-shadow: none;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart a.button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout a.button:hover,
.pnl-woocommerce-page .button:hover,
.pnl-woocommerce-page button.button:hover,
.pnl-woocommerce-page a.button:hover {
  background: #7f2929;
  color: var(--cream);
}

.pnl-checkout-page #customer_details,
.woocommerce-checkout #customer_details {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.pnl-checkout-page #customer_details .col-1,
.pnl-checkout-page #customer_details .col-2,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  flex: 1 1 0;
}

@media (max-width: 991px) {
  .pnl-checkout-page #customer_details,
  .woocommerce-checkout #customer_details {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.pnl-contact-form .form-check-label a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.pnl-contact-form .form-check-label a:hover,
.pnl-contact-form .form-check-label a:focus-visible {
  color: #7f2929;
}

.pnl-contact-privacy-check .form-check-input {
  margin-top: .2rem;
}

.pnl-contact-privacy-check .form-check-label {
  font-size: .92rem;
  line-height: 1.45;
  color: rgba(43, 43, 43, .82);
}

.pnl-contact-feedback {
  border-radius: 0;
  border: 0;
  font-size: .95rem;
}

.pnl-contact-feedback.alert-success {
  background: rgba(231, 214, 182, .85);
  color: rgba(43, 43, 43, .88);
}

.pnl-contact-feedback.alert-danger {
  background: rgba(140, 47, 47, .12);
  color: var(--bordeaux);
}

.pnl-contact-turnstile-wrap {
  min-height: 65px;
}

.pnl-contact-form button[type="submit"]:disabled {
  opacity: .72;
  cursor: wait;
}

.pnl-single-image-wrap {
  background: var(--cream);
  margin-bottom: 1.25rem;
}

.pnl-single-preservative-badge {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 10.5rem;
  height: auto;
  max-height: 4.6rem;
  object-fit: contain;
}

.pnl-single-icon-badges {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: .65rem;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  transform: translateX(-50%) translateY(-18%);
  pointer-events: none;
}

.pnl-single-icon-badges .pnl-single-preservative-badge {
  margin-bottom: 0;
  filter: drop-shadow(0 4px 10px rgba(43, 43, 43, .12));
}

.pnl-single-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pnl-single-summary {
  padding-top: .75rem;
}

.pnl-single-summary-centered {
  padding-top: 0 !important;
}

.pnl-single-title-wrap {
  padding-top: 0;
}

.pnl-single-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.pnl-single-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.pnl-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: auto;
  max-width: max-content;
  height: auto;
  white-space: nowrap;
  background: #E7D6B6;
  color: rgba(43, 43, 43, .78);
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.05;
  padding: .42rem .95rem;
  margin: 0;
}

.pnl-single-tag-badge {
  background: var(--bordeaux) !important;
  color: var(--cream) !important;
}

.pnl-related-category-badge {
  background: #E7D6B6;
}

.pnl-single-meta-box {
  background: rgba(231, 214, 182, .6);
  border: 1px solid rgba(140, 47, 47, .12);
  padding: .65rem .75rem;
}

.pnl-single-info-row {
  justify-content: flex-start;
}

.pnl-single-info-col {
  flex: 0 0 auto;
}

.pnl-single-info-card {
  background: #E7D6B6;
  padding: .75rem .95rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 66px;
  width: fit-content;
  max-width: 100%;
}

.pnl-single-info-icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--bordeaux);
  flex: 0 0 1.45rem;
}

.pnl-single-info-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pnl-single-info-label {
  color: rgba(43, 43, 43, .78);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .55rem;
  line-height: 1.1;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  margin-bottom: .1rem !important;
}

.pnl-single-info-value {
  font-size: clamp(.92rem, .98vw, 1.08rem);
  line-height: 1.1;
  color: rgba(43, 43, 43, .78);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 20ch;
}

@media (max-width: 767px) {
  .pnl-single-info-row {
    --bs-gutter-x: .65rem;
  }

  .pnl-single-info-col {
    flex: 0 0 auto;
    width: auto;
  }

  .pnl-single-info-card {
    min-height: 62px;
    padding: .65rem .7rem;
    gap: .55rem;
    width: 100%;
  }

  .pnl-single-info-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-basis: 1.2rem;
  }

  .pnl-single-info-label {
    font-size: .5rem;
  }

  .pnl-single-info-value {
    font-size: clamp(.78rem, 3.4vw, .95rem);
    max-width: none;
    white-space: normal;
  }

  .pnl-single-image-wrap {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pnl-single-preservative-badge {
    max-width: 8.8rem;
    max-height: 4rem;
  }

  .pnl-single-icon-badges {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    gap: .5rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
  }
}

.pnl-single-meta-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .62rem;
  color: rgba(43, 43, 43, .62);
}

.pnl-single-price {
  font-family: "Playfair Display", serif;
  color: var(--bordeaux);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.pnl-single-price-label {
  margin-top: 1rem;
}

.pnl-single-summary .added_to_cart.wc-forward {
  display: none !important;
}

.btn-pnl-outline-dark {
  border: 1px solid rgba(43, 43, 43, .5);
  color: var(--dark-text);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  padding: .95rem 1.75rem;
}

.btn-pnl-outline-dark:hover {
  border-color: var(--dark-text);
  color: var(--dark-text);
  background: rgba(43, 43, 43, .05);
}

.pnl-shop-filters .pnl-shop-filter {
  width: 100%;
  min-width: 100%;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  padding: .95rem 1rem;
}

.pnl-shop-filters .pnl-shop-filter.btn-outline-dark {
  border-color: rgba(140, 47, 47, .45);
  color: var(--bordeaux);
  background: transparent;
}

.pnl-shop-filters .pnl-shop-filter.btn-outline-dark:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
  background: rgba(140, 47, 47, .08);
}

.pnl-shop-filters .pnl-shop-filter.btn-pnl-primary,
.pnl-shop-filters .pnl-shop-filter.active {
  border: 1px solid var(--bordeaux);
  background: var(--bordeaux);
  color: var(--cream);
}

@media (max-width: 767px) {
  .pnl-shop-filters {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
  }

  .pnl-shop-filters .pnl-shop-filter {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
  }
}

.pnl-shop-sentinel {
  width: 100%;
  height: 2px;
  margin-top: 2rem;
  pointer-events: none;
}

.pnl-shop-loading {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .92rem;
}

.pnl-shop-loading.is-hidden {
  display: none;
}

.pnl-shop-loading-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(140, 47, 47, .18);
  border-top-color: var(--bordeaux);
  border-radius: 50%;
  animation: pnlShopSpin .8s linear infinite;
}

@keyframes pnlShopSpin {
  to { transform: rotate(360deg); }
}

#pnlShopEmpty.is-hidden {
  display: none;
}

.pnl-single-details .text-muted p:last-child {
  margin-bottom: 0;
}

.pnl-single-formats-box {
  border: 1px solid rgba(43, 43, 43, .16);
  background: rgba(244, 239, 230, .65);
  padding: .85rem .95rem;
}

.pnl-nutrition-card {
  border: 2px solid #c79648;
  border-radius: 16px;
  padding: .85rem .95rem .65rem;
  color: #6f4b1f;
  background: transparent;
  max-width: 360px;
}

.pnl-nutrition-card-tall {
  max-width: none;
}

@media (min-width: 992px) {
  .pnl-single-details .col-lg-5.d-flex {
    align-items: center;
  }
}

.pnl-nutrition-head {
  margin-bottom: .4rem;
}

.pnl-nutrition-title {
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(.76rem, .98vw, .94rem);
  line-height: 1.1;
  color: #6f4b1f;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.pnl-nutrition-subtitle {
  font-size: clamp(.66rem, .78vw, .76rem);
  line-height: 1.15;
  color: #6f4b1f;
}

.pnl-nutrition-row {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding: .34rem 0;
  border-top: 1px solid rgba(111, 75, 31, .85);
}

.pnl-nutrition-row-energy {
  border-top: 0;
}

.pnl-nutrition-key {
  font-size: clamp(.72rem, .9vw, .88rem);
  line-height: 1.1;
  color: #6f4b1f;
}

.pnl-nutrition-subkey {
  font-size: clamp(.66rem, .8vw, .76rem);
  line-height: 1.1;
  color: #6f4b1f;
}

.pnl-nutrition-values {
  display: grid;
  justify-items: end;
  gap: .1rem;
}

.pnl-nutrition-val {
  font-size: clamp(.74rem, .96vw, .95rem);
  font-weight: 700;
  line-height: 1.1;
  color: #6f4b1f;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .pnl-nutrition-card {
    border-radius: 12px;
    padding: .72rem .78rem .5rem;
    max-width: 100%;
  }

  .pnl-nutrition-row {
    gap: .45rem;
    padding: .28rem 0;
  }
}

.pnl-single-gallery-wrap {
  padding-top: .6rem;
}

.pnl-single-gallery-item,
.pnl-single-gallery-slide {
  background: rgba(244, 239, 230, .55);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pnl-single-gallery-item img,
.pnl-single-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pnl-single-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.pnl-single-gallery-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pnl-single-gallery-slider::-webkit-scrollbar {
  display: none;
}

.pnl-single-gallery-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
}

.pnl-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.pnl-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pnl-lightbox-image {
  max-width: min(92vw, 1300px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pnl-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 991px) {
  .pnl-single-summary {
    padding-top: 0;
  }

  .pnl-single-price {
    font-size: 1.75rem;
  }

  .pnl-single-gallery-slide {
    flex-basis: 72%;
  }
}

.hero {
  min-height: 760px;
  max-height: 940px;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .36) 45%, rgba(0, 0, 0, .22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image,
.cover-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  color: var(--cream);
}

.pnl-hero-title-prefix {
  display: inline;
}

.pnl-hero-rotator {
  display: inline-block;
  position: relative;
  color: var(--cream);
  min-width: 9.2ch;
  transition: opacity .42s ease-in-out;
  will-change: opacity;
}

.pnl-hero-rotator.is-changing {
  opacity: 0;
}

.pnl-hero-rotator-word {
  display: inline-block;
}

.hero p {
  color: rgba(244, 239, 230, .9);
}

@media (max-width: 767px) {
  .pnl-mobile-header-actions {
    gap: .15rem;
  }

  .pnl-mobile-header-actions .pnl-header-cart-link,
  .pnl-mobile-header-actions .pnl-header-search-link,
  .pnl-mobile-header-actions .navbar-toggler {
    padding: .35rem .4rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    margin: 0;
  }

  .pnl-mobile-header-actions .navbar-toggler {
    padding: .35rem .38rem;
  }

  .hero {
    min-height: 560px;
    max-height: 740px;
    height: 82vh;
  }

  .pnl-site-header .container {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    margin-top: .4rem !important;
  }

  .pnl-custom-logo-wrap {
    margin-top: 0 !important;
  }

  .pnl-custom-logo-wrap .custom-logo {
    max-height: 84px;
  }

  .hero .container.hero-content {
    padding-top: 10.2rem;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-bottom: 3.2rem;
    align-items: flex-end !important;
  }

  .hero .col-lg-7 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.12;
    margin-bottom: 1rem !important;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.75rem !important;
    max-width: 34ch;
  }

  .hero .d-flex.flex-column.flex-sm-row.gap-3 {
    width: 100%;
    gap: .65rem !important;
  }

  .hero .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: .85rem 1.1rem;
  }
}

.btn-pnl-primary {
  background: var(--bordeaux);
  color: var(--cream);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  padding: .95rem 2rem;
  border: 1px solid var(--bordeaux);
}

.btn-pnl-primary:hover { background: #7f2929; color: var(--cream); }

.btn-pnl-outline-light {
  border: 2px solid var(--cream);
  color: var(--cream);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  padding: .9rem 2rem;
}

.btn-pnl-outline-light:hover {
  background: var(--cream);
  color: var(--olive);
}

.pnl-art-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

@media (min-width: 992px) {
  .pnl-art-image-wrap {
    aspect-ratio: 3 / 4;
  }
}

.pnl-art-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pnl-art-badge {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  background: var(--bordeaux);
  color: var(--cream);
  min-width: 17.5rem;
  padding: 1.35rem 2.2rem;
  z-index: 2;
}

.pnl-art-badge p:first-child {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.pnl-art-badge p:last-child {
  font-size: .88rem;
  letter-spacing: 0.08em;
  opacity: .95;
  margin: 0;
  text-transform: uppercase;
}

.pnl-home-art-section {
  margin-bottom: 2.5rem;
}

.pnl-home-values-section {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
  .pnl-home-values-section {
    padding-top: 6.5rem !important;
    padding-bottom: 6.5rem !important;
  }
}

.pnl-home-products-section {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
  .pnl-home-products-section {
    padding-top: 6.5rem !important;
    padding-bottom: 6.5rem !important;
  }
}

.pnl-home-territorio-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pnl-home-territorio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(24, 35, 28, .72), rgba(24, 35, 28, .72));
}

.pnl-home-territorio-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pnl-home-territorio-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 0 auto;
  color: var(--cream);
  padding: 6.5rem 0;
}

.pnl-home-territorio-label {
  font-size: .68rem;
  letter-spacing: .23em;
  color: rgba(244, 239, 230, .75);
}

.pnl-home-territorio-quote {
  font-size: clamp(1.95rem, 3.2vw, 3.15rem);
  line-height: 1.18;
  font-style: italic;
  margin: 0 auto;
  max-width: 20ch;
}

.pnl-home-territorio-signature {
  font-family: "Allura", "Great Vibes", "Parisienne", "Brush Script MT", cursive;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(244, 239, 230, .86);
}

.pnl-home-territorio-role {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .7);
}

.pnl-home-cta-section {
  padding-top: 5.2rem !important;
  padding-bottom: 5.2rem !important;
}

.pnl-home-cta-copy {
  max-width: 52rem;
  margin: 0 auto;
}

.pnl-home-cta-title {
  color: var(--cream);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.pnl-home-cta-text {
  color: rgba(244, 239, 230, .84);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.btn-pnl-cream {
  background: var(--cream);
  color: var(--bordeaux);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  padding: .95rem 1.9rem;
  border: 1px solid var(--cream);
}

.btn-pnl-cream:hover {
  background: #fff;
  color: #7f2929;
}

.btn-pnl-outline-cream {
  background: transparent;
  color: var(--cream);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  padding: .95rem 1.9rem;
  border: 1px solid rgba(244, 239, 230, .9);
}

.btn-pnl-outline-cream:hover {
  background: rgba(244, 239, 230, .12);
  color: var(--cream);
}

@media (max-width: 767px) {
  .pnl-home-territorio-section {
    min-height: 520px;
  }

  .pnl-home-territorio-copy {
    padding: 4.8rem 0;
  }

  .pnl-home-cta-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .pnl-home-cta-copy .btn {
    width: 100%;
  }
}

.pnl-inline-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .35rem;
  transition: color .2s ease;
}

.pnl-inline-link-icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.pnl-inline-link:hover .pnl-inline-link-icon,
.pnl-inline-link:focus-visible .pnl-inline-link-icon {
  transform: translateX(3px);
}

.product-card img,
.story-image,
.ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card {
  text-decoration: none;
  color: inherit;
}

.product-card .img-wrap {
  overflow: hidden;
}

.product-card .img-wrap img {
  transition: transform .45s ease;
}

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

.badge-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  width: auto !important;
  max-width: max-content;
  height: auto;
  min-height: 0;
  white-space: nowrap;
  background: rgba(244, 239, 230, .95);
  color: rgba(43, 43, 43, .78);
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .67rem;
  font-weight: 500;
  line-height: 1.05;
  padding: .34rem .78rem;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: 50%;
  background: var(--border);
}

.timeline-item {
  width: 50%;
  position: relative;
  padding: 0 3rem 2rem;
}

.timeline-item:nth-child(odd) { margin-left: 0; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; text-align: left; }

.timeline-year {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bordeaux);
  color: var(--cream);
  position: absolute;
  top: 0;
  right: -24px;
  font-weight: 700;
  font-size: .7rem;
}

.timeline-item:nth-child(even) .timeline-year {
  right: auto;
  left: -24px;
}

@media (max-width: 991px) {
  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding: 0 0 2rem 4rem;
  }
  .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    left: 0;
    right: auto;
  }
}

footer a {
  color: rgba(244, 239, 230, .92);
  text-decoration: none;
}

footer a:hover { color: var(--cream); }

.pnl-site-footer {
  color: rgba(244, 239, 230, .95);
}

.pnl-footer-heading,
.pnl-footer-title,
.pnl-footer-subtitle {
  color: var(--cream);
}

.pnl-footer-muted {
  color: rgba(244, 239, 230, .82) !important;
}

.pnl-footer-logo {
  max-height: 91px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pnl-footer-logo-fallback .custom-logo {
  max-height: 91px;
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .pnl-footer-logo,
  .pnl-footer-logo-fallback .custom-logo {
    max-height: 77px;
  }
}

.pnl-social-link {
  color: var(--cream);
  transition: background-color .2s ease, transform .2s ease;
}

.pnl-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.pnl-social-link:hover,
.pnl-social-link:focus-visible {
  background: rgba(244, 239, 230, .2);
  transform: translateY(-1px);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(244, 239, 230, .12);
}

.pnl-valori-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--cream);
}

.pnl-valori-icon-svg svg {
  width: 2rem;
  height: 2rem;
  display: block;
  transition: transform .2s ease;
}

.pnl-valori-icon-img img {
  max-width: 2rem;
  max-height: 2rem;
  object-fit: contain;
  transition: transform .2s ease;
}

.pnl-valori-icon:hover svg,
.pnl-valori-icon:focus-visible svg,
.pnl-valori-icon:hover img,
.pnl-valori-icon:focus-visible img {
  transform: scale(1.08);
}

/* Timeline "Pastificio" (box date in 4 colonne) */
.pnl-date-grid {
  width: 100%;
}

.pnl-date-box {
  padding: 2.8rem 1.6rem;
}

.pnl-date-inner {
  height: 100%;
}

@media (min-width: 992px) {
  .pnl-date-box {
    border-left: 1px solid rgba(212, 201, 184, 0.85);
  }

  .pnl-date-grid--four .pnl-date-box:nth-child(4n + 1) {
    border-left: none;
  }

  .pnl-date-grid--three .pnl-date-box:nth-child(3n + 1) {
    border-left: none;
  }
}

.pnl-date-year {
  color: var(--bordeaux);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.pnl-date-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.pnl-date-desc {
  color: rgba(43, 43, 43, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Pastificio - Row spacing senza gutter negativi Bootstrap */
.pnl-row-gap-xl {
  /* Base ~ gap-12 (3rem) per imitare Next.js */
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

@media (min-width: 992px) {
  .pnl-row-gap-xl {
    /* lg:gap-20 (5rem) */
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 5rem;
  }
}

/* Align container padding with the custom row gutters to avoid overflow-x */
.pnl-container-gap-xl {
  --bs-gutter-x: 3rem;
}

@media (min-width: 992px) {
  .pnl-container-gap-xl {
    --bs-gutter-x: 5rem;
  }
}

/* Pastificio - Production Method image sizing */
.pnl-method-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

.pnl-method-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pnl-pastificio-story-copy p {
  line-height: 1.72;
}

.pnl-pastificio-story-copy p + p {
  margin-top: 1.15rem;
}

/* Pastificio - Values icon background */
.pnl-pastificio-values-icon .pnl-valori-icon {
  background: var(--beige);
}

.pnl-pastificio-values-icon-wrap {
  margin-bottom: 1rem !important;
}

.pnl-pastificio-values-icon h3 {
  margin-bottom: 1.2rem !important;
}

.pnl-pastificio-values-section {
  padding-top: 6.25rem !important;
  padding-bottom: 6.25rem !important;
}

@media (min-width: 992px) {
  .pnl-pastificio-values-section {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
  }
}

.pnl-pastificio-future-section {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.pnl-pastificio-future-copy {
  max-width: 46rem;
}

.pnl-pastificio-future-label {
  color: rgba(244, 239, 230, .7);
}

.pnl-pastificio-future-title {
  color: var(--cream);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.05;
}

.pnl-pastificio-future-text {
  color: rgba(244, 239, 230, .86);
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .pnl-pastificio-future-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .pnl-pastificio-future-title {
    max-width: 14ch;
  }
}

@media (min-width: 992px) {
  .pnl-pastificio-future-title {
    white-space: nowrap;
  }
}
