body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;

  background:
    url("../images/heroBg.png") center / cover no-repeat,
    #fbead9;
}
a {
  text-decoration: none;
}

a:hover {
  color: #3a250f;
}

.cart {
  border-radius: 73px;
  background: var(--light-Brown, #d08e3e);
  border: none;
  color: white;
  padding: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.product-cart-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.langDrop {
  border-radius: 73px;
  background: var(--Cream, #fed);
  padding: 9px 26px;
  cursor: pointer;
}

.hero,
.difference,
.spectrum {
  padding: 100px 0px;
}

/* Ajuste de separación entre 'The Nariño Difference' y 'The Colombian Origin' */
.difference {
  padding-bottom: 0; /* quita espacio inferior de la sección superior */
}
.spectrum {
  padding-top: 3px; /* deja solo 3px de separación con la siguiente sección */
  padding-bottom: 36px; /* ajuste solicitado */
}

/* Invertir columnas: imagen a la izquierda, texto a la derecha */
.spectrum > .container > .row {
  flex-direction: row-reverse;
}

/* Varietals page: dar más aire entre el hero y la primera sección */
.spectrum-varietals {
  margin-top: 90px; /* baja un poco el componente bajo el hero */
  padding-bottom: 12px; /* reduce el espacio inferior de esta sección */
}

/* Reducir espacio entre la primera y la segunda sección en Varietals */
.spectrum-varietals + .difference {
  padding-top: 20px; /* antes heredaba ~100px */
}

.difference img {
  max-width: 78%; /* reducir un poco el tamaño junto a 'Municipality of Chachagüí' */
  height: auto;
  margin-top: 40px; /* bajar la imagen circular */
}

/* Ajustes de proporción para our-origins (sección The Nariño Difference) */
.difference .row {
  align-items: flex-start; /* alinear los dos textos a la misma línea superior */
  --bs-gutter-x: 1.5rem; /* reducir separación entre columnas */
}

.difference .ps-lg-5 {
  padding-left: 2rem !important; /* acercar el texto a la imagen */
}

@media (max-width: 991px) {
  .difference img {
    max-width: 75%;
    margin-top: 24px; /* un poco menos de separación en tablet */
  }
  .difference .ps-lg-5 {
    padding-left: 1rem !important;
  }
}

/* Bajar título y textos para alinearlos con la imagen circular */
@media (min-width: 992px) {
  /* Centrar verticalmente texto e imagen en desktop */
  .difference .row {
    align-items: center;
  }
  .difference .ps-lg-5 {
    margin-top: 0; /* sin desplazamiento adicional: centrado por flex */
  }
}

.hero-social {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

/* Flexbox gap fallback for Safari < 14.1 */
.hero-social > a + a {
  margin-top: 12px;
}

@supports (gap: 12px) {
  .hero-social > a + a {
    margin-top: 0;
  }
}

.hero-social a img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
}

.hero-social a img:hover {
  transform: scale(1.1);
}

/* Hero social responsive */
@media (max-width: 991px) {
  .hero-social a img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 767px) {
  .hero-social {
    display: none;
  }
}

.navbar {
  border-radius: 74px;
  background: #3a250f;
}
.navLogo {
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  height: clamp(120px, 20vw, 200px);
  width: clamp(120px, 20vw, 200px);
  background: url("../images/logo.png") center / contain no-repeat;
}

.footerLogo {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  height: clamp(180px, 30vw, 300px);
  width: clamp(180px, 30vw, 300px);
  background: url("../images/logo.png") center / contain no-repeat;
}

.navbar a {
  color: var(--Cream, #fed);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  color: var(--Brown, #3a250f);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

h1 {
  color: var(--Brown, #3a250f);
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  position: relative;
  line-height: 1;
}

h2 {
  color: var(--Brown, #3a250f);
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  position: relative;
  line-height: 1;
}

.underlined::before {
  position: absolute;
  content: "";
  background: url("../images/underline.png") center / contain no-repeat;
  left: 0px;
  height: 30px;
  width: 100%;
  bottom: -30px;
}

.fast {
  border-radius: 12px; /* menos redondeado como en la referencia */
  background: var(--Cream, #fed);
  padding: 12px 20px;
}

.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

h4,
.fast h4 {
  color: var(--Brown, #3a250f);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.specialh4 {
  width: 75%;
}

h4 span {
  color: var(--light-Brown, #d08e3e);
  font-weight: 700;
}

p {
  color: var(--Cream, #fed);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.white-bg {
  background: var(--Cream, #fed) !important;
}

button,
.button {
  font-size: 20px;
  padding: 18px 27px;
}

.navButton {
  color: var(--Cream, #fed);
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-size: 20px;
}

.skin-btn {
  color: var(--Cream, #fed);
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 9px;
  background: var(--light-Brown, #d08e3e);
}

.heroGroup {
  right: 0%;
  width: auto;
  z-index: -1;
  height: 100%;
}

.heroRect {
  position: relative;
  z-index: 2;
}

.chach {
  background: url("../images/sec2bg.png") center / 100% 100% no-repeat;
  padding: 200px 0px;
}

.whited * {
  color: var(--Cream, #fed);
}

.whited h4 span {
  color: var(--light-Brown, #d08e3e);
}

.padres-float {
  position: absolute;
  top: -60px;
  left: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.padres-float .padres-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 50%;
  border: 4px solid rgba(208, 142, 62, 0.7);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.padres-label {
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 14px;
  color: #fed;
  background: rgba(58, 37, 15, 0.85);
  padding: 5px 14px;
  border-radius: 14px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.chach p {
  font-size: 17px;
}

.curated {
  padding: 100px 0px 0px;
}

.sec3g {
  position: absolute;
  left: 0px;
  top: -100px;
  z-index: -1;
  height: 100%;
  width: 100%;
}

.curated {
  border-radius: 0 0 968px 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0) 60.61%, #0d0d0d 82.28%),
    url("../images/updatedBG.png") no-repeat center / cover,
    #d9d9d9; /* fallback color */
  margin-top: -50px;
  z-index: 0;
}

.curated .container {
  position: relative;
  bottom: -50px;
  z-index: 2;
}

.espresso-card {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%),
    url("../images/Blend espresso.png") center / cover no-repeat;
  padding: 50px 20px;
  min-height: 500px;
  border-radius: 40px;
  position: relative;
  z-index: 2;
}

.espresso-card2 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%),
    url("../images/Bland filtrado.png") center / cover no-repeat;
}

.espresso-card3 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%),
    url("../images/French rose.png") center / cover no-repeat;
}

.espresso-card4 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%),
    url("../images/4foto.png") center / cover no-repeat;
}

.espresso-card .text-div {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.espresso-card .text-div h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cardheading {
  color: var(--Cream, #fed);
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.w-max-content {
  width: max-content;
}

.colCard {
  border-radius: 31px;
  padding: 40px 30px;
}

.orange {
  background: #fc970e;
}

.yellow {
  background: #fee970;
}

.purple {
  background: #b6b1e5;
}

.green {
  background: #91d4a3;
}

.seamless {
  border-radius: 130px;
  border: none; /* sin borde, como en la referencia */
  background: var(
    --Dark,
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    #101010
  );
  margin-top: -60px;
  overflow: visible; /* permitir que los granos sobrepasen el borde superior */
}

.seamless .col-md-6.position-relative::before {
  display: none;
}

.seamless img {
  bottom: 35px; /* bajamos un poco la caja para que se vea la parte superior dentro del contenedor */
  left: 0px;
  width: 100%;
  position: absolute;
  z-index: 10; /* por encima de todos los elementos de la sección */
  pointer-events: none; /* no bloquear clicks de elementos debajo */
}

/* Reducimos la altura visual de la caja bajando padding vertical del bloque de texto */
.seamless .seamless-div {
  padding-top: 30px; /* override de .py-50 */
  padding-bottom: 30px; /* override de .py-50 */
}

footer {
  min-height: 100vh;
  background: var(--Brown, #3a250f);
  margin-top: 300px;
}

footer > .container {
  position: relative;
  z-index: 2;
}

.footerTop {
  top: -200px;
  left: 0px;
  right: 0px;
  width: 100%;
}

/* (revert) Eliminado vector extra del footer en Home */

.mt-200 {
  padding-top: 200px;
}

.review {
  color: var(--Cream, #fed);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 109%; /* 21.811px */
}

.stars i {
  color: #d08e3e;
}

.whited a:hover {
  color: white;
}

.z-index-2 {
  z-index: 2;
}

.footBR {
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 0;
  max-height: 250px;
  opacity: 0.6;
  pointer-events: none;
}

.footBL {
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 0;
  max-height: 250px;
  opacity: 0.6;
  pointer-events: none;
}

#fullMenu {
  position: fixed; /* overlay a pantalla completa */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 100vh;
  min-width: 100%;
  background: var(--Brown, #3a250f);
  display: none;
  z-index: 10000; /* por encima del contenido */
  overflow: auto;
}

#fullMenu.active {
  display: block !important;
}

.mobLogo {
  height: 150px;
}
.mobMenuFoot {
  bottom: 0px;
  left: 0px;
  right: 0px;
}

/* Eliminar botones viejos (pero permitir nuestro nuevo .mobile-close-btn) */
#closeMenu,
.closeMenu {
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ========================================
   HAMBURGER MENU ANIMATION
   ======================================== */

.hamburger-menu {
  width: 40px;
  height: 40px;
  background: transparent !important; /* evitar fondo gris del botón */
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px;
  position: relative;
  z-index: 10001;
  transition: transform 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
}

.hamburger-menu:hover {
  transform: scale(1.05);
}

.hamburger-menu:focus,
.hamburger-menu:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Flexbox gap fallback for Safari < 14.1 */
.hamburger-line + .hamburger-line {
  margin-top: 6px;
}

@supports (gap: 6px) {
  .hamburger-line + .hamburger-line {
    margin-top: 0;
  }
}

.hamburger-line {
  width: 28px;
  height: 2px;
  background-color: #FFEEDD;
  border-radius: 2px;
  transition: all 0.5s ease;
  transform-origin: center;
  display: block;
}

/* Animación hamburguesa → X */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mantener hamburger fijo cuando el menú está abierto */
.hamburger-menu.active {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10002;
}

/* Ocultar botones de cierre heredados (no afecta .mobile-close-btn) */
#closeMenu,
.closeMenu,
.close-menu {
  display: none !important;
}

/* Desktop: ocultar hamburger */
@media (min-width: 768px) {
  .hamburger-menu {
    display: none !important;
  }
}

/* Mobile: ajuste de tamaño */
@media (max-width: 767px) {
  .hamburger-menu {
    height: 30px;
  }
}

/* ========================================
   MOBILE MENU CLOSE BUTTON
   ======================================== */

.mobile-close-btn {
  width: 45px;
  height: 45px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.mobile-close-btn:hover {
  transform: scale(1.1);
}

.mobile-close-btn svg {
  display: block;
}

.service_hero {
  background: url("../images/serviceHero.png") center / 100% 100% no-repeat;
  min-height: 100vh;
}

/* Bajar un poco más el contenido del hero en Our Origins */
.service_hero .hero-div {
  padding-top: 80px;
}

.instant-coffee {
  position: absolute;
  z-index: -1; /* estado original: por detrás del contenido */
  bottom: -500px; /* estado original */
  left: 0px;
}

/* Asegurar que el contenido del hero quede por encima de la imagen de café */
.service_hero .hero-div {
  position: relative;
  z-index: 2;
}

.from {
  background: url("../images/fromBg.png") center / 100% 100% no-repeat;
  min-height: 100vh;
  padding: 100px 0px 300px;
  position: relative; /* necesario para posicionar correctamente el vector dentro de la sección */
}

/* Espacio adicional para varietals.html */
.from-varietals {
  margin-top: 120px;
}

/* Espacio adicional para processing.html */
.from-processing {
  margin-top: 180px;
}

.spectrum-processing {
  padding-top: 200px;
  padding-bottom: 20px;
}

/* Espacio adicional para blends.html */
.seamless-blends {
  margin-top: 100px;
}

/* Reducir espacio superior para wholesale.html */
.difference-wholesale {
  padding-top: 0;
  margin-top: -40px;
  padding-bottom: 80px;
}

/* Ajustar imagen spectrum en wholesale.html */
.spectrum-wholesale img {
  margin-top: 15px;
}

/* Vector decorativo en la cabecera de la sección From Farm to Cup */
.from .fromVector {
  top: -80px; /* que sobresalga un poco del borde superior */
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1; /* asegurar que quede por encima del fondo de la sección */
}

.curvy {
  color: var(--Cream, #fed);
  text-align: center;
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 30px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .instant-coffee {
    display: none;
  }
  .curvy {
    font-size: 20px;
  }
  .hero-div,
  .why-reverse {
    flex-direction: column-reverse;
  }

  .specialh4 {
    width: 100%;
  }

  .cardheading {
    font-size: 30px;
  }
  h1,
  h2 {
    font-size: 45px;
  }
  h4,
  .fast h4,
  h3 {
    font-size: 16px;
  }
  .curated {
    padding: 130px 0px 100px;
    border-radius: 0;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0) 60.61%, #0d0d0d 82.28%),
      url("../images/mob-leaf.png") no-repeat center / cover,
      #d9d9d9; /* fallback color */
  }
  .colCard {
    padding: 20px 15px;
  }

  .seamless {
    border-radius: 60px;
  }

  .seamless img {
    position: relative;
  }

  .seamless-div {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footBR,
  .footBL {
    max-height: 150px;
  }
  .footerTop {
    top: -50px;
  }

  .navLogo {
    height: 150px;
    width: 150px;
  }
  .langDrop {
    padding: 0px 5px;
  }

  .langDrop > img {
    width: 35px;
    height: auto;
  }
  .cart {
    padding: 8px;
  }

  /* Mobile - Logos override */
  .footerLogo {
    width: 200px;
    height: 200px;
    top: -100px;
  }

  /* Mobile - Espresso cards */
  .espresso-card {
    min-height: 350px;
  }

  /* Mobile - Seamless pseudo-element */
  .seamless .col-md-6.position-relative::before {
    display: none;
  }

  /* Mobile - Paddings */
  .hero, .difference, .spectrum {
    padding: 40px 0px;
  }

  /* Reduce space above mobile navbar */
  .hero {
    padding-top: 15px;
  }

  /* Reduce navbar's own top padding on mobile */
  .navbar.d-md-none {
    padding-top: 1rem;
  }

  .chach {
    padding: 60px 0px;
  }

  .padres-float {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .padres-float .padres-img {
    width: 130px;
    height: 130px;
  }

  .padres-label {
    font-size: 11px;
  }

  .from {
    padding: 40px 0px 100px;
  }

  footer {
    margin-top: 80px;
    min-height: auto;
  }

  /* Mobile - Info cards */
  .info-card {
    padding: 25px 20px;
  }

  /* Mobile - Reset offset classes for proper alignment */
  [class*="offset-lg"],
  [class*="offset-md"] {
    margin-left: 0 !important;
  }

  /* Mobile - Reduce excessive padding */
  .py-50 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* Mobile - Ensure full width columns */
  .col-md-6,
  .col-md-5,
  .col-lg-5,
  .col-lg-4 {
    width: 100% !important;
    max-width: 100%;
  }

  /* Mobile - Force center alignment for all text and titles */
  .hero,
  .difference,
  .spectrum,
  .from,
  .seamless,
  section {
    text-align: center !important;
  }

  h1, h2, h3, h4, h5, h6, p, div, span {
    text-align: center !important;
  }

  /* Mobile - Hide fromImg.png */
  img[src*="fromImg"] {
    display: none !important;
  }

  /* Mobile - Feature list */
  .feature-list li {
    padding: 12px 0;
    font-size: 14px;
  }

  /* Mobile - Hide Vector 5.png decorative element */
  .fromVector {
    display: none !important;
  }

  /* Mobile - Underlined pseudo */
  .underlined::before {
    height: 20px;
    bottom: -20px;
  }

  /* Mobile - Close menu icon */
  .closeMenu {
    width: 40px;
    height: 40px;
  }

  /* Mobile - Page specific */
  .from-varietals {
    margin-top: 40px;
  }

  .from-processing {
    margin-top: 60px;
  }

  .spectrum-processing {
    padding-top: 80px;
    padding-bottom: 10px;
  }

  .seamless-blends {
    margin-top: 40px;
  }

  .difference-wholesale {
    margin-top: 0;
    padding-bottom: 30px;
  }

  .spectrum-wholesale img {
    margin-top: 10px;
  }

  .product-cart-btn::after,
  .product-cart-btn::before {
    display: none !important;
  }

  .chach p {
    font-size: 15px;
  }
}

/* ===== TABLET MEDIA QUERIES (768px - 991px) ===== */
@media (max-width: 991px) {
  /* Tablet - Espresso cards */
  .espresso-card {
    min-height: 400px;
  }

  /* Tablet - Seamless pseudo-element */
  .seamless .col-md-6.position-relative::before {
    display: none;
  }

  /* Tablet - Paddings */
  .hero, .difference, .spectrum {
    padding: 60px 0px;
  }

  .chach {
    padding: 100px 0px;
  }

  .from {
    padding: 60px 0px 150px;
  }

  footer {
    min-height: auto;
    margin-top: 150px;
  }

  /* Tablet - Page specific */
  .from-varietals {
    margin-top: 80px;
  }

  .from-processing {
    margin-top: 120px;
  }

  .spectrum-processing {
    padding-top: 120px;
  }

  .seamless-blends {
    margin-top: 60px;
  }

  .difference-wholesale {
    margin-top: -20px;
    padding-bottom: 50px;
  }
}

/* ========================================
   PRODUCT CART BUTTON TOOLTIP
   ======================================== */

.product-cart-btn {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100 !important;
}

.product-cart-btn:hover {
  transform: scale(1.1);
}

/* Safari fix: clicks pass through SVG children to the button */
.product-cart-btn svg,
.product-cart-btn svg * {
  pointer-events: none;
}

.product-cart-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--Brown, #3a250f);
  color: var(--Cream, #fed);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  font-family: Inter;
}

.product-cart-btn::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  border: 6px solid transparent;
  border-top-color: var(--Brown, #3a250f);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.product-cart-btn:hover::after,
.product-cart-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   PRODUCT MODAL — Rectangular / Warm / Pro
   ======================================== */

.product-modal .modal-dialog {
  max-width: 740px;
}

.product-modal .modal-content {
  border-radius: 8px;
  border: none;
  background: #faf5ef;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(58, 37, 15, 0.25);
  position: relative;
}

/* Close button */
.product-modal .modal-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 100 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(58, 37, 15, 0.75) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 0 !important;
}

.product-modal .modal-close-btn svg {
  stroke: #ffffff !important;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.product-modal .modal-close-btn svg * {
  pointer-events: none;
}

.product-modal .modal-close-btn:hover {
  background: #3a250f !important;
}

/* Two-column layout */
.product-modal .modal-body-layout {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

/* Image column */
.product-modal .modal-image-col {
  flex: 0 0 45%;
  max-width: 45%;
  background: #3a250f;
}

.product-modal .modal-image-col .product-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

/* Info column */
.product-modal .modal-info-col {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.product-modal .modal-product-name {
  color: #3a250f;
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.product-modal .modal-product-desc {
  color: #5a4230;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* Price block */
.product-modal .modal-price-block {
  background: rgba(208, 142, 62, 0.08);
  border: 1px solid rgba(208, 142, 62, 0.3);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.product-modal .modal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-modal .modal-price-row + .modal-price-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(208, 142, 62, 0.25);
}

.product-modal .modal-price-label {
  color: #5a4230;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-modal .modal-price-value {
  color: #d08e3e;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.product-modal .modal-total-value {
  color: #3a250f;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

/* Quantity row */
.product-modal .modal-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.product-modal .modal-qty-label {
  color: #3a250f;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-modal .modal-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(208, 142, 62, 0.4);
  border-radius: 6px;
  overflow: hidden;
}

.product-modal .modal-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(208, 142, 62, 0.1);
  color: #3a250f;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.product-modal .modal-qty-btn:hover {
  background: rgba(208, 142, 62, 0.25);
}

.product-modal .modal-qty-input {
  width: 50px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(208, 142, 62, 0.3);
  border-right: 1px solid rgba(208, 142, 62, 0.3);
  background: transparent;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3a250f;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-modal .modal-qty-input::-webkit-outer-spin-button,
.product-modal .modal-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-modal .modal-qty-input:focus {
  outline: none;
}

/* Buy button */
.product-modal .modal-buy-btn {
  width: 100%;
  background: #3a250f;
  border: none;
  color: #fed;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-modal .modal-buy-btn:hover {
  background: #d08e3e;
  box-shadow: 0 4px 16px rgba(208, 142, 62, 0.35);
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .product-modal .modal-dialog {
    max-width: 92%;
    margin: 20px auto;
  }

  .product-modal .modal-body-layout {
    flex-direction: column;
    min-height: auto;
  }

  .product-modal .modal-image-col {
    flex: none;
    max-width: 100%;
  }

  .product-modal .modal-image-col .product-image {
    min-height: 180px;
    max-height: 240px;
  }

  .product-modal .modal-info-col {
    padding: 24px 20px;
  }

  .product-modal .modal-product-name {
    font-size: 22px;
  }

  .product-modal .modal-product-desc {
    font-size: 13px;
  }
}

/* ========================================
   PRODUCTS CATALOG MODAL
   ======================================== */

.catalog-modal .modal-dialog {
  max-width: 680px;
}

.catalog-modal .modal-content {
  border-radius: 8px;
  border: none;
  background: #faf5ef;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 37, 15, 0.25);
}

.catalog-header {
  background: #3a250f;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-title {
  color: #fed;
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.catalog-close-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.catalog-close-btn svg,
.catalog-close-btn svg * {
  stroke: #ffffff !important;
  pointer-events: none;
}

.catalog-close-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.catalog-body {
  padding: 24px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.catalog-item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(208, 142, 62, 0.15);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.25s ease;
}

/* Safari fix: clicks pass through children to .catalog-item */
.catalog-item * {
  pointer-events: none;
}

.catalog-item:hover {
  border-color: #d08e3e;
  box-shadow: 0 6px 20px rgba(58, 37, 15, 0.12);
  transform: translateY(-2px);
}

.catalog-item-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.catalog-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.catalog-item:hover .catalog-item-img img {
  transform: scale(1.08);
}

.catalog-item-info {
  padding: 14px 16px;
}

.catalog-item-info h4 {
  color: #3a250f;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.catalog-item-price {
  color: #d08e3e;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .catalog-modal .modal-dialog {
    max-width: 92%;
    margin: 20px auto;
  }

  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .catalog-item-img {
    height: 140px;
    padding: 12px;
  }

  .catalog-item-info {
    padding: 10px 12px;
  }

  .catalog-item-info h4 {
    font-size: 12px;
  }

  .catalog-item-price {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
