.mobile-app-header .brand .brand-logo-stack{display:block;position:relative;width:150px;height:43px;padding:0;border:0}.mobile-app-header .brand .brand-logo-stack img{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.mobile-app-header .brand .brand-logo-stack .logo-white{filter:brightness(0) invert(1)}.mobile-app-header .brand .brand-logo-stack .logo-color{filter:none;clip-path:inset(0 75% 0 0)}.header-back{font-size:33px;color:#eee;line-height:1;min-width:26px;text-align:center;align-self:center}.app-header-inner{gap:14px}.app-header-actions{margin-left:auto}.install-strip{max-width:1120px;margin:auto;padding:0 30px 9px;display:flex;justify-content:flex-end}.install-strip .header-install{border:0;padding:2px 0;color:#c8cccb;font-size:11px;gap:7px;background:transparent;height:auto}.install-strip .header-install>span:last-child{display:inline}.install-strip .header-install svg{width:15px;height:15px}.home-greeting{font-size:13px;line-height:1.6;color:#7e8576;margin:10px 0 0}.app-kicker{line-height:1.7}.entry-brand>span{font-size:10px;letter-spacing:1.2px;text-align:center;line-height:1.7;max-width:300px}.app-shortcut{background:#e3e5e5;border-color:#d8dcdc}.app-shortcut:hover{background:#dadddd;border-color:#c3c9c9}.shortcut-symbol{background:#d5dada;color:#555e5b}.app-shortcut small{color:#7b8580}.app-portal-card{background:#e3e5e5;border-color:#d8dcdc;color:#252c28}.app-portal-card small{color:#7b8580}.portal-symbol{background:#d5dada;color:#555e5b}.app-portal-card>span:last-child{color:#646e68}.promo-slot{height:132px;border-radius:14px;border:1px solid #e8d478;background:#ffdf55;position:relative;overflow:hidden;margin-bottom:26px}.promo-slot>img{width:100%;height:100%;object-fit:cover;display:block}.promo-slot>div{height:100%;padding:22px 25px;position:relative;display:flex;flex-direction:column;justify-content:center}.promo-slot h2{font:600 20px/1.3 Barlow,Arial,sans-serif;margin:0 0 9px}.promo-slot p{font-size:12px;line-height:1.6;margin:0;max-width:80%;color:#796d3c}.promo-symbol{position:absolute;right:25px;top:42px;opacity:.5}.promo-symbol svg{width:42px;height:42px}.promo-edit{position:absolute;right:10px;bottom:10px;background:#fff9;padding:6px 9px;border-radius:5px;font-size:10px}.facebook-home{display:flex;align-items:center;gap:13px;padding:17px;background:#e3e5e5;border:1px solid #d8dcdc;border-radius:13px;margin-top:14px}.facebook-home>span{font:bold 27px/1 Arial;color:#4d635b;width:34px;text-align:center}.facebook-home>div{flex:1}.facebook-home strong{display:block;font-size:12px;font-weight:600}.facebook-home small{display:block;color:#808c85;font-size:10px;line-height:1.5;margin-top:5px}.facebook-home>b{font-weight:400;color:#7a8580}.whatsapp-float{position:fixed;right:21px;bottom:calc(99px + env(safe-area-inset-bottom,0px));z-index:20;display:flex;align-items:center;gap:8px;border-radius:30px;background:#1c9654;color:#fff;padding:10px 15px 10px 10px;font-size:12px;font-weight:600;box-shadow:0 4px 18px #0002}.whatsapp-float:hover{background:#147e45}.whatsapp-bubble{width:25px;height:25px;border:1.5px solid white;display:grid;place-items:center;border-radius:50%;font-size:17px}.entry-mode .whatsapp-float{display:none}.avatar-circle{overflow:hidden}.avatar-circle img{display:block;width:100%;height:100%;object-fit:cover}.profile-photo-button{font-size:12px;color:#7a6b24;padding:7px 10px;background:none;display:block;margin:0 auto 16px}.profile-logout{display:block;margin:17px auto 0;padding:11px 18px;border:1px solid #d9d4d4;border-radius:8px;background:#f5f1f1;color:#986157;font-size:12px}.profile-logout:disabled{opacity:.45}.admin-profile-link{margin-bottom:20px;background:#ffecaa}.admin-create-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}.admin-publication{display:flex;align-items:center;gap:15px;padding:17px;background:white;border:1px solid #e0e4d8;border-radius:11px;margin-top:10px}.admin-publication>div{flex:1}.admin-publication strong{display:block;font-size:13px}.admin-publication small{display:block;font-size:11px;color:#8c9482;margin-top:6px}.raffle-prize{border:1px solid #e1e5d9;background:white;padding:22px;border-radius:13px;margin-bottom:20px}.raffle-prize>img{display:block;width:100%;max-height:300px;object-fit:contain;margin-bottom:20px}.raffle-prize h2{font:600 22px/1.3 Barlow,Arial,sans-serif}.raffle-prize p{font-size:12px;color:#7d8572;line-height:1.7}.raffle-number-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:20px 0}.raffle-number-grid button{border:1px solid #d4dacb;padding:12px 7px;background:white;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:5px}.raffle-number-grid button strong{font-size:18px}.raffle-number-grid button small{font-size:11px;color:#79826d}.raffle-number-grid button span{font-size:9px;color:#919989}.raffle-number-grid button.selected{background:#ffdb57;border-color:#c5a72e}.raffle-number-grid button:disabled{background:#e4e7df;opacity:.7}.raffle-actions{margin-bottom:30px}.history-raffle{background:white;border:1px solid #e0e4d7;border-radius:11px;padding:20px;margin-bottom:12px}.history-raffle h3{font:600 17px/1.4 Barlow,Arial,sans-serif}.history-raffle p{font-size:12px;line-height:1.6;color:#7b8570}
.raffle-admin-panel{background:white;border:1px solid #e0e5d8;border-radius:12px;padding:20px;margin:25px 0}.raffle-entry-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e7eadf;padding:13px 0}.raffle-entry-row>div{flex:1}.raffle-entry-row strong{display:block;font-size:13px}.raffle-entry-row small{display:block;font-size:11px;color:#89917d;margin-top:5px}.raffle-entry-row .btn{padding:8px 10px;min-height:34px;font-size:11px}.raffle-entry-row .text-btn{font-size:10px}.raffle-admin-panel form{margin-top:25px}.raffle-admin-panel h3{font:600 18px/1.4 Barlow,Arial,sans-serif;margin-bottom:17px}.raffle-admin-panel .field{margin-bottom:15px}
.app-shortcut .shortcut-symbol,.app-shortcut .shortcut-symbol svg{color:#000;stroke:#000}.app-portal-card{background:#17191b;border-color:#17191b;color:#fff}.app-portal-card:hover{background:#282c2d}.app-portal-card small{color:#c7cdca}.app-portal-card .portal-symbol{background:#ffffff13;color:#fc0}.app-portal-card>span:last-child{color:#fc0}.app-list-row[data-action=quote]{background:#555b5f;border-color:#555b5f;color:#fff}.app-list-row[data-action=quote]:hover{background:#454b4e}.app-list-row[data-action=quote] .list-symbol{background:#8d969a;color:#000}.app-list-row[data-action=quote] small,.app-list-row[data-action=quote]>span:last-child{color:#dfe4e5}.app-icon-button[data-action=quote]{background:#555b5f;border-color:#555b5f}.facebook-home{background:#1877f2;border-color:#1877f2;color:#fff}.facebook-home:hover{background:#1268d3}.facebook-home>span,.facebook-home>b{color:#fff}.facebook-home small{color:#e0edff}
@media(max-width:520px){.mobile-app-header .brand .brand-logo-stack{width:115px;height:36px}.app-header-inner{gap:7px;padding-bottom:5px}.header-back{font-size:30px;min-width:19px}.install-strip{padding:0 17px 9px}.install-strip .header-install{font-size:10px;min-width:0}.install-strip .header-install svg{width:13px;height:13px}.app-header-actions{gap:7px}.app-kicker{font-size:9px;letter-spacing:.6px}.home-greeting{font-size:12px}.promo-slot{height:132px}.promo-slot>div{padding:21px}.promo-slot h2{font-size:19px}.promo-slot p{font-size:11px}.whatsapp-float{right:14px;bottom:91px;padding:9px 12px 9px 9px;font-size:10px;gap:6px}.whatsapp-bubble{width:23px;height:23px;font-size:16px}.raffle-number-grid{grid-template-columns:repeat(4,1fr);gap:7px}.raffle-number-grid button{padding:10px 6px}.facebook-home{padding:15px 12px}.facebook-home strong{font-size:11px}.facebook-home small{font-size:9px}.admin-publication{align-items:start;flex-direction:column}.raffle-entry-row{flex-wrap:wrap}.raffle-entry-row>div{min-width:100px}}
.signup-confirmation{display:grid;gap:14px;padding:8px 0}.signup-confirmation h3{font-size:22px;margin:0}.signup-confirmation p{margin:0;line-height:1.6;overflow-wrap:anywhere}.confirmation-icon{width:58px;height:58px;padding:14px;background:#ffcc00;border-radius:50%;color:#111}.confirmation-icon svg{width:100%;height:100%}.signup-confirmation .btn{width:100%}.account-access{display:grid;gap:8px;padding:14px;border-radius:12px;background:#f1f2f2;color:#151719;margin:12px 0}.account-access p{font-size:13px;margin:0;line-height:1.5}.account-access .text-btn{justify-self:center}

/* Logo 50% mayor y administración junto al catálogo. */
.mobile-app-header .brand .brand-logo-stack{width:225px;height:64.5px}.mobile-app-header .brand .brand-logo-stack img{width:100%;height:100%}.catalog-admin-tools{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.catalog-admin-tools .btn{font-size:13px;padding:12px 17px}.folder-wrap{position:relative;min-width:0}.folder-wrap .family-card{width:100%;height:100%;padding-bottom:40px}.folder-edit{position:absolute;bottom:10px;left:10px;right:10px;border-radius:7px;background:#ffcc00;color:#151719;padding:9px;font-size:12px;font-weight:600}.family-info p{font-size:12px;line-height:1.5}.editor-cover{display:block;width:100%;height:180px;object-fit:contain;margin:15px 0;background:#f1f2f2}.editor-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.editor-photos img{width:100%;height:95px;object-fit:contain;background:#f1f2f2}.editor-photos label{font-size:12px}.editor-photos span{display:flex;align-items:center;gap:5px}.product-edit{width:100%;margin:14px 0 8px;background:#ffcc00;font-size:12px}.profile-account-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:15px}.editor-message{color:#9a2929;line-height:1.6}.modal-body .field{margin:15px 0}#folder-form .field,#account-settings-form .field{margin-bottom:16px}
@media(max-width:520px){.mobile-app-header .brand .brand-logo-stack{width:172.5px;height:54px}.app-header-inner{flex-wrap:wrap;column-gap:7px}.mobile-app-header .brand{min-width:0}.app-header-actions{margin-left:auto}.editor-photos{grid-template-columns:repeat(2,1fr)}.catalog-admin-tools .btn{flex:1;padding:11px 9px;font-size:12px}}

/* Instalación alineada con los tres accesos de la cabecera. */
.app-header-inner{flex-wrap:nowrap;gap:12px}.app-header-actions{display:flex;align-items:center;gap:8px;flex:none}.app-header-actions .header-install{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;height:auto;max-width:160px;background:transparent;color:#f5f5f5;border:1px solid #555;border-radius:9px;padding:7px 10px;font-size:12px;line-height:1.3}.app-header-actions .header-install>span:last-child{display:inline}.app-header-actions .header-install svg{width:18px;height:18px;flex:none}.mobile-app-header .brand{min-width:0}.mobile-app-header .brand .brand-logo-stack{max-width:100%}
@media(max-width:600px){.app-header-inner{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:4px;padding:8px;min-height:78px}.header-back{min-width:14px;font-size:25px}.app-header-actions{gap:4px;margin:0}.app-header-actions .app-icon-button{width:28px;height:36px}.app-header-actions .app-icon-button svg{width:17px;height:17px}.app-header-actions .header-install{width:60px;max-width:60px;min-width:60px;min-height:54px;border:0;padding:2px;display:flex;flex-direction:column;gap:3px;font-size:9px;text-align:center}.app-header-actions .header-install svg{width:17px;height:17px}.mobile-app-header .brand .brand-logo-stack{width:172.5px;height:54px}.mobile-app-header .brand{display:block}.app-header-actions .header-install>span:last-child{display:block}}

.bottom-nav .nav-links a{flex:1;min-width:0}.order-home{margin-bottom:17px}.order-list{display:grid;gap:8px;margin:20px 0}.order-list>div{display:flex;gap:7px;align-items:center;padding:12px;background:#f1f2f2;border-radius:8px}.order-list strong{flex:1;font-size:14px}.order-list button{width:40px;height:40px;background:#ffcc00;border-radius:8px;font-size:22px}.order-list button:disabled{opacity:.3}.document-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.quote-save-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:20px}.saved-quote{padding:16px 0;border-bottom:1px solid #ddd}.saved-quote p{font-size:13px;line-height:1.6}.session-home p{overflow-wrap:anywhere;text-align:center;padding:15px}.session-home h2{text-align:center}.session-home .entry-primary{display:block;text-align:center}
@media(max-width:520px){.bottom-nav .nav-links{gap:1px;padding-left:4px;padding-right:4px}.bottom-nav .nav-links a{font-size:8px;padding-left:1px;padding-right:1px}.bottom-nav svg{width:20px;height:20px}.quote-save-actions .btn{width:100%}}

.pwa-standalone [data-action="install"]{display:none!important}#pwa-install-now[hidden]{display:none!important}@media(display-mode:standalone){[data-action="install"]{display:none!important}}

/* Portadas completas según cada catálogo. */
body[data-section="tienda"] .catalog-app .family-image,body[data-section="sobrepedidos"] .catalog-app .family-image,body[data-section="envios"] .catalog-app .family-image{aspect-ratio:199/256;height:auto;min-height:0}
body[data-section="refacciones"] .catalog-app .family-image,body[data-section="refacciones"] .catalog-app .product-picture{aspect-ratio:4/5;height:auto;min-height:0}
.catalog-app .family-image img{object-fit:contain;object-position:center;width:100%;height:100%}body[data-section="refacciones"] .catalog-app .product-picture img{width:100%;height:100%;object-fit:contain;object-position:center}
body[data-section="envios"] .product-price,body[data-section="envios"] .tax-label,body[data-section="envios"] [data-add],body[data-section="envios"] .detail-price,body[data-section="envios"] .technical-block{display:none!important}
.delivery-video{margin:18px 0}.delivery-video video{display:block;width:100%;max-height:70vh;background:#111}.delivery-video a{display:block;padding:10px 0;font-size:13px}.delivery-video-fields[hidden]{display:none!important}

body[data-section="envios"] .product-picture video{width:100%;height:100%;object-fit:contain;pointer-events:none}

/* Actualización y navegación con la misma identidad del encabezado. */
.bottom-nav{background:#17191b;border-top:4px solid #ffcc00}
.bottom-nav .nav-links a{color:#f4f4f1}
.bottom-nav .nav-links a:hover{background:#303234;color:#ffcc00}
.bottom-nav .nav-links a.active{background:#343536;color:#ffcc00}
.app-refresh-button svg{width:19px;height:19px}
.app-refresh-button[aria-busy="true"] svg{animation:refresh-spin 1s linear infinite}
@keyframes refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.app-refresh-button[aria-busy="true"] svg{animation:none}}
.promo-slot>img,.promo-slot>video{object-fit:contain;background:#17191b}
.promo-slot>video{display:block;width:100%;height:100%;pointer-events:none}
.promotion-adjuster{border:1px solid #d9d9d2;border-radius:12px;padding:14px;background:#f8f8f5}
.promotion-adjuster h3{margin:0;font-size:16px}.promotion-adjuster p{margin:8px 0;font-size:12px;line-height:1.5}
.promotion-crop-controls[hidden]{display:none!important}
.promotion-crop-controls canvas{display:block;width:100%;height:auto;border:2px solid #ffcc00;background:white;touch-action:none;cursor:grab;margin:12px 0}
.promotion-crop-controls canvas:active{cursor:grabbing}
.crop-zoom{display:flex;align-items:center;gap:10px;font-size:13px}.crop-zoom input{flex:1;min-width:70px;accent-color:#17191b}.crop-zoom output{min-width:46px}
.crop-tools,.crop-arrows{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.crop-tools button,.crop-arrows button{border:1px solid #b9bdb8;border-radius:7px;padding:9px;background:white;color:#17191b;font:inherit;font-size:12px;cursor:pointer}
.crop-arrows button{min-width:42px;min-height:40px}.promotion-crop-controls small{line-height:1.5;font-size:11px}.crop-status{color:#505650}

.feedback-list{display:grid;gap:16px;margin:24px 0}.feedback-card{background:white;border:1px solid #deded5;border-radius:14px;padding:20px}.feedback-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.feedback-heading time{font-size:11px;color:#70756b}.feedback-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.review-stars{font-size:24px;color:#a78100;letter-spacing:2px;margin:10px 0}.review-stars span{color:#a3a69a}.feedback-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.feedback-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.rating-picker{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0 0 20px}.rating-picker legend{font-size:14px;font-weight:600;margin-bottom:10px}.rating-picker label{position:relative;cursor:pointer}.rating-picker input{position:absolute;opacity:0;width:1px;height:1px}.rating-picker span:not(.sr-only){display:block;padding:10px;border:1px solid #ccc;border-radius:8px;background:#f1f1ec}.rating-picker input:checked+span{background:#ffcc00;border-color:#17191b;color:#17191b}.rating-picker input:focus-visible+span{outline:2px solid #17191b;outline-offset:2px}.delivery-comments{margin-top:30px;border-top:1px solid #ddd;padding-top:22px}.feedback-empty{font-size:13px;line-height:1.6;color:#697164}
#publication-form[data-section="envios"] label:has(input[name="price"]),#publication-form[data-section="envios"] label:has(input[name="tax"]),#publication-form[data-section="envios"] label:has(input[name="technical"]){display:none}
/* Envíos: una publicación reúne todos sus archivos en un mosaico adaptable. */
body[data-section="envios"] #products{grid-template-columns:minmax(0,1fr);max-width:780px;margin-left:auto;margin-right:auto;gap:28px}
.delivery-post .product-info{padding:21px}.delivery-post .product-description{-webkit-line-clamp:unset;display:block;min-height:0;white-space:pre-wrap;overflow:visible}.delivery-post .product-edit{margin-bottom:12px}
.delivery-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:#111;overflow:hidden;isolation:isolate;aspect-ratio:1.2}
.mosaic-tile{position:relative;overflow:hidden;min-width:0;min-height:0;background:#111}
.mosaic-tile>button:not(.media-expand):not(.media-more){display:block;width:100%;height:100%;padding:0;border:0;background:#111;cursor:pointer}
.mosaic-tile img{display:block;width:100%;height:100%;object-fit:cover}.mosaic-tile video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
.mosaic-tile .media-expand{position:absolute;top:8px;right:8px;border:1px solid #ffffff90;border-radius:7px;background:#111a;color:white;font-size:24px;width:36px;height:36px;cursor:pointer}
.mosaic-tile .media-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:0;background:#1118;color:#fff;font-size:38px;font-weight:700;cursor:pointer}
.delivery-mosaic[data-count="1"]{grid-template-columns:1fr;aspect-ratio:16/10}
.delivery-mosaic[data-count="1"][data-first="portrait"]{aspect-ratio:4/5;max-height:680px}
.delivery-mosaic[data-count="2"]{aspect-ratio:1.15}
.delivery-mosaic[data-count="3"]{grid-template-rows:repeat(2,minmax(0,1fr))}
.delivery-mosaic[data-count="3"] .mosaic-tile:first-child{grid-row:span 2}
.delivery-mosaic[data-count="3"][data-first="landscape"]{grid-template-rows:1.7fr 1fr;aspect-ratio:1}
.delivery-mosaic[data-count="3"][data-first="landscape"] .mosaic-tile:first-child{grid-row:auto;grid-column:span 2}
.delivery-mosaic[data-count="4"]{grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:1}
.delivery-mosaic[data-count="5"]{grid-template-rows:repeat(6,minmax(0,1fr));aspect-ratio:1}
.delivery-mosaic[data-count="5"] .mosaic-tile:nth-child(1){grid-area:1/1/4/2}.delivery-mosaic[data-count="5"] .mosaic-tile:nth-child(2){grid-area:1/2/3/3}.delivery-mosaic[data-count="5"] .mosaic-tile:nth-child(3){grid-area:3/2/5/3}.delivery-mosaic[data-count="5"] .mosaic-tile:nth-child(4){grid-area:4/1/7/2}.delivery-mosaic[data-count="5"] .mosaic-tile:nth-child(5){grid-area:5/2/7/3}
.delivery-viewer>img,.delivery-viewer>video{display:block;width:100%;height:auto;max-height:68dvh;object-fit:contain;background:#111}.viewer-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin:16px 0}.delivery-viewer>.btn{margin-top:10px}.delivery-no-media{padding:55px 20px;text-align:center;color:#646960}
.photo-order-editor{border:1px solid #d4d5cf;background:#f6f6f0;border-radius:12px;padding:14px}.photo-order-editor h3{font-size:16px;margin:0}.photo-order-editor p{font-size:12px;line-height:1.5}.photo-order-list{display:grid;gap:9px}.photo-order-row{display:flex;align-items:center;gap:8px;padding:9px;background:white;border:1px solid #d4d5cf;border-radius:9px;min-width:0}.photo-order-row img{width:55px;height:60px;object-fit:cover;border-radius:6px}.photo-order-row label{font-size:12px;flex:1;min-width:0}.photo-order-row button{width:34px;min-height:37px;flex:none;border:1px solid #bbc0b8;background:#fff;border-radius:6px;cursor:pointer}.photo-grip,.publication-grip{display:block;padding:9px 3px;font-size:23px;cursor:grab;touch-action:none;flex:none}.photo-order-editor[hidden],#publication-form .field[hidden]{display:none!important}.photo-order-message{color:#515b4b}
.order-list>div>img{width:46px;height:48px;object-fit:cover;border-radius:6px}.order-list>div>strong{min-width:0;overflow-wrap:anywhere}.order-list>div>button{flex:none}.order-list>div{align-items:center}
@media(max-width:520px){.delivery-mosaic{gap:3px}.delivery-post .product-info{padding:16px}.photo-order-row{gap:5px;padding:6px}.photo-order-row img{width:43px;height:49px}.photo-order-row button{width:31px}.photo-order-editor{padding:10px}.order-list>div>img{display:none}}


.delivery-location{font-size:13px;line-height:1.5;margin:8px 0;color:#565c53}
.photo-order-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.photo-order-row{display:flex;position:relative;flex-wrap:wrap;padding:0;gap:0;overflow:hidden}.photo-order-row img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0}.photo-order-row .photo-grip{position:absolute;left:4px;top:4px;background:#ffffffe8;border-radius:5px;padding:0 5px;line-height:28px;z-index:1}.photo-order-row .photo-remove{position:absolute;right:4px;top:4px;width:28px;height:28px;min-height:28px;border:1px solid #ffffffaa;border-radius:50%;padding:0;background:#17191be8;color:#fff;font-size:24px;line-height:23px;z-index:2}.photo-caption{display:block;width:100%;padding:8px;font-size:12px}.photo-arrows{display:flex;width:100%;gap:5px;padding:0 7px 7px;justify-content:space-between}.photo-arrows button{flex:1;width:auto;min-height:32px}.photo-warning{color:#a22b1c;font-weight:600}.photo-invalid{border:2px solid #a22b1c}
@media(max-width:520px){.photo-order-list{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-order-row img{width:100%;height:auto}}

.delivery-mosaic[data-count="4"][data-first="landscape"]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:2fr 1fr}.delivery-mosaic[data-count="4"][data-first="landscape"] .mosaic-tile:first-child{grid-column:1/-1}

/* Ajustes de presentación solicitados. */
.app-header-actions .app-icon-button{box-sizing:border-box;width:38px;height:38px;min-width:38px;max-width:38px;min-height:38px;max-height:38px;aspect-ratio:1;border-radius:50%;padding:0;flex:0 0 38px}
.promo-slot{height:151.8px}
.catalog-app .delivery-post .product-info h2{font-size:25.6px;line-height:1.25;overflow-wrap:anywhere}
.catalog-app .delivery-post .product-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.65;max-height:4.95em;min-height:0;white-space:pre-wrap}
body[data-section=envios] .catalog-meta{display:none}
.stock-status{font-weight:700;font-size:14px;margin:14px 0;color:#2d5538}.stock-status.stock-empty{color:#9c382c}.purchase-options{border-top:1px solid #ddd;padding-top:16px;margin-top:22px;display:grid;gap:12px}.purchase-options .stock-status{margin:0 0 4px}.purchase-options .btn{width:100%;border-radius:8px}.purchase-options .btn:disabled,.product-card-actions .btn:disabled{opacity:.5;cursor:not-allowed}.purchase-backorder{white-space:normal;line-height:1.5}.quote-order-type{display:block!important;font-weight:700;color:#705000!important;margin:6px 0}.purchase-options .btn.outline{background:#fff8d6;border-color:#c2aa4f}
@media(max-width:520px){.app-header-actions .app-icon-button{width:28px;height:28px;min-width:28px;max-width:28px;min-height:28px;max-height:28px;flex-basis:28px}.catalog-app .delivery-post .product-info h2{font-size:25.6px}.purchase-options .btn{min-height:44px}}

html{background:#111111!important;color-scheme:dark}body{color-scheme:light}.bottom-nav{background:#17191b!important}body[data-section=refacciones] .family-info p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:1.5;max-height:4.5em;overflow:hidden}

/* Legibilidad: incrementos respecto a la presentación anterior. */

body[data-section=tienda] .catalog-app .product-description,body[data-section=refacciones] .catalog-app .product-description{font-size:13.2px;min-height:41px}
body[data-section=tienda] .catalog-app .cat-label,body[data-section=refacciones] .catalog-app .cat-label{font-size:10.8px}.part-number{font-size:13.2px}.family-info>span{font-size:14.4px}
.app-kicker{font-size:12px}.eyebrow{font-size:13.2px}.catalog-heading .eyebrow{font-size:9.6px}
.app-page-title h1,.page-head .page-title,.catalog-heading h1{font-size:34.8px;font-weight:700}.home-greeting{font-size:15.6px}.app-section-title{font-size:20.4px}.app-shortcut strong{font-size:14.95px}.app-shortcut small{font-size:12.65px}
@media(max-width:520px){.app-page-title h1,.page-head .page-title,.catalog-heading h1{font-size:31.2px;font-weight:700}.app-kicker{font-size:10.8px}.eyebrow{font-size:10.8px}.catalog-heading .eyebrow{font-size:9.6px}.home-greeting{font-size:14.4px}.app-section-title{font-size:18px}.app-shortcut strong{font-size:13.8px}.app-shortcut small{font-size:11.5px}.family-info>span{font-size:13.2px}}

body[data-section=tienda] .catalog-app .product-picture,body[data-section=refacciones] .catalog-app .product-picture{aspect-ratio:1;height:auto}body[data-section=tienda] .catalog-app .product-picture img,body[data-section=refacciones] .catalog-app .product-picture img{object-fit:cover}.photo-crop-open{margin:0 7px 7px;font-size:11px;padding:8px;width:calc(100% - 14px)}
.app-start .app-portal-card strong{font-size:16.1px}.app-start .app-portal-card small{font-size:12.65px}body[data-section=tienda] .product-detail .modal-copy,body[data-section=refacciones] .product-detail .modal-copy{font-size:16.8px}body[data-section=tienda] .product-detail .cat-label,body[data-section=refacciones] .product-detail .cat-label{font-size:12px}@media(max-width:520px){.app-start .app-portal-card strong{font-size:14.95px}.app-start .app-portal-card small{font-size:11.5px}}

body[data-section=tienda] .catalog-app .family-image,body[data-section=refacciones] .catalog-app .family-image{aspect-ratio:4/5;height:auto}

/* Ajustes de Tienda y acceso al catálogo */

.family-back{font-size:18px!important;font-weight:700!important;min-height:48px;padding:12px 18px!important;background:#fff!important;color:#111!important;border:2px solid #111!important;border-radius:10px;margin-bottom:20px}
.stock-empty small{display:block;font-size:13px;color:#555}.folder-delete{margin-top:14px;color:#a21d1d}.tracking-event{border-left:3px solid #ffc900;padding:12px 18px;margin:14px 0;overflow-wrap:anywhere}.tracking-event p{white-space:pre-wrap}.tracking-event time{display:block;color:#666;font-size:13px}.tracking-controls{display:flex;gap:8px;flex-wrap:wrap}.portal-doc{flex-wrap:wrap;gap:12px}.tracking-order-title{font-size:22px;overflow-wrap:anywhere}

.product-card-actions .btn{white-space:normal;line-height:1.4;overflow-wrap:anywhere}

/* Pedidos desplegables y estadísticas privadas */
.tracking-order{border:1px solid #ddd;border-radius:12px;margin:16px 0;background:#fff;overflow:hidden}.tracking-order>summary{cursor:pointer;padding:18px;list-style:none;position:relative;padding-right:40px}.tracking-order>summary::-webkit-details-marker{display:none}.tracking-order>summary:after{content:'＋';position:absolute;right:14px;top:16px;font-size:22px;font-weight:700}.tracking-order[open]>summary:after{content:'−'}.tracking-order>summary:focus-visible{outline:3px solid #c28d00;outline-offset:-3px}.tracking-order-title{display:block;font-weight:700}.tracking-summary-status{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;margin:8px 0;color:#555}.tracking-toggle-hint{display:block;font-size:12px;color:#555}.tracking-toggle-hint:before{content:'Ver historial'}.tracking-order[open] .tracking-toggle-hint:before{content:'Contraer historial'}.tracking-order-body{padding:0 18px 18px}
.usage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:22px 0}.usage-stats article{padding:22px;background:#fff;border:1px solid #ddd;border-top:4px solid #fc0;border-radius:12px}.usage-stats strong{display:block;font-size:30px;color:#111}.usage-stats span{display:block;font-size:14px;font-weight:600;color:#555}.usage-stats small{font-size:12px;color:#555}.usage-private{font-size:13px;color:#555}.usage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.usage-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.usage-graphs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.usage-graphs>article{min-width:0;padding:20px;background:#fff;border:1px solid #ddd;border-radius:12px}.usage-bars{display:flex;align-items:flex-end;height:160px;gap:3px;margin:24px 0 34px}.usage-bar-col{flex:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;position:relative}.usage-bar{display:block;width:100%;background:#d0a000;min-height:0}.usage-bar-col small{position:absolute;top:100%;font-size:9px;transform:rotate(-55deg);transform-origin:right top;white-space:nowrap;margin-top:8px}.usage-chart-data summary{cursor:pointer;font-size:13px}.usage-chart-data table{width:100%;font-size:13px;border-collapse:collapse}.usage-chart-data td,.usage-chart-data th{padding:6px;text-align:left;border-bottom:1px solid #ddd}.usage-search{display:flex;gap:12px;align-items:flex-end;margin:18px 0}.usage-search .field{flex:1;margin:0}.usage-users{display:grid;gap:12px}.usage-user{background:#fff;border:1px solid #ddd;padding:20px;border-radius:12px;overflow-wrap:anywhere}.usage-user>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.usage-user dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;font-size:13px;margin-bottom:0}.usage-user dt{color:#666}.usage-user dd{margin:5px 0}.usage-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0}.usage-pagination span{font-size:13px}
@media(max-width:700px){.usage-stats{grid-template-columns:1fr 1fr}.usage-stats article{padding:16px}.usage-graphs{grid-template-columns:1fr}.usage-user dl{grid-template-columns:1fr;gap:8px}.usage-graphs>article{padding:16px}.usage-search{flex-wrap:wrap}.usage-search .field{min-width:180px}.tracking-order>summary{padding:15px 38px 15px 15px}}

/* Cotizador de envío de maquinaria */
.shipping-promotion{padding:20px;background:#fc0;border-radius:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0}.shipping-promotion strong{font-size:21px}.shipping-promotion span{align-self:center;font-size:14px}.shipping-page #shipping-form{padding:24px;background:#fff;border:1px solid #ddd;border-radius:12px;margin:20px 0}.shipping-page #shipping-form .field{max-width:340px}.shipping-message{font-size:14px;line-height:1.6}.shipping-breakdown,.shipping-map{background:#fff;border:1px solid #ddd;border-radius:12px;padding:24px;margin:20px 0;overflow-wrap:anywhere}.shipping-breakdown dl>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #ddd;font-size:14px}.shipping-breakdown dd{margin:0;font-weight:700;text-align:right;flex-shrink:0}.shipping-breakdown .shipping-total{background:#ffef99;padding:16px;font-size:17px;border:0}.shipping-map iframe{display:block;width:100%;height:360px;border:0;border-radius:10px;margin:16px 0}.shipping-map-pending{background:#f2f2ed;border:1px dashed #aaa;border-radius:10px;padding:35px 24px;text-align:center;margin:18px 0}.shipping-map-pending>span{display:block;font-size:44px}.shipping-map-pending>strong{display:block;font-size:19px}.shipping-map-pending>p{font-size:14px;line-height:1.6;color:#555}@media(max-width:520px){.shipping-breakdown,.shipping-map,.shipping-page #shipping-form{padding:16px}.shipping-breakdown dl>div{font-size:13px;gap:10px}.shipping-breakdown .shipping-total{font-size:15px}.shipping-promotion{padding:17px}.shipping-map iframe{height:300px}}

.feedback-author{display:flex;align-items:center;gap:12px;min-width:0}.feedback-author strong{overflow-wrap:anywhere}.feedback-author-photo{width:48px;height:48px;min-width:48px;border-radius:50%;object-fit:cover}.feedback-filters,.feedback-moderation{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.feedback-heading time{flex-shrink:0}#avatar-edit-form canvas{border-radius:50%}#distribution-form select[size]{height:170px;padding:6px}#distribution-form .field>label{margin-top:10px}#distribution-form .field>input[type=search]{min-width:0;width:100%}#distribution-admin form{background:#fff;border:1px solid #ddd;border-radius:12px;padding:22px;margin:20px 0}#distribution-admin h2{margin-top:28px}@media(max-width:520px){.feedback-heading{align-items:flex-start;flex-wrap:wrap}.feedback-author-photo{width:42px;height:42px;min-width:42px}.feedback-moderation .btn{flex:1;padding:12px;font-size:12px}}

.credit-note{font-size:14px;line-height:1.5;color:#62676c}

[data-credit-fields][hidden]{display:none!important}

.backorder-benefits{font-size:14px;padding:14px;background:#fff5c5;border-left:3px solid #fc0}.backorder-benefits p{margin:6px 0}.purchase-options{display:grid;gap:12px}.product-card-actions{flex-wrap:wrap}.product-card-actions [data-order-type=sobrepedido]{white-space:normal}

/* Títulos de publicaciones de Tienda y Refacciones. */
body[data-section=tienda] .catalog-app .product-info h2,body[data-section=refacciones] .catalog-app .product-info h2{font-size:12px;font-weight:700}

.inventory-controls,.inventory-stock{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inventory-stock .btn{min-width:44px}.inventory-photos{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.inventory-photos label{display:grid;justify-items:center}.inventory-photos img{width:96px;height:96px;object-fit:cover;border-radius:7px}

#client-view-banner:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:11;padding:10px clamp(16px,5vw,64px);background:#fff4c4;color:#191919;font-size:14px}#client-view-banner a{color:inherit;text-decoration:underline;font-weight:700}.client-view-link{margin-bottom:18px}.booting #client-view-banner{visibility:hidden}.client-preview-mode.entry-mode #client-view-banner{position:sticky;top:0}
.detail-credit{margin:16px 0;padding:14px;border:1px solid #e5d890;border-radius:12px;background:#fffbee}.detail-credit h3,.detail-credit h4{margin:0 0 8px}.detail-credit p{font-size:.85rem;margin:0 0 12px}.detail-credit article{background:#fff;border-radius:8px;padding:12px;margin-top:10px}.detail-credit dl{margin:0}.detail-credit dl div{display:grid;grid-template-columns:minmax(85px,1fr) minmax(0,2fr);gap:10px;padding:5px 0}.detail-credit dd{margin:0;text-align:right}
.shipment-card{margin:12px 0;padding:18px;border:1px solid #e8e6df;border-radius:14px;background:white}.shipment-card h3,.shipment-sheet-title{margin:0;font-size:1rem;overflow-wrap:anywhere}.shipment-status{margin:7px 0 15px;font-size:1.15rem;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere}.shipment-track{display:flex;justify-content:space-between;align-items:center;position:relative;margin:14px 0 9px;min-height:34px}.shipment-track::before{content:'';height:3px;background:#1c1c1c;position:absolute;inset:calc(50% - 1px) 14px auto 6px}.shipment-track:has(>span:only-child)::before{background:#e3e1da}.shipment-marker,.shipment-step-marker{position:relative;z-index:1;flex:none;width:11px;height:11px;border-radius:50%;background:#1c1c1c}.shipment-marker.current,.shipment-step.current .shipment-step-marker{width:32px;height:32px;background:#ffce00;display:grid;place-items:center}.shipment-marker svg,.shipment-step-marker svg{width:19px;height:19px}.shipment-detail-link{padding:8px 0;background:transparent;color:#255e91;text-align:left;font-weight:700}.shipment-sheet[open]{position:fixed;inset:auto 0 0;margin:0 auto;max-width:620px;width:100%;max-height:82dvh;padding:20px 22px max(20px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0;animation:shipment-slide-in 220ms ease-out}.shipment-sheet::before{content:'';display:block;width:40px;height:4px;border-radius:4px;background:#b8b8b8;margin:0 auto 16px}.shipment-sheet .modal-head{margin-bottom:10px}.shipment-sheet-title{color:#505050}.shipment-timeline{list-style:none;padding:0;margin:20px 0 10px}.shipment-step{position:relative;padding:0 0 19px 45px;min-height:49px}.shipment-step:not(:last-child)::before{content:'';position:absolute;left:15px;top:11px;bottom:-9px;width:2px;background:#292929}.shipment-step-marker{position:absolute;left:10px;top:7px}.shipment-step.current .shipment-step-marker{left:0;top:0}.shipment-step p{margin:0 0 3px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.shipment-step.current p{font-weight:700}.shipment-step time{font-size:.85rem;color:#626262}@keyframes shipment-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.shipment-sheet[open]{animation:none}}

.publication-model,.product-info .publication-model,.product-detail .publication-model{display:block;margin:0 0 8px;color:#191919;font-size:1.1rem;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.publication-model strong{font-weight:800}#publication-form:not([data-section=envios]) [data-publication-place-label],#publication-form:not([data-section=envios]) input[name=category]{font-size:1.1rem;font-weight:700}

#inventory-search{margin:12px 0}
.inventory-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 10px;padding:8px 10px;border:1px solid #ddd;border-radius:8px;margin-bottom:6px;background:#fff}
.inventory-thumbnail{grid-column:1;grid-row:1;width:42px;height:42px;border-radius:6px;object-fit:contain;background:#f2f2ed}
.inventory-thumbnail:not([src]){visibility:hidden}
.inventory-row-info{grid-column:2;min-width:0;overflow-wrap:anywhere}
.inventory-row-info small{display:block;color:#62676c;font-size:12px}
.inventory-row-actions{grid-column:3;display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
.inventory-row .inventory-stock{gap:5px;font-size:13px}
.inventory-row .inventory-stock .btn{min-width:36px;min-height:36px;padding:3px 7px}
.inventory-detail-link{color:#17191b;font-weight:700;font-size:13px;background:none;border:0;padding:8px 2px;cursor:pointer}
.inventory-description{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:650px){.inventory-row{grid-template-columns:auto minmax(0,1fr);row-gap:4px}.inventory-row-actions{grid-column:1/-1}}

#tracking-photo-preview{display:block;width:100%;max-height:65vh;object-fit:contain;margin-bottom:12px}.shipment-step .btn,.tracking-event .btn{white-space:normal;overflow-wrap:anywhere}

.inventory-gallery{margin-bottom:14px}.inventory-photo-frame{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(190px,40svh,420px);border-radius:8px;background:#17191b;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;margin-bottom:10px}.inventory-photo-frame img:not([hidden]){display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.inventory-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;min-width:40px;border:1px solid #ffffff70;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;background:#111b;color:#fff;font:32px/1 Arial,sans-serif;cursor:pointer;z-index:1}.inventory-photo-prev{left:10px}.inventory-photo-next{right:10px}.inventory-photo-arrow:disabled{opacity:.25;cursor:default}.inventory-photo-frame:focus-visible,.inventory-photo-arrow:focus-visible{outline:3px solid #fc0;outline-offset:-3px}.inventory-gallery [data-photo-status]{font-size:13px;color:#555}

.inventory-quote-line,.inventory-quote-record{border:1px solid #ddd;border-radius:8px;padding:10px;margin:8px 0}.inventory-quote-line{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.inventory-quote-line .field{flex:1 1 135px;margin:0}.inventory-quote-record small{display:block;margin:5px 0}.inventory-quote-record .inventory-controls{margin-top:8px}

.inventory-quote-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.inventory-quote-toolbar .btn{min-width:0;min-height:44px;padding:6px 4px;white-space:normal;line-height:1.15;font-size:clamp(11px,2.8vw,14px)}.inventory-cart-button{margin-top:8px}.inventory-quote-quantity input{width:72px}.inventory-quote-quantity .btn{min-height:40px;padding:4px 10px}.inventory-quote-quantity .inventory-controls{flex-wrap:nowrap}

.inventory-row[hidden]{display:none}body[data-section="inventario"] #main::before{backdrop-filter:none}body[data-section="inventario"] .menu-letter{animation-name:inventory-letter-in}@keyframes inventory-letter-in{from{opacity:0;transform:translateY(.26em)}to{opacity:1;transform:translateY(0)}}

dialog.inventory-gallery-dialog{height:min(88svh,900px);max-height:88svh;overflow-y:auto;overflow-anchor:none}.inventory-gallery-dialog .inventory-gallery,.inventory-gallery-dialog .inventory-photo-frame{overflow-anchor:none}
