.page-wrapper {
    display: inherit;
}

.mb-text {
    display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1300px) {
    .newsletter_cont .bg-img {
        height: 350px;
    }
}

@media only screen and (max-width: 768px) {
    .mb-text {
        display: block;
    }

    .dt-text {
        display: none;
    }

    .customer-welcome ul#customer-dropdown li:last-child {
        margin-bottom: 0;
    }

    body[class*='amblog-index-'] .page-title {
        font-size: 1.6rem !important;
    }
}

@media only screen and (min-width: 768px) {
    .profile-icon {
        max-width: fit-content !important;
    }

    .logo {
        margin: auto !important;
        float: unset !important;
        max-width: fit-content !important;
    }
}

.amlabel-position-wrapper {
    z-index: 50;
}

.prod-block .price-box.price-final_price {
    position: relative;
    display: flex ;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.prod-block .price-box.price-final_price .special-price {
    /*order: 2;*/
    position: relative;
    /*top: -2px;*/
}

/*.prod-block .price-box.price-final_price .old-price {*/
/*    order: 1;*/
/*}*/

.prod-block .price-box.price-final_price span {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
}

.featured_con .block {
    margin-bottom: 0;
}

.ammenu-nav-sections {
    background: inherit;
}

.product-add-form .box-tocart .action.tocart::before {
    width: 22px;
    content: url(../images/Add-cart-white.svg) !important;
}

.product-add-form .box-tocart .action.tocart span {
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
}

.vstock-info ul {
    padding-inline-start: 0 !important;
}

#maincontent .columns .main .product-add-form .overview .value {
    padding: 12px 0px 12px !important;
}

fieldset {
    display: block;
    min-inline-size: min-content;
    margin-inline: 2px;
    border-width: 2px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
    padding-block: 0.35em 0.625em;
    padding-inline: 0.75em;
}

body:not(.cms-index-index) .prod-block:has(.add-to-cart:hover) {
    padding-left: 10px;
    padding-right: 10px;
}

.accesories-grid .prod-block .add-to-cart:hover .btn {
    padding: 7px;
}

.accesories-grid .prod-block .add-to-cart:hover .btn .btn-text {
    font-size: 12px;
}

.amsearch-result-section {
    z-index: 999 !important;
}

