/* Comestibles Impresos — ajustes mínimos sobre la plantilla Bagery */
:root {
  --ci-action: oklch(0.43 0.15 17);
  --ci-action-hover: oklch(0.36 0.13 17);
  --ci-on-action: oklch(1 0 0);
  --ci-link-border: oklch(0.72 0.04 30);
  --ci-surface: oklch(1 0 0);
  --ci-text: oklch(0.25 0 0);
  --ci-whatsapp: oklch(0.43 0.09 165);
  --ci-whatsapp-surface: oklch(0.97 0.02 165);
  --ci-whatsapp-border: oklch(0.78 0.08 165);
}

/* Navigation occupies its own strip, never the product photograph. */
.banner-section .banner-carousel .owl-nav {
  top: auto;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  height: 48px;
}
.banner-section .banner-carousel .owl-nav .owl-prev,
.banner-section .banner-carousel .owl-nav .owl-next {
  position: static !important;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0;
  border-radius: 6px;
  background: var(--ci-surface);
  color: var(--ci-text);
}
@media (min-width: 768px) {
  .banner-section.style-one .content-inner .image-box.style-one,
  .banner-section.style-one .content-inner .image-box.style-two { bottom: 110px; }
}

/* The carousel stretches all cards to the tallest title without clipping it. */
.shop-section .owl-stage { display: flex; }
.shop-section .owl-stage::after { display: none; }
.shop-section .owl-item { float: none; display: flex; }
.shop-section .shop-block-one { display: flex; width: 100%; }
.shop-section .shop-block-one .inner-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
}
.shop-section .shop-block-one .lower-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.shop-section .shop-block-one .lower-content h3 {
  flex: 1;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.shop-section .shop-block-one .lower-content .cart-btn { display: block; margin: 0 0 10px; }
.shop-section .shop-block-one .lower-content .theme-btn-two {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  border-radius: 6px;
}
.shop-section .shop-block-one .lower-content .wa-order {
  margin: 0;
  border-color: var(--ci-whatsapp-border);
  color: var(--ci-whatsapp);
  background: var(--ci-whatsapp-surface);
}
.shop-section .shop-block-one .lower-content .wa-order:hover {
  background: var(--ci-whatsapp);
  color: var(--ci-on-action);
}
@media (min-width: 768px) and (max-width: 1199px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 18px; bottom: 18px; }
  .wa-float .wa-float-label { display: none; }
  .scroll-top.open { right: 18px; bottom: 90px; width: 48px; height: 48px; line-height: 48px; }
}

.main-header.style-one .outer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.main-header.style-one .logo-box { min-width: 0; }
.main-header.style-one .menu-right-content {
  position: static;
  margin: 0;
  flex-shrink: 0;
}
.main-header.style-one .menu-right-content li { margin: 0; }
.main-header .theme-btn-one,
.banner-section .banner-carousel .content-box .banner-btn {
  background: var(--ci-action);
  color: var(--ci-on-action);
  border-radius: 6px;
}
.main-header .theme-btn-one:hover,
.banner-section .banner-carousel .content-box .banner-btn:hover { background: var(--ci-action-hover); }
.footer-nav .catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--ci-link-border);
  border-radius: 6px;
}
.catalog-link::after { content: "↗"; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ci-action);
  outline-offset: 4px;
}

/* fotos de producto de Shopify (fondo blanco, proporciones distintas):
   se muestran completas dentro de un cuadro uniforme, sin recortar */
.shop-block-one .inner-box .image-box{
  background: #fff;
}

.shop-block-one .inner-box .image-box img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
}

.promotion-section .inner-box .image-box{
  background: #fff;
  align-items: center;
}

.promotion-section .inner-box .image-box .image{
  flex: 1 1 0;
  margin: 0;
}

