/*
Theme Name: Samasti
Description: Custom catalog theme for luxury kitchens. No prices, no cart, no checkout.
Version: 0.1.0
License: GNU General Public License v2 or later
Text Domain: samasti
*/

/* Variables */
:root {
  --bs-body-font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --samasti-heading-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --samasti-button-font: "Kumbh Sans", "Helvetica Neue", Arial, sans-serif;
  --samasti-orange: #fd7e0b;
  --samasti-orange-dark: #a34d00;
  --samasti-orange-text: #b45500;
  --samasti-dark: #343a46;
  --samasti-beige: #faf7f1;
  --samasti-surface: #ffffff;
  --samasti-border: #e3dbd1;
  --bs-body-bg: var(--samasti-beige);
  --bs-body-color: var(--samasti-dark);
  --bs-primary: var(--samasti-orange);
  --bs-primary-rgb: 253, 126, 11;
  --bs-secondary: var(--samasti-dark);
  --bs-secondary-rgb: 52, 58, 70;
  --bs-secondary-color: var(--samasti-dark);
}

/* Base */
body {
  background: var(--bs-body-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--samasti-heading-font);
  font-weight: 700;
}

h1,
.h1 {
  font-size: 3rem;
}

h2,
.h2 {
  font-size: 2.25rem;
}

h3,
.h3 {
  font-size: 1.75rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

@media (max-width: 991px) {
  h1, .h1 { font-size: 2.5rem; }
  h2, .h2 { font-size: 2rem; }
  h3, .h3 { font-size: 1.5rem; }
  h4, .h4 { font-size: 1.375rem; }
  h5, .h5 { font-size: 1.25rem; }
}

@media (max-width: 767px) {
  h1, .h1 { font-size: 2.125rem; }
  h2, .h2 { font-size: 1.75rem; }
  h3, .h3 { font-size: 1.5rem; }
  h4, .h4 { font-size: 1.375rem; }
  h5, .h5 { font-size: 1.25rem; }
}

.home-quote,
.contact-card__form .wpforms-field-label,
.contact-card__form .wpforms-field-sublabel.after {
  font-family: var(--samasti-heading-font);
}

a {
  font-weight: 400;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--samasti-orange);
}

