@media (min-width: 769px), print {
    .abs-account-block-font-size,
    .block-addresses-list address,
    .box-billing-address .box-content,
    .box-shipping-address .box-content,
    .box-address-billing .box-content,
    .box-address-shipping .box-content,
    .box-information .box-content,
    .block-balance-giftcard .block-content,
    .block-reviews-dashboard .product-name {
        font-size: 14px !important;
    }
}

.order-details-items .order-title > strong {
    font-size: 1.2rem !important;
    font-weight: 300;
}

.block-order-details-view {
    line-height: 1.3;
}

.box-order-billing-method th {
    padding: 8px 0 !important;
}

.block-order-details-view .block-content div {
    padding-right: 12px;
}

.col-mp {
    padding: 0 0 !important;
}

.form.check-code input {
    width: 240px;
}

.block-gift-card-setting .block-content {
    padding: 0 0 12px 0 !important;
}

.cart-discount .control {
    margin-right: 12px;
    width: 200px;
}

.fieldset.reward, .fieldset.coupon {
    width: 50px;
}

@media (min-width: 768px) {
    .additional-attributes-wrapper .trs .trh .tr:nth-child(1) .data, .additional-attributes-wrapper .trs .trh .tr:nth-child(2) .data, .additional-attributes-wrapper .trs .trh .tr:nth-child(3) .data {
        font-weight: 400 !important;
    }
}

.block.review-add fieldset {
    margin-bottom: 12px;
}

.product.data.items > .item.title > .switch {
    border-bottom: 1px solid #ccc !important;
}
.product.data.items > .item.title.active > .switch {
    border-bottom: 0px !important;
}

@media only screen and (min-width: 549px) {
    .product.data.items > .item.content {
        margin-top: 39px !important;
    }
}

@media (max-width: 1024px) {
    .ammenu-nav-sections.-topmenu {
        display: none;
    }
}


.amsearch-item{
    float: left;
}
@media only screen and (max-width: 549px) {
    .amsearch-item{
        height: 400px;
    }
}
@media only screen and (mix-width: 550px) {
    .amsearch-item{
        height: 500px;
    }
}

.newsletter_cont h3 {
    font-size: 3.0rem;
    margin-bottom: 0.8rem;
    margin: 1.2rem 0;
  }

  .div-btn a span {
    font-size: 14px;
    padding-right: 12px;
  }

  .pagebuilder-column {
    margin: 6px !important;
  }

  .order-details-items {
    margin-top: -30px !important;
  }
/*
  .account .page-title-wrapper {
    margin-top: 60px !important;
  }
    */
  [data-content-type="row"][data-appearance="contained"] {
    max-width: 100%;
  }

/* Centrer le contenu principal */
#maincontent {
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.page-wrapper [data-content-type="row"][data-appearance="contained"] {    
    max-width: 1540px;
    padding-left: 20px;
    padding-right: 20px;
}
#maincontent .page-wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;    
}
.page-wrapper #maincontent [data-content-type="row"][data-appearance="contained"] {
    padding-left: 0px !important;
    padding-right: 0px !important;    
}

  .amsearch-products-section .amsearch-item .product-item-description {
    word-break: normal !important;
  }

  @media (min-width: 769px), print {
    .navigation, .page-header .header.panel, .header.content, .footer.content, .page-wrapper > .widget, .page-wrapper > .page-bottom, .block.category.event, .top-container {
      padding-left: 0px !important;
      padding-right: 0px !important;
    }
}

@media (min-width: 769px), print {
    .navigation, .breadcrumbs, .page-header .header.panel, .header.content, .footer.content, .page-wrapper > .widget, .page-wrapper > .page-bottom, .block.category.event, .top-container, .page-main {
      max-width: 1540px !important;
    }
  }

  div[data-content-type="text"] {
    word-wrap: normal !important;
  }
  .account .page.messages {
    position: relative;
    /*top: 60px;*/
  }
  @media (max-width: 768px) {
    .account .page.messages {
      top: 60px;
    }
  }
  #search_mini_form .actions {
    height: 0;
  }
  @media only screen and (max-width: 639px) {
    .account .column.main {
        margin-top: 42px;
    }
  }
  .box-body p, .box-body h2, .box-body h3, .box-body div, .box-body .accordion-button {
    font-size: 14px !important;
  }

  .pagebuilder-column [data-content-type="products"] .block.widget .products-grid .widget-product-grid.product-items .product-item {
    width: none;
  }

