/* Home R11: composition only; fonts, fields, buttons, icons and prices retain shared tokens. */
.home-r11{--home-ink:#302e2a;--home-muted:#6e6c68;--home-soft:#f4f2ee;--home-line:#e0deda;color:var(--home-ink)}
.home-wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}.home-r11 h1,.home-r11 h2,.home-r11 h3,.home-r11 p{margin:0}.home-r11 p{color:var(--home-muted)}
#store-content:has(.home-r11){max-width:none;width:100%;padding:0;margin:0}.home-hero{background:linear-gradient(110deg,#faf9f6,#f5f3ee);border-bottom:1px solid var(--home-line);padding-block:44px}.home-hero>.home-wrap{max-width:960px}.home-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:1.7px;margin-bottom:12px!important}.home-eyebrow svg{width:16px;height:16px;color:#ad4b00}.home-hero h1{font-size:clamp(36px,4vw,58px);line-height:1.06;letter-spacing:-2px;font-weight:800;max-width:760px;margin-bottom:16px}.home-hero-sub{font-size:17px;max-width:660px;margin-bottom:24px!important}.home-hero printable-designer-composer{display:block;min-width:0}.home-section{padding-block:36px;border-bottom:1px solid #eeeae3}.home-section>h2{font-size:27px;line-height:1.2;margin-bottom:20px}.home-section>p{margin-bottom:20px}.home-section>h1{font-size:36px;margin-block:20px 24px}.home-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:16px;align-items:stretch}.home-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--home-line);border-radius:14px;background:#fff;transition:box-shadow .16s,transform .16s}.home-product-card:hover,.home-product-card:focus-within{box-shadow:0 2px 8px #0000001a;transform:translateY(-3px)}.home-product-visual{display:block;aspect-ratio:1;background:var(--home-soft);border-radius:14px 14px 0 0;overflow:hidden}.home-product-visual img{display:block;width:100%;height:100%;object-fit:contain}.home-product-visual>span{display:grid;place-content:center;height:100%;color:#888}.home-product-copy{padding:14px 14px 8px;display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}.home-product-copy h3{font-size:17px;line-height:1.3;overflow-wrap:anywhere}.home-product-copy h3 a{color:inherit;text-decoration:none}.home-card-price{margin-top:auto}.home-card-price>span{display:block;font-size:11px;color:var(--home-muted)}.home-card-price .retail-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.home-card-price .retail-price-main{flex-wrap:wrap!important;gap:4px 6px!important}.home-card-price .retail-price-main>strong{font-size:22px!important;color:var(--home-ink)}.home-card-price .retail-pix,.home-card-price .retail-installments,.home-card-price .retail-discount,.home-card-price del{font-size:11px}.home-card-footer{display:flex;align-items:center;gap:12px;padding:8px 14px 14px;margin-top:auto;min-width:0}.home-card-size{display:block!important;flex:1 1 auto;min-width:0;margin:0!important;font-size:11px}.home-card-size select{width:100%;min-width:0}.home-card-picker{position:relative;width:max-content;min-width:min(120px,100%);max-width:100%;font-weight:400}.home-card-picker>button{width:max-content;min-width:100%;max-width:100%;height:auto;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #bcc5c1;border-radius:9px;background:white;color:inherit;padding:9px 10px;font-size:13px;line-height:1.2;white-space:normal;text-align:left}.home-card-picker>button>span{min-width:0;overflow-wrap:anywhere}.home-card-picker>button>svg{width:16px;height:16px;flex:0 0 16px}.home-card-picker>span{position:absolute;top:-6px;left:9px;max-width:calc(100% - 22px);font-size:10px;line-height:1.2;background:white;padding-inline:3px;pointer-events:none}.home-card-options{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid #ddd;border-radius:10px;background:white;box-shadow:0 4px 18px #0002;max-height:260px;max-width:calc(100vw - 24px);overflow:auto;z-index:1100}.home-card-options::backdrop{background:transparent}.home-card-options>button{display:block;width:100%;background:white;color:#302e2a;border:0;border-radius:6px;white-space:normal;text-align:left;padding:10px;font-size:13px;min-height:38px}.home-card-options>button:is(:hover,:focus-visible,[aria-selected=true]){background:#fff4bf;color:#ad4b00}.home-card-open{flex:none;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;min-height:36px;border:1px solid #e0deda;border-radius:9px;background:#f4f2ee;color:inherit;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}.home-card-open:hover{background:#eeece7;color:inherit}.home-card-open svg{width:16px;height:16px}.home-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.home-category-grid>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:119px;background:var(--home-soft);padding:22px 12px;border-radius:12px;font-size:13px;font-weight:700;color:inherit;text-decoration:none;overflow-wrap:anywhere}.home-category-grid svg{width:28px;height:28px}.home-category-grid>a:hover{background:#eeece7;box-shadow:0 2px 8px #0001}.home-editorial,.home-campaign{background:var(--home-soft);padding:28px;border-radius:14px}.home-campaign{display:block;color:inherit;text-decoration:none}.home-campaign img{width:100%;height:auto}.home-campaign h2{margin-top:16px}.home-ai-result{padding-block:12px;min-width:0}.home-ai-result img{max-height:300px;width:100%;object-fit:contain;border-radius:10px;background:#f4f2ee}.home-ai-result [data-home-recommendations]>h3{font-size:20px;margin-block:18px 14px}.home-ai-result .home-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.home-assistant-error{background:#fff0f2;color:#a31a35!important;padding:12px;border-radius:10px;margin-top:10px!important}
@media(max-width:1024px){.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-wrap{width:calc(100% - 40px)}}
@media(max-width:600px){.home-wrap{width:calc(100% - 28px)}.home-hero{padding-block:28px}.home-hero h1{font-size:36px;letter-spacing:-1.3px}.home-hero-sub{font-size:15px}.home-section{padding-block:26px}.home-section>h2{font-size:24px}.home-product-grid{grid-template-columns:1fr}.home-product-card{display:grid;grid-template-columns:96px minmax(0,1fr)}.home-product-visual{width:96px;height:96px;margin:12px 0 0 12px;border-radius:8px}.home-product-copy{padding:12px 12px 6px 24px}.home-card-footer{grid-column:1/-1;padding:9px 12px 12px}.home-card-price .retail-price-main>strong{font-size:20px!important}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-ai-result .home-product-grid{grid-template-columns:1fr}.home-card-open{min-height:40px}.home-card-picker>button{min-height:40px}}

