/* Shared layout safeguards for the restored storefronts. */
:focus-visible{outline:3px solid #c94478;outline-offset:3px}
img.sf-photo-pending{object-fit:contain!important;background:#faf7f9}
#tab-description img,.item-page .info img,#information-information img{max-width:100%;height:auto}
#tab-description,.item-page .info,#information-information{overflow-wrap:anywhere}
.sf-search-form{display:flex;gap:12px;margin:20px 0 28px;align-items:stretch}
.sf-search-form input{flex:1;min-width:0;padding:12px 14px;border:1px solid #e4dbe1;border-radius:8px;font-size:16px;background:#fff}
.sf-search-form button{min-width:90px;padding:12px 18px;border:0;border-radius:8px;background:#ee61af;color:#fff;font-size:16px;cursor:pointer}
.sf-empty-state{padding:30px 20px;margin:20px 0 32px;border:1px solid #f3dce9;border-radius:14px;background:#fff7fb;line-height:1.6}
.sf-cart-actions{display:flex;justify-content:space-between;gap:16px;margin:24px 0 36px;flex-wrap:wrap}
.sf-cart-actions a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;padding:12px 22px;min-height:48px;border-radius:10px;line-height:1.4;text-align:center;text-decoration:none;font-weight:600}
.sf-cart-actions__continue{background:#fff;border:1px solid #e5dce1;color:#29232a}
.sf-cart-actions__checkout{background:#ef60ad;color:#fff;box-shadow:0 5px 16px #ef60ad20}
.catalog-page h1,.catalog-page h2,.item-page .name{overflow-wrap:anywhere}
@media(max-width:767px){
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select{font-size:16px!important}
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select{min-height:44px}
 textarea{min-height:130px}
 .sf-search-form{gap:8px}.sf-search-form button{min-width:76px;padding:10px 12px}
 .sf-cart-actions{flex-direction:column}.sf-cart-actions a{width:100%}.sf-cart-actions__checkout{order:-1}
 #tab-description table,.item-page .info table{display:block;max-width:100%;overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@media(max-width:767px){
 .form-control{min-height:44px}
 .btn:not(.btn-xs),#button-cart,.notification__button{min-height:44px;height:auto;white-space:normal}
 a.btn{display:inline-flex;align-items:center;justify-content:center;line-height:1.35;padding-top:10px;padding-bottom:10px}
 .header-search__btn{height:44px}.header-search__input{height:44px}
 .qty-switch__input{min-width:40px;height:44px}.qty-switch__btn.fa{height:22px;line-height:21px;min-width:26px}
 .product-page__cart{display:flex;gap:10px;flex-wrap:wrap}
 #menu{position:relative;z-index:1010}
 #menu .menu__collapse{background:#fff;max-height:var(--sf-menu-height,60vh);overflow:auto;overscroll-behavior:contain;box-shadow:0 8px 24px #0002;border-radius:0 0 10px 10px}
 #menu .menu__level-1-a{min-height:46px;padding:12px 46px 12px 14px;line-height:1.45}
 #menu .menu__level-2{background:#faf7f9}
 #menu .menu__level-2-a{padding:12px 18px}
 .tUtVM,.whatsapp-button{width:44px!important;height:44px!important;line-height:44px!important;right:12px!important;font-size:24px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;top:auto!important;box-shadow:0 3px 12px #0002!important;animation:none!important}
 .tUtVM{bottom:calc(64px + env(safe-area-inset-bottom))!important}
 .tUtVM::before,.tUtVM::after,.whatsapp-button::before,.whatsapp-button::after{display:none!important}
 .sf-entry-page .tUtVM,.sf-entry-page .whatsapp-button,.sf-input-focused .tUtVM,.sf-input-focused .whatsapp-button,.sf-menu-open .tUtVM,.sf-menu-open .whatsapp-button{display:none!important}
 body:has(#menu .main-menu__collapse.in) .tUtVM,body:has(#menu .main-menu__collapse.in) .whatsapp-button,body:has(#menu .main-menu__collapse.collapsing) .tUtVM,body:has(#menu .main-menu__collapse.collapsing) .whatsapp-button{display:none!important}
 #checkout-cart .table-responsive{overflow:visible;border:0}
 #checkout-cart .table-responsive>table,#checkout-cart .table-responsive>table>tbody{display:block;width:100%}
 #checkout-cart .table-responsive>table>thead{display:none}
 #checkout-cart .table-responsive>table>tbody>tr{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px 12px;padding:16px;margin-bottom:16px;border:1px solid #e7dce1;border-radius:12px;background:#fff}
 #checkout-cart .table-responsive>table>tbody>tr>td{display:block;min-width:0;padding:0;border:0!important;text-align:left;white-space:normal!important;overflow-wrap:anywhere}
 #checkout-cart .table-responsive>table>tbody>tr>td:first-child{grid-column:1;grid-row:1/3}
 #checkout-cart .table-responsive>table>tbody>tr>td:first-child img{width:64px;max-width:64px;height:auto}
 #checkout-cart .table-responsive>table>tbody>tr>td:nth-child(2),#checkout-cart .table-responsive>table>tbody>tr>td:nth-child(3){grid-column:2}
 #checkout-cart .table-responsive>table>tbody>tr>td:nth-child(n+4){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #f0e9ed!important}
 #checkout-cart .table-responsive>table>tbody>tr>td:nth-child(n+4)::before{content:attr(data-sf-label);font-weight:500;color:#63545d}
 #checkout-cart .table-responsive .input-group{width:180px!important;max-width:180px!important}
 #checkout-cart .table-responsive .input-group .form-control{width:70px;min-width:50px}
 #checkout-cart .buttons{display:flex;gap:12px;flex-direction:column;overflow:visible}
 #checkout-cart .buttons>div{float:none!important;width:100%}
 #checkout-cart .buttons a{width:100%;min-height:46px}
 #checkout-cart .buttons .pull-right{order:-1}
}
