/*
 Theme Name:   Storefront Child
 Description:  Manjares en Casa Child Theme
 Author:       Franco Aguirre
 Template:     storefront
 Version:      1.0.0
*/

/* Fira Code + Inter */
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --primary-color: #bbad9b;
  --bg-color: #53707a;
  --text-color: #ffffff;
  --width-container: 90dvw;
}

body {
  background-color: var(--bg-color) !important;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

ul,
ol {
  margin: 0 !important;
}

p {
  margin: 0 !important;
}

form {
  margin: 0 !important;
}

/* ==========================================================================
   2. TYPOGRAPHY & COLORS
   ========================================================================== */
@font-face {
  font-family: "ADA Hybrid Medium";
  src: url("fonts/ADAHybrid-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body,
button,
input,
select,
textarea {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
}

/* --- Global Typography Scale --- */
h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
h5,
h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  color: var(--primary-color) !important;
}

a,
a:visited {
  color: #bbad9b !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #fff;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
}

button:hover,
.button:hover {
  background-color: #a39585 !important;
  opacity: 0.9;
}

.woocommerce-Price-amount {
  font-family: "Inter", sans-serif !important;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.col-full {
  max-width: var(--width-container) !important;
  width: var(--width-container) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.content-area {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

#content,
.site-content,
.site-main,
#primary,
#main {
  overflow: visible !important;
}

@media (max-width: 768px) {
  .site-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .site-header {
    padding-bottom: 0 !important;
  }
}

.site-header,
.site-footer,
.main-navigation ul ul,
.main-navigation ul.menu > li > ul,
.storefront-primary-navigation {
  background-color: var(--bg-color) !important;
}

.site-header {
  padding-top: 0 !important;
  border: 0 !important;
  margin-bottom: 0 !important;
}

.site-footer a {
  text-decoration: none !important;
}

/* ==========================================================================
   4. UTILITY CLASSES
   ========================================================================== */
.text-primary {
  color: var(--primary-color);
}
.bg-primary {
  background-color: var(--primary-color);
}
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.w-100 {
  width: 100%;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.visually-hidden {
  display: none;
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

/* --- Top Banner Marquee --- */
.top-banner {
  background-color: var(--primary-color);
  color: #fff;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  display: flex;
  width: 100%;
  position: relative;
  z-index: 50;
  pointer-events: none;
}

@media (min-width: 768px) {
  .top-banner {
    font-size: 14px;
  }
}

.marquee-track {
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: ce-marquee 60s linear infinite;
}

.marquee-track span {
  margin: 0 16px;
}

@media (min-width: 768px) {
  .marquee-track span {
    margin: 0 32px;
  }
}

.marquee-separator {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes ce-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- Desktop Header --- */
.header-inner-desktop {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: var(--width-container);
  margin: 0 auto;
  padding: 25px 0;
}

@media (min-width: 768px) {
  .header-inner-desktop {
    display: flex;
  }
}

.header-nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-nav-left ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav-left li {
  position: relative;
  display: flex;
  align-items: center;
}

.header-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo img {
  width: auto;
  height: 70px;
  display: block;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-search-inline {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-inline-icon {
  position: absolute;
  left: 10px;
  color: var(--bg-color);
  opacity: 0.5;
  pointer-events: none;
}

.header-search-inline .header-search-input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  font-size: 12px;
  color: var(--bg-color);
  background: #fff;
  border-color: var(--bg-color);
}
.header-search-inline .header-search-input::placeholder {
  color: var(--bg-color);
  opacity: 0.5;
}

.header-search-inline .header-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  z-index: 9999;
}

.header-cart-item {
  display: flex;
  align-items: center;
  line-height: 1;
}
.header-cart-item * {
  line-height: 1;
  vertical-align: middle;
}

/* --- Nav Link Styles (Header + Footer shared) --- */
.nav-link {
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none !important;
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 1;
  transition: color 0.3s;
  color: var(--primary-color) !important;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  background: #fff;
  transition: all 0.2s ease-in-out;
  width: 0;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #fff !important;
}

.nav-link.active::after {
  width: 100%;
}

@media (min-width: 768px) {
  .header-nav-left .nav-link {
    font-size: 15px;
  }
}

/* --- Header Search --- */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 4px;
  display: flex;
  align-items: center;
}
.header-search-input {
  width: 100%;
  padding: 10px 14px;
  font-family: "Fira Code", monospace;
  font-size: 13px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: #fff;
  outline: none;
  box-sizing: border-box;
}
.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.header-search-results {
  max-height: 360px;
  overflow-y: auto;
  background: var(--bg-color);
  border: 2px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  display: none;
}
.header-search-results.has-results {
  display: block;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s;
}
.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-family: "Fira Code", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-price {
  font-family: "Fira Code", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.search-no-results {
  padding: 12px;
  font-family: "Fira Code", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Mobile search */
.mobile-search-bar {
  width: var(--width-container);
  margin: 0 auto;
  padding: 0 0 12px 0;
}
.mobile-search-inline {
  position: relative;
  display: flex;
  align-items: center;
}
.mobile-search-inline .search-inline-icon {
  position: absolute;
  left: 10px;
  color: var(--bg-color);
  opacity: 0.5;
  pointer-events: none;
}
.mobile-search-bar .header-search-input {
  width: 100%;
  font-size: 14px;
  padding: 10px 12px 10px 34px;
  color: var(--bg-color);
  background: #fff;
  border-color: var(--bg-color);
}
.mobile-search-bar .header-search-input::placeholder {
  color: var(--bg-color);
  opacity: 0.5;
}
.mobile-search-bar .header-search-results {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .mobile-search-bar {
    display: none;
  }
}

/* --- Mobile Header Bar --- */
.header-inner-mobile {
  display: flex;
  align-items: center;
  width: var(--width-container);
  margin: 0 auto;
  padding: 16px 0;
  min-height: 60px;
}

@media (min-width: 768px) {
  .header-inner-mobile {
    display: none;
  }
}

.mobile-hamburger-col {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mobile-logo-col {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-logo-col img {
  width: auto;
  height: 40px;
  display: block;
  margin: 0 auto;
}

.mobile-cart-col {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#mobile-menu-open {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}

/* --- Mobile Nav Overlay --- */
#mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.35s;
  visibility: hidden;
}

#mobile-nav-overlay:not(.hidden) {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

body.mobile-nav-open {
  overflow: hidden !important;
}

body.mobile-nav-open .wa-float {
  display: none !important;
}

#mobile-nav-overlay ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 32px !important;
}

#mobile-nav-overlay li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

#mobile-nav-overlay li::before,
#mobile-nav-overlay li::marker {
  content: none !important;
  display: none !important;
}

#mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  cursor: pointer;
}

.mobile-nav-link {
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none !important;
  color: var(--primary-color) !important;
  transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff !important;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
#colophon {
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

@media print {
  #colophon {
    display: none;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  padding: 40px 5dvw;
  border-top: 1px solid var(--primary-color);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    gap: 0;
    text-align: left;
  }
}

.footer-copyright {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    flex: 0 0 45%;
    justify-content: flex-start;
  }
}

.footer-copyright span {
  font-family: "Fira Code", monospace;
  font-weight: 400;
  font-size: 14px;
  color: var(--primary-color);
  text-transform: uppercase;
  line-height: 1.6;
  letter-spacing: 1px;
}

.footer-nav {
  flex: 1;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 768px) {
  .footer-nav ul {
    flex-direction: row;
    gap: 30px;
  }
}

.footer-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-nav .nav-link {
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer-nav .nav-link {
    font-size: 16px;
  }
}

/* --- Footer Instagram Icon --- */
.footer-instagram {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  text-decoration: none !important;
  border: none !important;
}

.footer-instagram:hover {
  opacity: 0.7;
}
@media (min-width: 768px) {
  .footer-instagram {
    margin-left: 30px;
  }
}

/* --- WhatsApp Floating Button --- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100dvw;
  left: 50%;
  right: 50%;
  margin-left: -50dvw;
  margin-right: -50dvw;
  overflow: hidden;
}

.hero-slider-wrapper {
  width: 100%;
  z-index: 0;
}

.hero-slider-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Swiper bullet styles */
.hero-full-bg-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 12px;
  height: 12px;
}

.hero-full-bg-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
}

/* Hero nav arrows */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  color: var(--primary-color);
  width: 4dvw;
  height: 4dvw;
  min-width: 50px;
  min-height: 50px;
  transition: 0.3s;
}

.hero-nav-btn:hover {
  color: #fff;
  scale: 1.1;
}

.hero-prev {
  left: 2%;
}
.hero-next {
  right: 2%;
}

.hero-nav-btn svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

@media (max-width: 768px) {
  .hero-nav-btn {
    display: none;
  }
}

/* Fallback images */
.hero-fallback-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}

.hero-fallback-img--left {
  left: 0;
  object-position: left;
}

.hero-fallback-img--right {
  right: 0;
  object-position: right;
}

@media (min-width: 768px) {
  .hero-fallback-img {
    max-width: 35%;
    opacity: 1;
  }
}

/* ==========================================================================
   8. SECTION TITLE COMPONENT
   ========================================================================== */
.custom-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 4rem;
  margin-bottom: 4rem;
  gap: 20px;
  box-sizing: border-box;
}

.title-line {
  display: block;
  height: 2px;
  background-color: var(--primary-color);
  flex-grow: 1;
  opacity: 0.8;
}

.title-text {
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 28px;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .custom-section-title,
  .home-dudas-header {
    width: 100dvw;
    left: 50%;
    margin-left: -50dvw;
    margin-right: -50dvw;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0;
    box-sizing: border-box;
  }
  .title-text {
    font-size: 20px;
    white-space: normal;
    text-align: center;
    flex-shrink: 0;
  }
  .title-line {
    min-width: 30px;
  }
}

/* ==========================================================================
   9. CATEGORIES GRID
   ========================================================================== */
.categories-section-wrapper {
  background-color: var(--bg-color);
}

.categories-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-bento-card {
  grid-column: span var(--span, 2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: 25px;
  overflow: hidden;
  text-decoration: none;
  background-color: #d4c9bb;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.category-bento-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.cat-title {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  color: #53707a;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.15;
  padding: 20px 24px 20px 20px;
  z-index: 2;
  position: relative;
}

.cat-thumbnail {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30%;
  max-width: 140px;
  max-height: 85%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .categories-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .category-bento-card {
    grid-column: span 1;
  }
  .categories-bento-grid:has(> :only-child) .category-bento-card {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .categories-bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .category-bento-card {
    grid-column: span 1 !important;
    min-height: 140px;
  }
  .cat-title {
    font-size: 18px;
  }
}

/* ==========================================================================
   10. PRODUCT CAROUSEL
   ========================================================================== */
.custom-sandwich-carousel {
  background-color: #54707a;
  overflow: visible;
  position: relative;
}

.swiper-custom-container {
  width: 100%;
  padding-top: 20px;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.swiper-custom-container .swiper-wrapper {
  overflow: visible !important;
}

.swiper-custom-container .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
}

.sandwich-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 18dvw;
  position: relative;
  overflow: visible;
  cursor: pointer;
}

.sandwich-card img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.carousel-title-wrapper {
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 5px;
  margin-top: 8px;
  margin-bottom: 2px;
  height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.carousel-product-title {
  color: #fff;
  font-family: "Fira Code", monospace;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.image-sandwich {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.layer-product-img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sandwich-card:hover .layer-product-img {
  transform: scale(1.05);
}

.product-meta {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
  color: #fff;
  width: 100%;
  z-index: 5;
  position: relative;
  font-family: "Fira Code", monospace;
}

.short-desc {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  opacity: 0.6;
  line-height: 1.4;
}

.price-wrapper {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.price-wrapper del {
  opacity: 0.6;
  font-size: 0.6em;
  margin-right: 10px;
}
.price-wrapper ins {
  text-decoration: none;
}

.carousel-sin-impuesto {
  font-family: "Fira Code", monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

/* Carousel nav buttons */
.custom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  color: var(--primary-color);
  width: 4dvw;
  height: 4dvw;
  min-width: 50px;
  min-height: 50px;
  transition: 0.3s;
}

.custom-nav-btn:hover {
  color: #fff;
  scale: 1.1;
}
.custom-prev {
  left: 2%;
}
.custom-next {
  right: 2%;
}

.custom-nav-btn svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

@media (max-width: 1024px) {
  .sandwich-card {
    width: 25dvw;
  }
  .carousel-product-title {
    font-size: 14px;
  }
  .short-desc {
    font-size: 14px;
  }
  .price-wrapper {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .custom-sandwich-carousel {
    padding-top: 20px;
    width: 100dvw;
    position: relative;
    left: 50%;
    margin-left: -50dvw;
  }
  .sandwich-card {
    width: 40dvw;
  }
  .carousel-product-title {
    font-size: 12px;
  }
  .product-meta {
    margin-top: 2px;
  }
  .short-desc {
    font-size: 14px;
  }
  .price-wrapper {
    font-size: 16px;
  }
  .carousel-sin-impuesto {
    font-size: 8px;
  }
  .carousel-discount-badge {
    font-size: 11px;
    padding: 3px 5px;
  }
  .custom-nav-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    background: none;
    padding: 0;
    z-index: 30;
  }
  .custom-prev {
    left: 4px;
  }
  .custom-next {
    right: 4px;
  }
}

/* ==========================================================================
   11. CONTACT FORM COMPONENT (template-part)
   ========================================================================== */
.contact-section-wrapper {
  background-color: var(--bg-color);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.contact-form-col {
  flex: 1;
}
.contact-map-col {
  flex: 1;
  min-height: 400px;
}

.theme-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0 !important;
}

.form-row {
  display: flex;
  gap: 20px;
}

.styled-input {
  width: 100%;
  background-color: #fff;
  border: 3px solid var(--primary-color) !important;
  border-radius: 20px;
  padding: 15px 25px;
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 16px;
  color: #596f77;
  text-transform: uppercase;
  outline: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.styled-input::placeholder {
  color: #abb8c3;
}

.styled-input:focus {
  box-shadow: 0 0 0 4px rgba(187, 173, 155, 0.3);
  transform: translateY(-2px);
}

textarea.styled-input {
  resize: vertical;
  height: 150px;
}
textarea.no-padding {
  padding: 15px;
}
.full-width {
  width: 100%;
}

.form-submit-wrapper {
  text-align: left;
  margin-top: 10px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  font-family: "Fira Code", monospace;
  font-size: 18px;
  font-weight: 700;
  color: #596f77 !important;
  text-transform: uppercase;
  padding: 12px 50px;
  border-radius: 20px;
  cursor: pointer;
  background-image: url("/wp-content/uploads/2026/01/Texture-scaled.webp");
  background-size: cover;
  background-position: center;
  border: 3px solid var(--primary-color);
  box-shadow:
    0 0 0 4px #fff,
    0 10px 20px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 4px #fff,
    0 15px 25px rgba(0, 0, 0, 0.3);
}

.send-icon {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
}

.map-frame {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  .contact-map-col {
    height: 300px;
  }
  .form-submit-wrapper {
    text-align: center;
  }
  .contact-btn {
    width: 100%;
  }
}

/* ==========================================================================
   12. FRONT PAGE (Dudas Section + Newsletter Popup)
   ========================================================================== */

/* --- Dudas CTA Section --- */
.home-dudas-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 4rem;
  margin-bottom: 0;
  gap: 20px;
  box-sizing: border-box;
}

.home-dudas-section {
  text-align: center;
  padding: 20px 0;
  background-color: var(--bg-color);
}

.home-dudas-subtitle {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  font-family: "Fira Code", monospace;
}

.home-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  font-family: "Fira Code", monospace;
  transition: background 0.3s ease;
}

.home-whatsapp-btn:hover {
  background-color: #a39585;
  color: #fff !important;
}

.home-whatsapp-btn span {
  color: #fff;
}

/* --- Newsletter Popup --- */
.nl-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nl-popup-overlay:not(.visually-hidden) {
  display: flex;
}

.nl-popup-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: nl-popup-in 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.nl-popup-card > * {
  margin: 0 !important;
}

@keyframes nl-popup-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.nl-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none !important;
  border: none !important;
  font-size: 20px;
  color: #bbad9b !important;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 50%;
  transition: all 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

.nl-popup-close:hover {
  color: #a89880;
  background: none !important;
}

.nl-popup-title {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #53707a;
  line-height: 1.4;
  margin: 0 0 8px;
}

.nl-popup-highlight {
  color: #bbad9b;
}

.nl-popup-disclaimer {
  font-size: 11px;
  color: #999;
  margin: 0 0 12px;
}

.nl-popup-body {
  font-family: "Fira Code", monospace;
  font-size: 13px;
  color: #53707a;
  line-height: 1.5;
  margin: 0 0 10px;
}

.nl-popup-form {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.nl-popup-form .tnp-subscription {
  margin: 0 !important;
  padding: 0 !important;
}

.nl-popup-form .tnp-subscription,
.nl-popup-form .tnp-subscription form {
  width: 100% !important;
}

.nl-popup-form .tnp-subscription form {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
}

.nl-popup-form .tnp-subscription form > input[type="hidden"] {
  display: none !important;
}

.nl-popup-form .tnp-field {
  margin: 0 !important;
}

.nl-popup-form .tnp-field-email {
  flex: 1 1 auto !important;
  min-width: 0;
}

.nl-popup-form .tnp-field-button {
  flex: 0 0 auto !important;
  text-align: center !important;
}

.nl-popup-form .tnp-field-email label {
  display: none !important;
}

.nl-popup-form .tnp-field input[type="email"],
.nl-popup-form .tnp-field input[type="text"] {
  width: 100% !important;
  height: 40px !important;
  padding: 0 16px !important;
  border: 2px solid #bbad9b !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  color: #53707a !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: "Fira Code", monospace !important;
}

.nl-popup-form .tnp-field input:focus {
  border-color: #53707a !important;
}

.nl-popup-form input[type="submit"],
.nl-popup-form .tnp-submit {
  background-color: #53707a !important;
  color: #fff !important;
  border: 2px solid #53707a !important;
  border-radius: 5px !important;
  height: 40px !important;
  padding: 0 24px !important;
  font-family: "Fira Code", monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.3s;
  white-space: nowrap !important;
  width: auto !important;
}

.nl-popup-form input[type="submit"]:hover,
.nl-popup-form .tnp-submit:hover {
  background-color: #bbad9b !important;
}

.nl-popup-success {
  font-family: "Fira Code", monospace;
  font-size: 14px;
  color: #53707a;
  text-align: center;
  line-height: 1.6;
  padding: 10px 0;
  font-weight: 600;
}

@media (max-width: 500px) {
  .nl-popup-card {
    padding: 30px 20px 20px;
  }
}

/* ==========================================================================
   13. CONTACT PAGE
   ========================================================================== */
.contact-page-wrapper {
  background-color: var(--bg-color);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding-bottom: 80px;
  overflow-x: hidden;
}

.contact-page-inner {
  width: var(--width-container);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 60px;
}

.contact-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-family: "ADA Hybrid Medium", sans-serif;
}

.contact-info-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 0 auto 30px auto;
}

.contact-info-grid--full {
  margin: 0 auto 100px auto;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.contact-info-item a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-item a:hover {
  color: var(--primary-color) !important;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
}

.contact-middle-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
  position: relative;
}

.contact-hand-img {
  position: absolute;
  top: -100px;
  left: -20px;
  width: 200px;
  z-index: 10;
  transform: rotate(-10deg);
}

.contact-hand-img img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-wrapper {
  flex: 1;
  max-width: 700px;
  margin: 0 20px;
  position: relative;
  z-index: 2;
}

/* Override styles from the template-part */
.contact-form-wrapper .contact-section-wrapper {
  padding: 0;
  background: transparent;
}
.contact-form-wrapper .contact-container {
  display: block;
  max-width: 100%;
}
.contact-form-wrapper .contact-map-col {
  display: none;
}

.contact-form-wrapper .styled-input {
  background: #fff;
  border-radius: 20px;
  border: none !important;
  color: #596f77;
  font-size: 16px;
}

.contact-form-wrapper .theme-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wrapper .contact-btn {
  background: #bbad9b;
  color: #fff !important;
  border: none;
  width: 100%;
  border-radius: 20px;
  font-family: "Fira Code", monospace;
  font-size: 18px;
  font-weight: bold;
  background-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-wrapper .contact-btn:hover {
  background: #a39585;
}

.contact-form-wrapper .contact-btn .send-icon {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.contact-footer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 60px;
}

.factory-img {
  width: 350px;
  flex-shrink: 0;
}

.contact-description {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  font-family: "Courier New", Courier, monospace;
}

@media (max-width: 900px) {
  .contact-info-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .contact-middle-section {
    flex-direction: column;
    align-items: center;
  }
  .contact-hand-img {
    display: none;
  }
  .contact-form-wrapper {
    width: 100%;
    margin: 0;
  }
  .contact-footer-section {
    flex-direction: column;
    text-align: center;
  }
  .contact-description {
    text-align: center;
  }
}

/* ==========================================================================
   14. FAQ PAGE
   ========================================================================== */
.faq-page-wrapper {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 80px 0;
  min-height: 100vh;
  font-family: inherit;
}

.faq-container {
  width: var(--width-container);
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  width: 100%;
}

.faq-question {
  width: 100%;
  background-color: #fff;
  color: var(--bg-color);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 30px;
  border: none;
  border-radius: 30px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  outline: none;
}

.faq-question:hover {
  opacity: 0.9;
}

.faq-question.active {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.faq-icon {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-answer-content {
  padding: 20px 15px;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

.faq-empty {
  text-align: center;
  opacity: 0.7;
}

/* ==========================================================================
   15. SHOP / ARCHIVE PAGE
   ========================================================================== */

/* --- Shop Layout: Sidebar + Content --- */
.manjares-shop-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.manjares-shop-sidebar {
  width: 270px;
  min-width: 270px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.manjares-shop-content {
  flex: 1;
  min-width: 0;
}

.infinite-scroll-loader {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
}
.infinite-scroll-svg {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- Sidebar Titles --- */
.sidebar-title {
  background-image: url("/wp-content/uploads/2026/01/Texture-scaled.webp");
  background-size: cover;
  background-position: center;
  color: #53707a !important;
  padding: 13px 16px;
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.sidebar-section {
  margin-bottom: 18px;
}

/* --- Category List --- */
.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(83, 112, 122, 0.15);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.sidebar-cat-item {
  border-bottom: 1px solid rgba(83, 112, 122, 0.1);
}
.sidebar-cat-item:last-child {
  border-bottom: none;
}

.cat-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  transition: background 0.2s;
}

.cat-item-header:hover {
  background: rgba(83, 112, 122, 0.07);
}
.sidebar-cat-item.active > .cat-item-header {
  background: rgba(83, 112, 122, 0.1);
}

.sidebar-cat-item a {
  color: #53707a !important;
  text-decoration: none !important;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
  transition: color 0.2s;
  border: none !important;
}

.sidebar-cat-item a:hover,
.sidebar-cat-item.active > .cat-item-header > a {
  color: #2a4f5a !important;
}

.sidebar-special-item a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Expand Toggle --- */
.cat-toggle {
  background: none !important;
  border: none !important;
  color: #53707a;
  cursor: pointer;
  font-size: 12px;
  padding: 0 0 0 8px;
  transition: transform 0.25s;
  line-height: 1;
  flex-shrink: 0;
}

.cat-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

/* --- Sub-category List --- */
.sidebar-sub-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(83, 112, 122, 0.05);
}

.sidebar-sub-cat-list.open {
  max-height: 600px;
}
.sidebar-sub-cat-list li {
  border-top: 1px solid rgba(83, 112, 122, 0.08);
}
.sidebar-sub-cat-list li a {
  display: block;
  padding: 8px 14px 8px 26px;
  font-size: 13px;
}
.sidebar-sub-cat-list li.active a {
  color: #2a4f5a;
  font-weight: 600;
}

/* --- Price Filter --- */
.price-filter {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(83, 112, 122, 0.15);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.price-range-display {
  font-family: "Fira Code", monospace;
  font-size: 13px;
  color: #53707a;
  margin: 0 0 14px 0;
  text-align: center;
}

.price-slider-wrapper {
  position: relative;
  height: 28px;
  margin: 0 0 14px 0;
}

.price-slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: rgba(83, 112, 122, 0.2);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}

.price-slider-range {
  position: absolute;
  height: 100%;
  background: #bbad9b;
  border-radius: 2px;
}

.price-slider-wrapper input[type="range"] {
  position: absolute;
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
}

.price-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #bbad9b;
  pointer-events: all;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  z-index: 4;
  position: relative;
}

.price-slider-wrapper input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #bbad9b;
  pointer-events: all;
  cursor: pointer;
  border: 2px solid #fff;
}

.price-filter-btn {
  display: block;
  width: 100%;
  background-image: url("/wp-content/uploads/2026/01/Texture-scaled.webp");
  background-size: cover;
  background-position: center;
  color: #53707a !important;
  border: none;
  padding: 11px;
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.price-filter-btn:hover {
  opacity: 0.85;
}

/* --- Shop Header Row --- */
.shop-header-row {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 16px;
}

.header-left-col {
  flex: 1;
}
.header-center-col {
  flex: 0 0 auto;
}
.header-right-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* --- Category Page Badge --- */
.woocommerce-products-header__title.page-title {
  display: none !important;
}

.category-page-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  min-height: 100px;
  border-radius: 50px;
  background-image: url("/wp-content/uploads/2026/02/badge-1.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.badge-cat-title {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  color: #53707a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  padding: 20px 60px;
  width: 100%;
}

.badge-cat-thumb {
  position: absolute;
  bottom: 10px;
  right: 30px;
  width: auto;
  max-width: 50px;
  max-height: 80%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* --- Shop Sorting --- */
ul.products ~ .storefront-sorting,
.woocommerce-after-shop-loop,
.after-shop-loop {
  display: none !important;
}

.storefront-sorting {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100%;
  margin-bottom: 40px !important;
  gap: 20px !important;
}

.storefront-sorting .woocommerce-ordering,
.storefront-sorting .woocommerce-result-count {
  float: none !important;
  margin: 0 !important;
}

.woocommerce-result-count {
  color: #d8c8b8 !important;
  font-family: inherit;
  font-size: 16px;
}

p.woocommerce-result-count {
  display: none !important;
}

.woocommerce-ordering {
  position: relative;
}

.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent !important;
  border: 1.5px solid #d8c8b8 !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 8px 40px 8px 20px !important;
  font-size: 16px;
  outline: none;
  cursor: pointer;
}

.woocommerce-ordering select option {
  background-color: #53707a;
  color: #fff;
}

.woocommerce-ordering::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #d8c8b8;
  pointer-events: none;
  font-size: 12px;
}

/* --- Product Grid --- */
@media (min-width: 992px) {
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
    position: relative !important;
  }
  ul.products::before,
  ul.products::after {
    display: none !important;
  }
  .shop-product-card {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px !important;
    position: relative !important;
  }
  ul.products::before,
  ul.products::after {
    display: none !important;
  }
  .shop-product-card {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    margin-top: 20px !important;
    position: relative !important;
  }
  ul.products::before,
  ul.products::after {
    display: none !important;
  }
  .shop-product-card,
  ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
  }
  .storefront-sorting {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .manjares-shop-content {
    overflow-x: hidden;
    max-width: 100%;
  }

  .shop-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-left-col {
    display: none;
  }

  .header-center-col {
    order: -1;
    width: 100%;
  }

  .header-right-col {
    width: 100%;
    justify-content: stretch;
  }

  .header-right-col .woocommerce-ordering {
    width: 100%;
  }

  .header-right-col .woocommerce-ordering .orderby,
  .header-right-col .woocommerce-ordering select {
    width: 100%;
    box-sizing: border-box;
  }
}

/* --- Product Card Styling --- */
.shop-product-card {
  list-style: none !important;
  text-align: center;
  background: none !important;
}

.product-card-link {
  text-decoration: none !important;
  display: block;
  border: none !important;
  box-shadow: none !important;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
}

.product-thumb {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  transition: transform 0.4s ease;
  -webkit-user-drag: none;
}

.product-details {
  margin-top: 15px;
  color: #fff;
}

.archive-product-title {
  font-family: "Fira Code", monospace;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 6px 0;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-short-desc {
  font-family: "Fira Code", monospace !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-transform: uppercase;
  margin: 0 0 8px 0 !important;
  line-height: 1.4;
  display: block;
}

.product-card-link:hover .product-thumb img {
  transform: scale(1.05);
}

.shop-product-card .button,
.shop-product-card .added_to_cart {
  display: none !important;
}

/* --- Quantity Pill & Price --- */
.archive-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.archive-qty-pill {
  display: flex;
  align-items: center;
  border: 1.5px solid #d8c8b8;
  border-radius: 30px;
  height: 38px;
  overflow: hidden;
  background-color: transparent;
}

.archive-qty-pill .qty-btn {
  background-color: #d8c8b8;
  color: #53707a;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
  line-height: 1;
  padding-bottom: 3px;
}

.archive-qty-pill .qty-btn:hover {
  opacity: 0.8;
}

.archive-qty-pill .qty-num {
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  width: 35px;
  text-align: center;
}

.archive-price {
  font-family: "Fira Code", monospace !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
  display: block;
}

.archive-price ins {
  text-decoration: none;
}
.archive-price del {
  font-size: 0.7em;
  opacity: 0.6;
  margin-right: 8px;
}

.archive-sin-impuesto {
  font-family: "Fira Code", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .archive-sin-impuesto {
    font-size: 8px;
  }
}

/* --- Mobile Filter Panel --- */
.shop-filter-btn {
  display: none;
}
.shop-filter-overlay {
  display: none;
}

@media (max-width: 767px) {
  .shop-filter-overlay {
    display: block;
  }
  .shop-filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    left: 12px;
    bottom: 24px;
    z-index: 9997;
    background-color: #3c2f1e;
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 12px 18px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }

  .shop-filter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }

  .shop-filter-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  /* Slide-in filter overlay */
  .shop-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.35s;
  }

  .shop-filter-overlay.open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .shop-filter-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .shop-filter-overlay.open .shop-filter-overlay-bg {
    opacity: 1;
  }

  .shop-filter-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background-color: #f5f0eb;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding: 48px 20px 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  }

  .shop-filter-overlay.open .shop-filter-panel {
    transform: translateX(0);
  }

  .shop-filter-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    font-size: 22px;
    color: #bbad9b !important;
    cursor: pointer;
    line-height: 1;
    padding: 0;
  }

  /* Hide sidebar in normal flow on mobile */
  .manjares-shop-layout {
    flex-direction: column;
  }

  .manjares-shop-sidebar {
    display: none;
  }

  /* Sidebar styles inside the filter panel */
  .shop-filter-panel .sidebar-section {
    margin-bottom: 24px;
  }

  .shop-filter-panel .sidebar-title {
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .shop-filter-panel .sidebar-cat-list {
    font-size: 13px;
  }

  .shop-filter-panel .sidebar-cat-item a {
    padding: 6px 10px;
  }

  body.shop-filter-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .manjares-shop-sidebar {
    width: 210px;
    min-width: 210px;
  }
  .manjares-shop-layout {
    gap: 24px;
  }
}

/* ==========================================================================
   16. SINGLE PRODUCT PAGE
   ========================================================================== */
body.single-product {
  background-color: #beb3a7 !important;
}

/* Allow sticky to work */
body.single-product #page,
body.single-product #content,
body.single-product .col-full,
body.single-product #primary,
body.single-product .content-area,
body.single-product .site-main,
body.single-product main,
body.single-product article,
body.single-product .sp-layout,
body.post-type-archive-product #page,
body.post-type-archive-product .site,
body.post-type-archive-product #content,
body.post-type-archive-product .col-full,
body.post-type-archive-product #primary,
body.post-type-archive-product .content-area,
body.post-type-archive-product .site-main,
body.post-type-archive-product main,
body.tax-product_cat #page,
body.tax-product_cat .site,
body.tax-product_cat #content,
body.tax-product_cat .col-full,
body.tax-product_cat #primary,
body.tax-product_cat .content-area,
body.tax-product_cat .site-main,
body.tax-product_cat main {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

body.single-product,
body.post-type-archive-product,
body.tax-product_cat,
html:has(body.single-product),
html:has(body.post-type-archive-product),
html:has(body.tax-product_cat) {
  overflow-x: clip !important;
}

.woocommerce-products-header {
  display: none !important;
}

/* --- Grid Layout --- */
.sp-layout {
  display: grid;
  grid-template-columns: 65% 1fr;
  grid-template-rows: auto auto auto auto auto;
  gap: 0 40px;
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 30px 0 80px;
  color: #fff;
}

/* Hide mobile title on desktop */
.sp-title-wrap {
  display: none;
}

.sp-breadcrumbs {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}
.sp-breadcrumbs .storefront-breadcrumb {
  margin: 0 !important;
}
.sp-breadcrumbs .woocommerce-breadcrumb {
  font-family: "Fira Code", monospace;
  font-size: 14px;
  color: #526f78;
  margin: 0 !important;
  padding: 0 !important;
}
.sp-breadcrumbs .woocommerce-breadcrumb a {
  color: #526f78 !important;
  text-decoration: underline;
}

.sp-image {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sp-image__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── Sin Tacc Badge ─────────────────────────────────────────────────────── */
.sp-image {
  position: relative;
}

.sin-tacc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 60px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}

.product-image-wrapper .sin-tacc-badge {
  width: 50px;
}

.image-sandwich .sin-tacc-badge {
  width: 45px;
  top: 5px;
  left: 5px;
}

/* ── Discount Badge ────────────────────────────────────────────────────── */
.carousel-discount-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 5;
  background: var(--primary-color, #bbad9b);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: 2px solid #fff;
  pointer-events: none;
  line-height: 1.2;
}

.sp-right {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  position: relative;
}

.sp-right__inner {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.sp-title {
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #526f78 !important;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
}

.sp-description {
  font-family: "Fira Code", monospace;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
}
.sp-description .sp-collapsible__toggle {
  display: none;
}

.sp-price {
  margin: 10px 0;
}

.sp-price .price {
  font-family: "ADA Hybrid Medium", Helvetica, Arial, sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  color: #526f78;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}

.sp-price .woocommerce-Price-amount {
  color: #526f78;
}

.sp-sin-impuesto {
  font-family: "Fira Code", monospace;
  font-size: 12px;
  color: #526f78;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sp-sin-impuesto .woocommerce-Price-amount,
.sp-sin-impuesto .woocommerce-Price-amount bdi,
.sp-sin-impuesto .woocommerce-Price-currencySymbol {
  font-family: "Fira Code", monospace !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* --- Cart Row --- */
.sp-cart-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-qty-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid #53707a;
  border-radius: 12px;
  height: 42px;
  width: 120px;
  overflow: hidden;
  background-color: transparent;
}

.sp-qty-btn {
  background-color: #53707a !important;
  font-family: "ADA Hybrid Medium", sans-serif;
  color: #fff;
  border: none;
  width: 38px;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}

.sp-qty-btn:hover {
  opacity: 0.85;
}

.sp-qty-display {
  flex: 1;
  text-align: center;
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #53707a;
}

.sp-add-to-cart {
  font-size: 16px !important;
  font-weight: 700 !important;
  height: 42px;
  padding: 0 24px !important;
  background-color: #53707a !important;
  border-radius: 12px !important;
  font-family: "Fira Code", monospace !important;
  text-transform: uppercase;
  color: #fff !important;
  border: 2px solid transparent !important;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.sp-add-to-cart:hover {
  background-color: transparent !important;
  border-color: #526f78 !important;
  color: #526f78 !important;
}

/* --- Specs Section --- */
.sp-specs {
  grid-column: 1;
  grid-row: 3;
  margin-top: 60px;
}

.sp-specs__heading {
  color: #526f78 !important;
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0;
}

.sp-specs__list {
  font-family: "ADA Hybrid Medium", sans-serif;
}

.sp-specs__row {
  padding: 20px 0;
  font-size: 16px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #526f78;
}

.sp-specs__row:last-child {
  border-bottom: 2px solid #526f78;
}
.sp-specs__label {
  color: #fff;
  font-weight: 700;
  font-family: "Fira Code", monospace;
}
.sp-specs__value {
  color: #fff;
  font-weight: 500;
}

.sp-specs__divider {
  height: 2px;
  background-color: #526f78;
  width: 100%;
}

/* --- Recommendations --- */
.sp-recommendations {
  grid-column: 1 / -1;
  grid-row: 5;
  text-align: center;
  margin-top: 80px;
}

.sp-recommendations__heading {
  color: #526f78 !important;
  font-family: "ADA Hybrid Medium", sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  border-bottom: none;
  margin-bottom: 60px;
}

.sp-recommendations .custom-sandwich-carousel {
  background-color: transparent !important;
}
.sp-recommendations .custom-nav-btn {
  color: white !important;
}
.sp-recommendations .carousel-product-title {
  font-size: 15px !important;
}
.sp-recommendations .sandwich-card {
  width: 90% !important;
  max-width: 250px;
}

/* --- WPC Product Bundles --- */
.woosb-products {
  color: #fff;
}

.woosb-product {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.woosb-name,
.woosb-name a,
.woosb-name s {
  color: #fff !important;
}

.woosb-price,
.woosb-price .woocommerce-Price-amount {
  color: #fff !important;
}

.woosb-availability .stock {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Single Product Responsive: 1200px --- */
@media (max-width: 1200px) {
  .sp-layout {
    gap: 0 30px;
  }
  .sp-title {
    font-size: 32px;
  }
  .sp-price .price {
    font-size: 22px;
  }
}

/* Mobile price under title — hidden on desktop */
.sp-mobile-price {
  display: none;
}

/* Collapsible toggle/chevron — hidden on desktop */
.sp-chevron {
  display: none;
}
.sp-collapsible__toggle {
  cursor: default;
  color: var(--bg-color, #53707a) !important;
}

/* --- Single Product Responsive: 900px --- */
@media (max-width: 900px) {
  body.single-product .col-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .sp-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 !important;
    max-width: 100% !important;
  }
  /* Hide breadcrumbs on mobile */
  .sp-breadcrumbs {
    display: none !important;
  }

  /* Image first */
  .sp-image {
    order: 1;
    grid-column: 1;
    grid-row: auto;
    padding: 10px 20px;
  }
  .sp-image__img {
    max-width: 100%;
  }

  /* Title under image */
  .sp-title-wrap {
    display: block;
    order: 2;
    grid-column: 1;
    grid-row: auto;
    text-align: center;
    padding: 0 15px;
  }
  .sp-title-wrap .sp-title {
    font-size: 24px;
    margin: 0;
  }
  .sp-recommendations__heading {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }
  .sp-mobile-price {
    display: block;
    margin-top: 10px;
  }
  .sp-mobile-price > .price,
  .sp-mobile-price > .price .woocommerce-Price-amount {
    font-size: 22px !important;
    font-weight: 700;
    color: #fff !important;
  }
  .sp-mobile-price .sp-sin-impuesto {
    font-size: 12px !important;
    color: var(--bg-color, #53707a) !important;
    font-family: "Fira Code", monospace !important;
    font-weight: 400 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .sp-mobile-price .sp-sin-impuesto .woocommerce-Price-amount,
  .sp-mobile-price .sp-sin-impuesto .woocommerce-Price-amount bdi,
  .sp-mobile-price .sp-sin-impuesto .woocommerce-Price-currencySymbol {
    font-size: 12px !important;
    color: var(--bg-color, #53707a) !important;
    font-family: "Fira Code", monospace !important;
    font-weight: 400 !important;
  }
  .sp-title-desktop {
    display: none !important;
  }

  /* Collapsible sections on mobile */
  .sp-collapsible__toggle {
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .sp-chevron {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-color, #bbad9b);
  }
  .sp-collapsible.is-open .sp-chevron {
    transform: rotate(180deg);
  }
  .sp-collapsible__content {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .sp-collapsible.is-open .sp-collapsible__content {
    max-height: 1000px;
    padding-top: 15px !important;
    padding-bottom: 5px !important;
  }

  /* Description collapsible heading */
  .sp-description .sp-collapsible__toggle {
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-color, #53707a) !important;
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--primary-color, #bbad9b);
    text-transform: none;
  }
  .sp-description .sp-chevron {
    color: var(--bg-color, #53707a) !important;
  }
  .sp-description {
    display: block !important;
    padding: 0 15px;
    text-align: left !important;
    margin-top: 5px !important;
  }
  .sp-description .sp-collapsible__content {
    text-align: left !important;
    font-size: 14px !important;
  }
  .sp-description .sp-sin-impuesto {
    display: none !important;
  }

  .sp-right {
    order: 3;
    grid-column: 1;
    grid-row: auto;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
  }
  .sp-right__inner {
    position: static;
    align-items: stretch;
    text-align: left;
    padding: 0 !important;
    gap: 0 !important;
  }

  /* Hide price & cart row in flow — they go to sticky bar */
  .sp-cart-form .sp-price {
    display: none;
  }
  .sp-cart-form .sp-cart-row {
    display: none;
  }

  .sp-specs {
    order: 4;
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
    padding: 0 15px;
  }
  .sp-specs__heading {
    font-size: 16px;
    border-bottom: 1px solid var(--primary-color, #bbad9b);
    padding-bottom: 10px;
    margin-bottom: 0;
    color: var(--bg-color, #53707a) !important;
  }
  .sp-specs .sp-chevron {
    color: var(--bg-color, #53707a) !important;
  }
  .sp-specs__row {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  .sp-specs__label,
  .sp-specs__value {
    font-size: 14px !important;
  }
  .sp-recommendations {
    order: 5;
    grid-column: 1;
    grid-row: auto;
    margin-top: 60px;
  }
  .sp-recommendations .sandwich-card {
    width: 90% !important;
    max-width: 250px;
  }

  /* Sticky bottom bar for price + cart */
  .sp-cart-form {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: var(--bg-color, #53707a);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    padding: 0 10px 10px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
  }

  .sp-cart-form .sp-price {
    display: block !important;
  }
  .sp-cart-form .sp-price .price,
  .sp-cart-form .sp-price .woocommerce-Price-amount {
    font-size: 18px !important;
    color: var(--primary-color, #bbad9b) !important;
    font-weight: 700;
  }

  .sp-cart-form .sp-cart-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 10px;
    justify-content: flex-start;
    width: 100%;
  }

  .sp-cart-form .sp-qty-wrapper {
    transform: none !important;
    height: 42px;
    border-color: var(--primary-color, #bbad9b) !important;
  }

  .sp-cart-form .sp-qty-btn {
    background: var(--primary-color, #bbad9b) !important;
    color: #fff !important;
    border: none !important;
  }

  .sp-cart-form .sp-qty-display {
    color: #fff !important;
  }

  .sp-cart-form .sp-add-to-cart {
    padding: 0 20px !important;
    font-size: 13px;
    height: 42px;
    flex: 1;
    background: var(--primary-color, #bbad9b) !important;
    color: #fff !important;
    border: none !important;
  }

  /* Push WhatsApp button up above sticky bar */
  body.single-product .wa-float {
    bottom: 110px;
  }

  /* Add bottom padding so content isn't hidden behind sticky bar */
  .sp-layout {
    padding-bottom: 100px !important;
  }

  body.single-product .site-footer {
    margin-bottom: 90px !important;
  }
}

/* --- Single Product Responsive: 480px --- */
@media (max-width: 480px) {
  body.single-product .col-full {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .sp-layout {
    padding: 20px 15px 60px;
  }
  .sp-title {
    font-size: 24px;
  }
  .sp-price .price {
    font-size: 20px;
  }
  .sp-cart-row {
    flex-direction: column;
    gap: 8px;
  }
  .sp-qty-wrapper {
    width: 120px;
    height: 38px;
  }
  .sp-qty-btn {
    width: 36px;
    font-size: 14px;
  }
  .sp-qty-display {
    font-size: 14px;
  }
}

/* ==========================================================================
   17. WOOCOMMERCE CART & CHECKOUT OVERRIDES
   ========================================================================== */
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content {
  background-color: var(--bg-color) !important;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-cart h2,
.woocommerce-checkout h2,
.woocommerce-cart h3,
.woocommerce-checkout h3 {
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.woocommerce table.shop_table {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}
.woocommerce table.shop_table th {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  font-size: 18px;
  border-bottom: 2px solid var(--primary-color) !important;
}
.woocommerce table.shop_table td {
  background-color: transparent !important;
  border-top: 2px solid var(--primary-color) !important;
  color: #fff !important;
}
.woocommerce table.shop_table a {
  color: #fff !important;
  font-weight: bold;
  font-size: 16px;
}
.woocommerce table.shop_table a:hover {
  color: var(--primary-color) !important;
}

.woocommerce .quantity .qty {
  background-color: #fff !important;
  color: #596f77 !important;
  border: 3px solid var(--primary-color) !important;
  border-radius: 50px !important;
  padding: 5px 10px !important;
  width: 80px !important;
  font-weight: bold;
}

.woocommerce a.remove {
  color: #fff !important;
  background: transparent !important;
  font-size: 24px !important;
  font-weight: normal !important;
}
.woocommerce a.remove:hover {
  color: var(--primary-color) !important;
  background: transparent !important;
}

.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order {
  border: 4px solid var(--primary-color) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.cart_totals h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order table td,
.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order .order-total td,
.woocommerce-checkout-review-order .cart-subtotal td,
.cart_totals table td,
.cart_totals table th {
  color: var(--primary-color) !important;
}

.woocommerce-checkout-review-order table td .woocommerce-Price-amount,
.woocommerce-checkout-review-order table td .amount,
.cart_totals table td .woocommerce-Price-amount,
.cart_totals table td .amount {
  color: var(--primary-color) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background-color: #fff !important;
  border: 3px solid var(--primary-color) !important;
  border-radius: 20px !important;
  padding: 15px 20px !important;
  color: #596f77 !important;
  outline: none;
  font-size: 16px;
  height: 50px !important;
  box-sizing: border-box !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  box-shadow: 0 0 0 3px rgba(187, 173, 155, 0.3) !important;
}

div.woocommerce form #billing_address_2_field > label,
div.woocommerce form #shipping_address_2_field > label,
div.woocommerce form .form-row label {
  display: flex;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}

.woocommerce .select2-container {
  border-radius: 20px !important;
  overflow: hidden !important;
}
.select2-container--default .select2-selection--single {
  background-color: #fff !important;
  border: 3px solid var(--primary-color) !important;
  border-radius: 20px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #596f77 !important;
  padding-left: 20px !important;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 30px);
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 48px !important;
  right: 15px !important;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #place_order {
  background: var(--bg-color) !important;
  color: #fff !important;
  font-family: "Fira Code", monospace !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 15px 40px !important;
  border-radius: 20px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-block;
  cursor: pointer;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #place_order:hover {
  background-color: #a39585 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
  background-color: #a39585 !important;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Checkout: Hide country field (always Argentina) */
#billing_country_field,
#shipping_country_field {
  display: none !important;
}

/* Checkout: Show phone field inline, hide expandable toggle */
.fc-expansible-form-section__toggle--billing_phone {
  display: none !important;
}
.fc-expansible-form-section__content--billing_phone {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Checkout: Remove bottom padding from billing fields wrapper */
.woocommerce form .woocommerce-billing-fields__field-wrapper {
  padding-bottom: 0 !important;
}

/* Checkout: Make postcode and phone full width */
#billing_postcode_field,
#billing_phone_field {
  width: 100% !important;
  float: none !important;
}

/* Checkout: Factura A toggle */
#factura-a-toggle {
  margin-top: 15px;
  text-align: center;
}

.factura-a-toggle__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color, #bbad9b);
}

.factura-a-toggle__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color, #bbad9b);
}

#factura-a-fields {
  margin-top: 10px;
}

/* Hide "(opcional)" and collapsible toggles on Factura A fields */
#factura-a-fields .optional,
#factura-a-fields .fc-expansible-form-section__toggle {
  display: none !important;
}

#factura-a-fields .fc-expansible-form-section__content {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

#billing_condicion_iva_field select {
  height: 50px !important;
  box-sizing: border-box !important;
  border-radius: 20px !important;
  padding: 0 15px !important;
  width: 100% !important;
}

/* Checkout: Fecha de Entrega */
#wcll-datepicker-wrapper h3 {
  font-size: 16px !important;
}
#wcll_delivery_date_field > label {
  display: none !important;
}

/* Checkout: Datepicker z-index & visibility fix */
#ui-datepicker-div {
  z-index: 99999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  padding: 10px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}
#ui-datepicker-div .ui-datepicker-header {
  background: var(--primary-color, #bbad9b) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px 6px 0 0 !important;
  padding: 8px !important;
}
#ui-datepicker-div .ui-datepicker-title {
  color: #fff !important;
}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
  cursor: pointer !important;
}
#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span {
  display: block !important;
}
#ui-datepicker-div td a,
#ui-datepicker-div td span {
  text-align: center !important;
  padding: 5px !important;
}
#ui-datepicker-div td a:hover {
  background: var(--primary-color, #bbad9b) !important;
  color: #fff !important;
  border-radius: 4px !important;
}
#ui-datepicker-div .ui-state-active {
  background: var(--primary-color, #bbad9b) !important;
  color: #fff !important;
  border-radius: 4px !important;
}
#ui-datepicker-div .ui-state-disabled {
  opacity: 0.35 !important;
}

/* Checkout: Product name & details in brand brown */
.fc-checkout-order-review .product-name,
.fc-checkout-order-review .product-details,
.fc-checkout-order-review .cart-item__name,
.fc-checkout-order-review .cart-item__price,
.fc-checkout-order-review .product-quantity,
.fc-checkout-order-review .product-total {
  color: var(--primary-color, #bbad9b) !important;
}
.fc-checkout-order-review .product-details {
  margin-top: 0 !important;
}
div.woocommerce
  .fc-wrapper
  #order_review
  table.woocommerce-checkout-review-order-table
  .cart-item__element {
  margin-top: 0 !important;
}

/* Checkout: Table dividers full width */
.woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border-top: 1px solid var(--primary-color, #bbad9b);
}
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr td {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
}

/* Checkout: Subtotal, Total, Fecha estimada font size */
.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout-review-order-table tfoot .shipping-date-info th,
.woocommerce-checkout-review-order-table tfoot .shipping-date-info td {
  font-size: 15px !important;
}
.woocommerce table .shipping-date-info th,
.woocommerce table .shipping-date-info td,
.woocommerce table .shipping-date-info td strong {
  color: var(--primary-color, #bbad9b) !important;
}

.woocommerce-cart .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}
.woocommerce-cart .coupon input.input-text {
  width: auto !important;
  min-width: 200px;
  margin: 0 !important;
}

.woocommerce-message,
.woocommerce-info {
  background-color: transparent !important;
  border-top: 3px solid var(--bg-color) !important;
  color: #fff !important;
  border-radius: 0 !important;
  filter: none !important;
}

.woocommerce-error {
  padding-left: 3em !important;
  border-radius: 0 !important;
  filter: none !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--bg-color) !important;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  float: right;
  margin-left: 10px;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.woocommerce-order-received .entry-title {
  font-size: 28px;
  text-align: center;
}

.woocommerce-order-received h2 {
  font-size: 28px;
  text-align: left;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  color: #fff !important;
}

.woocommerce-order-received .woocommerce-order-overview {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

.woocommerce-order-received .woocommerce-order-overview li,
.woocommerce-order-received .woocommerce-order-overview li strong {
  color: var(--bg-color, #53707a) !important;
}

.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-customer-details h2,
.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td,
.woocommerce-order-received .woocommerce-table--order-details td a,
.woocommerce-order-received .woocommerce-customer-details address {
  color: #fff !important;
}

.woocommerce-order-received .woocommerce-table--order-details {
  border: none !important;
  border-collapse: collapse !important;
}

.woocommerce-order-received .woocommerce-table--order-details thead th {
  border-bottom: 1px solid var(--primary-color, #bbad9b) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.woocommerce-order-received .woocommerce-table--order-details tbody td,
.woocommerce-order-received .woocommerce-table--order-details tfoot td,
.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  border: none !important;
  border-bottom: 1px solid var(--primary-color, #bbad9b) !important;
}

/* ==========================================================================
   18. SWIPER JS HELPERS
   ========================================================================== */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   19. MISC OVERRIDES
   ========================================================================== */
span.xoo-wsc-sc-count,
span.xoo-wsch-items-count {
  font-weight: 700 !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn,
.xoo-wsc-container .xoo-wsc-btn {
  color: white !important;
}

span.xoo-wsc-pname a {
  color: #ffffff !important;
}

img.woocommerce-placeholder.wp-post-image {
  margin: 0px !important;
}

img.attachment-full.size-full {
  margin: 0px !important;
}
