:root {
    color-scheme: light;
    --ink: #171827;
    --muted: #62667a;
    --surface: #fff;
    --soft: #f4f5f9;
    --line: #e7e8ef;
    --accent: #4349d6;
    --accent-hover: #353bc0;
    --focus: #7378ef;
    --radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 70px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--surface); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
svg { flex: 0 0 auto; vertical-align: middle; }
h1, h2, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; top: -60px; left: 12px; z-index: 10; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 8px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-nav, .site-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.site-nav { min-height: 65px; }
.brand, .nav-links, .bag-link, .text-link { display: inline-flex; align-items: center; gap: 9px; }
.brand { font-weight: 750; letter-spacing: -.025em; min-width: 0; }
.brand img, .detail-brand img { border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links { gap: 24px; flex-shrink: 0; font-size: .88rem; font-weight: 650; }
.explore { color: var(--muted); }
.bag-link { border-radius: 100px; background: var(--soft); padding: 8px 11px; }
.bag-link:hover { background: #ebecf5; }
.bag-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 40px; background: #fff; color: var(--accent); font-size: .76rem; }
.site-footer { min-height: 70px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; margin-top: 44px; }
.site-footer a:hover, .text-link:hover { color: var(--accent); }

.profile { max-width: 740px; padding: 38px 24px 0; margin: 0 auto; }
.profile-main { display: flex; align-items: center; gap: 30px; }
.avatar-ring {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 25deg, #7264f3, #3d4bea, #5eaeea, #ac80f7, #7264f3);
}
.avatar-ring img { width: 100%; height: 100%; object-fit: cover; border: 4px solid #fff; border-radius: 50%; background: #fff; }
.profile-info { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: .72rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: #676cf1; box-shadow: 0 0 0 3px #e6e7ff; }
.profile h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; letter-spacing: -.055em; margin: 6px 0 3px; overflow-wrap: anywhere; }
.handle { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.bio { margin-top: 9px; font-size: .95rem; max-width: 460px; overflow-wrap: anywhere; }
.profile-counts { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: .84rem; }
.profile-counts strong { color: var(--ink); }
.profile-buttons { display: flex; gap: 8px; margin-top: 22px; }
.profile-buttons .button { flex: 1; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 690;
    font-size: .9rem;
    text-align: center;
    line-height: 1.25;
}
.primary { color: #fff; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--soft); color: var(--ink); border-color: #eff0f6; }
.secondary:hover { background: #ebecf5; }
.whatsapp { background: #156c49; }
.whatsapp:hover { background: #105b3d; }
.compact { min-height: 35px; padding: 6px 11px; font-size: .82rem; }
.highlights { display: flex; align-items: flex-start; gap: 13px; padding: 19px 3px 8px; overflow-x: auto; }
.highlight { flex: 0 0 84px; text-align: center; display: grid; justify-items: center; gap: 6px; font-size: .75rem; font-weight: 650; }
.highlight > span:last-child { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.highlight-image { width: 78px; height: 78px; padding: 3px; border: 2px solid #e0e2ed; border-radius: 50%; background: #fff; }
.highlight-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.highlight:hover .highlight-image, .highlight.active .highlight-image { border-color: var(--focus); }

.feed { max-width: 1440px; margin: 23px auto 0; padding: 0 20px; min-height: 230px; }
.feed-tabs { display: flex; align-items: stretch; justify-content: center; border-top: 1px solid var(--line); gap: 32px; }
.feed-tabs a {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    padding: 0 9px;
    font-size: .84rem;
    font-weight: 680;
}
.feed-tabs a[aria-current] { border-color: var(--ink); color: var(--ink); }
.feed-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; border-radius: 5px; overflow: hidden; }
.post-card { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; }
.post-card img { height: 100%; width: 100%; object-fit: cover; }
.post-card:focus-visible { outline-offset: -4px; z-index: 1; }
.tile-icons, .tile-shop { position: absolute; top: 7px; color: #fff; filter: drop-shadow(0 1px 2px #0009); }
.tile-icons { right: 7px; display: flex; gap: 4px; }
.tile-shop { left: 7px; }
.tile-caption {
    position: absolute;
    inset: auto 0 0;
    background: linear-gradient(transparent, #161626be);
    color: white;
    font-weight: 700;
    font-size: .84rem;
    padding: 30px 12px 10px;
    opacity: 0;
    transition: opacity .16s ease;
}
.post-card:hover .tile-caption, .post-card:focus-visible .tile-caption { opacity: 1; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 0 0 15px; margin: 0 auto; max-width: 740px; }
.collection-heading h2 { font-size: 1.65rem; letter-spacing: -.04em; overflow-wrap: anywhere; }
.collection-heading p { color: var(--muted); font-size: .9rem; }
.text-link { font-size: .84rem; color: var(--muted); font-weight: 680; }
.text-link svg { width: 16px; height: 16px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; color: var(--muted); font-size: .84rem; }
.empty-state {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    text-align: center;
    background: #f7f8fd;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 15px;
    min-height: 210px;
}
.empty-icon { display: grid; place-items: center; width: 53px; height: 53px; border: 1px solid #e1e3f7; border-radius: 17px; background: #eceefe; color: var(--accent); }
.empty-icon svg { width: 24px; height: 24px; }
.empty-state h2 { font-size: 1.2rem; letter-spacing: -.025em; }
.empty-state p { color: var(--muted); font-size: .92rem; }
.empty-state .button { margin-top: 6px; }
.error-page { max-width: 720px; margin: 50px auto; }
.toast { position: fixed; z-index: 12; bottom: 19px; left: 50%; transform: translateX(-50%); background: var(--ink); color: white; border-radius: 10px; padding: 10px 17px; max-width: calc(100% - 30px); font-size: .9rem; box-shadow: 0 6px 25px #191b3440; }
.toast.in-dialog { position: sticky; bottom: 10px; left: auto; margin: 8px auto; transform: none; width: max-content; }
.icon-button, .dialog-actions button, .slide-controls button {
    min-width: 37px;
    min-height: 37px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    display: inline-grid;
    place-items: center;
    padding: 4px;
}
.icon-button:hover, .dialog-actions button:hover, .slide-controls button:hover { background: var(--soft); }
button:disabled { opacity: .38; cursor: default; }

.direct-post { max-width: 1140px; padding: 22px 22px 0; margin: 0 auto; }
.direct-post > .text-link { margin-bottom: 15px; }
.post-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-visual { min-width: 0; background: #f3f4f9; display: grid; align-content: center; }
.slides figure { display: grid; place-items: center; min-height: 300px; }
.slides img, .slides video { width: 100%; max-height: min(75vh, 760px); min-height: 180px; object-fit: contain; }
.slides video { background: #171827; }
.slide-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.detail-info { min-width: 0; padding: 23px; overflow-wrap: anywhere; }
.detail-brand { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.detail-brand button { margin-left: auto; }
.detail-info h1 { font-size: clamp(1.45rem, 3vw, 2.02rem); line-height: 1.16; letter-spacing: -.045em; margin-bottom: 9px; }
.detail-price { font-size: 1.2rem; font-weight: 780; color: var(--accent); }
.sku { color: var(--muted); font-size: .77rem; margin-top: 6px; }
.caption { margin-top: 13px; color: #42465a; font-size: .93rem; }
.variant-label { display: block; margin-top: 17px; font-size: .82rem; font-weight: 700; }
.variant { border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; background: #fff; width: 100%; margin-top: 5px; color: var(--ink); }
.detail-buttons { display: grid; gap: 8px; margin-top: 19px; }
.tagged { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 13px; }
.tagged h2 { font-size: .91rem; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.tagged-product { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--soft); margin: 6px 0; }
.tagged-product:hover { background: #eaecfa; }
.tagged-product > span { flex: 1; }
.tagged-product img { object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.tagged-product strong, .tagged-product small { display: block; font-size: .84rem; }
.tagged-product small { color: var(--muted); margin-top: 3px; }
.post-dialog { border: 0; padding: 0; width: min(1040px, calc(100% - 38px)); max-height: 91dvh; max-width: none; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 100px #15162c60; }
.post-dialog::backdrop { background: #15162cb3; }
.post-dialog .post-detail { border: 0; border-radius: 0; }
.dialog-top { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); min-height: 52px; padding: 6px 13px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: .87rem; }
.dialog-actions { display: flex; gap: 5px; }
.dialog-loading { padding: 42px 20px; color: var(--muted); }
body:has(.post-dialog[open]) { overflow: hidden; }

.order-shell { max-width: 875px; padding: 23px 22px 0; margin: 0 auto; }
.order-heading { margin: 13px 0 19px; }
.order-heading h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.14; letter-spacing: -.055em; margin: 3px 0 6px; }
.order-heading p, .order-notice { color: var(--muted); font-size: .92rem; }
.order-notice { background: #eff0ff; border-radius: 10px; padding: 9px 12px; margin: 8px 0 14px; }
.order-group { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; padding: 12px; }
.order-group-title, .order-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-group-title { padding: 4px 4px 9px; }
.order-group-title h2 { font-size: .99rem; }
.order-group-title > span { font-size: .77rem; color: var(--muted); }
.order-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 8px 4px; font-size: .85rem; }
.order-row img { border-radius: 7px; object-fit: cover; }
.order-row > a { flex: 0 0 auto; }
.order-product { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.order-product a { font-weight: 700; }
.order-product a:hover { color: var(--accent); }
.order-product small { display: block; color: var(--muted); margin-top: 2px; }
.quantity span { display: block; font-size: .72rem; color: var(--muted); }
.quantity input { width: 53px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; }
.order-total { border-top: 1px solid var(--line); padding: 9px 4px 0; margin-top: 3px; }
.order-total > span { color: var(--muted); font-size: .82rem; }
.order-total strong, .full-total strong { display: block; color: var(--ink); font-size: 1.08rem; }
.full-total { margin: 15px 0 0; text-align: right; color: var(--muted); font-size: .85rem; }

@media (max-width: 950px) {
    .feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .site-nav, .site-footer { padding: 0 13px; }
    .site-nav { min-height: 55px; }
    .nav-links .explore { display: none; }
    .bag-link { padding: 6px 8px; gap: 5px; font-size: .78rem; }
    .profile { padding: 23px 14px 0; }
    .profile-main { gap: 13px; align-items: flex-start; }
    .avatar-ring { width: 77px; height: 77px; }
    .avatar-ring img { border-width: 3px; }
    .profile h1 { margin-top: 4px; }
    .bio { font-size: .84rem; margin-top: 6px; }
    .profile-counts { font-size: .76rem; margin-top: 8px; gap: 8px; }
    .profile-buttons { margin-top: 13px; }
    .profile-buttons .button { min-height: 38px; font-size: .81rem; padding-inline: 7px; }
    .highlights { gap: 6px; padding-top: 14px; }
    .highlight { flex-basis: 66px; font-size: .68rem; }
    .highlight > span:last-child { max-width: 66px; }
    .highlight-image { width: 61px; height: 61px; }
    .feed { margin-top: 14px; padding: 0; }
    .feed-grid { border-radius: 0; }
    .feed-tabs { gap: 20px; }
    .feed-tabs a { min-height: 45px; }
    .tile-icons, .tile-shop { top: 5px; }
    .tile-icons { right: 5px; }
    .tile-shop { left: 5px; }
    .tile-icons svg, .tile-shop svg { width: 16px; height: 16px; }
    .tile-caption { display: none; }
    .collection-heading { padding: 0 14px 12px; align-items: flex-start; flex-direction: column; }
    .empty-state { margin: 0 12px; }
    .direct-post, .order-shell { padding: 14px 12px 0; }
    .post-detail { grid-template-columns: minmax(0, 1fr); }
    .slides figure { min-height: 0; }
    .slides img, .slides video { max-height: 61dvh; min-height: 110px; }
    .detail-info { padding: 15px; }
    .post-dialog { margin: 0; width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
    .order-row { gap: 7px; font-size: .77rem; }
    .order-row img { width: 41px; height: 49px; }
    .quantity input { width: 40px; }
    .order-row .icon-button { min-width: 28px; min-height: 32px; }
    .order-total { align-items: flex-start; flex-direction: column; }
    .order-total .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Checa Mi Tienda — interfaz de perfil social, CSS propio, sin dependencias externas. */
.ig-store{--ink:#0c0c0c;--muted:#737373;--soft:#f2f2f2;--line:#dbdbdb;--accent:#405de6;--accent-hover:#334dc5;--radius:4px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;color:var(--ink)}
.ig-store .site-header{position:fixed;inset:0 auto 0 0;width:245px;border-right:1px solid #dbdbdb;border-bottom:0;z-index:5;background:#fff}
.ig-store .site-nav{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:34px 12px 20px;height:100%;gap:30px;min-height:0}
.ig-store .brand{padding:5px 12px 16px}.ig-wordmark{font-size:23px;font-weight:750;letter-spacing:-1.4px}.ig-mobile-handle{display:none}
.ig-store .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:9px;font-size:16px;font-weight:400}
.ig-store .nav-links a,.ig-store .nav-share{display:flex;align-items:center;gap:16px;min-height:49px;padding:12px;border-radius:8px;background:none;border:0;color:inherit;text-align:left;font:inherit}
.ig-store .nav-links a:hover,.ig-store .nav-share:hover{background:#f2f2f2}.ig-store .nav-links svg{width:25px;height:25px;stroke-width:1.8}.ig-store .nav-profile img{border-radius:50%;object-fit:cover}.ig-store .bag-count{background:#efefef;color:#111;margin-left:auto}
.ig-store #contenido,.ig-store .site-footer{margin-left:245px}.ig-store #contenido{min-height:calc(100vh - 114px)}
.ig-store .profile{max-width:935px;padding:38px 24px 0;min-height:0}.ig-store .profile-main{display:grid;grid-template-columns: minmax(180px,1fr) minmax(0,2fr);gap:30px;align-items:center}.ig-store .avatar-ring{background:#fff;border:1px solid #e5e5e5;width:150px;height:150px;padding:0;justify-self:center}.ig-store .avatar-ring img{border:0}.ig-store .profile-title{display:flex;align-items:center;gap:15px}.ig-store .profile-title h1{font-size:20px;letter-spacing:0;font-weight:600;margin:0;line-height:1.2}.ig-store .profile-share{font-size:26px;font-weight:700;background:none;border:0;line-height:1;padding:0 8px}.ig-store .profile-counts{font-size:16px;gap:30px;color:#111;margin-top:18px}.ig-store .profile-counts strong{font-weight:700}.ig-store .profile-bio{margin-top:18px}.ig-store .bio{font-size:14px;margin-top:3px}.ig-store .profile-buttons{margin:25px 0 0;gap:8px}.ig-store .profile-buttons .button{min-height:34px;border:0;border-radius:8px;font-size:14px;padding:7px 16px;font-weight:600}.ig-store .profile-buttons .share-profile{flex:0 0 42px}.ig-store .highlights{margin:14px 0 0;gap:26px;padding:16px 3px 8px}.ig-store .highlight{font-weight:500;flex-basis:82px}.ig-store .highlight-image{width:77px;height:77px;border:1px solid #dbdbdb}.ig-store .feed{max-width:935px;margin-top:22px;padding:0 0 0;min-height:260px}.ig-store .feed-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;border-radius:0}.ig-store .post-card{aspect-ratio:3/4}.ig-store .tile-shop{display:none}.ig-store .tile-icons{top:9px;right:9px}.ig-store .tile-icons svg{width:22px;height:22px;stroke-width:2}.ig-store .tile-caption{font-weight:600}.ig-store .feed-tabs{gap:60px;min-height:48px}.ig-store .feed-tabs a{gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.8px;font-weight:600}.ig-store .feed-tabs a[aria-current]{border-top-color:#111;color:#111}.ig-store .empty-icon{border-radius:50%;border:2px solid #111;background:white;color:#111}.ig-store .site-footer{border:0;max-width:none;justify-content:center;gap:18px;font-size:12px}.ig-store .post-detail{border-radius:0}.ig-store .post-dialog{border-radius:3px}.ig-store .detail-visual{background:#fafafa}.ig-store .detail-visual img{object-fit:contain}.ig-store .button{border-radius:8px}.demo-banner{background:#fff6d9;text-align:center;padding:9px 12px;font-size:13px}.demo-banner a{font-weight:700;text-decoration:underline;margin-left:8px}
@media(max-width:1260px) and (min-width:769px){.ig-store .site-header{width:73px}.ig-store #contenido,.ig-store .site-footer{margin-left:73px}.ig-store .site-nav{padding:26px 10px}.ig-store .brand{padding:8px 5px}.ig-wordmark{font-size:0}.ig-wordmark:after{content:'C';font-size:26px;font-weight:800}.ig-store .nav-links a>span:not(.bag-count),.ig-store .nav-share span{display:none}.ig-store .nav-links a,.ig-store .nav-share{position:relative;justify-content:center}.ig-store .bag-count{position:absolute;top:2px;right:0;font-size:10px;min-width:15px;height:15px}}
@media(max-width:768px){html:has(.ig-store){scrollbar-gutter:auto;scroll-padding-top:48px}.ig-store .site-header{position:relative;width:auto;border-right:0;border-bottom:1px solid #dbdbdb;height:45px;inset:auto}.ig-store .site-nav{padding:0 16px;justify-content:center;gap:0}.ig-store .brand{padding:0;justify-content:center}.ig-wordmark{display:none}.ig-mobile-handle{display:inline;font-size:18px;font-weight:700}.ig-store .nav-links{position:fixed;bottom:0;left:0;right:0;z-index:10;height:calc(52px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dbdbdb;display:flex;flex-direction:row;align-items:center;justify-content:space-around;gap:0}.ig-store .nav-links a,.ig-store .nav-share{min-height:45px;padding:8px;gap:0;position:relative;justify-content:center}.ig-store .nav-links a>span:not(.bag-count),.ig-store .nav-share span{display:none}.ig-store .nav-links a:nth-child(2){display:none}.ig-store .bag-count{position:absolute;right:0;top:0;min-width:15px;height:15px;font-size:10px}.ig-store #contenido,.ig-store .site-footer{margin-left:0}.ig-store #contenido{min-height:calc(100vh - 150px)}.ig-store .profile{padding:18px 16px 0}.ig-store .profile-main{grid-template-columns:85px minmax(0,1fr);gap:16px;align-items:start}.ig-store .avatar-ring{width:83px;height:83px;margin-top:3px}.ig-store .profile-title h1{font-size:19px}.ig-store .profile-counts{gap:15px;margin-top:13px;font-size:13px;flex-wrap:wrap}.ig-store .profile-counts span{display:flex;flex-direction:column;gap:2px}.ig-store .profile-counts strong{font-size:15px}.ig-store .profile-bio{margin-top:14px}.ig-store .profile-buttons{margin-top:15px}.ig-store .profile-buttons .button{font-size:14px;min-height:34px;padding:7px 10px}.ig-store .highlights{gap:13px;margin-top:8px;padding-top:10px}.ig-store .highlight{flex-basis:66px;font-size:11px}.ig-store .highlight-image{width:63px;height:63px}.ig-store .feed{margin-top:16px;padding:0}.ig-store .feed-tabs{gap:0;min-height:44px;border-top:0}.ig-store .feed-tabs a{flex:1;justify-content:center;min-height:44px;border-top:0!important;border-bottom:2px solid transparent}.ig-store .feed-tabs a[aria-current]{border-bottom-color:#111}.ig-store .feed-tabs span{display:none}.ig-store .feed-tabs svg{width:24px;height:24px}.ig-store .feed-grid{gap:2px}.ig-store .tile-icons{top:5px;right:5px}.ig-store .tile-icons svg{width:17px;height:17px}.ig-store .site-footer{margin-bottom:64px;margin-top:25px}.ig-store .post-dialog{width:100%;max-width:none;max-height:100dvh;margin:0;border:0}.ig-store .direct-post,.ig-store .order-page{padding-bottom:64px}}
.ig-store .uniform-slides figure{aspect-ratio:var(--slide-ratio);min-height:0;max-height:75vh;overflow:hidden}.ig-store .uniform-slides img,.ig-store .uniform-slides video{height:100%;width:100%;min-height:0;object-fit:cover}.ig-store .order-shell{padding-bottom:70px}
.sample-banner{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;background:#f2f4ff;color:#20233f;border-bottom:1px solid #dce2ff;padding:10px 12px}.sample-banner a{background:#405de6;color:white;border-radius:7px;text-decoration:none;padding:6px 12px;margin:0;white-space:nowrap}.sample-checkout{max-width:620px;margin:auto;padding:24px}.sample-chat{background:#e6f4df;border-radius:15px 15px 2px 15px;padding:16px 20px;overflow-wrap:anywhere;margin:20px 0;line-height:1.5;color:#203a25}.sample-chat p{margin:0}.sample-checkout .detail-buttons{display:flex;gap:10px;flex-wrap:wrap}

/* V2.2 — tamaño intrínseco controlado y distribución de escritorio independiente. */
.ig-store .avatar-ring {--avatar:150px; position:relative; display:block; width:var(--avatar);height:var(--avatar);min-width:var(--avatar);min-height:var(--avatar);max-width:var(--avatar);max-height:var(--avatar);aspect-ratio:1;overflow:hidden;flex:none;border-radius:50%;}
.ig-store .avatar-ring img {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:50%;}
.ig-store .nav-profile img {width:24px;height:24px;flex:0 0 24px;aspect-ratio:1;}
.ig-store .highlight-image {position:relative;flex:none;aspect-ratio:1;overflow:hidden;display:block;}
.ig-store .highlight-image img {position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);max-width:none;object-fit:cover;}
.ig-store .profile-title {min-width:0;gap:10px;}
.ig-store .profile-title h1 {min-width:0;overflow-wrap:anywhere;}
.ig-store .profile-share {flex:none;min-width:32px;min-height:36px;}
.ig-store .profile-bio {overflow-wrap:anywhere;}
.ig-store .profile-buttons .button {min-width:0;white-space:normal;overflow-wrap:anywhere;}
.ig-store .profile-buttons {align-items:stretch;}
.ig-store .pagination,.ig-store .order-total,.ig-store .detail-buttons {flex-wrap:wrap;}
.ig-store .detail-brand span {min-width:0;overflow-wrap:anywhere;}
.ig-store .detail-brand img {width:31px;height:31px;aspect-ratio:1;}
.ig-store .post-dialog {overflow:auto;}
.ig-store .collection-heading > div {min-width:0;}
.ig-store .sample-banner {background:#f7f8fb;color:#383b46;border-color:#eceef3;}
.ig-store .sample-banner a {font-weight:650;}
@media(min-width:769px){
  html:has(.ig-store){scroll-padding-top:24px;scrollbar-gutter:stable;}
  .ig-store {--sidebar:248px;--content:984px;--line:#e5e5e5;--radius:12px;}
  .ig-store .site-header {width:var(--sidebar);}
  .ig-store .site-nav {padding:42px 16px 24px;gap:40px;overflow-y:auto;}
  .ig-store .brand {padding:3px 12px 14px;}
  .ig-store .ig-wordmark {font-size:24px;}
  .ig-store .nav-links {gap:12px;}
  .ig-store .nav-links a,.ig-store .nav-share {min-height:52px;padding:12px;gap:15px;border-radius:10px;}
  .ig-store #contenido,.ig-store .site-footer {margin-left:var(--sidebar);}
  .ig-store #contenido {width:auto;min-width:0;padding:0 clamp(24px,4vw,64px) 0;}
  .ig-store .demo-banner {max-width:var(--content);margin:24px auto 0;border:1px solid #e7e9ef;border-radius:10px;padding:12px 18px;gap:16px;}
  .ig-store .profile {max-width:var(--content);padding:48px 20px 0;display:grid;grid-template-columns:minmax(170px, .8fr) minmax(0, 2fr);column-gap:clamp(28px,5vw,72px);row-gap:0;}
  .ig-store .profile-main {display:contents;}
  .ig-store .avatar-ring {grid-column:1;grid-row:1 / 3;align-self:center;justify-self:center;}
  .ig-store .profile-info {grid-column:2;grid-row:1;}
  .ig-store .profile-title h1 {font-size:24px;font-weight:500;letter-spacing:-.025em;}
  .ig-store .profile-counts {margin-top:24px;gap:28px;}
  .ig-store .profile-bio {margin-top:18px;}
  .ig-store .bio {line-height:1.6;}
  .ig-store .profile-buttons {grid-column:2;grid-row:2;justify-self:start;max-width:100%;width:100%;margin-top:22px;gap:10px;}
  .ig-store .profile-buttons .button {min-height:42px;flex:0 1 190px;padding:10px 14px;}
  .ig-store .profile-buttons .share-profile {flex:0 0 44px;}
  .ig-store .highlights {grid-column:1 / -1;margin-top:38px;padding:8px 4px 14px;gap:24px;}
  .ig-store .highlight {flex-basis:86px;gap:8px;}
  .ig-store .highlight-image {width:80px;height:80px;}
  .ig-store .feed {max-width:var(--content);margin-top:24px;padding:0;}
  .ig-store .feed-tabs {min-height:54px;gap:64px;}
  .ig-store .feed-tabs a {min-height:54px;}
  .ig-store .feed-grid {gap:5px;}
  .ig-store .collection-heading {max-width:none;padding:8px 0 22px;}
  .ig-store .direct-post,.ig-store .order-shell {padding:34px 0 24px;}
  .ig-store .post-detail {border-radius:12px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);}
  .ig-store .detail-info {padding:clamp(20px,3vw,34px);}
  .ig-store .post-dialog {border-radius:12px;max-width:1120px;width:calc(100% - 72px);}
  .ig-store .site-footer {margin-top:48px;min-height:84px;}
}
@media(min-width:769px) and (max-width:1100px){
 .ig-store {--sidebar:76px;}
 .ig-store .site-nav {padding:30px 11px;gap:32px;}
 .ig-store .brand {padding:8px 0;justify-content:center;}
 .ig-store .ig-wordmark {font-size:0;}
 .ig-store .ig-wordmark:after {content:'C';font-size:28px;font-weight:800;}
 .ig-store .nav-links a,.ig-store .nav-share {justify-content:center;position:relative;padding:10px;}
 .ig-store .nav-links a>span:not(.bag-count),.ig-store .nav-share span{display:none;}
 .ig-store .bag-count {position:absolute;right:2px;top:2px;font-size:10px;height:16px;min-width:16px;}
 .ig-store .profile {grid-template-columns:150px minmax(0,1fr);column-gap:32px;padding-inline:12px;}
 .ig-store .avatar-ring {--avatar:132px;}
}
@media(min-width:1101px) and (max-width:1260px){
 .ig-store .ig-wordmark:after {content:none;}
 .ig-store .nav-links a>span:not(.bag-count),.ig-store .nav-share span {display:inline;}
 .ig-store .nav-links a,.ig-store .nav-share {justify-content:flex-start;}
 .ig-store .bag-count {position:static;margin-left:auto;font-size:.76rem;height:22px;min-width:22px;}
 .ig-store .brand {padding:3px 12px 14px;}
}
@media(max-width:768px){
 .ig-store .avatar-ring {--avatar:83px;}
 .ig-store .profile-main {grid-template-columns:85px minmax(0,1fr);}
 .ig-store .site-nav {min-width:0;}
 .ig-store .profile-buttons .button {min-height:40px;}
 .ig-store .nav-links a,.ig-store .nav-share {min-width:44px;}
 .ig-store .feed-tabs a {min-width:0;}
 .ig-store .toast:not(.in-dialog) {bottom:calc(66px + env(safe-area-inset-bottom));}
 .ig-store .site-footer {flex-wrap:wrap;gap:10px;text-align:center;}
 .ig-store .post-detail {grid-template-columns:minmax(0,1fr);}
 .ig-store .slides figure {min-height:0;}
 .ig-store .detail-info {padding:18px;}
 .ig-store .order-shell {padding-bottom:24px;}
 .ig-store .sample-banner {padding:9px 12px;gap:8px;}
 .ig-store .sample-banner span {min-width:0;text-align:center;}
}
@media(max-width:360px){
 .ig-store .profile {padding-inline:12px;}
 .ig-store .profile-main {grid-template-columns:74px minmax(0,1fr);gap:12px;}
 .ig-store .avatar-ring {--avatar:72px;}
 .ig-store .profile-counts {gap:9px;}
 .ig-store .profile-title {gap:3px;}
 .ig-store .profile-buttons .button {font-size:12px;padding-inline:6px;}
 .ig-store .order-row {flex-wrap:wrap;}
 .ig-store .order-product {flex:1 1 120px;}
}

/* 2.3 — Desktop: geometría de la captura del 24/11/2026. Móvil 2.2 intacto. */
.ig-store .desktop-only {display:none!important;}
.ig-store .feed-tabs .mobile-tab-icon {display:inline-flex;}
@media(min-width:769px){
 html:has(.ig-store){scrollbar-gutter:auto;scroll-padding-top:12px;}
 .ig-store{--sidebar:64px;--desktop-feed:min(74.4vw,1600px);font-family:Arial,Helvetica,sans-serif;color:#101010;}
 .ig-store .site-header{width:var(--sidebar);border:0;background:#fff;}
 .ig-store .site-nav{padding:20px 8px 16px;gap:0;align-items:center;justify-content:flex-start;overflow-y:auto;overflow-x:hidden;min-height:0;}
 .ig-store .brand{width:48px;height:44px;padding:0;justify-content:center;flex:none;}
 .ig-store .desktop-brand{display:inline-flex!important;}
 .ig-store .desktop-brand svg{width:24px;height:24px;stroke-width:1.9;}
 .ig-store .ig-wordmark,.ig-store .ig-mobile-handle{display:none;}
 .ig-store .nav-links{width:100%;margin-top:clamp(32px,14vh,120px);gap:4px;align-items:center;}
 .ig-store .nav-links a,.ig-store .nav-share,.ig-store .desktop-menu{width:48px;height:48px;min-height:48px;padding:0;justify-content:center;position:relative;gap:0;border-radius:8px;flex:none;}
 .ig-store .nav-links svg,.ig-store .desktop-menu svg{width:24px;height:24px;stroke-width:1.85;}
 .ig-store .nav-links a>span:not(.bag-count),.ig-store .nav-share span{display:none;}
 .ig-store .nav-links .bag-count{position:absolute;right:2px;top:2px;font-size:10px;min-width:16px;height:16px;background:#101010;color:white;}
 .ig-store .nav-links .bag-count:empty{display:none;}
 .ig-store .desktop-menu{display:flex!important;align-items:center;margin-top:auto;}
 .ig-store .desktop-menu:hover{background:#f2f2f2;}
 .ig-store #contenido,.ig-store .site-footer{margin-left:0;}
 .ig-store #contenido{padding:0 76px;min-width:0;}
 .ig-store .profile{width:100%;max-width:640px;padding:16px 0 0;display:block;margin:0 auto;}
 .ig-store .profile-main{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;}
 .ig-store .avatar-ring{--avatar:150px;grid-column:auto;grid-row:auto;align-self:center;justify-self:center;background:conic-gradient(from 40deg,#d300c5,#ed005b,#ff7a00,#f9c200,#ff7a00,#d300c5);border:0;}
 .ig-store .avatar-ring img{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);border:3px solid white;}
 .ig-store .profile-info{grid-column:auto;grid-row:auto;min-width:0;}
 .ig-store .profile-title{gap:4px;align-items:center;}
 .ig-store .profile-title h1{font-size:22px;line-height:1.22;font-weight:700;letter-spacing:-.02em;}
 .ig-store .profile-share{font-size:19px;font-weight:600;padding:0 4px;min-height:28px;min-width:28px;}
 .ig-store .desktop-shop-name{display:block!important;font-size:13px;margin-top:3px;line-height:1.4;overflow-wrap:anywhere;}
 .ig-store .desktop-shop-name span{color:#737373;font-size:12px;}
 .ig-store .profile-counts{font-size:13px;gap:15px;margin-top:10px;line-height:1.4;}
 .ig-store .profile-counts strong{font-weight:600;}
 .ig-store .profile-bio{margin-top:12px;}
 .ig-store .profile-bio>strong{display:none;}
 .ig-store .bio{font-size:13px;line-height:1.45;margin:0;max-width:100%;}
 .ig-store .profile-buttons{display:flex;width:100%;max-width:none;margin:16px 0 0;gap:8px;}
 .ig-store .profile-buttons .button{flex:1 1 0;min-height:40px;padding:8px 10px;border-radius:9px;background:#efefef;color:#111;font-size:13px;font-weight:600;}
 .ig-store .profile-buttons .button:hover{background:#e5e5e5;}
 .ig-store .profile-buttons .share-profile{flex:0 0 40px;}
 .ig-store .highlights{display:none;}
 .ig-store #contenido:has(.profile)>.sample-banner{display:none;}
 .ig-store .demo-banner{max-width:640px;margin:10px auto 0;padding:8px 12px;font-size:12px;}
 .ig-store .feed{width:var(--desktop-feed);max-width:100%;padding:0;margin:32px auto 0;}
 .ig-store .feed-tabs{height:51px;min-height:51px;width:min(100%,740px);margin:0 auto;border:0;display:flex;justify-content:space-around;align-items:stretch;gap:0;}
 .ig-store .feed-tabs>a,.ig-store .feed-tabs>details{display:flex;flex:1 1 0;min-width:0;align-items:stretch;justify-content:center;position:relative;border:0;padding:0;color:#737373;}
 .ig-store .feed-tabs>a{min-height:51px;align-items:center;}
 .ig-store .feed-tabs>a[aria-current]{color:#111;border:0;}
 .ig-store .feed-tabs>a[aria-current]::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:60px;height:2px;background:#111;}
 .ig-store .feed-tabs>a:hover,.ig-store .desktop-collections>summary:hover{color:#111;}
 .ig-store .feed-tabs .tab-label,.ig-store .feed-tabs .mobile-tab-icon{display:none;}
 .ig-store .feed-tabs .desktop-tab-icon{display:inline-flex!important;}
 .ig-store .feed-tabs svg{width:23px;height:23px;}
 .ig-store .feed-tabs>.desktop-order-tab,.ig-store .feed-tabs>.desktop-collections{display:flex!important;}
 .ig-store .desktop-collections summary{display:flex;align-items:center;justify-content:center;width:100%;cursor:pointer;list-style:none;}
 .ig-store .desktop-collections summary::-webkit-details-marker{display:none;}
 .ig-store .desktop-collections[open] summary{color:#111;}
 .ig-store .desktop-collection-menu{position:absolute;z-index:4;top:50px;left:50%;transform:translateX(-50%);width:min(260px,70vw);background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 10px 40px #0002;padding:9px;max-height:60vh;overflow:auto;}
 .ig-store .desktop-collection-menu>strong{display:block;padding:9px 8px;font-size:13px;color:#111;}
 .ig-store .desktop-collection-menu>a{display:flex;align-items:center;gap:9px;min-height:42px;padding:6px 8px;border:0;border-radius:7px;text-transform:none;letter-spacing:0;font-size:13px;color:#111;}
 .ig-store .desktop-collection-menu>a:hover,.ig-store .desktop-collection-menu>a[aria-current]{background:#f2f2f2;}
 .ig-store .desktop-collection-menu img{border-radius:50%;object-fit:cover;flex:none;}
 .ig-store .desktop-collection-menu a>span{overflow-wrap:anywhere;}
 .ig-store .feed-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border-radius:5px 5px 0 0;overflow:hidden;}
 .ig-store .post-card{aspect-ratio:3/4;}
 .ig-store .tile-icons{top:8px;right:8px;}
 .ig-store .tile-icons svg{width:17px;height:17px;stroke-width:2.2;}
 .ig-store .site-footer{margin:36px auto 0;padding:0 76px;min-height:76px;}
 .ig-store .direct-post,.ig-store .order-shell{max-width:1100px;}
}
@media(min-width:769px) and (max-width:1099px){
 .ig-store{--desktop-feed:100%;}
 .ig-store .profile-main{grid-template-columns:132px minmax(0,1fr);gap:18px;}
 .ig-store .avatar-ring{--avatar:132px;}
 .ig-store .feed-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(min-width:1600px){
 .ig-store .desktop-order-float{position:fixed;display:flex!important;align-items:center;justify-content:center;gap:8px;right:16px;bottom:20px;height:48px;width:164px;background:#fff;border:1px solid #eee;border-radius:99px;box-shadow:0 2px 12px #0002;z-index:6;font-size:13px;}
 .ig-store .desktop-order-float:hover{background:#fafafa;}
 .ig-store .desktop-order-float .bag-count{margin:0;}
}
@media(max-height:650px) and (min-width:769px){.ig-store .nav-links{margin-top:18px;gap:1px;}.ig-store .desktop-menu{margin-top:12px;}}

/* 2.4 — Iconografía vectorial local, ajustada a la referencia visual. */
.ig-store .tile-icons {filter:drop-shadow(0 1px 1px rgb(0 0 0 / 32%));align-items:center;}
.ig-store .tile-icons .tile-format {display:flex;align-items:center;justify-content:center;}
.ig-store .tile-icons .tile-format svg {display:block;width:16px;height:16px;overflow:visible;}
.ig-store .share-profile .mobile-invite-icon {display:inline-flex;}
@media(min-width:769px){
 .ig-store .feed-tabs svg {width:24px;height:24px;stroke-width:1.65;}
 .ig-store .feed-tabs>a[aria-current]::after {height:2px;}
 .ig-store .tile-icons {top:8px;right:9px;}
 .ig-store .tile-icons .tile-format svg {width:17px;height:17px;}
 .ig-store .share-profile .desktop-invite-icon {display:inline-flex!important;}
 .ig-store .share-profile .desktop-invite-icon svg {width:16px;height:16px;stroke-width:1.65;}
 .ig-store .share-profile .mobile-invite-icon {display:none;}
 .ig-store .nav-links a[aria-label="Videos"] {order:-3;}
 .ig-store .nav-links a[aria-label="Inicio"] {order:-4;}
 .ig-store .nav-links .nav-share {order:-2;}
 .ig-store .nav-links a[aria-label="Publicaciones"] {order:-1;}
 .ig-store .nav-links .bag-link {order:0;}
}
/* V2.5: cantidades de mayoreo y confirmación con folio. */
.order-checkout-form { margin:0; min-width:0; }
.order-checkout-form .button { white-space:normal; text-align:center; }
.order-row .quantity input { width:76px; max-width:100%; }
.snapshot-row .order-product { flex:1; min-width:0; overflow-wrap:anywhere; }
.snapshot-row > strong { white-space:normal; text-align:right; overflow-wrap:anywhere; }
@media(max-width:520px){.order-total {flex-wrap:wrap;} .order-checkout-form {width:100%;} .order-checkout-form .button {width:100%;} .order-row .quantity input {width:58px;} .order-row > strong {overflow-wrap:anywhere;min-width:0;}}

/* V2.6 — ticket de orden, sin checkout ni pago en la plataforma. */
.ig-store .ticket-shell{width:min(100%,760px);max-width:760px;padding:30px 24px 80px;}
.order-ticket{width:100%;max-width:680px;margin:16px auto;color:#171717;background:#fff;border:1px solid #e4e4e4;border-radius:16px;padding:clamp(16px,3vw,32px);box-shadow:0 8px 32px #00000008;min-width:0;overflow-wrap:anywhere;}
.ticket-header{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px dashed #c9c9c9;}
.ticket-header>div{min-width:0;}.ticket-header h2{font-size:clamp(19px,3vw,26px);line-height:1.2;margin:4px 0 0;letter-spacing:-.025em;}
.ticket-logo{width:64px;height:64px;aspect-ratio:1;object-fit:cover;border-radius:50%;flex:none;}
.ticket-kicker{font-size:10px;font-weight:750;letter-spacing:.09em;color:#666;}
.ticket-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:16px;padding:18px 0;}
.ticket-meta span,.ticket-meta strong{display:block;}.ticket-meta span{font-size:11px;color:#666;}.ticket-meta strong{font-size:13px;font-variant-numeric:tabular-nums;}
.ticket-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(36px,.23fr) minmax(0,.6fr);align-items:start;gap:12px;padding:13px 0;border-top:1px solid #ececec;font-size:13px;}
.ticket-labels{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#666;padding:8px 0;}
.ticket-line>*{min-width:0;}.ticket-line>:nth-child(2){text-align:center;}.ticket-line>:last-child{text-align:right;}
.ticket-product small{display:block;color:#666;font-size:11px;margin-top:3px;}.ticket-product small:empty{display:none;}.ticket-qty,.ticket-amount{font-variant-numeric:tabular-nums;}
.ticket-total{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:18px 0;border-block:1px dashed #c9c9c9;}.ticket-total span,.ticket-total small{display:block;}.ticket-total small{font-size:11px;color:#666;}.ticket-total>strong{text-align:right;font-size:clamp(17px,3vw,24px);line-height:1.25;font-variant-numeric:tabular-nums;}
.ticket-foot{margin-top:18px;font-size:12px;line-height:1.5;color:#555;text-align:center;}.ticket-foot strong{display:block;color:#222;margin-bottom:5px;}
.ticket-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:680px;margin:16px auto;}.ticket-actions .button{width:100%;min-width:0;min-height:46px;white-space:normal;overflow-wrap:anywhere;justify-self:stretch;}.ticket-main-action{grid-column:1/-1;}.ticket-help{max-width:680px;margin:10px auto 18px;color:#666;font-size:12px;line-height:1.5;}.sample-contract{display:flex;max-width:680px;margin:16px auto;}
.ig-store .order-shell:not(.ticket-shell){width:min(100%,1100px);padding-inline:clamp(12px,3vw,24px);}.order-group{min-width:0;}.order-row>*{min-width:0;}.order-row>strong{overflow-wrap:anywhere;text-align:right;}.order-checkout-form{max-width:100%;}.order-checkout-form .button{min-height:46px;}
@media(max-width:768px){.ig-store .ticket-shell,.ig-store .order-shell:not(.ticket-shell){padding-bottom:calc(76px + env(safe-area-inset-bottom));}.ig-store .ticket-shell{padding-inline:14px;}.order-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;}.order-row .order-product{grid-column:2/-1;}.order-row .quantity,.order-row .quantity-text{grid-column:2;}.order-row .icon-button{grid-column:1;grid-row:2;justify-self:start;}.order-row>strong{grid-column:3;grid-row:2;}.order-row .quantity input{width:76px;max-width:100%;}.order-total{gap:14px;}.order-checkout-form{width:100%;}.order-checkout-form .button{width:100%;}}
@media(max-width:420px){.ticket-actions{grid-template-columns:minmax(0,1fr);}.ticket-meta{grid-template-columns:1fr;gap:8px;}.ticket-line{gap:6px;grid-template-columns:minmax(0,1fr) 34px minmax(0,.68fr);}.ticket-logo{width:52px;height:52px;}.ticket-total{gap:7px;}.ticket-total>strong{font-size:17px;}.order-ticket{border-radius:12px;}}
@media print{
 @page{margin:12mm;}
 html:has(.order-ticket),body:has(.order-ticket){background:white!important;margin:0!important;padding:0!important;overflow:visible!important;scrollbar-gutter:auto;}
 body:has(.order-ticket) *:not(.order-ticket):not(.order-ticket *):not(:has(.order-ticket)){display:none!important;}
 body:has(.order-ticket) *:has(.order-ticket){display:block!important;position:static!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:white!important;box-shadow:none!important;overflow:visible!important;}
 body .order-ticket{max-width:150mm!important;width:100%!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important;color:#000!important;}
 .ticket-line,.ticket-total,.ticket-header,.ticket-meta,.ticket-foot{break-inside:avoid;page-break-inside:avoid;}.ticket-header h2{font-size:22px;}.ticket-logo{width:52px;height:52px;}.ticket-line{font-size:11px;padding:9px 0;}.ticket-meta{grid-template-columns:minmax(0,1fr) minmax(0,.65fr);}.ticket-total>strong{font-size:20px;}
}
/* Evita que el acceso flotante cubra acciones de la orden. */
.ig-store:has(.order-shell) .desktop-order-float{display:none!important;}

/* 2.7: controles de pedido y desbordamientos; no cambia el perfil ni el feed. */
.order-checkout-form .button[aria-busy="true"]{opacity:.65;cursor:wait;}
.order-product,.order-total>span,.full-total,.order-group-title>h2{min-width:0;overflow-wrap:anywhere;}
@media(max-width:768px){.ig-store .order-row{grid-template-columns:58px minmax(0,1fr) minmax(0,.85fr);}.ig-store .order-row .order-product{overflow-wrap:anywhere;}.ig-store .order-row>strong{max-width:100%;}}
@media(max-width:360px){.ig-store .order-row{grid-template-columns:44px minmax(0,1fr) minmax(0,.85fr);gap:7px;}}

/* V3.0: public menu is share only, never an admin route. */
.ig-store button.desktop-menu{border:0;background:transparent;color:inherit;cursor:pointer;}

/* V3.1 — control final de límites y accesibilidad. */
.ig-store .order-product a,.ig-store .order-product small,.ig-store .detail-info h1,.ig-store .detail-info .caption,.ig-store .detail-brand span,.ig-store .profile-title h1,.ig-store .ticket-product,.ig-store .ticket-meta strong {overflow-wrap:anywhere;min-width:0;}
.ig-store .detail-info,.ig-store .detail-visual,.ig-store .dialog-top,.ig-store .dialog-actions,.ig-store .order-total>span {min-width:0;}
.ig-store #dialog-title {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ig-store .dialog-actions {flex-shrink:0;}
.ig-store .variant {max-width:100%;min-width:0;}
.ig-store .nav-links .bag-count {white-space:nowrap;width:auto;max-width:none;padding-inline:3px;font-variant-numeric:tabular-nums;}
.ig-store .ticket-actions .button,.ig-store .detail-buttons .button,.ig-store .order-checkout-form .button {white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%;}
@media(max-width:768px){.ig-store .nav-links .bag-count{top:0;right:-4px;}.ig-store .order-row .quantity input{min-height:40px;}.ig-store .order-row .icon-button{min-width:40px;min-height:40px;}.ig-store .dialog-top{gap:6px;}.ig-store .dialog-actions{gap:2px;}.ig-store .direct-post{padding-bottom:calc(76px + env(safe-area-inset-bottom));}}

/* V3.2: notice near the checkout button. */
.order-privacy{display:block;font-size:12px;line-height:1.45;color:#666;max-width:38ch;margin-top:8px;overflow-wrap:anywhere;text-align:left;}


/* V3.3 — Geometría final del perfil: una única medida para ambos ejes.
   Las dimensiones intrínsecas del archivo nunca participan en el tamaño del marco. */
.ig-store .profile-main > .avatar-ring {
    --profile-diameter: 83px;
    --profile-inset: 0px;
    box-sizing: border-box;
    position: relative;
    display: block;
    width: var(--profile-diameter);
    height: var(--profile-diameter);
    min-width: var(--profile-diameter);
    min-height: var(--profile-diameter);
    max-width: var(--profile-diameter);
    max-height: var(--profile-diameter);
    aspect-ratio: 1 / 1;
    padding: 0;
    flex: 0 0 var(--profile-diameter);
    align-self: center;
    justify-self: center;
    border-radius: 50%;
    overflow: hidden;
    clip-path: circle(50%);
}
.ig-store .profile-main > .avatar-ring > img {
    box-sizing: border-box;
    position: absolute;
    display: block;
    inset: var(--profile-inset);
    width: calc(100% - 2 * var(--profile-inset));
    height: calc(100% - 2 * var(--profile-inset));
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    clip-path: circle(50%);
}
.ig-store .nav-profile > img { width: 24px; height: 24px; min-width: 24px; min-height: 24px; max-width: 24px; max-height: 24px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; flex: 0 0 24px; }
@media (max-width: 360px) {
    .ig-store .profile-main > .avatar-ring { --profile-diameter: 72px; }
}
@media (min-width: 769px) {
    .ig-store .profile-main > .avatar-ring { --profile-diameter: 150px; --profile-inset: 3px; }
}
@media (min-width: 769px) and (max-width: 1099px) {
    .ig-store .profile-main > .avatar-ring { --profile-diameter: 132px; }
}