/* Header */
.site-header {
  background: var(--samasti-surface);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

.site-header .navbar {
  padding-top: 12px;
  padding-bottom: 12px;
}

.header--transparent .site-header {
  background: transparent;
  border-color: transparent;
  border-bottom: none;
}

.header--transparent .navbar-brand,
.header--transparent .navbar-brand a,
.header--transparent .navbar-brand img {
  color: #fff;
}

.site-main {
  min-height: 80vh;
  padding: 140px 0 60px;
  background: var(--samasti-surface);
}

@media (max-width: 767px) {
  .site-main {
    padding: 120px 0 40px;
  }
}

.admin-shortcuts {
  position: fixed;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.admin-shortcuts:hover {
  opacity: 1;
  pointer-events: auto;
}

.admin-shortcuts__link {
  background: #fff;
  border: 1px solid #e6e0d6;
  border-radius: 16px;
  padding: 6px 12px;
  color: var(--samasti-dark);
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-shortcuts__link:hover {
  color: var(--samasti-orange);
  border-color: var(--samasti-orange);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.home .site-main {
  padding-bottom: 0;
}

.main-no-top .site-main {
  padding-top: 0;
}

.navbar-brand,
.navbar-brand a {
  letter-spacing: 0.08em;
  text-transform: none;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  line-height: 1;
}

.custom-logo-link img {
  max-height: 70px;
  width: auto;
  height: auto;
}

.navbar-brand img {
  max-height: 70px;
  height: 70px;
  width: auto;
  display: block;
}

.header-icons a {
  color: var(--samasti-dark);
  font-size: 1rem;
  line-height: 1;
}

.header-icons a:hover {
  color: var(--bs-primary);
}

.header-icons .hamburger {
  padding: 0;
  line-height: 1;
}

.header-icons .hamburger-box {
  width: 28px;
  height: 18px;
}

.header-icons .hamburger-inner,
.header-icons .hamburger-inner::before,
.header-icons .hamburger-inner::after {
  width: 28px;
}

.header--transparent .header-icons a {
  color: #fff;
}

.header--transparent .header-icons a:hover {
  color: #fff;
  opacity: 0.85;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-menu__link {
  border: 1px solid var(--samasti-dark);
  color: var(--samasti-dark);
  padding: 8px 14px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 400;
}

.header-menu__link.is-active,
.header-menu__link:hover {
  background: var(--samasti-dark);
  color: #fff;
}

.header--transparent .header-menu__link {
  border-color: #fff;
  color: #fff;
}

.header--transparent .header-menu__link.is-active,
.header--transparent .header-menu__link:hover {
  background: #fff;
  color: var(--samasti-dark);
}

.header--transparent .hamburger-inner,
.header--transparent .hamburger-inner::before,
.header--transparent .hamburger-inner::after {
  background-color: #fff;
}

/* Content */
.hero-card {
  background: linear-gradient(120deg, #f9f6f1 0%, #efe7dc 100%);
  border: 1px solid var(--samasti-border);
  border-radius: 0;
}

.samasti-card {
  border: 1px solid var(--samasti-border);
  border-radius: 0;
}

.card,
.card-img-top {
  border-radius: 0;
}

/* Home Hero */
.home-hero {
  position: relative;
  min-height: 580px;
  max-height: 740px;
  height: 100vh;
  padding: 40px 0;
  background-image: url("/wp-content/uploads/2026/03/stock-kitchens-cucina-in-marmo-e-legno.webp");
  background-size: cover;
  background-position: center;
  overflow: visible;
}

@media (max-width: 991px) {
  .home-hero {
    height: auto;
    padding: 80px 0 40px;
  }
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero__content {
  max-width: 520px;
}

.home-hero__content .lead {
  color: rgba(246, 243, 238, 0.9);
}

.home-hero__image {
  width: 550px;
  max-width: 100%;
  margin-left: auto;
}

.home-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 0 50px rgba(160, 160, 160, 0.35);
  transform: translateY(140px);
}

@media (max-width: 991px) {
  .home-hero__image img {
    transform: none;
  }
}

.btn-square {
  border-radius: 0;
}

.home-sections {
  padding-top: 48px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .home-sections {
    padding-top: 32px;
  }
}

/* Page sections */
.page-section {
  padding: 72px 0;
}

.section-installazione {
  padding-top: calc(72px + 32px);
}

@media (max-width: 991px) {
  .page-section {
    padding: 40px 0;
  }

  .section-installazione {
    padding-top: calc(40px + 32px);
  }
}

.home-quote {
  text-shadow: 0 0 32px #545454;
  border-bottom: 1px solid var(--samasti-dark);
  padding-bottom: 24px;
  margin-bottom: 0;
}

.page-section--tint {
  background: var(--samasti-beige);
}

.page-section--tint-dark {
  background: var(--samasti-dark);
}

.section-carded {
  padding: 32px 40px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.section-installazione__image {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.section-installazione__media {
  position: relative;
}

.section-installazione__overlay {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
  cursor: pointer;
}

.section-installazione__content {
  padding-left: 60px;
}

.section-installazione__media.is-swapped .section-installazione__image {
  z-index: 3;
}

.section-installazione__media.is-swapped .section-installazione__overlay {
  z-index: 1;
}

.section-icon {
  font-size: 1.375rem;
  line-height: 1;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.info-box {
  padding: 24px 32px;
}

.info-box-cta {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-right: 16px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: 400;
  transition: box-shadow 0.3s ease;
  background: #fff;
  border-radius: 16px;
}

.info-box-cta:hover {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.info-box-cta:hover .btn-primary {
  background: transparent;
  border-color: var(--samasti-orange-dark);
  color: var(--samasti-orange-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-kicker {
  color: var(--samasti-orange-text);
  text-align: center;
  margin-bottom: 32px;
}

.info-box-title {
  color: var(--samasti-dark);
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 20px;
}

.info-box-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.info-box-list li {
  position: relative;
  padding-left: 18px;
}

.info-box-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--samasti-orange);
}

.info-grid-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.info-grid-title {
  color: var(--samasti-orange-text);
  margin-bottom: 0;
}

.info-grid-item {
  border-right: 1px solid var(--samasti-dark);
  border-bottom: 1px solid var(--samasti-dark);
  padding: 16px;
}

.info-grid-item:nth-child(3n) {
  border-right: none;
}

.info-grid-item:nth-child(n + 4) {
  border-bottom: none;
}

.info-grid .card {
  border: 0;
  background: transparent;
}

.info-grid .card-body {
  padding: 0;
}

.info-grid-item p {
  color: #4a4f5a;
  font-size: 14px;
}

@media (max-width: 991px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-box-cta {
    margin-right: 8px;
  }

  .section-installazione__content {
    padding-left: 40px;
  }

  .info-grid-item:nth-child(2n) {
    border-right: none;
  }

  .info-grid-item:nth-child(n + 5) {
    border-bottom: none;
  }
}

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

  .info-box-cta {
    margin-right: 0;
  }

  .info-kicker {
    text-align: left;
  }

  .section-installazione__content {
    padding-left: 0;
  }

  .info-grid-item {
    border-right: none;
  }

  .info-grid-item:not(:last-child) {
    border-bottom: 1px solid var(--samasti-dark);
  }
}

/* Buttons */
.btn {
  font-family: var(--samasti-button-font);
  text-transform: none;
  font-size: 14px;
  padding: 12px 16px;
  line-height: 1;
  border-radius: 0;
  min-width: 140px;
  max-width: 100%;
  transition: box-shadow 0.2s ease, background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: transparent;
  border-color: var(--samasti-orange-dark);
  color: var(--samasti-orange-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--samasti-dark);
  color: var(--samasti-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--samasti-dark);
  border-color: var(--samasti-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  border-color: #fff;
  color: var(--samasti-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
  background: var(--samasti-beige);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
  font-weight: 700;
}

.site-footer .footer-content {
  padding: 72px 0 56px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 500px;
  display: flex;
  gap: 16px;
}

.footer-logo {
  display: block;
  max-width: 70px;
  height: fit-content;
  margin-bottom: 0;
}

.footer-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-direction: column;
}

.footer-contact__label {
  width: 100%;
  font-size: 14px;
  text-align: right;
  color: var(--samasti-dark);
}

.footer-contact__phone {
  width: 100%;
  text-align: right;
  font-size: 14px;
  color: var(--samasti-dark);
  text-decoration: none;
}

.footer-contact__phone:hover {
  color: var(--samasti-orange);
}

.footer-icons {
  display: flex;
  gap: 14px;
}

.footer-icons a {
  font-size: 1.5rem;
  color: var(--samasti-dark);
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: var(--samasti-orange);
}

.footer-legal {
  padding-bottom: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--samasti-dark);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.footer-powered {
  color: var(--samasti-dark);
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-powered:hover {
  color: #663399;
}

.footer-legal__divider {
  margin: 0 6px;
}

.footer-powered--plain {
  font-weight: 400;
}

.privacy-policy {
  background: var(--samasti-surface);
}

.privacy-policy h1 { margin-bottom: 12px; }
.privacy-policy h2 { margin-top: 32px; margin-bottom: 16px; }
.privacy-policy h3 { margin-top: 24px; margin-bottom: 12px; }
.privacy-policy h4 { margin-top: 20px; margin-bottom: 10px; }

.privacy-policy p,
.privacy-policy li {
  color: var(--samasti-dark);
  line-height: 1.6;
  font-size: 1rem;
}

.privacy-policy ul {
  padding-left: 1.2rem;
}

.privacy-meta {
  color: var(--samasti-dark);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.floating-actions {
  position: fixed;
  right: 8px;
  bottom: 8px;
  display: grid;
  grid-template-columns: repeat(2, 64px);
  grid-template-rows: repeat(2, 64px);
  gap: 8px;
  z-index: 1500;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.floating-actions.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.floating-actions__spacer {
  width: 64px;
  height: 64px;
}

@media (max-width: 767px) {
  .floating-actions {
    display: flex;
    flex-direction: row;
  }

  .floating-actions__spacer {
    display: none;
  }
}

.floating-actions__btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--samasti-dark);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.floating-actions__btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

.floating-actions__btn i {
  color: #fff !important;
}

.floating-actions__btn--whatsapp:hover { background: #25d366; }
.floating-actions__btn--phone:hover { background: var(--samasti-orange); }
.floating-actions__btn--telegram:hover { background: #229ed9; }

.floating-actions__btn--whatsapp i {
  font-size: 22px;
}

@media (max-width: 991px) {
  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-content {
    padding: 40px 0 40px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
  }

  .footer-contact__label { width: fit-content; }
  .footer-contact__phone { width: fit-content; text-align: center; }
  .footer-icons { justify-content: center; }
  .footer-legal__divider { display: block; margin: 4px auto; }
}

/* WooCommerce (catalog only) */
.product-grid {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.product-grid-item { padding: 0; }
.product-grid .samasti-card { background: transparent; border: none; }
.product-grid .card-body { padding: 0; margin-top: 12px; }
.product-grid .card-link { display: block; color: inherit; text-decoration: none; }

.product-grid .card-img-top {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center;
}

@media (max-width: 767px) {
  .product-grid .card-img-top { height: 260px; }
}

.product-grid .fake-cta { display: block; width: 100%; margin-top: 8px; }
.product-grid .product-card-price { margin-top: 8px; }

.product-grid .card-title-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .product-grid .card-title-clamp {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

.product-grid .product-card-title {
  height: 2.6em;
  display: flex;
  align-items: flex-end;
  padding-bottom: 12px;
}

@media (max-width: 767px) {
  .product-grid .product-card-title {
    height: auto;
    margin-top: 0;
    padding-bottom: 12px;
  }
}

.product-grid .product-card-media {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-grid .card-link:hover .card-img-top,
.product-grid .card-link:focus-visible .card-img-top {
  transform: scale(1.1);
}

.product-grid .card-link:hover .product-card-media,
.product-grid .card-link:focus-visible .product-card-media {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.product-grid .card-link:hover .fake-cta,
.product-grid .card-link:focus-visible .fake-cta {
  background: var(--samasti-dark);
  border-color: var(--samasti-dark);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.shop-header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--samasti-dark);
}

@media (max-width: 767px) {
  .shop-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
}

.shop-title { margin: 0; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
}

.product-detail-media {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.product-detail-main {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.product-detail-carousel .owl-item img.product-detail-main {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  height: auto;
}

.product-detail-content {
  padding-left: 32px;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-lightbox.is-open { display: flex; }

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.product-lightbox__content {
  position: relative;
  z-index: 1;
  padding: 60px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox__image {
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  display: block;
}

.product-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent url("assets/img/arrow-right.png") center / contain no-repeat;
  opacity: 0.7;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-50%);
  filter: brightness(0) invert(1);
}

.product-lightbox__nav:hover { opacity: 1; }
.product-lightbox__nav--prev { left: 24px; transform: translateY(-50%) rotate(180deg); }
.product-lightbox__nav--next { right: 24px; }

body.lightbox-open { overflow: hidden; }

.product-detail-carousel,
.product-detail-thumbs-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.product-detail-carousel .owl-stage-outer,
.product-detail-thumbs-carousel .owl-stage-outer {
  overflow: hidden;
  width: 100%;
}

.product-detail-carousel .owl-stage,
.product-detail-thumbs-carousel .owl-stage {
  display: flex;
}

.product-detail-carousel .owl-item,
.product-detail-thumbs-carousel .owl-item {
  flex: 0 0 auto;
}

.product-detail-carousel img,
.product-detail-thumbs-carousel img {
  max-width: 100%;
}

.product-detail-carousel .owl-nav button,
.product-detail-thumbs-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent url("assets/img/arrow-right.png") center / contain no-repeat !important;
  width: 32px;
  height: 32px;
  border: 0 !important;
  opacity: 0.5;
  font-size: 0 !important;
  color: transparent !important;
}

.product-detail-carousel .owl-nav button {
  filter: brightness(0) invert(1);
}

.product-detail-thumbs-carousel .owl-nav button { filter: none; }

.product-detail-thumbs-carousel .owl-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.product-detail-thumbs-carousel .owl-nav button {
  position: static;
  transform: none;
}

.product-detail-carousel .owl-nav button:hover,
.product-detail-thumbs-carousel .owl-nav button:hover {
  opacity: 1;
}

.product-detail-carousel .owl-nav .owl-prev {
  left: 12px;
  transform: translateY(-50%) rotate(180deg);
}

.product-detail-thumbs-carousel .owl-nav .owl-prev {
  left: 12px;
  transform: rotate(180deg);
}

.product-detail-carousel .owl-nav .owl-next,
.product-detail-thumbs-carousel .owl-nav .owl-next {
  right: 12px;
}

.product-detail-carousel .owl-dots,
.product-detail-thumbs-carousel .owl-dots {
  display: none;
}

.product-detail-thumbs-carousel { margin-top: 12px; }

.product-detail-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.product-detail-thumbs-carousel .owl-item {
  cursor: pointer;
  aspect-ratio: 3 / 2;
}

.product-detail-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.product-detail-thumbs-carousel .owl-item.is-active .product-detail-thumb {
  border: 2px solid var(--samasti-dark);
}

.product-detail-thumbs-carousel .owl-item:hover .product-detail-thumb {
  border: 2px solid var(--samasti-dark);
}

.product-detail-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.product-detail-price { margin-bottom: 20px; }
.product-detail-badge--offset { top: 50px; }

@media (max-width: 991px) {
  .product-detail-title { font-size: 2.25rem; }
}

@media (max-width: 767px) {
  .product-detail-title { font-size: 2rem; }
  .product-detail-price .samasti-price__current { font-size: 1.75rem; }
}

.product-detail-lead { margin-bottom: 20px; }

.product-detail-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  background: transparent;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  padding: 32px 40px;
}

.contact-card__title {
  color: var(--samasti-beige);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.contact-card__text {
  color: var(--samasti-beige);
  text-align: center;
  margin-bottom: 24px;
}

.contact-card__form {
  max-width: 920px;
  margin: 32px auto 0;
  padding: 32px 24px;
  width: 100%;
  background: var(--samasti-beige);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.contact-card__form__title {
  text-align: center;
  font-weight: 700;
}

.contact-card__form .wpforms-container,
.contact-card__form .wpforms-container-full,
.contact-card__form form {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.contact-card__form .wpforms-field-row.wpforms-field-medium {
  max-width: 100% !important;
  width: 100% !important;
}

.contact-card__form .wpforms-field input,
.contact-card__form .wpforms-field textarea {
  width: 100% !important;
  max-width: 100% !important;
  background: #fdfbf8;
  border: 1px solid #e6e0d6;
  border-radius: 20px;
  padding: 12px 16px;
  min-height: 40px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.contact-card__form .wpforms-field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-card__form .wpforms-field-label {
  margin-left: 8px;
  margin-bottom: 4px;
}

.contact-card__form .wpforms-field-sublabel.after {
  margin-left: 8px;
}

.contact-card__form .wpforms-submit {
  font-family: var(--samasti-button-font);
  text-transform: none;
  font-size: 14px;
  padding: 12px 16px;
  line-height: 1;
  border-radius: 0;
  background: var(--samasti-orange-dark);
  border-color: var(--samasti-orange-dark);
  color: #fff;
  box-shadow: none;
  border: 1px solid var(--samasti-orange-dark);
  min-width: 140px;
  max-width: 100%;
  transition: box-shadow 0.2s ease, background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}

.contact-card__form .wpforms-submit-container {
  text-align: center;
}

.faq-section {
  background: var(--samasti-surface);
}

.faq-accordion {
  border-top: 1px solid var(--samasti-dark);
}

.faq-item {
  border-bottom: 1px solid var(--samasti-dark);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 36px 16px 0;
  text-align: left;
  font-family: var(--samasti-heading-font);
  font-size: 20px;
  color: var(--samasti-dark);
  transition: color 0.3s ease;
  position: relative;
}

.faq-trigger::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease;
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open .faq-trigger::after {
  transform: translateY(-50%) rotate(135deg);
}

.faq-item.is-open .faq-trigger,
.faq-trigger:hover {
  color: var(--samasti-dark);
}

.faq-panel {
  display: none;
  padding: 0 0 16px;
}

.faq-panel p {
  margin: 0;
  color: var(--samasti-dark);
  font-size: 14px;
}

.faq-cta { margin-top: 24px; }

.error-page {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 70vh, 760px);
}

.error-page__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 52px 0;
  text-align: center;
}

.error-page__code {
  margin: 0;
  font-size: clamp(7rem, 24vw, 15rem);
  line-height: 0.84;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: rgba(253, 126, 11, 0.2);
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 0 0 var(--samasti-orange);
}

.error-page__title { margin: 16px 0 0; }

.error-page__text {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--samasti-dark);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .error-page { min-height: clamp(400px, 64vh, 600px); }
  .error-page__content { padding: 36px 0; }
  .error-page__code { font-size: clamp(5rem, 29vw, 8.6rem); letter-spacing: 0.04em; }
  .error-page__actions { gap: 10px; }
}

.samasti-empty-state {
  padding: 18px 0 6px;
  text-align: center;
}

.samasti-empty-state::before {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--samasti-orange);
}

.samasti-empty-state__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

.samasti-empty-state__text {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--samasti-dark);
}

.samasti-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* Blog single */
.blog-single__article {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(52, 58, 70, 0.18);
  background: rgba(250, 247, 241, 0.45);
  padding: 32px 36px;
}

.blog-single__title { margin: 0; line-height: 1.15; }

.blog-single__media {
  margin-top: 24px;
  border: 1px solid var(--samasti-dark);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-single__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-single__content {
  margin-top: 24px;
  color: var(--samasti-dark);
  font-size: 17px;
  line-height: 1.8;
}

.blog-single__content > * { margin: 0 0 24px; }
.blog-single__content p { margin: 0 0 24px; }

.blog-single__content h2,
.blog-single__content h2.wp-block-heading {
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.blog-single__content h3,
.blog-single__content h3.wp-block-heading {
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.blog-single__content h4,
.blog-single__content h4.wp-block-heading {
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-single__content strong { font-weight: 600; }

.blog-single__content ul,
.blog-single__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.blog-single__content li + li { margin-top: 8px; }

.blog-single__content blockquote,
.blog-single__content .wp-block-quote {
  margin: 32px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--samasti-dark);
  background: rgba(250, 247, 241, 0.85);
}

.blog-single__content blockquote p,
.blog-single__content .wp-block-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.blog-single__content .recipe-article { display: block; }
.blog-single__content .recipe-article .intro { font-size: 19px; line-height: 1.75; }

.blog-single__content .recipe-toc {
  border: 1px solid var(--samasti-dark);
  background: rgba(250, 247, 241, 0.9);
  padding: 20px 24px;
}

.blog-single__content .recipe-toc p { margin: 0 0 10px; }
.blog-single__content .recipe-toc ul { margin: 0; padding-left: 20px; }
.blog-single__content .recipe-toc li + li { margin-top: 6px; }

.blog-single__content .recipe-card {
  border: 1px solid var(--samasti-dark);
  background: #fff;
  padding: 20px 24px;
}

.blog-single__content .recipe-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.blog-single__content .recipe-card li { margin: 0; }
.blog-single__content .recipe-figure { margin: 32px 0; }

.blog-single__content .recipe-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--samasti-dark);
}

.blog-single__content #punti-chiave {
  border: 1px solid var(--samasti-dark);
  background: rgba(250, 247, 241, 0.9);
  padding: 18px 22px;
}

.blog-single__content #punti-chiave h2 { margin-top: 0; }
.blog-single__content #punti-chiave ul { margin-bottom: 0; }

.blog-single__content #faq details {
  border: 1px solid var(--samasti-dark);
  padding: 0 16px;
  background: rgba(250, 247, 241, 0.7);
  margin-bottom: 10px;
}

.blog-single__content #faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 28px 14px 0;
  font-family: var(--samasti-heading-font);
  font-size: 18px;
  line-height: 1.3;
}

.blog-single__content #faq summary::-webkit-details-marker { display: none; }

.blog-single__content #faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  font-size: 22px;
  transition: transform 0.2s ease;
}

.blog-single__content #faq details[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
}

.blog-single__content #faq details p { margin: 0 0 14px; }
.blog-single__content #fonte small { color: rgba(52, 58, 70, 0.75); }

.blog-single__divider {
  border: 0;
  border-top: 1px solid var(--samasti-dark);
  margin: 32px 0 16px;
  opacity: 1;
}

.blog-single__meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--samasti-dark);
}

.blog-single__meta span { opacity: 0.8; }
.blog-single__meta-sep { font-size: 14px; }

@media (max-width: 991px) {
  .blog-single__article { padding: 26px 24px; }
  .blog-single__content { font-size: 16px; line-height: 1.75; }
  .blog-single__content .recipe-article .intro { font-size: 18px; }
  .blog-single__content .recipe-card ul { grid-template-columns: 1fr; }
  .blog-single__content h2, .blog-single__content h2.wp-block-heading { margin-top: 40px; margin-bottom: 14px; }
  .blog-single__content h3, .blog-single__content h3.wp-block-heading { margin-top: 32px; margin-bottom: 12px; }
  .blog-single__content h4, .blog-single__content h4.wp-block-heading { margin-top: 26px; }
}

@media (max-width: 767px) {
  .blog-single__article { padding: 20px 16px; }
  .blog-single__media { margin-top: 18px; }
  .blog-single__content { font-size: 15px; line-height: 1.7; }
  .blog-single__content .recipe-article .intro { font-size: 17px; }
  .blog-single__content .recipe-toc, .blog-single__content .recipe-card, .blog-single__content #punti-chiave { padding: 14px 16px; }
  .blog-single__content #faq details { padding: 0 12px; }
  .blog-single__content #faq summary { font-size: 16px; padding: 12px 24px 12px 0; }
  .blog-single__content > * { margin-bottom: 20px; }
  .blog-single__content h2, .blog-single__content h2.wp-block-heading { margin-top: 34px; margin-bottom: 12px; }
  .blog-single__content h3, .blog-single__content h3.wp-block-heading { margin-top: 28px; margin-bottom: 10px; }
  .blog-single__content blockquote, .blog-single__content .wp-block-quote { margin: 24px 0; padding: 14px 16px; }
}

/* Blog archive */
.blog-header {
  border-bottom: 1px solid var(--samasti-dark);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.blog-categories-hub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.blog-categories-hub__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--samasti-dark);
  color: var(--samasti-dark);
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.blog-categories-hub__link:hover,
.blog-categories-hub__link:focus,
.blog-categories-hub__link.is-active {
  background: var(--samasti-dark);
  border-color: var(--samasti-dark);
  color: #fff;
}

.blog-feature {
  display: block;
  margin-bottom: 32px;
  border: 1px solid var(--samasti-dark);
  padding: 0;
}

.blog-image-frame { display: block; overflow: hidden; }

.blog-feature__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-feature__image { display: block; }

.blog-feature__content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 16px;
}

.blog-feature__text {
  display: flex;
  flex-direction: column;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.blog-row + .blog-row {
  border-top: 1px solid var(--samasti-dark);
}

.blog-card {
  border-right: 1px solid var(--samasti-dark);
  padding: 0;
  background: var(--samasti-surface);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-row .blog-card:nth-child(4n) { border-right: 0; }

.blog-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-image--placeholder {
  object-fit: contain !important;
  background: #fff;
  padding: 20px;
}

.blog-single__image.blog-image--placeholder { padding: 32px; }

.blog-card__image {
  display: block;
  padding: 16px 16px 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  height: 100%;
}

.blog-card__content .blog-excerpt { margin-bottom: 20px; }

.blog-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  padding: 24px;
}

.blog-card .btn-square { width: 100%; }

.blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--samasti-dark);
  margin-bottom: 8px;
}

.blog-meta__sep { opacity: 0.6; line-height: 1; }

.blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  line-height: 1.375;
}

.blog-title--feature { font-size: 2rem; }

.blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--samasti-dark);
}

.blog-card.is-hovered,
.blog-card:hover,
.blog-feature.is-hovered,
.blog-feature:hover {
  background: var(--samasti-dark);
  color: #fff;
}

.blog-card.is-hovered .blog-meta,
.blog-card.is-hovered .blog-title,
.blog-card.is-hovered .blog-excerpt,
.blog-card.is-hovered a,
.blog-card:hover .blog-meta,
.blog-card:hover .blog-title,
.blog-card:hover .blog-excerpt,
.blog-card:hover a,
.blog-feature.is-hovered .blog-meta,
.blog-feature.is-hovered .blog-title,
.blog-feature.is-hovered .blog-excerpt,
.blog-feature.is-hovered a,
.blog-feature:hover .blog-meta,
.blog-feature:hover .blog-title,
.blog-feature:hover .blog-excerpt,
.blog-feature:hover a {
  color: #fff;
}

.blog-card.is-hovered .blog-card__image img,
.blog-card:hover .blog-card__image img,
.blog-feature.is-hovered .blog-feature__image img,
.blog-feature:hover .blog-feature__image img {
  transform: scale(1.05);
}

.blog-card.is-hovered .blog-card__image img.blog-image--placeholder,
.blog-card:hover .blog-card__image img.blog-image--placeholder,
.blog-feature.is-hovered .blog-feature__image img.blog-image--placeholder,
.blog-feature:hover .blog-feature__image img.blog-image--placeholder {
  transform: none;
}

.blog-card.is-hovered .btn,
.blog-card:hover .btn,
.blog-feature.is-hovered .btn,
.blog-feature:hover .btn {
  background: var(--samasti-orange);
  border-color: var(--samasti-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.blog-pagination {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 991px) {
  .blog-feature__inner { grid-template-columns: 1fr; }
  .blog-feature__image img { height: 260px; }
  .blog-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-row .blog-card:nth-child(4n) { border-right: 1px solid var(--samasti-dark); }
  .blog-row .blog-card:nth-child(3n) { border-right: 0; }
  .blog-related .blog-row .blog-card:nth-child(n + 4) { display: none; }
}

@media (max-width: 767px) {
  .blog-card__image img { height: 180px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card { border-right: 1px solid var(--samasti-dark); }
  .blog-row .blog-card:nth-child(2n) { border-right: 0; }
  .blog-related .blog-row .blog-card:nth-child(n + 3) { display: none; }
  .faq-trigger { padding: 14px 0; }
}

/* Product tabs */
.product-tabs__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 20%));
}

.product-tabs__tab {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--samasti-dark);
  border-top: 1px solid var(--samasti-dark);
  padding: 16px;
  color: var(--samasti-dark);
  font-family: var(--samasti-heading-font);
  text-transform: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-tabs__tab:first-child { border-left: 0; }
.product-tabs__tab:last-child { border-right: 0; }

.product-tabs__tab:nth-child(even) {
  border-top: 0;
  border-bottom: 1px solid var(--samasti-dark);
}

.product-tabs__tab.is-active,
.product-tabs__tab:hover {
  background: var(--samasti-dark);
  color: #fff;
}

.product-tabs__panels { border-bottom: 0; padding: 0; }

.product-tabs__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-bottom: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, padding 0.35s ease;
}

.product-tabs__panel.is-active {
  max-height: none;
  opacity: 1;
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--samasti-dark);
  visibility: visible;
}

.product-tabs__title {
  margin-bottom: 12px;
  transition: opacity 0.3s ease, transform 0.35s ease;
  transform: translateY(6px);
  opacity: 0;
}

.product-tabs__content {
  transition: opacity 0.3s ease, transform 0.35s ease;
  transform: translateY(6px);
  opacity: 0;
}

.product-tabs__panel.is-active .product-tabs__title,
.product-tabs__panel.is-active .product-tabs__content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .product-tabs__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .product-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-tabs__nav::-webkit-scrollbar { display: none; }
  .product-tabs__tab {
    width: auto;
    border: 1px solid var(--samasti-dark) !important;
    border-radius: 0;
    flex: 0 0 auto;
  }
}

.test-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.test-btn--kumbh {
  font-family: var(--samasti-button-font);
}

/* Contact section */
.contact-section {
  background: var(--samasti-dark);
  color: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

.contact-section__intro { margin-bottom: 24px; }
.contact-section__title { margin-bottom: 12px; color: #fff; }

.contact-section__text {
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}

.contact-section__text--contacts-intro { margin-top: 12px; }

.contact-section__contacts {
  max-width: 640px;
  margin: 16px auto 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.contact-section__contacts a { color: #fff; }

.contact-section__contacts a:hover,
.contact-section__contacts a:focus {
  color: var(--samasti-orange);
}

.contact-card__text--contacts-intro { margin-bottom: 0; }

.contact-section__card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
}

.contact-section .contact-card__title,
.contact-section .contact-card__text,
.contact-section .contact-card__form {
  color: var(--samasti-dark);
  box-shadow: 0 0 40px rgba(246, 243, 238, 0.25);
}

.contact-card__form .wpforms-submit:hover,
.contact-card__form .wpforms-submit:focus {
  background: transparent;
  border-color: var(--samasti-orange-dark);
  color: var(--samasti-orange-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991px) {
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .product-lightbox__content { padding: 15px; }
  .product-lightbox__image { max-width: calc(100vw - 30px); max-height: calc(100vh - 30px); }
  .product-detail-thumbs-carousel { margin-top: 8px; }
  .product-detail-content { padding-left: 0; }
  .product-detail-carousel .owl-nav .owl-prev, .product-detail-thumbs-carousel .owl-nav .owl-prev { left: 8px; }
  .product-detail-carousel .owl-nav .owl-next, .product-detail-thumbs-carousel .owl-nav .owl-next { right: 8px; }
  .product-detail-thumbs-carousel .owl-nav .owl-prev, .product-detail-thumbs-carousel .owl-nav .owl-next { display: block; }
  .btn, .contact-card__form .wpforms-submit { width: 100%; }
}

@media (max-width: 991px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid .card-title-clamp, .samasti-carousel .card-title-clamp { display: block; overflow: visible; }
  .product-grid .product-card-title, .product-card-title { height: auto; display: block; align-items: initial; margin-top: 0; }
}

@media (max-width: 767px) {
  .home-hero { height: 100vh; }
  .home-hero .container, .home-hero .row { height: 100%; }
  .home-hero .row { align-items: center; }
  .home-hero__content { text-align: center; margin: 0 auto; }
  .home-hero__content .lead { text-align: center; }
  .home-hero .btn { width: 100%; }
  .home-quote { text-align: center; }
  .section-installazione__overlay { display: none; }
  .section-installazione .btn { width: 100%; }
  #cucine-evidenza h2 { text-align: center; width: 100%; }
  #cucine-evidenza .btn { width: 100%; }
  .page-section--tint { padding: 28px 12px; }
  .info-box-cta { margin-bottom: 24px; }
}

.woocommerce div.product {
  background: var(--samasti-surface);
  border: 1px solid var(--samasti-border);
  border-radius: 0;
  padding: 24px;
}

/* Owl Carousel */
.samasti-carousel {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid;
}

.samasti-carousel .card,
.samasti-carousel .card-img-top {
  border-radius: 0;
}

.samasti-carousel .card-img-top {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center;
}

@media (max-width: 767px) {
  .samasti-carousel .card-img-top { height: 260px; }
}

.samasti-carousel .card-link:hover .card-img-top,
.samasti-carousel .card-link:focus-visible .card-img-top {
  transform: none;
}

.samasti-carousel .card-link:hover .product-media-carousel .owl-item.active .card-img-top,
.samasti-carousel .card-link:focus-visible .product-media-carousel .owl-item.active .card-img-top {
  transform: scale(1.1);
}

.samasti-carousel .card { background: transparent; border: none; }
.samasti-carousel .card-body { padding: 0; margin-top: 12px; }
.samasti-carousel .card-link { display: block; color: inherit; text-decoration: none; }

.product-card-title {
  height: 2.25em;
  display: flex;
  align-items: flex-end;
  margin-top: 28px;
  padding-bottom: 12px;
}

@media (max-width: 767px) {
  .product-card-title { height: auto; margin-top: 0; padding-bottom: 12px; }
}

.product-card-media {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  text-transform: none;
  letter-spacing: 0.04em;
  border-radius: 0;
  z-index: 2;
}

.product-card-badge--discount {
  background: var(--samasti-orange-dark);
  font-weight: 700;
}

.product-card-badge--offset { top: 50px; }

.samasti-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.samasti-price__regular {
  color: rgba(52, 58, 70, 0.75);
  font-size: 0.9rem;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.samasti-price__current {
  color: var(--samasti-orange-text);
  font-size: 1.45rem;
  font-weight: 700;
}

.samasti-carousel .product-card-price { margin-top: 8px; }

.product-detail-price .samasti-price__regular { font-size: 1rem; }
.product-detail-price .samasti-price__current { font-size: 2rem; }

.samasti-carousel .card-title-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .samasti-carousel .card-title-clamp { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

.samasti-carousel .fake-cta { display: block; width: 100%; margin-top: 8px; }

.samasti-carousel .card-link:hover .product-card-media,
.samasti-carousel .card-link:focus-visible .product-card-media {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.samasti-carousel .card-link:hover .fake-cta,
.samasti-carousel .card-link:focus-visible .fake-cta {
  background: var(--samasti-dark);
  border-color: var(--samasti-dark);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.samasti-carousel > .owl-stage-outer {
  overflow: hidden !important;
  -webkit-clip-path: none;
  clip-path: none;
  margin-left: 0;
  padding-left: 0;
  padding-bottom: 28px;
}

.samasti-carousel--featured > .owl-stage-outer {
  overflow: unset !important;
  -webkit-clip-path: inset(-100vw -100vw -100vw 0);
  clip-path: inset(-100vw -100vw -100vw 0);
  margin-left: -28px;
  padding-left: 28px;
}

.samasti-carousel .owl-nav button {
  color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent url("assets/img/arrow-right.png") center / contain no-repeat !important;
  line-height: 1;
  border-radius: 0;
  width: 32px;
  height: 32px;
  border: 0 !important;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.samasti-carousel .owl-nav button:hover {
  background: transparent url("assets/img/arrow-right.png") center / contain no-repeat !important;
  opacity: 1;
}

.samasti-carousel .owl-nav button.disabled { opacity: 0.1; }

.samasti-carousel .owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.samasti-carousel .owl-nav button span { font-size: 0; }
.samasti-carousel .owl-nav .owl-prev { transform: rotate(180deg); }
.samasti-carousel .owl-dots { margin-top: -24px; }

.samasti-carousel .owl-dots .owl-dot {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.samasti-carousel .owl-dots .owl-dot span {
  background: #e6e6e6;
  width: 12px;
  height: 12px;
  margin: 0;
  display: block;
}

.samasti-carousel .owl-dots .owl-dot.active span { background: var(--samasti-dark); }
.samasti-carousel .owl-dots .owl-dot:hover span { background: var(--samasti-dark); }

/* Partners carousel */
.partner-logos-section { background: var(--samasti-surface); }
.partner-logos-header { margin-bottom: 24px; }
.partners-carousel .item { padding: 2px; }

.partner-logo-card {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--samasti-dark);
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-logo-image {
  max-width: 100%;
  max-height: 72px;
  width: auto !important;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-card:hover { transform: translateY(-2px); }

.partner-logo-card:hover .partner-logo-image {
  filter: grayscale(0);
  opacity: 1;
}

.partners-carousel .owl-dots .owl-dot {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.partners-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 0;
  display: block;
}

@media (max-width: 767px) {
  .partner-logo-card { height: 96px; }
  .partner-logo-image { max-height: 58px; }
}

/* Section carded text contrast fix */
.section-carded .text-secondary,
.section-carded p.text-secondary {
  color: #4a4f5a !important;
}

.woocommerce .price,
.woocommerce a.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce .cart,
.woocommerce .woocommerce-cart-form,
.woocommerce .woocommerce-checkout,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation {
  display: none !important;
}