/* GPT0000000135 - Tienda, producto y compra integrada con el diseño de FacturaONE. */
.header .fone-cart-trigger{
 position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;
 width:44px;height:44px;border:1px solid #8797cd70;border-radius:7px;color:#fff;text-decoration:none;
}
.header .fone-cart-trigger:hover,.header .fone-cart-trigger[aria-expanded="true"]{color:#a0f7ed;background:#ffffff15}
.fone-cart-trigger .fone-cart-count{
 position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:1px 4px;border-radius:20px;
 display:grid;place-items:center;background:#a2f5e5;color:#103344;font-size:10px;font-weight:700;line-height:1;
}
.fone-cart-trigger .fone-cart-count[hidden],.fone-cart-actions [hidden]{display:none}
.header .fone-cart-trigger:focus-visible{outline:2px solid #a0f7ed;outline-offset:3px}
@media(min-width:1101px){.fone-shop-enabled .header .header-row{gap:16px}}
@media(min-width:1101px) and (max-width:1280px){
 .fone-shop-enabled .header .header-row{gap:11px}
 .fone-shop-enabled .header .nav .fone-menu{gap:8px}
 .fone-shop-enabled .header .header-actions>.btn{width:136px}
}
@media(max-width:1100px){
 .fone-shop-enabled .header .fone-cart-trigger{margin-left:auto}
 .fone-shop-enabled .header .menu-toggle{margin-left:0}
}

.fone-sunmi-buy{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:23px 0 18px}
.fone-buy-form{margin:0}
.fone-buy-button{font-family:inherit;cursor:pointer;max-width:100%}
.fone-buy-button[aria-disabled="true"]{opacity:.7;cursor:progress}
.fone-sunmi-buy .fone-product-link{
 color:#b8f9ec;font-size:14px;text-decoration:underline;text-underline-offset:4px;font-weight:600
}
.ff-pos-section .fone-sunmi-buy .fone-product-link,.sunmi-page .fone-sunmi-buy .fone-product-link{color:#b8f9ec}
.fone-sunmi-buy .fone-product-link:hover{color:#fff}
.home-pos .fone-sunmi-buy + .actions{margin-top:12px}

html.fone-cart-open{overflow:hidden}
.fone-cart-drawer:not([open]){display:none}
.fone-cart-drawer{
 position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,448px);height:100%;height:100dvh;
 max-width:none;max-height:none;box-sizing:border-box;padding:0;border:0;overflow:hidden;
 color:var(--ink,#20274a);background:#fff;box-shadow:-14px 0 44px #161b4750;
}
.fone-cart-drawer[open]{animation:fone-cart-enter .21s ease-out both}
.fone-cart-drawer::backdrop{background:#151b42a1}
@keyframes fone-cart-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.fone-cart-drawer[open]{animation:none}}
.fone-cart-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}
.fone-cart-heading{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:24px 25px 18px;border-bottom:1px solid var(--line,#dfe5f0);background:#f7faff;flex:none;
}
.fone-cart-heading h2{margin:4px 0 0;color:var(--ink,#20274a);font-size:28px;line-height:1.2}
.fone-cart-heading .eyebrow{margin:0;font-size:11px}
.fone-cart-close{
 width:44px;height:44px;display:grid;place-items:center;border:1px solid #cbd6eb;border-radius:7px;
 color:var(--ink,#20274a);background:white;font-family:inherit;font-size:30px;line-height:1;cursor:pointer;flex:none;
}
.fone-cart-close:hover{background:#eef5fb}
.fone-cart-drawer :focus-visible{outline:2px solid #3451a4;outline-offset:3px}
.fone-cart-status{font-size:14px;line-height:1.5;color:#414c68;margin:0;padding:12px 25px;background:#edf6fa}
.fone-cart-status:empty{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
.fone-cart-items{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 25px 20px}
.fone-cart-items .woocommerce-mini-cart{margin:0;padding:0;list-style:none}
.fone-cart-items .woocommerce-mini-cart-item{position:relative;display:flow-root;padding:16px 28px 16px 0;border-bottom:1px solid var(--line,#dfe5f0)}
.fone-cart-items .woocommerce-mini-cart-item a:not(.remove){color:#20274a;font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere;text-decoration:none}
.fone-cart-items .woocommerce-mini-cart-item a:not(.remove):hover{text-decoration:underline}
.fone-cart-items .woocommerce-mini-cart-item img{
 float:left;width:64px;height:64px;object-fit:contain;margin:0 12px 4px 0;border-radius:6px;background:#f5f7fb;
}
.fone-cart-items .woocommerce-mini-cart-item .quantity{display:block;margin-top:4px;color:#4c5871;font-size:13px}
.fone-cart-items .woocommerce-mini-cart-item .remove{
 position:absolute;top:13px;right:0;display:grid;place-items:center;width:29px;height:34px;border-radius:5px;
 text-decoration:none;font-size:22px;color:#92364e;background:#fff3f5;
}
.fone-cart-items .woocommerce-mini-cart-item .remove:hover{background:#fbe2e7}
.fone-cart-items .woocommerce-mini-cart-item .variation{font-size:13px}
.fone-cart-items .woocommerce-mini-cart__total{display:flex;justify-content:space-between;gap:12px;margin:18px 0 0}
.fone-cart-items .woocommerce-mini-cart__buttons{display:none}
.fone-cart-items .woocommerce-mini-cart__empty-message{margin:20px 0;color:var(--muted,#58627a)}
.fone-cart-actions{
 display:grid;gap:9px;padding:17px 25px max(20px,env(safe-area-inset-bottom));flex:none;
 border-top:1px solid var(--line,#dfe5f0);background:#f7faff;text-align:center;
}
.fone-cart-actions .btn{width:100%;min-height:44px;padding:10px 15px;font-size:14px;text-decoration:none}
.fone-cart-shop-link{font-size:13px;color:#344b9c;text-decoration:underline;text-underline-offset:3px;padding:8px 0}
@media(max-width:480px){
 .fone-cart-heading,.fone-cart-actions{padding-inline:17px}
 .fone-cart-items,.fone-cart-status{padding-inline:17px}
 .fone-cart-heading h2{font-size:25px}
}

.fone-shop-main{min-height:48vh;background:#fff}
.fone-shop-shell{padding:35px 0 64px}
.fone-shop-main .woocommerce-breadcrumb{margin:0 0 24px;color:#57627c;font-size:13px}
.fone-shop-main .woocommerce-breadcrumb a{color:#3b5199}
.fone-shop-main :is(.woocommerce-products-header__title,.product_title){
 color:var(--ink,#20274a);font-size:clamp(26px,3vw,40px);line-height:1.2;letter-spacing:-.03em;
 font-weight:600;overflow-wrap:anywhere;
}
.fone-shop-main .woocommerce-products-header__title{margin-bottom:18px}
.fone-shop-categories{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 27px}
.fone-shop-categories a{
 display:inline-flex;align-items:center;padding:8px 14px;min-height:40px;border:1px solid #dbe3f3;
 border-radius:8px;background:#f4f8fd;color:#243977;font-size:14px;font-weight:600;text-decoration:none;
}
.fone-shop-categories a:hover,.fone-shop-categories a[aria-current]{background:#e2f7f4;border-color:#96d9d0;color:#183d52}
.fone-shop-main :is(.woocommerce-ordering select,.qty),.fone-shop-flow .woocommerce :is(input.input-text,select,textarea){
 border:1px solid #bdc9df;border-radius:6px;background:#fff;color:#20274a;font:inherit;padding:8px;min-height:39px;
}
.fone-shop-main ul.products{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;clear:both;margin:0 0 30px;padding:0;
}
.fone-shop-main ul.products::before,.fone-shop-main ul.products::after{display:none}
.fone-shop-main ul.products li.product{
 display:flex;flex-direction:column;align-items:flex-start;float:none;width:auto;margin:0;padding:17px;
 border:1px solid #e0e7f2;border-radius:12px;min-width:0;background:#fff;box-shadow:0 6px 20px #232c7308;
}
.fone-shop-main ul.products li.product .woocommerce-LoopProduct-link{display:block;width:100%;color:#20274a;text-decoration:none}
.fone-shop-main ul.products li.product a img{
 width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;padding:12px;
 border-radius:8px;background:#f6f9fd;margin:0 0 12px;
}
.fone-shop-main ul.products li.product .woocommerce-loop-product__title{font-size:17px;line-height:1.38;overflow-wrap:anywhere}
.fone-shop-main ul.products li.product .price,.fone-shop-main div.product .price{color:#176254;font-weight:700}
.fone-shop-main ul.products li.product .price{margin:.2em 0 .9em}
.fone-shop-main ul.products li.product .button{margin-top:auto}
.fone-shop-main div.product form.cart{margin-top:22px}
.fone-shop-main div.product .product_meta{font-size:14px;color:#566382}
.fone-shop-main div.product .woocommerce-product-gallery{background:#f6f9fd;border-radius:10px}
.fone-shop-main div.product .woocommerce-product-gallery img{object-fit:contain}
.fone-shop-main div.product .product_title{margin-bottom:16px}
.fone-shop-main .woocommerce-result-count{color:#4d5974}
.fone-shop-main .woocommerce-ordering,.fone-shop-main .woocommerce-result-count{margin-bottom:16px}
.fone-shop-flow .wp-page > .wp-prose{max-width:none}
.fone-shop-flow .wp-prose :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){font-size:16px;line-height:1.55}
.fone-shop-flow .wp-prose .wc-block-components-product-name{font-weight:600}
.fone-shop-flow .wp-prose .woocommerce form .form-row label{font-weight:600}
.fone-shop-flow .wp-prose .woocommerce form .form-row{margin-bottom:12px}
.fone-shop-main :is(a.button,button.button,input.button),
.fone-shop-flow .woocommerce :is(a.button,button.button,input.button),
.fone-shop-flow .wc-block-components-button:not(.is-link){
 color:#103344;background:var(--gradient,linear-gradient(105deg,#21bdca,#00cd98));
 border:1px solid transparent;border-radius:7px;padding:11px 15px;min-height:43px;
 font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;
}
.fone-shop-main :is(a.button,button.button):hover,.fone-shop-flow :is(a.button,button.button):hover{
 color:#103344;filter:brightness(.96);
}
@media(max-width:980px){
 .fone-shop-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .fone-shop-shell{padding-top:22px;padding-bottom:42px}
 .fone-shop-main ul.products{gap:11px}
 .fone-shop-main ul.products li.product{padding:11px}
 .fone-shop-main ul.products li.product a img{padding:6px}
 .fone-shop-main ul.products li.product .woocommerce-loop-product__title{font-size:15px}
 .fone-shop-main .woocommerce-ordering,.fone-shop-main .woocommerce-result-count{float:none;width:auto}
 .fone-shop-main .woocommerce-ordering select{max-width:100%}
}
@media(max-width:389px){.fone-shop-main ul.products{grid-template-columns:minmax(0,1fr)}}
