/* Detalhes da peça: a mesma identidade editorial da Loja, sem alterar fotografias. */
#product-dialog{width:min(1180px,calc(100% - 36px));max-width:1180px;max-height:calc(100dvh - 36px);padding:0;border-radius:16px;background:#fcfaf6;scroll-padding-top:100px;overscroll-behavior:contain}
#product-dialog .product-dialog-header{display:grid;grid-template-columns:44px 1fr 80px;align-items:center;gap:15px;min-height:86px;padding:5px 24px;background:#000;color:#fff;position:sticky;top:0;z-index:5}
.product-dialog-header .icon-button{width:44px;height:44px;color:#fff;font:32px/1 Arial;border:0;border-radius:50%;background:transparent}.product-dialog-header .icon-button:hover{background:#ffffff20}
.product-dialog-brand{position:relative;display:block;justify-self:center;width:180px;height:74px;overflow:hidden;transform:translateX(18px)}.product-dialog-brand img{position:absolute;top:50%;left:0;transform:translateY(-50%);width:180px;height:180px;max-width:none;object-fit:contain;filter:url(#logo-clear-background)}
.product-header-label{font:10px/1.4 Arial;letter-spacing:1.4px;text-align:right;color:#d6bd85}
#product-dialog .detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:32px;padding:28px}
#product-dialog .detail-visual{position:sticky;top:106px;background:transparent;padding:0;min-width:0}
.detail-photo-frame{background:#f4eee7;border:1px solid #e9e0d4;border-radius:13px;padding:10px;overflow:hidden;box-shadow:0 8px 24px #53412808}
#product-dialog .photo-area{height:min(67dvh,760px);background:#faf7f2;border-radius:7px}
#product-dialog .photo-area:not(.is-zoomed) img{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
#product-dialog .photo-area.is-zoomed img{width:auto;height:auto;max-width:none}
#product-dialog .photo-toolbar{padding:13px 3px 0;gap:10px}#product-dialog .photo-toolbar>span{font-size:10px;white-space:normal;line-height:1.5}#product-dialog .zoom-button{font-size:11px;color:#19533d;gap:8px;min-height:32px;flex-shrink:0}
#product-dialog .photo-thumbnail{border-radius:6px;border-color:#d2b97f;background:#fff;width:48px;height:66px}.detail-photo-caption{text-align:center;font:italic 16px/1.5 Georgia;color:#8c713e;margin:16px 0 0}.detail-photo-caption span{color:#b48a39;margin-right:7px}
#product-dialog .detail-copy{display:block;min-width:0;padding:7px 0 0}
#product-dialog #detail-category{font:600 10px/1.5 Arial;letter-spacing:1.8px;color:#9a762f;text-transform:uppercase}
#product-dialog #detail-title{font:600 clamp(27px,2.7vw,35px)/1.12 Georgia,'Times New Roman',serif;color:#850d21;margin:12px 0;letter-spacing:-.65px;overflow-wrap:anywhere}
.detail-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;padding-bottom:17px}.detail-meta #detail-code{font:11px/1.5 Arial;color:#82786d}.detail-meta .product-rating{font-size:10px}.detail-meta .rating-stars{font-size:17px}
.detail-price-card{padding:20px 22px;border:1px solid #e5d5b6;border-radius:12px;background:linear-gradient(120deg,#f7efdf,#fffaf2);position:relative}
#product-dialog .detail-offer{display:inline-flex;padding:5px 9px;margin:0 0 8px;border:1px solid #decda8;border-radius:20px;background:#fff9eb;color:#886323;font:600 9px/1.4 Arial;letter-spacing:1px}
#product-dialog .detail-price{margin:0}#product-dialog .detail-price .product-price{margin:0;gap:6px 12px;align-items:baseline}#product-dialog .detail-price .price-original{font-size:13px;color:#9e3a43}#product-dialog .detail-price .price-current{font:700 36px/1.2 Arial;color:#19533d;letter-spacing:-1px}
#product-dialog .detail-payment{margin-top:12px}#product-dialog .payment-indicators{gap:8px}#product-dialog .detail-payment .payment-badge{padding:7px 10px;border-radius:6px;font-size:11px;background:#fffdf8}#product-dialog .payment-badge svg{width:18px;height:18px}
.detail-options-card{border:1px solid #e9e1d6;border-radius:12px;background:#fff;padding:20px 22px;margin-top:15px;box-shadow:0 5px 20px #53412804}
#product-dialog .size-selector,#product-dialog .color-selector{margin:0 0 18px;width:100%}#product-dialog .size-selector>p,#product-dialog .color-selector>p:first-child{display:flex;align-items:center;gap:10px;color:#850d21;font:600 17px/1.3 Georgia;margin-bottom:11px}#product-dialog .size-selector>p:after,#product-dialog .color-selector>p:first-child:after{content:'';height:1px;flex:1;background:#dfcc9f}
#product-dialog .size-options{gap:8px}#product-dialog .size-button{min-width:42px;min-height:43px;border-radius:7px;font:13px/1.2 Arial;background:#fff;border-color:#dcd2c4;padding:10px}#product-dialog .size-button[aria-pressed=true]{background:#19533d;border-color:#19533d;color:#fff;box-shadow:0 3px 8px #19533d1c}
#product-dialog .color-option{border-radius:8px;min-height:42px;border-color:#dcd2c4;font-size:11px;padding:9px 11px}#product-dialog .color-option[aria-pressed=true]{background:#edf5f0;border-color:#19533d;box-shadow:inset 0 0 0 1px #19533d}#product-dialog .color-note{font-size:10px;margin:9px 0 0}
#product-dialog #stock-status{display:flex;align-items:center;gap:7px;font:11px/1.5 Arial;color:#19533d;margin:0 0 14px}#stock-status:empty{display:none}#product-dialog #stock-status:not(:empty):before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor}
.detail-purchase-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:13px;border-top:1px solid #ece5da}#product-dialog .product-quantity{display:flex;align-items:center;gap:12px;margin:0;font-size:11px}.product-quantity>label{color:#6f655b}#product-dialog .quantity-stepper{border:1px solid #d7cabb;border-radius:7px;background:#fff}#product-dialog .quantity-stepper button{width:34px;height:40px;font-size:22px}#product-dialog .quantity-stepper input{width:39px;height:40px;font-size:14px}
#product-dialog .detail-subtotal{font:600 12px/1.5 Arial;color:#19533d;margin:0;white-space:normal}
#product-dialog .add-cart-button{display:flex;justify-content:center;align-items:center;gap:11px;min-height:50px;margin-top:17px;border-radius:8px;padding:12px 14px;background:linear-gradient(110deg,#195b47,#15543f);border-color:#19533d;font:14px/1.4 Arial;box-shadow:0 4px 10px #19533d12}#product-dialog .add-cart-button>svg{width:21px;height:21px;flex-shrink:0}#product-dialog .add-cart-button>span{margin-left:auto}#product-dialog .add-cart-button:hover:not(:disabled){background:#123f2f}
#product-dialog .view-cart-button{border-radius:7px;color:#19533d;border-color:#19533d}#product-dialog .add-feedback{font-size:11px;margin-top:9px}
#product-dialog .product-consult{display:flex;justify-content:center;align-items:center;gap:8px;min-height:40px;margin:12px 0 0;padding:5px 0;border:0;color:#19533d;font-size:11px}#product-dialog .product-consult svg{width:18px;height:18px}#product-dialog .whatsapp-note{font-size:10px;line-height:1.6;min-height:0;margin:2px 0 0;text-align:center;color:#7d746a}
.detail-about{margin-top:24px;padding:0 3px}#product-dialog .detail-description-title{display:flex;align-items:center;gap:10px;font:600 23px/1.2 Georgia;color:#850d21;margin:0 0 13px}#product-dialog .detail-description-title:after{content:'';flex:1;height:1px;background:#d8bc80}.detail-description-title svg{width:22px;height:22px;color:#ae873c;flex-shrink:0}#product-dialog .detail-description{font:13px/1.85 Arial;white-space:pre-line;color:#71675c;margin:0}#product-dialog #detail-attributes{font:12px/1.7 Arial;margin-top:14px}#detail-attributes:empty{display:none}
#product-dialog .consult-note{display:flex;align-items:center;gap:12px;margin:17px 0 0;padding:13px;background:#f4efe5;border:1px solid #ebe1ce;border-radius:8px}.consult-note>svg{width:28px;height:28px;color:#a98234;flex-shrink:0}#product-dialog .consult-note b{font:600 16px/1.3 Georgia;color:#850d21}#product-dialog .consult-note p{font:11px/1.6 Arial;margin:3px 0 0;color:#71675c}
#product-dialog .gallery-button{font-size:11px;min-height:38px}
/* Avaliações e perguntas em painéis independentes, com formulários sob demanda. */
#product-dialog .product-community{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px;padding:26px 28px 30px;border-top:1px solid #e2d5bd;background:#f6f1e9}
.community-panel{min-width:0;background:#fffdf9;border:1px solid #e8dece;border-radius:12px;padding:22px;box-shadow:0 5px 20px #53412805}
.community-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.community-heading-art{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border:1px solid #d7bd83;border-radius:50%;background:#faf3e4;color:#aa8130}.community-heading-art svg{width:23px;height:23px}#product-dialog .community-heading h2{font:600 25px/1.15 Georgia;color:#850d21;letter-spacing:-.5px;margin:0 0 5px}#product-dialog .community-intro{font:11px/1.5 Arial;color:#827468}
.community-rating-summary{margin-bottom:13px}.community-rating-summary .product-rating{gap:9px}.community-rating-summary .rating-stars{font-size:23px}.community-empty{font:12px/1.75 Arial;color:#877b6c;padding:17px 14px;background:#f7f3ec;border:1px dashed #ddd0b7;border-radius:8px}
#product-dialog .community-card{padding:16px 0;border-bottom:1px solid #e8dfd2}#product-dialog .community-card h3{font:600 13px/1.5 Arial;color:#423a30;margin-bottom:5px}#product-dialog .community-card p{font-size:12px;color:#71675c}.community-card>strong{display:block;font:600 11px/1.5 Arial;color:#19533d;margin-top:12px}.community-card .store-answer{margin-top:6px}
.community-compose{margin-top:16px}.community-compose>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:12px 14px;min-height:44px;border:1px solid #bba06c;border-radius:7px;background:#fffdf9;color:#19533d;font:12px/1.5 Arial}.community-compose>summary::-webkit-details-marker{display:none}.community-compose>summary:after{content:'＋';font-size:20px;color:#a98234}.community-compose[open]>summary:after{content:'−'}.community-compose>summary:focus-visible{outline:3px solid #19533d;outline-offset:3px}
#product-dialog .community-form{margin:12px 0 0;padding:16px;gap:13px;border-radius:9px;background:#f7f3eb;border-color:#e6dac5}#product-dialog .community-form h3{font:600 22px/1.2 Georgia;color:#850d21;margin:0}#product-dialog .community-form legend{font:12px/1.5 Arial;color:#71675c}#product-dialog .community-form textarea{border-radius:7px;min-height:105px;padding:12px;border-color:#d9cdbb;font:14px/1.6 Arial;resize:vertical;color:#312b24}#product-dialog .community-form textarea:focus-visible{outline:2px solid #19533d;outline-offset:2px}#product-dialog .community-form>label{font:12px/1.5 Arial;color:#71675c}#product-dialog .community-form input[type=file]{width:100%;min-width:0;font:11px/1.5 Arial;color:#827468}#product-dialog .community-form input[type=file]::file-selector-button{border:1px solid #c4ad7a;border-radius:6px;padding:9px 11px;background:#fffaf0;color:#735b28;cursor:pointer;margin-right:8px;font:11px Arial}
#product-dialog .rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:9px}#product-dialog .rating-options label{display:flex;justify-content:center;align-items:center;gap:4px;min-height:42px;padding:7px 3px;border:1px solid #ddd0b7;border-radius:6px;background:#fffdf9;font:12px Arial}#product-dialog .rating-options input{width:13px;height:13px;margin:0;accent-color:#19533d}#product-dialog .rating-options label:has(input:checked){color:#19533d;border-color:#19533d;background:#eaf3ed;box-shadow:inset 0 0 0 1px #19533d}
#product-dialog .community-hint{font:10px/1.7 Arial;color:#8a7b68}#product-dialog .community-form .primary-button{justify-content:center;min-height:44px;border-radius:7px;padding:11px 14px;font-size:12px;background:#19533d;border-color:#19533d}.community-login,.community-status{grid-column:1/-1}.community-login:empty,.community-status:empty{display:none}.community-login{padding:15px 18px;background:#fffbf2;border:1px solid #e2d0aa;border-radius:9px;font:12px/1.8 Arial;color:#71675c}.community-login a{color:#19533d;text-decoration:underline;text-underline-offset:3px}.product-community>.secondary-button{grid-column:1/-1;justify-self:center;border-color:#bba06c;border-radius:7px;font-size:12px}
@media(max-width:800px){#product-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border-radius:0;scroll-padding-top:88px}#product-dialog .product-dialog-header{padding:4px 16px;min-height:80px;grid-template-columns:44px 1fr 44px}.product-dialog-brand{width:166px;height:70px;transform:none}.product-dialog-brand img{width:166px;height:166px}.product-header-label{display:none}#product-dialog .detail-layout{grid-template-columns:1fr;gap:0;padding:0}#product-dialog .detail-visual{position:static;padding:17px 18px 14px;background:#f4efe8}#product-dialog .photo-area{height:min(62dvh,650px)}.detail-photo-frame{max-width:520px;margin:auto;padding:7px;border-radius:10px}#product-dialog .photo-toolbar{max-width:520px;margin:auto}#product-dialog .detail-copy{padding:24px max(20px,calc((100% - 600px)/2)) 22px;background:#fcfaf6}#product-dialog #detail-title{font-size:30px;margin:10px 0 12px}.detail-photo-caption{font-size:15px;margin-top:10px}#product-dialog .product-community{grid-template-columns:1fr;padding:22px 18px;gap:16px}.community-panel{padding:20px}#product-dialog .community-heading h2{font-size:25px}.community-login,.community-status,.product-community>.secondary-button{grid-column:auto}}
@media(max-width:420px){#product-dialog .detail-copy{padding:21px 17px}#product-dialog #detail-title{font-size:28px}.detail-price-card,.detail-options-card{padding:17px}.detail-meta{padding-bottom:14px;gap:6px 9px}#product-dialog .detail-price .price-current{font-size:33px}#product-dialog .detail-price .price-original{font-size:12px}#product-dialog .size-options{gap:6px}#product-dialog .size-button{min-width:37px;min-height:42px;padding:8px}.detail-purchase-row{gap:10px}.detail-purchase-row .detail-subtotal{font-size:11px}#product-dialog .product-community{padding:20px 14px}.community-panel{padding:17px}.community-heading-art{width:37px;height:37px}#product-dialog .community-heading h2{font-size:23px}#product-dialog .community-form{padding:13px}.community-heading{gap:10px}}

/* Espaçamento compacto entre identificação, preço e compra. */
#product-dialog .detail-layout{gap:22px;padding:20px}
#product-dialog #detail-title{font-size:30px;margin:8px 0;line-height:1.12}
#product-dialog .detail-meta{padding-bottom:9px;gap:4px 12px}
#product-dialog .detail-price-card{padding:13px 16px;border-radius:10px}
#product-dialog .detail-offer{margin-bottom:5px;padding:3px 8px;font-size:8px}
#product-dialog .detail-price .price-current{font-size:32px}
#product-dialog .detail-payment{margin-top:7px}
#product-dialog .detail-payment .payment-badge{padding:5px 9px;font-size:10px}
#product-dialog .detail-options-card{padding:14px 16px;margin-top:9px;border-radius:10px}
#product-dialog .size-selector,#product-dialog .color-selector{margin-bottom:12px}
#product-dialog .size-selector>p,#product-dialog .color-selector>p:first-child{font-size:16px;margin-bottom:8px}
#product-dialog .detail-purchase-row{padding-top:9px;gap:8px}
#product-dialog .product-quantity{justify-content:space-between;width:100%}
#product-dialog .add-cart-button{margin-top:11px;min-height:47px}
#product-dialog .product-consult{margin-top:6px;min-height:35px}
#product-dialog .detail-about{margin-top:17px}
#product-dialog .detail-description-title{font-size:22px;margin-bottom:9px}
#product-dialog .photo-toolbar{padding-top:5px}
#product-dialog .stock-notice{display:flex;gap:10px;align-items:center;margin:0 0 11px;padding:10px 12px;background:linear-gradient(110deg,#f4e6c6,#fffaf0);border:1px solid #d9bd80;border-radius:8px;color:#9b762b}
#product-dialog .stock-notice:before{display:none}
.stock-notice-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #c9aa66;border-radius:50%;background:#fff9e9}.stock-notice-icon svg{width:18px;height:18px}
#stock-notice-title{display:block;font:600 17px/1.2 Georgia;color:#825f1b}#stock-notice-copy{display:block;font:10px/1.5 Arial;color:#8a7755;margin-top:3px}
#product-dialog .stock-notice[data-kind=unavailable]{background:#f4f0ea;border-color:#dfd4c4}.stock-notice[data-kind=unavailable] #stock-notice-title{color:#6a5d4c}
@media(max-width:800px){#product-dialog .detail-layout{padding:0;gap:0}#product-dialog .detail-visual{padding:10px 15px 7px}#product-dialog .detail-copy{padding:14px max(17px,calc((100% - 600px)/2)) 18px}#product-dialog #detail-title{font-size:26px;margin:7px 0}#product-dialog .photo-toolbar{padding-top:4px}#product-dialog .detail-meta{padding-bottom:8px}#product-dialog .product-community{padding:18px 14px}}
@media(max-width:420px){#product-dialog #detail-title{font-size:25px}#product-dialog .detail-copy{padding:13px 15px 17px}#product-dialog .detail-price-card,#product-dialog .detail-options-card{padding:12px 14px}#product-dialog .detail-price .price-current{font-size:30px}#product-dialog .detail-price .price-original{font-size:12px}}
/* Preço e seleção formam um único bloco compacto de compra. */
#product-dialog .detail-price-card{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;padding:10px 12px;border-bottom:0;border-radius:9px 9px 0 0}
#product-dialog .detail-price{order:0;flex:1;min-width:170px}#product-dialog .detail-offer{order:1;margin:0;font-size:7px;letter-spacing:.5px;padding:3px 6px}#product-dialog .detail-payment{order:2;flex-basis:100%;margin:0}#product-dialog .detail-price .price-current{font-size:28px}#product-dialog .detail-price .price-original{font-size:11px}#product-dialog .detail-price .product-price{gap:4px 8px}
#product-dialog .detail-options-card{margin:0;padding:10px 12px 11px;border-radius:0 0 9px 9px;border-color:#e5d5b6;box-shadow:none}#product-dialog .detail-meta{padding-bottom:5px}#product-dialog #detail-title{margin:5px 0;font-size:26px}#product-dialog .size-selector,#product-dialog .color-selector{margin-bottom:9px}#product-dialog .size-selector>p,#product-dialog .color-selector>p:first-child{font-size:15px;margin-bottom:6px}#product-dialog .detail-purchase-row{padding-top:7px}#product-dialog .add-cart-button{margin-top:8px}#product-dialog .product-consult{margin-top:4px}#product-dialog .whatsapp-note{font-size:9px}#product-dialog .detail-visual{padding-bottom:4px}#product-dialog .zoom-button{min-height:26px}#product-dialog .photo-toolbar{padding-top:2px}
@media(max-width:800px){#product-dialog .detail-copy{padding-top:10px}#product-dialog #detail-title{font-size:23px}#product-dialog #detail-category{font-size:9px}#product-dialog .detail-layout{gap:0}#product-dialog .detail-meta .rating-stars{font-size:15px}}

/* Recomendações com fotos originais inteiras e passagem suave do mesmo trilho dos destaques. */
#product-dialog .photo-toolbar{justify-content:flex-end}
#product-dialog .photo-toolbar>span{margin-right:auto}
#product-dialog .product-recommendations{--featured-columns:3;--featured-gap:18px;padding:22px 24px 25px;border-top:1px solid #e2d5bd;background:#fcfaf6;min-width:0}
.recommendations-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:17px}
#product-dialog .recommendations-heading h2{font:600 27px/1.15 Georgia,'Times New Roman',serif;color:#850d21;letter-spacing:-.5px;margin:0}
#product-dialog .recommendations-heading .featured-navigation{margin:0;flex-shrink:0;gap:6px}
#product-dialog .recommendations-heading button{width:40px;height:40px;background:#fffdf9}
#recommended-products>.product-card{display:block;border:1px solid #e8dece;border-radius:10px;background:#fff;overflow:hidden}
#recommended-products .product-open{display:flex;flex-direction:column;width:100%;height:100%;padding:0;background:transparent;text-align:left}
#recommended-products .product-photo{height:270px;aspect-ratio:auto;width:100%;border-radius:0;background:#f6f1e9;overflow:hidden}
#recommended-products .product-photo img{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
#recommended-products .product-info{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:6px;padding:12px}
#recommended-products .product-category{font:8px/1.5 Arial;letter-spacing:.5px;color:#9a762f}
#recommended-products .product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;min-height:2.8em;font:14px/1.4 Arial;color:#312b25}
#recommended-products .card-price{margin:0 0 3px;gap:3px}
#recommended-products .price-current{font:700 19px/1.25 Arial;letter-spacing:-.5px}
#recommended-products .price-original{font:10px/1.4 Arial}
#recommended-products .product-link{margin-top:auto;min-height:40px;padding:9px 11px;font:12px/1.4 Arial}
#recommended-products .product-open:focus-visible{outline:3px solid #19533d;outline-offset:-3px}
@media(max-width:800px){#product-dialog .product-recommendations{--featured-columns:2;--featured-gap:12px;padding:18px 15px 20px}#product-dialog .recommendations-heading h2{font-size:23px}.recommendations-heading{margin-bottom:13px;gap:10px}#recommended-products .product-photo{height:clamp(190px,48vw,270px)}}
@media(max-width:420px){#product-dialog .recommendations-heading h2{font-size:21px}#product-dialog .recommendations-heading button{width:34px;height:36px}#recommended-products .product-info{padding:9px;gap:5px}#recommended-products .product-title{font-size:12px}#recommended-products .price-current{font-size:16px}#recommended-products .product-category{font-size:7px}#recommended-products .product-link{font-size:11px}}