.promotion-section .inner-box .image-box .image img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.promotion-section .inner-box .image-box.single img{
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* hero: producto completo dentro de un círculo blanco */
.banner-section .image-box img{
  width: 520px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

/* la plantilla desplaza sus recortes fuera del contenedor; el círculo va dentro */
.banner-section.style-one .content-inner .image-box.style-one,
.banner-section.style-one .content-inner .image-box.style-two{
  right: 0px;
  bottom: 40px;
}

/* paso a paso: imagen central completa */
.ourstory-section .image-column .image-box img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.main-header .logo-box .logo img,
.sticky-header .logo-box .logo img{
  max-height: 64px;
  width: auto;
}

.feature-block-one .inner-box .inner h4 small{
  display: block;
  font-size: 15px;
  font-weight: 400;
  opacity: .8;
}

.shop-block-one .inner-box .lower-content .price-box{
  font-size: 15px;
}

@media only screen and (max-width: 1199px){
  .banner-section .image-box img{
    width: 400px;
    padding: 36px;
  }
}

@media only screen and (max-width: 991px){
  .banner-section .image-box img{
    width: 300px;
    padding: 26px;
  }
}

/* botón flotante de WhatsApp */
.wa-float{
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 22px 0 18px;
  border-radius: 30px;
  background: #25D366;
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.wa-float:hover{
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.wa-float svg{
  display: block;
}

/* el botón de subir no se monta sobre el de WhatsApp */
.scroll-top.open{
  bottom: 110px;
}

/* dos botones en la tarjeta de producto */
.shop-block-one .inner-box .lower-content .cart-btn{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-block-one .inner-box .lower-content .cart-btn a{
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 12px;
}

.shop-block-one .inner-box .lower-content .cart-btn .wa-order{
  border-color: #25D366;
  color: #128C7E;
}

@media only screen and (max-width: 767px){
  .main-header.style-one { position: relative; }
  .main-header.style-one .header-lower { position: relative; }
  .main-header.style-one .outer-box {
    padding: 14px 16px;
    gap: 12px;
  }
  .main-header.style-one .logo-box {
    width: 100%;
    max-width: 190px;
    padding: 0;
    margin: 0;
  }
  .main-header .logo-box .logo { margin: 0; }
  .main-header .logo-box .logo img {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
  }
  .main-header.style-one .menu-right-content { display: block; }
  .main-header .theme-btn-one {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 24px;
    white-space: nowrap;
  }
  .banner-section.style-one .banner-carousel .content-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 32px 0 28px;
  }
  .banner-section.style-one .banner-carousel .content-box {
    min-width: 0;
    max-width: none;
    padding: 0;
  }
  .banner-carousel .content-box h1 { font-size: 34px; line-height: 1.18; letter-spacing: 0; }
  .banner-carousel .content-box p { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
  .banner-carousel .content-box .banner-btn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 15px;
    line-height: 24px;
  }
  .banner-section.style-one .content-inner .image-box.style-one,
  .banner-section.style-one .content-inner .image-box.style-two {
    display: block;
    position: relative;
    inset: auto;
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
  }
  .banner-section .image-box img { width: 200px; padding: 16px; }
  .banner-section .anim-icon, .banner-section .owl-nav { display: none; }
  .feature-section { padding: 28px 0 8px; }
  .feature-block-one .inner-box { margin-bottom: 20px; }
  .sec-title h2 { font-size: 30px; line-height: 1.25; letter-spacing: 0; }
  .shop-block-one .inner-box .lower-content h3 { font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
  .shop-block-one .inner-box .lower-content .theme-btn-two {
    display: block;
    width: 100%;
    padding: 10px 12px;
    min-height: 44px;
    font-size: 15px;
    line-height: 24px;
  }
  .shop-block-one .inner-box .lower-content .wa-order { margin-top: 10px; }
  .shop-section .owl-nav { display: block; position: static; margin-top: 12px; text-align: center; }
  .shop-section .owl-nav .owl-prev, .shop-section .owl-nav .owl-next { position: static; display: inline-block; margin: 0 6px; }
  .promotion-section .inner-box .content-box { padding: 28px 20px; }
  .promotion-section .inner-box .content-box h3 { font-size: 26px; line-height: 1.3; }
  .main-footer .footer-bottom { padding-bottom: 100px; }
  .main-footer .footer-bottom .auto-container { display: grid; gap: 16px; }
  .main-footer .copyright, .main-footer .footer-nav { float: none; text-align: center; }
  .main-footer .footer-nav li { margin: 0; }
  .wa-float{
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    right: 18px;
    bottom: 18px;
  }
  .wa-float .wa-float-label{
    display: none;
  }
  .scroll-top.open{
    bottom: 90px;
  }
}