.minicart-wrapper {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.header_main .right-side {
    position: relative
}

.minicart-wrapper .action.close {
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
    background-image: none;
    background: 0 0;
    -moz-box-sizing: content-box;
    border: 0;
    box-shadow: none;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-shadow: none;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

.action.close > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

#popup-toby {display: none !important;}

.ammenu-nav-sections.-topmenu .ammenu-main-container {padding: 0;}

.ammenu-nav-sections.-topmenu .ammenu-submenu-wrapper {
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 15px rgba(72, 88, 112, 0.11);
    position: absolute;
    background-color: #fff;
    color: #fff;
    box-sizing: border-box;
    cursor: auto;
    font-weight: 400;
    max-height: 70vh;
    max-width: 100%;
    padding: 12px 35px 15px 35px;
    transition: .3s;
    z-index: 1000;
}

.ammenu-nav-sections.-topmenu .ammenu-items {gap: 1rem;}

.am-menu-item-title {font-size: 14px;margin-bottom: 1rem;font-weight: 600;}
.am-submenu-items a {font-size: 14px !important; font-weight: normal !important;}

.cms-index-index .page-main {
    width: 0 !important;
    height: 0 !important;
}

.prod-block .add-to-cart .btn {
    background: none;
}

a:hover {
    text-decoration: none !important;
}

button {
    line-height: normal !important;
    font-size: 14px !important;
}

.block-gift-card .action.primary,
#discount-reward-form .action.primary {
    padding-bottom: 5px;
}

input[type="checkbox"] {
    margin: 0;
    top: 0;
}


.amgdprcookie-bar-container .amgdprcookie-policy {
    font-size: 15px;
    line-height: 22px;
}

.amgdprcookie-buttons-block .amgdprcookie-button.-allow, .amgdprcookie-buttons-block .amgdprcookie-button.-save {
    flex-basis: 25%;
    padding: 8px 20px;
}

.ammenu-tabs-list .ammenu-button {
    background: #fff !important;
    color: #606060 !important;
    font-size: 16px;
}

.ammenu-tabs-list {
    margin: 0 20px 5px;
}

.ammenu-nav-sections.-sidebar {
    z-index: 500;
}

.footer.content,
.zfooter-copyright-wrapper {
    background-color: #fff;
    border-top: 1px solid #ccc;
}

.zfooter-copyright {
    display: flex;
    width: 40%;
    justify-content: space-between;
    padding: 20px 16px;
    margin: 0 auto;
}

.footer-cms-links-item ul li a, .zfooter-copyright a {
    color: #9c9a9a;
}

.footer-icon-responsive,
.footer-cms-links-item-responsive {
    display: none;
}

.prod-block .price-box.price-final_price .old-price .price-label ,
.prod-block .price-box.price-final_price .special-price .price-label {
    display: none;
}

.prod-block .price-box.price-final_price .old-price span.price {
    text-align: left;
    color: #1a1a1a61;
    height: 18px;
    overflow: hidden;
    font-weight: 600;
    /*font-size: 1rem;*/
    text-decoration: line-through;
}

/*a:visited {
    color: #1a1a1a;
}*/

.footer_cont .link {
    border-bottom: none !important;
}

.product-item-name,
.product.name a,
.product-item .price-box .price-wrapper,
.price-container .price :not(.catalog-product-view),
.minicart-items .product-item-pricing .label,
.cart.main.actions .action.update,
#discount-giftcard-form .fieldset.coupon .action.primary,
#discount-reward-form .action.primary,
#discount-reward-form .action.secondary,
#discount-giftcard-form .action.secondary,
.cart-totals .grand .mark, .opc-block-summary .table-totals .grand .mark,
.cart-totals .grand .amount, .opc-block-summary .table-totals .grand .amount,
.cart-summary .block .title strong {
    font-size: 14px !important;
}

.cart-summary>.title {
    font-size: 24px;
}

.product-item .price-box .price-wrapper {
    font-weight: 700;
    white-space: nowrap;
}

.product-item .price-box .price-label {
    font-weight: 400;
}

.catalog-category-view .old-price {
    text-decoration: none;
}

.product-item .tocart {
    font-size: 13px;
}

#wishlist-sidebar .product-item-info {
    min-height: 0px;
  }

.pages .item, .pages strong.page, .pages .action.next:before, .pages .action.previous:before {
    font-size: 12px;
}

.block-minicart #top-cart-btn-checkout,
.cart.table-wrapper .product-item-name,
.cart.table-wrapper .cart-price,
.cart-summary .checkout-methods-items .action.primary.checkout, .cart-summary .checkout-methods-items .amshopby-button.checkout, .cart-summary .checkout-methods-items .am-filter-go.checkout {
    font-size: 18px;
}

.cart.table-wrapper .actions-toolbar {
    padding-bottom: 35px;
}

/*h3 {
    font-weight: 600;
    line-height: 1.1;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}*/

.vstock-info ul li {
    margin-bottom: 7px !important;
}

.vstock-info ul {
    margin-bottom: 2rem;
}

.sleeve-block p {
    margin-bottom: 0.8rem;
}

.prod-block .add-to-cart:hover .btn {
    width: 100%;
    background-color: #2192d1;
}

.prod-block .add-to-cart:hover .btn span {
    color: #fff;
}

.accesories-grid  .prod-block .add-to-cart:hover .btn span {
    display: block;
    color: #fff;
    text-align: left;
    position: relative;
    right: 20px;
}

.accesories-grid  .prod-block:nth-child(3) .add-to-cart:hover .btn span {
    right: 50px;
}

.prod-block .add-to-cart:hover .btn img {
    filter: brightness(10);
}

.btn-text::after {
    content: attr(data-hover);
    display: none;
}

.add-to-cart:hover .btn-text {
    visibility: hidden;
}

.add-to-cart:hover .btn-text::after {
    content: attr(data-hover);
    display: inline;
    visibility: visible;
}

.btn-links_cont .link {
    border-bottom: none;
}

.footer-cms-links-item ul li a, .zfooter-copyright a {
    color: #1a1a1a !important;
}

body:not(.cms-index-index) b,
body:not(.cms-index-index) strong {
    /*font-weight: 700;*/
}

body:not(.cms-index-index) p {
    margin-top: 0.4rem;
    /*margin-bottom: 1rem;*/
}