.home-hero>.home-wrap{max-width:880px}.home-eyebrow{justify-content:center}.home-hero h1{text-align:center;font-size:48px;line-height:1.12;max-width:800px;margin:0 auto 16px;text-wrap:balance}.home-hero-sub{text-align:center;max-width:600px;margin:0 auto 24px!important}.home-prompt-examples{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:12px;font-size:11px;color:#6e6c68}.home-prompt-examples button{background:white;color:#302e2a;border:1px solid #e0deda;border-radius:20px;padding:7px 10px;min-height:34px;font-size:11px}.home-prompt-examples button:hover{background:#eeece7;color:#302e2a}.home-how{display:grid;grid-template-columns:1fr 2fr;gap:40px}.home-how-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home-how-steps strong{display:block;font-size:14px}.home-how-steps span{color:#ad4b00;font-size:12px;font-weight:800}.home-how-steps p{font-size:12px;margin-top:5px}.home-how h2{font-size:28px;line-height:1.2}@media(max-width:1024px){.home-hero{padding-block:30px}.home-hero h1{font-size:43px}.home-how{grid-template-columns:1fr;gap:22px}}@media(max-width:600px){.home-hero{padding-block:24px}.home-hero h1{font-size:37px;letter-spacing:-1.3px}.home-hero-sub{font-size:14px}.home-eyebrow{font-size:9px;letter-spacing:1.2px}.home-how-steps{grid-template-columns:1fr;gap:16px}.home-how-steps>div{padding-left:35px;position:relative}.home-how-steps span{position:absolute;left:0;top:1px}.home-how h2{font-size:24px}}@media(max-width:350px){.home-hero h1{font-size:34px}}

.home-prompt-examples button{--button-height:var(--button-tertiary-height);--button-font:11px;--button-inset:10px}.home-card-picker>button{--button-height:var(--button-tertiary-height);--button-font:13px;--button-inset:10px}.home-card-options>button{--button-height:var(--button-secondary-height);--button-font:13px;--button-inset:10px}.home-card-picker>button:hover{background:#fff;color:#302e2a}@media(max-width:600px){.home-card-picker>button{--button-height:var(--button-secondary-height)}}

.home-card-description{font-size:13px;line-height:1.45}.home-use-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-use-card{display:flex;align-items:center;gap:14px;border:1px solid #e0deda;border-radius:12px;background:white;padding:18px;color:inherit;text-decoration:none}.home-use-card>svg{width:24px;height:24px;flex:none;color:#ad4b00}.home-use-card>svg:last-child{margin-left:auto;width:16px;height:16px}.home-use-card strong{display:block;font-size:15px}.home-use-card small{display:block;color:#6e6c68;font-size:12px;margin-top:3px}.home-use-card:hover{box-shadow:0 2px 8px #0001}@media(max-width:850px){.home-use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.home-card-description{font-size:12px}.home-use-grid{grid-template-columns:1fr}}

.home-hero printable-designer-composer{min-height:200px}@media(max-width:600px){.home-hero printable-designer-composer{min-height:240px}}

.home-hero-mark{position:relative;z-index:0}.home-hero-mark:after{content:"";position:absolute;inset:65% 0 5%;background:var(--store-highlight-vivid,#ffdf27);border-radius:3px;z-index:-1}

.home-card-picker>button{border-color:var(--field-border-color,#bcc5c1)!important}.home-card-picker>button:focus-visible{outline:var(--ui-focus-width,2px) solid var(--ui-interaction-color);outline-offset:2px}.storefront-body .home-card-open:hover{background:#eeece7;color:#302e2a}@media(max-width:600px){.home-card-footer a.home-card-open{--button-height:var(--button-secondary-height)}}

.home-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.home-section-heading h2{font-size:27px;line-height:1.2}.home-section-heading p{font-size:14px;margin-top:6px}.home-section-heading>a{display:inline-flex;align-items:center;gap:7px;flex:none;color:inherit;font-size:13px;text-decoration:none}.home-section-heading>a:hover{color:#ad4b00}.home-section-heading svg{width:16px;height:16px;flex:none}@media(max-width:600px){.home-section-heading{align-items:flex-start;gap:12px}.home-section-heading h2{font-size:24px}.home-section-heading p{font-size:12px}.home-section-heading>a{font-size:12px;gap:4px}.home-use-card span{min-width:0}.home-use-card strong,.home-use-card small{overflow-wrap:anywhere}}

/* Preserve the configured footer bands without letting their intrinsic logo width expand the home at 320px. */
@media(max-width:400px){.storefront-body:has(.home-r11) .footer-service-bands>div{min-width:0}.storefront-body:has(.home-r11) .footer-delivery-logos{max-width:100%;background-size:contain}}

.home-section-heading>a{color:var(--store-action-color,#ad4b00);font-weight:700}@media(max-width:1024px){.home-category-grid>a{min-height:95px;flex-direction:row;padding:18px;gap:12px}}@media(max-width:600px){.home-category-grid{gap:8px}.home-category-grid>a{justify-content:flex-start;text-align:left;min-height:82px;padding:14px 10px;gap:9px;font-size:12px;line-height:1.3}.home-category-grid svg{width:23px;height:23px;flex:0 0 23px}}@media(max-width:350px){.home-category-grid>a{font-size:11px;padding:12px 8px;gap:7px}}

/* Use collections follow the reference spacing; content determines height. */
.home-use-card{line-height:1.5;text-align:left;min-height:44px}.home-use-card span{min-width:0}.home-use-card strong,.home-use-card small{overflow-wrap:anywhere}
@media(max-width:600px){.home-use-grid{gap:9px}.home-use-card{padding:14px;gap:12px}.home-use-card strong{font-size:14px}}

.home-r11 :is(a,button,summary):focus-visible,.home-card-options>button:focus-visible{outline:var(--ui-focus-width,2px) solid var(--ui-interaction-color);outline-offset:var(--ui-focus-offset,2px);box-shadow:none}

/* C approved by Rogerio: preserve the asymmetric source artwork on every viewport.
   Clip decoration itself; menus and expanding results remain free to extend normally. */
.home-hero{--hero-pattern-opacity:1;--hero-pattern-size:100% 100%;position:relative;isolation:isolate;overflow:visible;padding-bottom:20px}
.home-hero::before{content:"";display:block;position:absolute;inset:0;background:url("/home-pattern-c.svg") center/var(--hero-pattern-size) no-repeat;opacity:var(--hero-pattern-opacity);pointer-events:none;z-index:-1;clip-path:inset(0)}
.home-hero>.home-wrap{position:relative;z-index:1}
.home-ai-result[hidden]{display:none!important}
.home-hero [data-home-assistant]{margin:0}
.home-hero printable-designer-composer{margin-bottom:0;min-height:0}

/* Recommendations in the conversation share data and controls, with a compact presentation. */
.home-ai-result .home-product-grid{display:grid;grid-template-columns:1fr;gap:8px}
.home-ai-result [data-home-recommendations]>h3{font-size:14px;margin-block:12px 8px}
.home-ai-result .home-product-card--compact{display:grid;grid-template-columns:60px minmax(0,1fr);gap:0 10px;padding:10px;border-radius:10px;align-items:start}
.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:1/3;width:60px;height:60px;aspect-ratio:1;margin:0;border-radius:7px}
.home-ai-result .home-product-card--compact .home-product-visual img{width:60px;height:60px;max-height:60px;object-fit:contain}
.home-ai-result .home-product-card--compact .home-product-copy{grid-column:2;padding:0;gap:3px}
.home-ai-result .home-product-card--compact h3{font-size:14px;line-height:1.3;margin:0}
.home-ai-result .home-product-card--compact .home-card-price{margin:0}


.home-ai-result .home-product-card--compact .home-card-footer{grid-column:2;padding:6px 0 0;margin:0;gap:7px;flex-wrap:wrap}
.home-ai-result .home-product-card--compact .home-card-size{flex:1 1 130px;font-size:10px}
.home-ai-result .home-product-card--compact .home-card-picker>button{min-height:34px;font-size:12px;padding:7px 8px}
.home-ai-result .home-product-card--compact .home-card-open{min-height:34px;padding:6px 8px;font-size:12px}
.home-ai-result .home-product-card--compact .home-card-reason{font-size:11px;line-height:1.35;margin:3px 0;color:var(--home-muted)}
@media(max-width:400px){.home-ai-result .home-product-card--compact{grid-template-columns:56px minmax(0,1fr);gap:0 8px;padding:8px}.home-ai-result .home-product-card--compact .home-product-visual,.home-ai-result .home-product-card--compact .home-product-visual img{width:56px;height:56px;max-height:56px}}

.home-ai-result .home-product-card--compact .home-product-visual{grid-row:1}
.home-ai-result .home-product-card--compact .home-card-footer{grid-column:1/-1;flex-wrap:nowrap}
.home-ai-result .home-product-card--compact .home-card-size{flex:1 1 0;min-width:0}
.home-ai-result .home-product-card--compact .home-card-picker{min-width:0;width:100%}
.home-ai-result .home-product-card--compact .home-card-picker>button{width:100%;padding:6px 8px;font-size:11px}
.home-ai-result .home-product-card--compact .home-card-reason{font-size:10px}

.home-card-reason[data-compatibility=requires_adaptation],.home-card-reason[data-compatibility=unavailable]{color:#8b4e00}.home-card-reason[data-compatibility=compatible]{color:#3e5667}

/* The result remains in the composer; original art and product simulations have separate, compact roles. */
.home-ai-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:18px;align-items:start;margin-block:12px}.home-ai-result:not(.has-art){grid-template-columns:minmax(0,1fr)}.home-ai-result:not(.has-suggestions){grid-template-columns:minmax(0,260px);justify-content:center}.home-ai-result [data-home-art]{min-width:0;max-width:280px;width:100%;aspect-ratio:1;margin-inline:auto}.home-ai-result [data-home-art][hidden]{display:none}.home-art-open{display:grid;place-items:center;width:100%;height:100%;aspect-ratio:1;padding:8px;border:0;border-radius:12px;background:#f5f3f0;cursor:zoom-in}.home-art-open:hover{background:#eeece7}.home-art-open img{width:100%;height:100%;max-height:none;object-fit:contain}.home-ai-result [data-home-recommendations]{min-width:0}.home-ai-result [data-home-recommendations]>h3{margin-block:0 8px}.home-ai-result .home-product-card--compact{grid-template-columns:minmax(104px,128px) minmax(0,1fr)}
.home-ai-result .home-product-card--compact .home-preview-gallery{width:100%;height:auto;aspect-ratio:auto;min-width:0;grid-row:1;margin:0;background:transparent;overflow:visible}.home-preview-main{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;min-height:0;padding:0;border:0;border-radius:8px;overflow:hidden;background:#f4f3f0;cursor:zoom-in}.home-ai-result .home-product-card--compact .home-preview-gallery .home-preview-main :is(img,canvas){width:100%;height:100%;max-height:none;object-fit:contain;display:block}.home-preview-label{display:block;font-size:9px;line-height:1.3;color:#77716b;margin-top:3px}.home-preview-status{display:flex;align-items:center;gap:4px;font-size:10px;line-height:1.35;margin-top:4px;color:#7d5722}.home-preview-status[hidden],.home-preview-retry[hidden]{display:none}.home-preview-status svg{width:13px;height:13px;flex-shrink:0;animation:home-preview-spin 1s linear infinite}.home-preview-retry{display:inline-flex;align-items:center;gap:4px;border:0;background:#fff0b8;color:#864900;font:inherit;font-size:10px;padding:5px 6px;min-height:30px;border-radius:6px}.home-preview-retry svg{width:13px;height:13px}.home-preview-retry:hover{background:#ffdf27}.home-preview-thumbs{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.home-preview-thumbs[hidden]{display:none}.home-preview-thumbs button{width:29px;height:29px;min-height:0;padding:0;border:1px solid #ddd9d3;border-radius:5px;overflow:hidden;background:#f4f3f0}.home-preview-thumbs button[aria-pressed=true]{border:2px solid #e9a000}.home-ai-result .home-product-card--compact .home-preview-gallery .home-preview-thumbs img{width:100%;height:100%;max-height:none;object-fit:contain}.home-preview-thumbs button:hover{border-color:#b16b00}
.home-image-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:14px;background:#fff;color:#302e2a;overflow:hidden}.home-image-dialog::backdrop{background:#0009}.home-image-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #eee;gap:12px}.home-image-heading h2{font-size:16px;margin:0}.home-image-close{position:relative;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;flex-shrink:0}.home-image-close::before{content:'';position:absolute;width:32px;height:32px;border-radius:50%;background:#eeefec}.home-image-close svg{position:relative;width:14px;height:14px}.home-image-close:hover::before{background:#ffe891}.home-image-close:focus-visible{outline:2px solid #8f5b00;outline-offset:1px}.home-image-body{display:grid;place-items:center;padding:12px;background:#f6f4f1;overflow:auto;max-height:calc(100dvh - 100px)}.home-image-body :is(img,canvas){display:block;max-width:100%;max-height:calc(100dvh - 126px);width:auto;height:auto;object-fit:contain}
@keyframes home-preview-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.home-preview-status svg{animation:none}}@media(max-width:700px){.home-ai-result,.home-ai-result.has-art{grid-template-columns:minmax(0,1fr);gap:12px}.home-ai-result [data-home-art]{max-width:200px}.home-ai-result .home-product-card--compact{grid-template-columns:112px minmax(0,1fr)}}@media(max-width:370px){.home-ai-result .home-product-card--compact{grid-template-columns:100px minmax(0,1fr);gap:0 8px}.home-preview-thumbs button{width:27px;height:27px}.home-ai-result [data-home-art]{max-width:180px}}

.home-conversation-content{display:flex;flex-direction:column;gap:10px;min-width:0;padding:0;margin:0}.home-conversation-turn{min-width:0;margin:0}.home-conversation-content .briefing-message{box-sizing:border-box;max-width:100%;width:fit-content;padding:11px 13px;border-radius:10px;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#544c44;background:#f8f6f2}.home-conversation-content .briefing-message.customer{margin-left:auto;max-width:92%;background:#f0ede7;color:#39342e}.home-conversation-content .briefing-message.error{color:#b12636;background:#fff0f2}.home-conversation-content .briefing-message.progress{color:#87745e;background:#fcfaf6}.home-conversation-content .home-ai-result{margin-top:10px;margin-bottom:3px}.home-recommended-configuration{font-size:11px;line-height:1.4;color:#6f665c;min-width:0;margin:0;flex:1;overflow-wrap:anywhere}.home-ai-result .home-product-card--compact .home-card-footer{align-items:center;white-space:normal}.storefront-body .home-ai-result a.home-card-buy{background:var(--action-forward,#78ef12);color:var(--action-ink,#244600);border-radius:24px;min-height:38px;gap:6px;padding:8px 12px;font-weight:600;flex-shrink:0}.storefront-body .home-ai-result a.home-card-buy:is(:hover,:focus-visible){background:var(--action-forward-hover,#68d91d);color:#fff}.home-card-buy svg{width:16px;height:16px}.home-confirm-dialog{padding:22px;max-width:420px}.home-confirm-dialog h2{font-size:19px;margin:0 0 10px}.home-confirm-dialog p{font-size:14px;line-height:1.5;margin-bottom:20px}.home-confirm-dialog button{margin-right:8px;min-height:40px}@media(max-width:370px){.storefront-body .home-ai-result a.home-card-buy{font-size:11px;padding-inline:9px}.home-recommended-configuration{font-size:10px}}

.home-ai-result .home-product-card--compact .home-preview-gallery{position:relative}.home-preview-gallery .home-preview-status{position:absolute;top:7px;left:4px;right:4px;z-index:1;padding:5px;border-radius:6px;background:#fffdf3eb;max-height:66px;margin:0;font-size:10px}.home-preview-gallery .home-preview-retry{position:absolute;top:82px;left:4px;right:4px;z-index:2;width:calc(100% - 8px);--button-height:30px;min-height:30px!important;height:30px!important;padding:4px 5px!important;font-size:10px!important;justify-content:center;white-space:nowrap}.home-preview-gallery .home-preview-label{min-height:12px}.home-card-buy{display:inline-flex;align-items:center;justify-content:center}

.home-card-buy svg{width:var(--button-icon,18px);height:var(--button-icon,18px);flex-shrink:0}

/* Preview controls retain their own image geometry within shared storefront buttons. */
.home-preview-gallery .home-preview-main{display:grid!important;min-width:0!important;max-width:100%!important;padding:0!important;background:#f4f3f0!important;color:inherit!important;border:0!important;gap:0!important}
.home-preview-gallery .home-preview-thumbs>button{display:block!important;flex:0 0 22px!important;width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important;padding:0!important;margin:0!important;border-radius:5px!important;background:#f4f3f0!important;line-height:1!important;box-sizing:border-box!important}
.home-preview-gallery .home-preview-thumbs>button img{display:block!important;width:100%!important;height:100%!important;margin:0!important}
.home-preview-gallery>.home-preview-label{display:block;height:auto;place-content:normal}
.home-preview-gallery>.home-preview-status{height:auto}
.home-image-close.ui-close::before{display:none}

/* IA recommendation cards: vertical, compact and sized by usable column width. */
.home-ai-result .home-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(166px,100%),1fr));gap:10px;align-items:start}
.home-ai-result .home-product-card--compact{display:flex;flex-direction:column;gap:8px;min-height:0;height:auto;padding:8px;align-items:stretch;justify-content:flex-start}
.home-ai-result .home-product-card--compact .home-product-visual{grid-column:auto;grid-row:auto;width:100%;height:auto;max-height:none;aspect-ratio:1;margin:0;border-radius:7px}
.home-ai-result .home-product-card--compact .home-preview-gallery{aspect-ratio:auto;position:relative}
.home-ai-result .home-product-card--compact .home-product-copy{padding:0;gap:6px;flex:0 0 auto;display:flex;grid-column:auto}
.home-ai-result .home-product-card--compact h3{font-size:14px;line-height:1.35;font-weight:700;white-space:normal;overflow-wrap:anywhere}
.home-ai-result .home-product-card--compact .home-card-footer{padding:0;gap:0;margin:0;display:flex;grid-column:auto;flex:0 0 auto}
.storefront-body .home-ai-result a.home-card-buy{font-size:12px;min-height:44px;height:auto;padding:7px 10px;gap:5px;white-space:normal;text-align:center;line-height:1.25;min-width:0;width:max-content;max-width:100%;box-sizing:border-box}
.home-preview-navigation{display:flex;align-items:center;justify-content:center;gap:4px;min-height:28px;margin-top:2px}
.home-preview-navigation[hidden]{display:none}
.home-preview-counter{font-size:10px;line-height:1.2;color:var(--home-muted);font-variant-numeric:tabular-nums}
.home-preview-gallery .home-preview-arrow{position:absolute;top:calc(50% - 36px);z-index:3;display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#36332e!important;box-shadow:none!important;cursor:pointer}
.home-preview-arrow::before{content:'';position:absolute;inset:9px;border-radius:50%;background:#fffE;box-shadow:0 1px 5px #0002}
.home-preview-arrow svg{position:relative;width:16px;height:16px}
.home-preview-arrow:hover::before{background:var(--ui-interaction-color,#ffdf27)}
.home-preview-arrow[data-direction=previous]{left:-6px}.home-preview-arrow[data-direction=next]{right:-6px}.home-preview-arrow:disabled{opacity:.35;cursor:default}
.home-preview-gallery .home-preview-main{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.home-preview-gallery .home-preview-main canvas,.home-preview-gallery .home-preview-main img{pointer-events:none}
.storefront-body .home-art-open,.storefront-body .home-art-open:hover{background:#f5f3f0!important;color:inherit!important;filter:none!important;transition:transform var(--ui-card-duration),box-shadow var(--ui-card-duration)}
@media(hover:hover) and (pointer:fine){.storefront-body .home-art-open:hover{transform:translateY(var(--ui-card-lift));box-shadow:var(--ui-card-shadow)}}
@media(prefers-reduced-motion:reduce){.storefront-body .home-art-open{transition:none}.storefront-body .home-art-open:hover{transform:none}}
@media(max-width:700px){.home-ai-result .home-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}}

.home-preview-gallery .home-preview-arrow[hidden]{display:none!important}.home-preview-gallery .home-preview-main:disabled{opacity:1;cursor:wait}.home-preview-gallery .home-preview-label:empty{display:none}

.storefront-body .home-ai-result a.home-card-buy{--button-height:44px;--button-font:12px;--button-icon:16px;--button-inset:10px;white-space:nowrap}

@media(max-width:700px){.home-ai-result .home-product-card--compact .home-preview-gallery{max-width:220px;align-self:center}}

/* A short recommendation list must not stretch a single card across the result column. */
.home-ai-result .home-product-grid:has(>.home-product-card:only-child){grid-template-columns:minmax(0,220px)}
.home-ai-result .home-product-grid:has(>.home-product-card:nth-child(2):last-child){grid-template-columns:repeat(auto-fit,minmax(min(166px,100%),220px))}

/* Reading order: artwork, its comment/status, then its own recommendation cards. */
.home-ai-result .home-art-column{min-width:0;display:flex;flex-direction:column;gap:10px}.home-ai-result .home-art-comment{min-width:0;display:flex;flex-direction:column;gap:8px}.home-ai-result .home-art-comment .briefing-message{width:100%;margin:0}.home-ai-result:not(.has-suggestions){grid-template-columns:minmax(0,1fr);justify-content:stretch}.home-ai-result .home-art-column [data-home-art]{flex:none}.home-analysis-note{font-size:11px!important;line-height:1.4!important;margin:0!important;color:var(--home-muted)}.home-analysis-retry{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:44px}.home-analysis-retry svg{width:16px;height:16px}.home-ai-result [data-home-art][hidden]{display:none}

/* Result commentary follows the artwork/cards row across its full width. */
.home-ai-result>.home-art-comment{grid-column:1/-1;width:100%;min-width:0}

.home-ai-result>.home-art-comment>.briefing-message{width:100%;max-width:none}

.home-ai-result .home-product-card--compact a.home-card-buy{white-space:normal!important}
@media(max-width:370px){.home-ai-result .home-product-card--compact .home-card-footer{padding-inline:4px}.home-ai-result .home-product-card--compact a.home-card-buy{--button-inset:6px;gap:4px}}

.home-choice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.home-choice-actions .home-choice-button{--button-height:44px;--button-font:12px;--button-icon:16px;--button-inset:12px;gap:6px;white-space:normal;max-width:100%;text-align:left}.home-choice-button svg{width:16px;height:16px;flex:0 0 16px}.home-art-column[hidden],[data-home-recommendations][hidden]{display:none!important}

.home-choice-question{flex-basis:100%;margin:0;font-size:13px;line-height:1.5}

.home-choice-actions[hidden]{display:none!important}

/* Speaker-specific alignment and squared lower corner, as corrected by the user. */
.home-conversation-content .briefing-message.ai{margin-left:0;margin-right:auto;border-bottom-left-radius:0;border-bottom-right-radius:10px}
.home-conversation-content .briefing-message.customer{margin-left:auto;margin-right:0;border-bottom-left-radius:10px;border-bottom-right-radius:0}

/* Loading covers the square image while keeping the current image visible. */
.home-preview-gallery.is-loading>.home-preview-status{inset:0 auto auto 0;width:100%;height:auto;aspect-ratio:1;max-height:none;padding:0;margin:0;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.12);pointer-events:none;z-index:2}
.home-preview-gallery.is-loading .home-preview-main :is(img,canvas){opacity:.55}
.home-preview-gallery.is-loading>.home-preview-status svg{width:28px;height:28px;flex:none}
.home-preview-loading-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Chat: artwork belongs to its first Pri message; offers follow in reading order. */
.home-conversation-content .home-ai-result{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0}
.home-ai-result>.home-art-comment{width:100%;gap:8px}
.home-ai-result>.home-art-comment>.briefing-message{width:fit-content;max-width:92%;margin:0}
.home-ai-result .briefing-message [data-home-art]{width:160px;max-width:100%;margin:10px 0 0;aspect-ratio:auto}
.home-ai-result .briefing-message .home-art-open{height:180px;aspect-ratio:auto;padding:6px}
.home-ai-result .home-product-grid,.home-ai-result .home-product-grid:has(>.home-product-card){display:flex;flex-direction:column;gap:8px}
.home-ai-result .home-product-card--compact{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 14px;padding:12px;border-radius:14px 14px 14px 0;align-items:start;transition:none}
.home-ai-result .home-product-card--compact:is(:hover,:focus-within){transform:none;box-shadow:none}
.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:1/3;width:120px;height:auto;margin:0;align-self:start}
.home-ai-result .home-product-card--compact .home-product-copy{grid-column:2;display:flex;flex-direction:column}
.home-ai-result .home-product-card--compact .home-card-footer{grid-column:2;display:flex;justify-content:flex-end;align-self:end}
.home-ai-result .home-preview-main:hover{filter:brightness(.97)}
@media(max-width:540px){.home-ai-result .home-product-card--compact{grid-template-columns:84px minmax(0,1fr);gap:8px 10px;padding:10px}.home-ai-result .home-product-card--compact .home-product-visual{width:84px}.home-ai-result .home-product-card--compact .home-card-footer{grid-column:1/-1}.home-ai-result>.home-art-comment>.briefing-message{max-width:100%}}

/* Approved chat reference 01/11/2026 — geometry shared with the frozen prototype. */
.home-conversation-content{max-width:650px;margin-inline:auto;gap:14px;width:100%}
.home-conversation-content .briefing-message{font-size:14px;line-height:1.5}
.home-conversation-content .briefing-message.customer{max-width:83%;padding:9px 13px;border-radius:15px 15px 0 15px}
.home-conversation-content .home-ai-result{display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px 9px;align-items:start}
.home-ai-result>.home-pri-avatar{grid-column:1;grid-row:1/4;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#ba272d;background:#f4f2ed;margin-top:1px}
.home-pri-avatar svg{width:16px;height:16px}
.home-ai-result>.home-art-comment,.home-ai-result>[data-home-recommendations],.home-ai-result>.home-choice-actions{grid-column:2;width:100%;min-width:0}
.home-ai-result>.home-art-comment>.briefing-message{padding:0;background:transparent;border-radius:0;width:auto;max-width:100%;font-size:14px;line-height:1.5}
.home-ai-result .briefing-message [data-home-art]{width:auto;max-width:100%;margin:8px 0 0}
.home-ai-result .briefing-message .home-art-open{width:64px;height:96px;padding:5px;border-radius:8px}
.home-ai-result .home-product-grid{gap:7px;margin:2px 0;max-width:600px;width:100%}
.home-ai-result .home-product-card--compact{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;border:0;border-radius:0 16px 16px 16px;padding:10px;background:#f4f2ed;width:100%;box-shadow:none;transform:none;transition:none}
.home-ai-result .home-product-card--compact:is(:hover,:focus-within){background:#f4f2ed;border:0;box-shadow:none;transform:none}
.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:1;width:104px;max-width:104px;margin:0;align-self:center;border-radius:8px}
.home-product-details{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:8px 12px;align-items:center;min-width:0}
.home-ai-result .home-product-card--compact .home-product-copy{display:contents}
.home-ai-result .home-product-card--compact h3{grid-column:1/-1;grid-row:1;font-size:15px;font-weight:700;line-height:1.35;margin:0;white-space:normal}
.home-ai-result .home-product-card--compact .home-card-price{grid-column:1;grid-row:2;align-self:end;padding-bottom:6px;min-width:0;margin:0}
.home-ai-result .home-product-card--compact .home-card-footer{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;margin:0;padding:0;min-width:0}
.home-card-quantity{position:relative;display:block;width:100%;height:40px;border:1px solid #e7e3dc;border-radius:9px;background:#fff;min-width:0}
.home-card-quantity>span{position:absolute;top:-8px;left:8px;padding:0 4px;font-size:11px;line-height:16px;background:#fff;border-radius:4px;color:#77736d}
.home-card-quantity select{appearance:none;display:block;width:100%;height:100%;padding:8px 27px 4px 11px;border:0;border-radius:9px;background:transparent;font:inherit;font-size:13px;margin:0;cursor:pointer;min-width:0}
.home-card-quantity>svg{position:absolute;right:9px;top:14px;width:12px;height:12px;pointer-events:none;color:#77736d}
.storefront-body .home-ai-result a.home-card-buy{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:44px;height:44px;width:100%;margin:0;padding:0 12px;border:0;border-radius:999px;background:transparent!important;color:#263918!important;font-size:12px;font-weight:600;gap:5px;--button-height:44px;--button-icon:13px;--button-font:12px;--button-radius:999px;--button-inset:12px;box-shadow:none;transform:none}
.home-ai-result a.home-card-buy .button-surface{height:32px;min-height:32px;border-radius:999px;background:#98ec40;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;inset:6px 0;position:absolute;width:100%;font-size:12px;line-height:1.3}
.home-ai-result a.home-card-buy:hover .button-surface{background:#87dc35}
.home-ai-result a.home-card-buy svg{width:13px;height:13px;flex:none}
.home-ai-result a.home-card-buy[aria-disabled=true]{opacity:.55;cursor:wait}
.home-quantity-error{font-size:12px;line-height:1.4;color:#b12636;overflow-wrap:anywhere}
.home-ai-result .home-choice-actions{gap:3px;align-items:flex-start;flex-direction:column}
.home-choice-actions .home-choice-question{font-size:14px;line-height:1.5;margin:0}
.home-choice-actions .home-choice-button{font-size:12px;background:transparent;border:0;padding:3px 0;color:#ba272d;box-shadow:none}
.home-preview-gallery .home-preview-arrow{top:calc(50% - 22px);width:36px!important;min-width:36px!important;max-width:36px!important;height:44px!important;opacity:0;pointer-events:none}
.home-preview-gallery:is(:hover,:focus-within,[data-nav-open=true]) .home-preview-arrow{opacity:1;pointer-events:auto}
.home-preview-arrow::before{inset:11px 7px;box-shadow:none}
.home-preview-arrow svg{width:11px;height:11px}
.home-preview-arrow[data-direction=previous]{left:0}.home-preview-arrow[data-direction=next]{right:0}
.home-preview-navigation{position:absolute;bottom:6px;right:6px;margin:0;min-height:0;font-size:11px;background:#fffe;border-radius:10px;padding:0 6px}
@media(max-width:540px){.home-ai-result .home-product-card--compact{grid-template-columns:76px minmax(0,1fr);gap:7px 10px;padding:9px}.home-product-details{display:contents}.home-ai-result .home-product-card--compact h3{grid-column:1/-1;grid-row:1;white-space:normal}.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:2;width:76px;max-width:76px}.home-ai-result .home-product-card--compact .home-card-price{grid-column:2;grid-row:2}.home-ai-result .home-product-card--compact .home-card-footer{grid-column:1/-1;grid-row:3;flex-direction:row;justify-content:space-between;gap:8px;margin-top:3px}.home-card-quantity{width:108px;flex:none}.home-ai-result .home-card-footer a.home-card-buy{width:132px}.home-quantity-error{flex-basis:100%}}
@media(max-width:480px){.home-conversation-content .home-ai-result{grid-template-columns:20px minmax(0,1fr);gap:8px 6px}.home-ai-result>.home-pri-avatar{width:20px;height:20px}.home-pri-avatar svg{width:13px;height:13px}.home-conversation-content .briefing-message.customer{max-width:90%}}

.home-ai-result .home-card-price .retail-price-main>strong{font-size:20px!important;line-height:1.3}
.home-ai-result .home-card-price .retail-price-before,.home-ai-result .home-card-price .retail-pix{font-size:11px;line-height:1.4}
.home-ai-result .home-card-price .retail-price-main{align-items:baseline;gap:3px 7px;flex-wrap:wrap}
@media(max-width:480px){.home-ai-result .home-card-price .retail-price-main>strong{font-size:18px!important}.home-ai-result .home-card-price .retail-price-main{flex-direction:column;align-items:flex-start}}

/* Remove inherited form spacing; match frozen mobile action stack. */
.home-ai-result .home-card-quantity{margin:0!important}
.storefront-body .home-ai-result a.home-card-buy{height:44px!important;min-height:44px!important;padding:0!important}
@media(max-width:540px){.home-ai-result .home-product-card--compact .home-card-footer{flex-direction:column;align-items:stretch;gap:8px}.home-ai-result .home-card-footer a.home-card-buy{width:100%}}

/* Native-select and shared-button adapters: one arrow, one-line label, proportional icon. */
.storefront-body .home-ai-result .home-card-quantity select{appearance:none!important;display:block!important;height:100%!important;min-height:0!important;padding:8px 27px 4px 11px!important;background:transparent!important;border:0!important;gap:0!important}
.home-card-quantity select::picker-icon{display:none!important}
.storefront-body .home-ai-result a.home-card-buy .button-surface,.storefront-body .home-ai-result a.home-card-buy .button-label{white-space:nowrap!important}
.storefront-body .home-ai-result a.home-card-buy .button-surface svg{width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;flex:0 0 13px!important}

/* New upload is an attachment event from the customer, not a synthetic human utterance. */
.home-upload-event{display:flex;justify-content:flex-end;margin:0 0 10px;min-width:0}
.home-upload-open{display:flex;align-items:center;gap:10px;max-width:83%;border:0;border-radius:12px;padding:8px 11px;background:#f4f2ed;text-align:left;cursor:zoom-in;font:inherit;color:inherit}
.home-upload-open :is(img,canvas){width:35px;height:63px;object-fit:contain;flex:none;border-radius:2px}
.home-upload-open>span{min-width:0;font-size:12px;overflow-wrap:anywhere}
.home-upload-open>span>span,.home-upload-open small{display:block}
.home-upload-open small{font-size:12px;color:#77736d}
@media(max-width:480px){.home-upload-open{max-width:90%}}

/* Real gallery navigation keeps the approved small icon despite generic button styles. */
.storefront-body .home-ai-result .home-preview-gallery .home-preview-arrow svg{width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important;flex:0 0 11px!important;margin:0!important}

/* Assistant offers are chat bubbles, not elevated catalogue cards. */
.storefront-body .home-ai-result .home-product-card--compact,.storefront-body .home-ai-result .home-product-card--compact:is(:hover,:focus-within){--ui-card-lift:0px;--ui-card-shadow:none;transform:none!important;box-shadow:none!important;transition:none!important}

/* Rogerio review: reserve the actions column; use the shared store dropdown. */
@media(min-width:541px){.home-ai-result .home-product-card--compact h3{grid-column:1;grid-row:1;white-space:normal;overflow-wrap:anywhere}.home-ai-result .home-product-card--compact .home-card-footer{grid-column:2;grid-row:1 / span 2;align-self:end}}
.storefront-body .home-ai-result .home-pri-avatar svg{display:block;margin:0!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;flex:none}
@media(max-width:480px){.storefront-body .home-ai-result .home-pri-avatar svg{width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important}}
.storefront-body .home-upload-open:hover{background:var(--ui-interaction-color,#ffdf27)!important;color:inherit}
.home-card-quantity.floating-field{--control-height:40px;--control-padding:8px 32px 4px 11px;--field-radius:9px;border:0;background:transparent}
.home-card-quantity.floating-field>.field-caption{top:-8px!important;left:8px!important;background:#fff;font-size:11px!important;line-height:16px!important;transform:none!important;z-index:2}
.storefront-body .home-ai-result .home-card-quantity.floating-field select{border:1px solid var(--field-border-color,#cfcfcf)!important;border-radius:9px!important;background-color:#fff!important;padding:8px 32px 4px 11px!important;min-height:40px!important;height:40px!important}
.home-card-quantity.floating-field::after{right:9px;top:14px;width:12px;height:12px}
@supports(appearance:base-select){.storefront-body .home-ai-result .home-card-quantity.floating-field select{appearance:base-select!important}.home-card-quantity.floating-field::after{display:none}.home-card-quantity select::picker-icon{display:inline-block!important;right:9px!important;width:12px!important;height:12px!important;top:50%!important}.home-card-quantity select>button{padding:0 30px 0 11px!important}}
.home-hero::before{background-image:linear-gradient(90deg,transparent 10%,#ffffff38 28%,#ffffffb3 43%,#ffffffb3 57%,#ffffff38 72%,transparent 90%),url('/home-pattern-c.svg')}

/* Keep the compact shared dropdown legible on touch screens. */
.home-card-quantity.floating-field>.field-caption{max-width:none!important;width:auto!important;right:auto!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
@media(max-width:540px){.home-card-quantity.floating-field{width:132px}}

/* Review: focus follows the visible action surface; quantity stays vertically centered. */
.storefront-body .home-ai-result a.home-card-buy:focus-visible{outline:none!important}
.storefront-body .home-ai-result a.home-card-buy:focus-visible .button-surface{outline:var(--ui-focus-width,2px) solid var(--ui-interaction-color,#ffdf27);outline-offset:var(--ui-focus-offset,2px)}
.storefront-body .home-ai-result .home-card-quantity.floating-field select{padding-block:0!important;line-height:normal!important}
.home-card-quantity select>button{padding-block:0!important;align-items:center!important}
.home-ai-result.home-pri-text>.home-art-comment>.briefing-message{background:#f4f2ed;padding:11px 13px;border-radius:16px 16px 16px 0}

/* The shared button minimum must not enlarge the select internal button. */
.storefront-body .home-card-quantity select>button{height:100%!important;min-height:0!important;max-height:100%!important}
.home-ai-result>.home-art-comment>.briefing-message{background:#f4f2ed;padding:11px 13px;border-radius:16px 16px 16px 0}

/* Approved grouped conversation surface; scoped to Home assistant only. */
.home-r11{--home-chat-surface:#f4f2ed;--home-chat-paper:var(--core-surface,#fff)}
.home-hero [data-home-assistant]{max-width:690px;margin-inline:auto}
.home-conversation-content .briefing-message.customer,.storefront-body .home-upload-open,.storefront-body .home-ai-result .home-product-card--compact,.storefront-body .home-ai-result .home-product-card--compact:is(:hover,:focus-within){background:var(--home-chat-paper,#fff)}
.home-ai-result>.home-pri-avatar{background:var(--home-chat-paper,#fff)}

/* Grouped card no longer uses the legacy edge-to-edge mobile compensation. */
.home-hero [data-home-assistant]>printable-designer-composer{margin-inline:0!important}

/* Rogerio: Pri speaks directly on the grouped surface; only customer messages are bubbles. */
.home-conversation-content .home-ai-result>.home-art-comment>.briefing-message.ai{padding:0;background:transparent;border-radius:0;margin:0}
.home-ai-result>.home-pri-avatar{margin-top:0}

/* Compact chronological chat spacing, without the legacy result padding or empty avatar rows. */
.home-conversation-content{gap:8px}
.home-conversation-turn{display:flex;flex-direction:column;gap:8px}
.home-conversation-content .home-ai-result{padding-block:0;margin-block:0;row-gap:8px}
.home-ai-result>.home-pri-avatar{grid-row:1}
.home-upload-event{margin:0}
.home-conversation-content .home-upload-open{border-radius:15px 15px 0 15px;padding:9px 13px;background:var(--home-chat-paper,#fff);box-shadow:none}

/* Narrow offers keep purchase controls on the right and the price in three lines. */
@media(max-width:540px){.home-ai-result .home-product-card--compact{grid-template-columns:minmax(0,1fr) 112px;gap:6px 8px}.home-ai-result .home-product-card--compact h3{grid-column:1/-1;grid-row:1}.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:2;width:56px;max-width:56px;justify-self:start}.home-ai-result .home-product-card--compact .home-card-price{grid-column:1;grid-row:3;padding:0;align-self:start}.home-ai-result .home-product-card--compact .home-card-footer{grid-column:2;grid-row:2 / span 2;align-self:center;margin:0;gap:4px}.home-card-quantity.floating-field{width:112px}.home-ai-result .home-card-price .retail-price{gap:2px}.home-ai-result .home-card-price .retail-price-before{display:flex;flex-wrap:nowrap;gap:3px;font-size:9px;white-space:nowrap}.home-ai-result .home-card-price .retail-discount{font-size:9px}.home-ai-result .home-card-price .retail-price-main{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.home-ai-result .home-card-price .retail-price-main>strong{font-size:18px!important}.home-ai-result .home-card-price .retail-pix{font-size:9px;white-space:nowrap}.storefront-body .home-ai-result a.home-card-buy .button-surface{padding-inline:6px;font-size:11px;gap:4px}}

/* Narrow card: image, three-line price, then quantity/purchase actions. */
@media(max-width:540px){.home-ai-result .home-product-card--compact{grid-template-columns:44px minmax(0,1fr) 100px;gap:6px;padding:8px}.home-ai-result .home-product-card--compact h3{grid-column:1/-1;grid-row:1}.home-ai-result .home-product-card--compact .home-product-visual{grid-column:1;grid-row:2;width:44px;max-width:44px;align-self:center}.home-ai-result .home-product-card--compact .home-card-price{grid-column:2;grid-row:2;align-self:center}.home-ai-result .home-product-card--compact .home-card-footer{grid-column:3;grid-row:2;align-self:center}.home-card-quantity.floating-field{width:100px}.storefront-body .home-ai-result .home-card-quantity.floating-field select{font-size:11px!important;padding-inline:6px 20px!important}.home-card-quantity select>button{padding-inline:6px 20px!important}.storefront-body .home-ai-result a.home-card-buy .button-surface{font-size:10px;padding-inline:4px;gap:3px}.storefront-body .home-ai-result a.home-card-buy .button-surface svg{width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important;flex-basis:11px!important}.home-ai-result .home-card-price .retail-price-main>strong{font-size:16px!important}}
@media(max-width:360px){.home-ai-result .home-product-card--compact{grid-template-columns:32px minmax(0,1fr) 88px;gap:4px;padding:6px}.home-ai-result .home-product-card--compact .home-product-visual{width:32px;max-width:32px}.home-card-quantity.floating-field{width:88px}.home-ai-result .home-card-price .retail-price-before,.home-ai-result .home-card-price .retail-discount,.home-ai-result .home-card-price .retail-pix{font-size:8px}.home-ai-result .home-card-price .retail-price-main>strong{font-size:14px!important}}

/* Keep all three compact columns inside the 320px viewport. */
@media(max-width:360px){.home-ai-result .home-card-price .retail-price-before del{font-size:8px!important}.home-ai-result .home-card-price .retail-discount{padding-inline:2px!important}.storefront-body .home-ai-result a.home-card-buy .button-surface{font-size:9px;padding-inline:2px;gap:2px}.storefront-body .home-ai-result .home-card-quantity.floating-field select{font-size:10px!important;padding-inline:4px 16px!important}.home-card-quantity select>button{font-size:10px!important;padding-inline:4px 16px!important}}

/* Larger artwork where the offer has room; price rests on the artwork baseline. */
@media(min-width:400px) and (max-width:540px){.home-ai-result .home-product-card--compact{grid-template-columns:80px minmax(0,1fr) 100px}.home-ai-result .home-product-card--compact .home-product-visual{width:80px;max-width:80px;align-self:end}.home-ai-result .home-product-card--compact .home-card-price{align-self:end;padding-bottom:0}}
@media(min-width:541px){.home-ai-result .home-product-card--compact{grid-template-columns:144px minmax(0,1fr)}.home-ai-result .home-product-card--compact .home-product-visual{width:144px;max-width:144px;align-self:end}.home-ai-result .home-product-card--compact .home-product-details{min-height:144px}.home-ai-result .home-product-card--compact .home-card-price{align-self:end;padding-bottom:0}}

/* Restore the approved desktop preview size; retain the narrower offer improvement. */
@media(min-width:541px){.home-ai-result .home-product-card--compact{grid-template-columns:104px minmax(0,1fr)}.home-ai-result .home-product-card--compact .home-product-visual{width:104px;max-width:104px;align-self:center}.home-ai-result .home-product-card--compact .home-product-details{min-height:0}.home-ai-result .home-product-card--compact .home-card-price{padding-bottom:6px}}