@media (min-width: 641px) and (max-width: 768px) {
    .cms-page-view .products-grid .product-item {
        width: calc((100% - 4%) / 3) !important;
        margin-top: 12px !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px), print {
    .cms-page-view .products-grid .product-item {
        width: calc((100% - 6%) / 4) !important;
        margin-top: 12px !important;
    }
}
@media (min-width: 1024px), print {
    .cms-page-view .products-grid .product-item {
        width: calc((100% - 12%) / 6) !important;
        margin-top: 12px !important;
    }
}
/*
@media (min-width: 1024px), print {
    .products-grid .product-item {
        width: calc((100% - 12%)/6) !important;
        margin-top: 12px !important;
    }
}
*/
@media (max-width: 640px) {
    .cms-page-view .products-grid .product-item {
        display: inline-block;
        width: calc((100% - 2%)/2) !important;
        margin-top: 12px !important;
    }
}

.product.description ul {
    margin-top: 0.6em !important;
  }
.product.description li {
list-style-position: inside;
}

@media (max-width: 640px) {
h1 {margin-top: 12px;}
}

#wishlist-view-form .actions-toolbar {
    margin: 24px 0 0 auto;
  }

  #discount-form {width: 200px;}
  #discount-form .control {margin-right: 12px;width: 200px;}
#discount-reward-form .control {width: 200px;float: left;}
.amrewards-discount-form {max-width: 340px !important;}
#discount-reward-form .actions-toolbar > .primary .action, .actions-toolbar > .secondary .action, .bundle-actions .action.primary.customize, .box-tocart .action.instant-purchase, .bundle-actions .amshopby-button.customize, .bundle-options-container .block-bundle-summary .box-tocart .amshopby-button, .bundle-actions .am-filter-go.customize, .bundle-options-container .block-bundle-summary .box-tocart .am-filter-go {
    width: auto !important;
  }
/*  .product-add-form .box-tocart .action.tocart {
    width: 100% !important;
  }*/

  div:not(.minicart-items-wrapper) > li.item.product.product-item  {
    min-height: 440px;
  }
  li.amsearch-item.product-item {
    min-height: 485px;
  }
  .block-products-list .product-item-info {
    min-height: 460px;
  }

  @media (max-width: 767px) {
    .popup-information-envio .body .content ul {
      padding: 0 0 0 6% !important;
    }
  }

  .product-reviews-summary .reviews-actions {
    font-size: 12px !important;
  }

/* === Reservar (preorder) button ============================================
   Unified across listings, search results, PDP, related, Zaca_Sort widgets
   and the meili autocomplete. Same brand color as Comprar — differentiation
   comes from the clock icon prefix only.
   The .action--preorder class is injected by:
     - Zaca\Extra\Plugin\PreorderListButtonText  (server-rendered tocart)
     - Zaca_Meili autocomplete.js                (client-rendered autocomplete)
   ========================================================================= */
.action--preorder > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.action--preorder > span::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279.5%27/%3E%3Cpolyline%20points%3D%2712%207%2012%2012%2016%2014%27/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279.5%27/%3E%3Cpolyline%20points%3D%2712%207%2012%2012%2016%2014%27/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Suppress the PDP add-to-cart icon (luma-icons \e611 cart glyph) baked into
   the legacy styles.css from the dropped z2023 parent. Applies to both the
   regular "Comprar" and the preorder "Reservar" buttons. */
.product-add-form .box-tocart .action.tocart::before {
  content: none !important;
}

/* Center the add-to-cart row inside Zaca_Sort widget cards (Novedades, bestsellers,
   ofertas, etc.). The default `.prod-block .add-to-cart` is `display:flex` with
   no width set, so the row shrinks to fit its contents and sticks to the left.
   Forcing `width: 100%` + `justify-content: center` puts the button group in
   the middle of the card. */
.prod-grid .prod-block .add-to-cart {
  width: 100%;
  justify-content: center;
  gap: 8px;
}