body:not(.cms-index-index):not(.catalog-category-view) ul,
body:not(.cms-index-index) ol {
    margin-top: 0rem;
    margin-bottom: 2.5rem;
}
.sleeve-products ul{
    margin-bottom: 0 !important;
}

.ammenu-nav-sections.-topmenu .ammenu-items {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

body:not(.cms-index-index):not(.catalog-category-view):not(.checkout-cart-index):not(.catalog-product-view):not(.account):not(.checkout-index-index) ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

body:not(.cms-index-index) ul.nav.items {
    list-style: none;
    padding-left: 0;
}

body:not(.cms-index-index) ul#customer-dropdown {
    list-style: none;
    padding: 8px;
}

body:not(.cms-index-index):not(.catalog-category-view):not(.amblog-index-account) ul:not(#customer-dropdown) > li,
body:not(.cms-index-index):not(.catalog-category-view)/*:not(.cms-page-view)*/ ol > li {
    /*margin-top: 0rem !important;*/
    margin-bottom: 0.4rem !important;
}

body:not(.cms-index-index):not(.checkout-index-index) li {
    /*display: list-item;*/
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}
/*
.catalog-product-view .block.related .block-actions .action.select {
    margin-top: -3px;
    font-size: 16px;
}
*/
.game-grid .add-to-cart:hover .btn {background-color: #1a1a1a;width: 100%;}
.game-grid .add-to-cart:hover .btn span {display: block;color: #fff}
.game-grid .add-to-cart:hover .btn img{filter: brightness(10);transform: rotate(-45deg);}

.ammenu-logo img {
    width: 165px !important;
}

.breadcrumbs {
    padding-top: 0 !important;
}

.nav-link .ammenu-nav-sections.-topmenu .ammenu-main-container {
    background: none !important;
}

body:not(.cms-index-index) .product-info-price .price-box .old-price {
    height: auto;
    text-decoration: none;
}

.page-title {
    margin-bottom: 2rem;
}

.giftcard-information-container .giftcard-information .giftcard-field-wrapper ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.3rem !important;
    flex-wrap: wrap !important;
    list-style-type: none !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-inline-start: 0 !important;
    margin-bottom: 20px !important;
}

.mp-giftcard-preview button {
    font-size: 14px;
}

body:not(.cms-index-index):not(.catalog-category-view) .giftcard-information-container .giftcard-field-wrapper ul:not(#customer-dropdown) li {
    margin-bottom: 0 !important;
}

.breadcrumbs ul.items {
    padding-left: 0 !important;
}

.catalog-product-view .page-title:not(.catalog-product-view) {
    font-size: 30px;
    top: -10px;
    position: relative;
}

.filter-current .items {
    margin-bottom: 0;
}

.amsearch-result-section {
    border: 0;
}
/*
.account .column.main .block:not(.widget) .block-title > strong,
.account .page-title-wrapper {
    font-size: 1.2rem;
}
    */

body[class*='amblog-index-'] .page-title {
    font-size: 40px;
}

.amblog-tabs-block.-title .amblog-item.-active {
    padding-left: 0;
}

/*.account .column.main .block:not(.widget) .box-title > span {
    font-size: 1rem;
}*/

.account .column.main .block:not(.widget) .block-title > .action span {
    font-size: 14px;
}

.account .legend > span {
    font-size: 22px;
}

.form-address-edit .actions-toolbar .action.primary {
    font-size: 1.2rem;
}

body:not(.cms-index-index) h2 {
    font-weight: 300;
    line-height: 1.1;
    /*font-size: 1.2rem;*/
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.promtion_cont p {
    margin-bottom: 0 !important;
}

.prod-block .prod-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.prod-block span .product-image-photo {
    object-fit: cover;
    height: 180px;
}

body[class*='amblog-index-'] .page-title-wrapper {
    display: block;
}
/*
.account .column.main .block:not(.widget) .block-title > .action,
.account .column.main .block:not(.widget) .block-title > .action:visited,
.account .column.main .block:not(.widget) .action,
.account .column.main .block:not(.widget) .action:visited {
    color: #006bb4 !important;
}
    */

.opc-progress-bar-item > span,
.opc-block-summary .items-in-cart>.title strong {
    font-size: 18px !important;
}

.opc-wrapper .step-title,
.opc-block-summary>.title {
    font-size: 26px;
}

.opc-wrapper .step-content .control span,
.opc-block-summary .product-item .product-item-inner,
.table-checkout-shipping-method tbody td,
.checkout-index-index .minicart-items .product-item-details .price-including-tax {
    font-size: 14px;
}

.checkout-index-index .amrewards-highlight-container {
    align-items: center;
}

.checkout-index-index .amrewards-highlight-container > .caption strong {
    font-size: 16px;
}

.checkout-payment-method .payment-method-title label > img {
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

@media (min-width: 200px) and (max-width: 370px) {
    .div-btn {
        max-width: 90%;
    }
}

@media (min-width: 371px) and (max-width: 480px) {
    .div-btn {
        max-width: 92%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .div-btn {
        max-width: 94%;
    }
}

@media (min-width: 200px) and (max-width: 600px) {
    .muxemail-newsletter-wrapper,
    .zfooter-copyright {
        width: 80%;
    }

    .zfooter-copyright,
    .zfooter-copyright a {
        display: block;
        margin-left: 0 !important;
    }

    .zfooter-copyright a {
        margin-bottom: 5px;
    }

    .footer-icon-responsive,
    .zfooter-copyright{
        display: block;
        padding-bottom: 15px !important;;
        padding-left: 16px !important;;
        padding-right: 16px !important;;
    }

    .footer-icon-responsive img {
        width: 150px;
        height: auto;
    }

    .ammenu-nav-sections.-topmenu .ammenu-items {
        gap: 0.5rem;
        justify-content: center;
    }

    .header_main.cus_container {
        padding-bottom: 8px;
        padding-top: 8px;
    }

    .page-main > .page-title-wrapper .page-title {
        font-size: 26px;
        margin-bottom: 2rem;
    }

    .catalog-category-view .promtion_cont {
        display: none;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .zfooter-copyright {
        width: 80%;
        text-align: center;
    }

    .zfooter-copyright,
    .zfooter-copyright a {
        display: block;
    }

    .zfooter-copyright a {
        padding: 10px 0;
    }

    .catalog-category-view .promtion_cont {
        display: none;
    }
}

@media (min-width: 769px) {
    .cart-discount .block>.title strong {
        font-size: 16px !important;
    }

    /* Magento blank's `.page-main .block { margin-bottom: 50px }` (in
       styles-l.css line 1732) puts 50px between every collapsible inside
       .cart-discount (Tarjeta Regalo, Fichas, etc.) — way too much for
       stacked accordions in a sidebar. Note: styles-l.css loads AFTER
       custom.css in the <head>, so an equal-specificity selector loses the
       source-order tiebreak. Prefix with `body` to bump specificity from
       (0,2,0) to (0,2,1) and win without resorting to !important. */
    body .cart-discount .block {
        margin-bottom: 0;
    }

    .box-billing-address .box-content,
    .box-shipping-address .box-content,
    .box-address-billing .box-content,
    .box-address-shipping .box-content,
    .box-information .box-content {
        font-size: 1rem !important;
    }
}

@media (min-width: 768px) {
    .giftcard-information-container .giftcard-information .giftcard-field-wrapper ul {
        margin: 0 0 20px 0 !important;
    }

    .prod-block .price-box.price-final_price {
        top: -10px;
    }
}

@media (max-width: 767px) {

    .page-title {
        margin-bottom: 1rem;
    }
/*
    .account .column.main .block:not(.widget) .block-title > strong, .account .page-title-wrapper {
        font-size: 1rem;
    }
*/
    .account .column.main .block:not(.widget) .block-title > .action span {
        font-size: 12px;
    }

    .account .column.main .block:not(.widget) .block-title > .action {
        margin-top: 0;
    }

    body.account .page-main .page-title-wrapper {
        margin-top: 30px;
    }

    .ammenu-button.-hamburger:before,
    .ammenu-button.-hamburger{
        border: none !important;
    }

    .ammenu-button.-hamburger:before {
        content: "";
        display: inline-block;
        width: 20px; /* set your desired width */
        height: 20px; /* set your desired height */
        background-image: url('../images/hamburger-menu.jpeg'); /* replace with your image path */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }


    .giftcard-information-container .giftcard-information .giftcard-field-wrapper ul {
        margin: 0 0 10px 0 !important;
    }

    .customer-welcome ul {
        padding-bottom: 0;
    }

    .customer-welcome li a {
        color: #333333;
        text-decoration: none;
        display: block;
        line-height: 1.4;
        padding: 8px;
    }

    #customer-dropdown.open ~ .customer-welcome,
    .customer-welcome:has(#customer-dropdown.open) {
        display: inline-block;
        position: absolute;
        top: 30px;
    }

    .ammenu-nav-sections.-mobile .ammenu-text, .ammenu-nav-sections.-mobile:not(.-has-icons) .ammenu-items.-root > .ammenu-item > .ammenu-link:before {
        color: #606060;
        content: none;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
    }
}

@media (min-width: 601px) and (max-width: 767px) {
    body.account .page-main .page-title-wrapper {
        margin-top: 60px;
    }
}

@media only screen and (min-width: 1541px) and (max-width: 2000px) {

    .mb-2 {
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 2001px) and (max-width: 2500px) {
    .cus_container,
    .cms-index-index [data-content-type='html']:not(:first-child),
    .page-main,
    .breadcrumbs {
        max-width: 1540px !important;;
        margin: 0 auto;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    [data-content-type='row'][data-appearance='contained'] {
        max-width: 2500px !important;
    }

    .mb-2 {
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 2501px) and (max-width: 3000px) {
    .cus_container,
    .cms-index-index [data-content-type='html']:not(:first-child),
    .page-main,
    .breadcrumbs {
        max-width: 1540px !important;;
        margin: 0 auto;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    [data-content-type='row'][data-appearance='contained'] {
        max-width: 1540px !important;

        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .mb-2 {
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 3001px) and (max-width: 3500px) {
    .cus_container,
    .cms-index-index [data-content-type='html']:not(:first-child),
    .page-main,
    .breadcrumbs {
        max-width: 1540px !important;;
        margin: 0 auto;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    [data-content-type='row'][data-appearance='contained'] {
        max-width: 1540px !important;
    }

    .mb-2 {
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 3501px) and (max-width: 4000px) {
    .cus_container,
    .cms-index-index [data-content-type='html']:not(:first-child),
    .page-main,
    .breadcrumbs {
        max-width: 1540px !important;;
        margin: 0 auto;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    [data-content-type='row'][data-appearance='contained'] {
        max-width: 1540px !important;
    }

    .mb-2 {
        margin-bottom: 2rem;
    }
}

@media (min-width: 993px) and (max-width: 1300px) {
    .prod-grid .prod-block:last-child {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .btn-links_cont .link:nth-child(5) {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 775px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
    }
}

@media only screen and (min-width: 776px) and (max-width: 815px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
    }
}

@media only screen and (min-width: 816px) and (max-width: 855px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    }
}

@media only screen and (min-width: 856px) and (max-width: 895px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
    }
}

@media only screen and (min-width: 896px) and (max-width: 935px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    }
}

@media only screen and (min-width: 936px) and (max-width: 975px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
    }
}

@media only screen and (min-width: 976px) and (max-width: 992px) {
    .prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    }
}

/*.price-box.price-final_price {
    min-height: 40px;
  }*/
  .product.details.product-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .price-box.price-final_price {
    margin: 0;
  }



  .vstock-info h3 {
    margin: 12px auto;
  }
  .accesories-grid .div-btn {
    position: relative;
    left: 0;
    bottom: 0;
  }
  .accesories-grid .cus_view-all {
    background-color: #fff;
    color: #1a1a1a;
    width: 60%;
    border: 0px;
  }
  /*div[data-content-type='html']{
    z-index: 0;
  }*/
  #formDisable {
    z-index: auto;
  }

/* =============================================
   Search Field Styles (moved from Zaca_Meili)
   ============================================= */
.right-side {
    margin-left: auto;
}

@media (min-width: 993px), print {
    .block-search {
        width: 100% !important;
    }
}

#search_mini_form {
    width: 100% !important;
}

@media only screen and (max-width: 992px), print {
    .block-search {
        width: 100% !important;
        order: 2;
        padding: 0 16px !important;
    }
}

@media (max-width: 767px) {
    .block-search .form.minisearch input {
        margin: 0;
        width: 100% !important;
        padding: 0 12 !important;
    }
    .block-search .control {
        padding: 0 0 !important;
        padding-top: 0px;
    }
}

@media (min-width: 769px), print {
    .block-search {
        padding-left: 0px !important;
    }
}

#search {
    background-color: #f1f1f1;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 50px;
    padding-left: 4.5rem;
    outline: none;
    font-size: 14px;
    padding-right: 14px;
    color: #575757;
}

@media (min-width: 769px), print {
    .block-search .action.search::before {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 20px !important;
        line-height: 42px;
        color: #000000 !important;
        content: '\e615';
        font-family: 'luma-icons';
        margin: 0;
        vertical-align: top;
        display: inline-block;
        font-weight: normal;
        overflow: hidden;
        speak: none;
        text-align: center;
    }

    .block-search .action.search {
        display: inline-block;
        background-image: none;
        background: none;
        -moz-box-sizing: content-box;
        border: 0;
        box-shadow: none;
        line-height: inherit;
        margin: 0;
        padding: 0;
        text-decoration: none;
        text-shadow: none;
        font-weight: 400;
        position: absolute;
        left: 14px !important;
        top: 5px !important;
        right: unset !important;
        z-index: 1;
    }
}

@media (max-width: 767px) {
    .block-search .action.search {
        left: 0px !important;
        top: -34px !important;
        right: unset !important;
        position: relative !important;
    }
}

/* Zaca_Card save-to-deck trigger inside the Featured widget grid:
   match the icon size used on category pages (Zaca_Card defaults).
   Without this, .prod-block .add-to-cart img (16px / 12px on mobile)
   would also shrink the SVG. */
.prod-block .add-to-cart .zaca-card-modal-trigger img {
    width: 28px;
    height: 28px;
}
@media only screen and (max-width: 410px) {
    .prod-block .add-to-cart .zaca-card-modal-trigger img {
        width: 22px;
        height: 22px;
    }
}

/* Home only: cart button + Card save-to-deck icon as one indivisible
   horizontal block. The grid column min-width is bumped (below) so the
   block always fits inside the card; if the viewport is too narrow the
   grid auto-fill drops a column instead of letting the block overflow. */
body.cms-index-index .prod-block .add-to-cart {
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 8px;
    justify-content: flex-start;
}

/* Home only: left-align the price row and the Club badge under it. The
   .prod-block keeps its default text-align:center for the image; we shift
   the specific elements that the user wants flush-left. */
body.cms-index-index .prod-block .price-box {
    text-align: left;
}
body.cms-index-index .prod-block .club-price-badge {
    /* Zaca_Box's club.css makes the badge `display: inline-flex` so it
       inherits text-align from its parent (centered). Switch to block
       flex with intrinsic width so it always sits flush left under the
       price, regardless of parent text-align. */
    display: flex;
    width: fit-content;
}
.prod-block .club-price-badge .club-info-trigger {
    /* style.css' generic `.prod-block span { display: block; line-height: 18px;
       font-size: 12px }` overrides the trigger's flex centering. Restore the
       inline-flex centering with higher specificity so the "?" sits in the
       middle of the circle. */
    display: inline-flex;
    font-size: 11px;
    line-height: 1;
}
body.cms-index-index .prod-block .add-to-cart .action.tocart.primary {
    flex: 0 1 auto;            /* natural width, may shrink slightly */
    min-width: 0;              /* allow text-overflow as last-resort safety */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.cms-index-index .prod-block .add-to-cart .zaca-card-modal-container {
    flex: 0 0 auto;            /* icon never shrinks */
}

/* Home Featured grid: explicit column counts per viewport, mobile-first.
   With repeat(N, 1fr) we lock the column count at each breakpoint so the
   grid never lands on an odd number that would leave an orphan card
   (5+1, 3+1, etc). Widgets render 6 products on the home; at >=1360px we
   hide the 6th so wide viewports show one clean row of 5. Default is 2
   cols — covers every modern phone viewport (>=320 CSS px). */
body.cms-index-index .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media only screen and (min-width: 768px) {
    body.cms-index-index .prod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (min-width: 1140px) {
    body.cms-index-index .prod-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media only screen and (min-width: 1360px) {
    body.cms-index-index .prod-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    body.cms-index-index .prod-grid .prod-block:nth-child(6) {
        display: none;
    }
}

/* style.css hides the .prod-grid's last-child at 993-1300 viewport. With 6
   products on the home that would chop the row to 5 cards, breaking the
   "4+2 / 3+3" plan we just set up. Override with display:block on home. */
@media only screen and (min-width: 993px) and (max-width: 1300px) {
    body.cms-index-index .prod-grid .prod-block:last-child {
        display: block;
    }
}

/* Featured widget cards: CSS Grid stretches all cards in a row to the
   tallest one, but inner content stays top-aligned. When one product has a
   Club badge it grows the card and the others' "Reservar" button ends up
   higher than the badge-card's. Flex column + margin-top:auto on the
   action row pins the button to the bottom so the row of buttons aligns. */
.prod-block {
    display: flex;
    flex-direction: column;
}
.prod-block .add-to-cart {
    margin-top: auto;
}

/* PDP "Artículos relacionados" — Magento native batch-select related-products
   block. Default Luma markup (.product-items > .product-item with width:24%,
   float:left) plus relatedProducts.js (which inline-applies display:none and
   reveals on init via .show()) plus per-product Amasty Label badges combine
   into a fragile layout that breaks with 1-2 items. Reset the cascade with a
   CSS grid + force-show, then design the card from scratch.

   Visual language matches the home `.prod-block`: same border, radius, padding
   so the two related blocks on the PDP (this + zaca/related "Otras
   recomendaciones") read as siblings rather than two unrelated widgets. */

/* --- Container ---------------------------------------------------------- */
.catalog-product-view .block.related {
    margin: 0 0 32px;
    max-width: 1100px; /* keeps 1-2 cards from looking lost in a wide viewport */
}
.catalog-product-view .block.related .block-title {
    margin: 0 0 6px;
}
.catalog-product-view .block.related .block-title strong {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}
.catalog-product-view .block.related .block-actions {
    margin: 0 0 16px;
    font-size: 13px;
    color: #666;
}
.catalog-product-view .block.related .block-actions .action.select {
    background: none;
    border: 0;
    padding: 0;
    color: #2192d1;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}
.catalog-product-view .block.related .block-actions .action.select:hover {
    color: #1a76b0;
}

/* --- Grid --------------------------------------------------------------- */
/* auto-fill + minmax keeps cards at a consistent 180-200px width; 1-2 items
   pack from the left instead of stretching to fill the row (Luma's 24%-float
   default). The max-width on the block container above bounds the empty
   right-side rail so it doesn't swallow half the screen. */
.catalog-product-view .block.related .products-grid .product-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 200px));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Phone viewport: force 2 cards per row. Without this, `auto-fill` falls
   back to 1 col below 376px (2 * 180 + 16 gap = 376) and the grid collapses
   to a single column, which feels too sparse on mobile. */
@media (max-width: 479px) {
    .catalog-product-view .block.related .products-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* relatedProducts.js inline-sets `display: none` on every <li> on init then
   reveals up to data-limit via .show(). When the widget initializes late
   (deferred RequireJS, headless with short time budget, JS errors elsewhere)
   the items stay hidden. Force-show via !important — the auto-fill grid
   already caps how many cards we render, so the hide-then-reveal trick
   serves no purpose here. */
.catalog-product-view .block.related .products-grid .product-item {
    display: list-item !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    list-style: none;
}

/* --- Card --------------------------------------------------------------- */
/* No height:100% — let the card size to its content. With auto-fill grid the
   row is auto-height, so each card is as tall as its content. Multi-row case:
   different products may end up with slightly different heights, which is OK
   visually because the cards are independent and the grid wraps anyway. */
.catalog-product-view .block.related .product-item-info {
    background: #fff;
    border: 1px solid #e6e7e8;
    border-radius: 8px;
    padding: 12px;
    width: auto !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

/* --- Photo + Amasty Label overlay --------------------------------------- */
/* The photo anchor wraps:
     <span.product-image-container>...img...</span>
     <div.amasty-label-container> ← absolute-positioned by Amasty's initLabel.js
   We pin the photo as a fixed 4/5 box and clip overflow so the Envío-Listado
   badge stays inside the image area instead of bleeding onto the name row. */
.catalog-product-view .block.related .product-item-photo {
    display: block;
    margin: 0 0 4px;
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
}
.catalog-product-view .block.related .product-item-photo .product-image-container {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important; /* override per-product inline 152/190 */
    display: block !important;
    margin: 0 !important;
}
.catalog-product-view .block.related .product-item-photo .product-image-wrapper {
    padding-bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: relative;
}
.catalog-product-view .block.related .product-item-photo img.product-image-photo {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.catalog-product-view .block.related .product-item-photo .amasty-label-container {
    max-width: 60% !important;
    max-height: 40% !important;
}

/* --- Details ------------------------------------------------------------ */
.catalog-product-view .block.related .product-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.catalog-product-view .block.related .product-item-name {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0;
    text-align: left;
    /* clamp to 2 lines for predictable card heights */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}
.catalog-product-view .block.related .product-item-name a {
    color: #1a1a1a;
    text-decoration: none;
}
.catalog-product-view .block.related .product-item-name a:hover {
    color: #2192d1;
}
.catalog-product-view .block.related .price-box {
    margin: 0;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.catalog-product-view .block.related .price-box .price {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

/* --- Checkbox + label (the action of this block) ------------------------ */
/* Override Luma's `.products-related .field.choice { position:absolute; top:2px;
   left:0 }` + `.label { @extend .abs-visually-hidden }` (clip:rect(0,0,0,0)).
   We want the checkbox+label as a normal-flow action row at the bottom of the
   card, with a visible label so users know what the checkbox does. */
.catalog-product-view .block.related .field.choice.related {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid #f0f0f0;
    position: static !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
}
.catalog-product-view .block.related .field.choice.related input.checkbox.related {
    margin: 0 !important;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2192d1;
    /* Luma defaults align checkboxes top:0 — flex `align-items: center` already
       handles vertical alignment, this just stops fight with sibling rules. */
    position: static !important;
}
/* Reset Luma's .abs-visually-hidden mixin applied to the label */
.catalog-product-view .block.related .field.choice.related label.label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.2;
}
.catalog-product-view .block.related .field.choice.related label.label > span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline;
}
.catalog-product-view .block.related .field.choice.related label::before,
.catalog-product-view .block.related .field.choice.related label::after {
    display: none !important;
}

/* Cancel Luma's `.related-available .product-item-name { margin-left: 20px }`
   that compensated for the absolute checkbox we just moved to the bottom row. */
.catalog-product-view .block.related .related-available .product-item-name {
    margin-left: 0 !important;
}

/* --- Hide redundant per-item Add-to-Cart -------------------------------- */
/* The checkbox+label already says "Añadir al carrito" and the block flow is
   batch (mark several → add together with the main product). A second tocart
   button per card just clutters the UI. */
.catalog-product-view .block.related .product-item-actions {
    display: none !important;
}

/* --- Mobile ------------------------------------------------------------- */
@media only screen and (max-width: 480px) {
    .catalog-product-view .block.related .products-grid .product-items {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .catalog-product-view .block.related .product-item-info {
        padding: 8px;
        gap: 6px;
    }
    .catalog-product-view .block.related .product-item-name {
        font-size: 12px;
    }
}
/* ----- Cart page: force `.cart-container` to enclose its floated children.

   Why: at >= 768px Luma styles `.cart-container .form-cart` as float:left
   width:75% and `.cart-container .cart-summary` as float:right width:25%.
   When `.cart-summary` is taller than `.form-cart` (carts with the Fichas
   reward block, expanded shipping estimator, multiple totals lines, etc.)
   the floated summary pokes out below `.cart-container`, overlapping the
   next sibling rendered into `content.bottom` — typically the Mostviewed
   "Otras recomendaciones" widget and our `Zaca\Related` cart-sleeves
   block. Visible in the field as the rightmost recommendation card
   landing *under* the floating Resumen panel.

   Luma's own `.cart-container:after { clear: both }` clearfix is supposed
   to handle this, but doesn't reliably contain the float in this layout
   (verified locally: clearfix present but overlap reproduces). Switching
   to `display: flow-root` establishes a new Block Formatting Context on
   `.cart-container`, which is the modern, explicit way to make a block
   contain its floats — far more robust than the `:after` trick. */
@media (min-width: 768px) {
    .checkout-cart-index .cart-container {
        display: flow-root;
    }
}
