.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gallery-page{background:#fff7eb}.gallery-page .site-header{position:fixed}.gallery-hero{padding:150px 0 82px;background:linear-gradient(115deg,#fff7eb 0%,#fff7eb 63%,#f5dfc4 63%,#f8ead8 100%);overflow:hidden}.gallery-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.gallery-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:34px;color:#835816;font-size:.82rem;font-weight:700}.gallery-hero .eyebrow{display:flex;width:max-content}.gallery-hero h1{max-width:790px;font-size:clamp(3rem,5.4vw,5.25rem);margin-bottom:22px}.gallery-hero p{max-width:720px;color:var(--muted);font-size:1.08rem}.gallery-hero-mark{height:390px;display:grid;place-items:center;position:relative}.gallery-hero-mark::before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;border:1px solid rgba(166,110,30,.25)}.gallery-hero-mark img{position:relative;width:270px;height:330px;object-fit:contain;filter:drop-shadow(0 20px 30px rgba(44,44,44,.14))}.gallery-content{padding:95px 0 115px}.gallery-toolbar{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}.gallery-toolbar h2{font-size:clamp(2.4rem,4vw,3.7rem);margin:0}.gallery-toolbar .eyebrow{margin-bottom:10px}.gallery-search{width:min(390px,100%);height:54px;display:flex;align-items:center;gap:11px;padding:0 18px;border:1px solid var(--border);border-radius:999px;background:#fff;box-shadow:0 10px 30px rgba(44,44,44,.05)}.gallery-search svg{color:#91611b;flex:none}.gallery-search input{width:100%;border:0;outline:0;background:transparent;font-size:.9rem}.filter-row{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.filter-button{padding:10px 16px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:.78rem;font-weight:700;transition:.2s}.filter-button:hover,.filter-button.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.gallery-count{margin:0 0 24px;color:var(--muted);font-size:.82rem}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.gallery-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:#fff;transition:transform .25s,box-shadow .25s}.gallery-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.gallery-card-image{height:235px;width:100%;display:grid;place-items:center;border:0;border-bottom:1px solid rgba(44,44,44,.08);background:#f7f4ef;padding:0;overflow:hidden}.gallery-card-image img{width:100%;height:100%;object-fit:contain;padding:16px;transition:transform .35s}.gallery-card:hover .gallery-card-image img{transform:scale(1.035)}.gallery-card-image img.catalog-page{object-position:top;padding:0}.gallery-card-body{padding:22px}.gallery-card-category{display:block;margin-bottom:7px;color:#95631b;font-size:.68rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.gallery-card h3{font-size:1.1rem;line-height:1.22;min-height:2.45em;margin-bottom:9px}.gallery-card p{min-height:3.2em;color:var(--muted);font-size:.8rem;line-height:1.55}.gallery-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.gallery-card-code{color:var(--muted);font-size:.7rem}.gallery-card-open{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:#fff;color:#875b19}.gallery-card-open:hover{background:var(--color-accent);border-color:var(--color-accent)}.gallery-empty{padding:70px 20px;text-align:center;border:1px dashed var(--border);border-radius:24px}.gallery-empty svg{width:44px;height:44px;color:#95631b}.gallery-empty h3{margin:16px 0 8px}.gallery-empty p{color:var(--muted)}.gallery-catalog-cta{margin-top:75px;padding:44px 48px;display:flex;justify-content:space-between;align-items:center;gap:40px;border-radius:28px;background:var(--color-surface)}.gallery-catalog-cta h2{font-size:clamp(2rem,3.5vw,3.1rem);margin-bottom:12px}.gallery-catalog-cta p{margin:0;color:var(--muted)}.gallery-catalog-cta>div:last-child{display:flex;gap:11px;flex-wrap:wrap;justify-content:flex-end}.product-dialog{width:min(900px,calc(100% - 30px));padding:0;border:0;border-radius:28px;color:var(--color-primary);box-shadow:0 30px 90px rgba(0,0,0,.3);overflow:hidden}.product-dialog::backdrop{background:rgba(20,20,20,.7);backdrop-filter:blur(4px)}.dialog-close{position:absolute;z-index:2;right:18px;top:18px;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.12)}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;min-height:520px}.dialog-grid>img{width:100%;height:100%;max-height:620px;object-fit:contain;background:#f5f1ea;padding:26px}.dialog-grid>div{padding:70px 48px 45px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.dialog-grid h2{font-size:2.4rem}.dialog-grid p{color:var(--muted)}.dialog-code{font-size:.8rem;font-weight:700}.dialog-grid .button{margin-top:15px}.gallery-page .back-top{opacity:1;pointer-events:auto;transform:none}
@media(max-width:1050px){.gallery-grid{grid-template-columns:repeat(3,1fr)}.gallery-hero-grid{grid-template-columns:1fr .55fr;gap:35px}}
@media(max-width:820px){.gallery-hero{padding-top:120px;background:#fff7eb}.gallery-hero-grid{grid-template-columns:1fr}.gallery-hero-mark{display:none}.gallery-toolbar{align-items:flex-start;flex-direction:column}.gallery-search{width:100%}.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-catalog-cta{align-items:flex-start;flex-direction:column}.gallery-catalog-cta>div:last-child{justify-content:flex-start}.dialog-grid{grid-template-columns:1fr;max-height:90vh;overflow:auto}.dialog-grid>img{height:330px}.dialog-grid>div{padding:38px 28px}.dialog-grid h2{font-size:2rem}}
@media(max-width:560px){.gallery-hero{padding:112px 0 60px}.gallery-hero h1{font-size:3rem}.gallery-content{padding:70px 0 90px}.filter-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;margin-right:-14px}.filter-button{flex:none}.gallery-grid{grid-template-columns:1fr}.gallery-card-image{height:285px}.gallery-catalog-cta{padding:32px 24px}.gallery-catalog-cta .button{width:100%}.dialog-grid>img{height:270px}}

/* Hero do portfólio alinhada à identidade da página inicial */
.gallery-hero{min-height:820px;padding:calc(var(--header-h) + 70px) 0 72px;display:flex;align-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 78% 44%,rgba(236,182,95,.23),transparent 31%),#fff8ee}
.gallery-hero::before,.gallery-hero::after{content:"";position:absolute;border:1px solid rgba(236,182,95,.24);border-radius:50%;pointer-events:none}
.gallery-hero::before{width:440px;height:440px;right:-190px;top:105px}
.gallery-hero::after{width:210px;height:210px;left:-125px;bottom:-90px}
.gallery-hero-grid{grid-template-columns:1.03fr .97fr;gap:clamp(52px,7vw,92px)}
.gallery-hero-copy{position:relative;z-index:1}
.gallery-back{display:flex;width:max-content;margin-bottom:18px}
.gallery-hero .eyebrow{display:flex;width:max-content;margin-bottom:22px}
.gallery-hero h1{max-width:740px;margin-bottom:25px;font-size:clamp(3.15rem,5.6vw,5.65rem);line-height:.99;letter-spacing:-.046em}
.gallery-hero h1 em{color:#a66e1e;font-weight:600}
.gallery-hero p{max-width:650px;margin:0;color:#725f53;font-size:1.08rem;line-height:1.72}
.gallery-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0 0}
.gallery-hero-actions .button{display:inline-flex;align-items:center;gap:9px}
.gallery-hero-actions svg{width:17px;height:17px}
.gallery-hero-notes{list-style:none;padding:0;margin:25px 0 0;display:flex;flex-wrap:wrap;gap:12px 25px;font-size:.78rem;font-weight:600}
.gallery-hero-notes li{display:flex;align-items:center;gap:8px}
.gallery-hero-notes svg{width:18px;height:18px;color:#a66e1e}
.gallery-hero-visual{position:relative}
.gallery-hero-card{position:relative;min-height:625px;padding:30px 30px 27px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid rgba(199,143,58,.34);border-radius:34px;background:rgba(255,252,247,.86);box-shadow:0 30px 80px rgba(57,38,16,.13);backdrop-filter:blur(8px)}
.gallery-hero-card::before{content:"";position:absolute;width:390px;height:390px;top:102px;left:50%;transform:translateX(-50%);border:1px solid rgba(199,143,58,.18);border-radius:50%;pointer-events:none}
.gallery-hero-label{position:relative;z-index:2;font-size:.69rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#8f621e}
.gallery-hero-card>img{position:relative;z-index:1;width:100%;height:480px;object-fit:contain;border-radius:23px;filter:drop-shadow(0 18px 24px rgba(45,28,8,.12))}
.gallery-hero-banner>img{object-fit:cover;object-position:center;border:1px solid rgba(199,143,58,.2);box-shadow:0 20px 42px rgba(57,38,16,.13);filter:none}
.gallery-hero-values{position:relative;z-index:2;width:100%;padding-top:22px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(70,51,34,.15);text-align:center}
.gallery-hero-values span{padding:0 8px;font-size:.6rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#665b53}
.gallery-hero-values span+span{border-left:1px solid rgba(70,51,34,.15)}
@media(max-width:900px){.gallery-hero{min-height:auto;padding-top:130px;background:radial-gradient(circle at 50% 76%,rgba(236,182,95,.18),transparent 30%),#fff8ee}.gallery-hero-grid{grid-template-columns:1fr;gap:48px}.gallery-hero-copy{text-align:center}.gallery-hero-copy h1,.gallery-hero-copy p{margin-inline:auto}.gallery-hero .eyebrow{display:inline-flex}.gallery-back{display:flex;width:max-content;margin-inline:auto}.gallery-hero-actions,.gallery-hero-notes{justify-content:center}.gallery-hero-visual{display:block;width:min(650px,100%);margin-inline:auto}.gallery-hero-card{min-height:610px}}
@media(max-width:600px){.gallery-hero{padding:112px 0 64px}.gallery-hero h1{font-size:clamp(2.85rem,13vw,4rem)}.gallery-hero p{font-size:.96rem}.gallery-hero-actions{flex-direction:column}.gallery-hero-actions .button{width:100%;justify-content:center}.gallery-hero-notes{display:grid;text-align:left}.gallery-hero-card{min-height:475px;padding:22px 17px 20px;border-radius:24px}.gallery-hero-card::before{width:280px;height:280px;top:92px}.gallery-hero-card>img{height:345px;border-radius:17px}.gallery-hero-values span{font-size:.51rem;letter-spacing:.03em;padding-inline:4px}}

/* Seleção editorial de produtos em destaque */
.gallery-featured{position:relative;overflow:hidden;padding:76px 0 82px;background:linear-gradient(180deg,#f8ecdc 0%,#fff8ed 100%)}
.gallery-featured::before{content:"";position:absolute;width:460px;height:460px;right:-270px;bottom:-280px;border:1px solid rgba(173,115,31,.18);border-radius:50%}
.gallery-featured .section-heading{max-width:850px;margin-bottom:38px}
.featured-editorial-grid{position:relative;display:grid;grid-template-columns:1.14fr .86fr;grid-template-rows:repeat(2,minmax(335px,1fr));gap:18px}
.featured-product{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(166,110,30,.25);border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 18px 50px rgba(57,38,16,.07);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.featured-product:hover{transform:translateY(-5px);border-color:rgba(166,110,30,.46);box-shadow:0 28px 65px rgba(57,38,16,.13)}
.featured-product-main{grid-row:1/3;display:grid;grid-template-rows:minmax(350px,1.2fr) auto}
.featured-product-side{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(190px,1.15fr) auto;min-height:0}
.featured-product-media{position:relative;min-width:0;overflow:hidden;background:linear-gradient(145deg,#fff,#f7f1e8)}
.featured-product-media::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);pointer-events:none}
.featured-product-media img{width:100%;height:100%;object-fit:contain;padding:clamp(20px,3vw,38px);transition:transform .45s cubic-bezier(.22,.61,.36,1)}
.featured-product:hover .featured-product-media img{transform:scale(1.045)}
.featured-badge{position:absolute;z-index:2;left:24px;top:24px;display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:rgba(37,36,34,.92);color:#fff;font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 10px 25px rgba(0,0,0,.16)}
.featured-badge svg{width:15px;height:15px;color:#efb855}
.featured-index{position:absolute;z-index:2;right:18px;top:12px;color:rgba(143,98,30,.22);font-family:var(--font-title);font-size:2rem;font-weight:700}
.featured-product-content{padding:30px 32px 29px;display:flex;flex-direction:column;align-items:flex-start}
.featured-product-main .featured-product-content{padding:27px 34px 29px}
.featured-product-category{margin-bottom:10px;color:#95631b;font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.featured-product h3{margin-bottom:12px;font-size:clamp(1.35rem,2.1vw,2rem);line-height:1.12}
.featured-product p{margin:0;color:#725f53;font-size:.84rem;line-height:1.62}
.featured-product-media-contain{background:linear-gradient(145deg,#fff 0%,#f8f3eb 100%)}
.featured-product-media-contain img{object-fit:contain;padding:54px 34px 32px}
.featured-product-media-cover img{object-fit:cover;padding:0}
.featured-product-specs{display:grid;gap:10px;margin:0;padding:0;list-style:none;color:#725f53;font-size:.78rem}
.featured-product-specs li{display:flex;align-items:center;gap:9px;line-height:1.45}
.featured-product-specs svg{width:16px;height:16px;flex:none;color:#a66e1e}
.featured-product-specs strong{color:#42372f;font-weight:700}
.featured-product-footer{width:100%;margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.featured-product-footer>span{display:flex;align-items:center;gap:7px;color:#725f53;font-size:.69rem;font-weight:600}
.featured-product-footer>span svg{width:16px;height:16px;color:#a66e1e}
.featured-product-link{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:50%;background:#efb855;color:#292826;transition:transform .25s,background .25s}
.featured-product-link svg{width:18px;height:18px}
.featured-product-link:hover{transform:rotate(8deg) scale(1.07);background:#e1a13c}
.featured-product-side .featured-product-content{padding:17px 23px 19px}
.featured-product-side h3{font-size:1.35rem}
.featured-product-side .featured-product-footer{padding-top:14px}
.featured-product-technical h3{font-size:1.18rem}
.featured-product-technical .featured-product-specs{gap:6px;font-size:.69rem}
.featured-product-technical .featured-product-specs svg{width:14px;height:14px}
.featured-product-technical .featured-product-footer{padding-top:12px}
@media(max-width:980px){.featured-editorial-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.featured-product-main{grid-column:1/-1;grid-row:auto;grid-template-columns:1.05fr .95fr;grid-template-rows:none}.featured-product-main .featured-product-media{min-height:380px}.featured-product-side{grid-template-columns:1fr;grid-template-rows:260px auto}.featured-product-side .featured-product-content{min-height:275px}}
@media(max-width:680px){.gallery-featured{padding:75px 0 82px}.gallery-featured .section-heading{margin-bottom:36px}.featured-editorial-grid{grid-template-columns:1fr}.featured-product-main,.featured-product-side{grid-column:auto;display:grid;grid-template-columns:1fr;grid-template-rows:300px auto}.featured-product-main .featured-product-media{min-height:0}.featured-product-main .featured-product-content,.featured-product-side .featured-product-content{min-height:270px;padding:27px 25px}.featured-product{border-radius:23px}.featured-badge{left:18px;top:18px}.featured-product h3,.featured-product-side h3{font-size:1.45rem}}

/* Prévia navegável do catálogo */
.catalog-preview{margin-top:75px;padding:58px clamp(18px,5vw,68px) 52px;border:1px solid rgba(166,110,30,.2);border-radius:32px;background:linear-gradient(145deg,#fff1de 0%,#ffead0 100%);text-align:center;overflow:hidden}
.catalog-preview-heading{max-width:760px;margin:0 auto 34px}.catalog-preview-heading .eyebrow{justify-content:center;margin-inline:auto}.catalog-preview-heading h2{margin:10px 0 13px;font-size:clamp(2.1rem,4vw,3.55rem)}.catalog-preview-heading p{margin:0;color:#725f53}
.catalog-preview-shell{width:min(920px,100%);margin-inline:auto}.catalog-book-meta{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 auto 14px;padding-inline:8px;color:#7a5420;font-size:.84rem;letter-spacing:.08em;text-transform:uppercase}.catalog-book-meta span{color:#87776b;letter-spacing:0}
.catalog-book-stage{position:relative;padding:12px 18px 34px;perspective:1800px}.catalog-book-stage::after{content:"";position:absolute;left:12%;right:12%;bottom:8px;height:26px;border-radius:50%;background:rgba(69,43,17,.22);filter:blur(18px);transform:scaleY(.48);z-index:0}
.catalog-book{position:relative;z-index:1;width:100%;min-height:530px;display:grid;place-items:center;transform-style:preserve-3d;outline:none}.catalog-book:focus-visible{outline:2px solid #a66e1e;outline-offset:7px;border-radius:14px}
.catalog-book-cover{width:min(385px,52%);margin:0;aspect-ratio:.68/1;overflow:hidden;border-radius:7px 16px 16px 7px;background:#111;box-shadow:-5px 9px 0 #e4d4bc,0 28px 48px rgba(58,37,15,.24);transform-origin:left center;backface-visibility:hidden}.catalog-book-cover img,.catalog-book-page img{width:100%;height:100%;display:block;object-fit:cover}
.catalog-book-spread{position:relative;width:min(820px,100%);display:grid;grid-template-columns:1fr 1fr;filter:drop-shadow(0 24px 24px rgba(63,40,17,.18));transform-style:preserve-3d}.catalog-book-spread::after{content:"";position:absolute;top:1%;bottom:1%;left:50%;width:22px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(48,30,12,.12),rgba(255,255,255,.25) 45%,rgba(48,30,12,.11));filter:blur(4px);pointer-events:none;z-index:3}
.catalog-book-page{position:relative;margin:0;aspect-ratio:.707/1;overflow:hidden;background:#fff;backface-visibility:hidden;transform-style:preserve-3d}.catalog-book-page-left{border-radius:14px 2px 2px 14px;transform-origin:right center;box-shadow:inset -12px 0 20px rgba(40,24,8,.06)}.catalog-book-page-right{border-radius:2px 14px 14px 2px;transform-origin:left center;box-shadow:inset 12px 0 20px rgba(40,24,8,.06)}
.catalog-book.is-turning-next .catalog-book-page-right,.catalog-book.is-turning-next .catalog-book-cover{animation:catalogTurnNext .64s cubic-bezier(.55,.08,.35,.98)}.catalog-book.is-turning-prev .catalog-book-page-left,.catalog-book.is-turning-prev .catalog-book-cover{animation:catalogTurnPrev .64s cubic-bezier(.55,.08,.35,.98)}
@keyframes catalogTurnNext{0%{transform:rotateY(0);filter:brightness(1)}48%{filter:brightness(.78)}100%{transform:rotateY(-178deg);filter:brightness(.92)}}@keyframes catalogTurnPrev{0%{transform:rotateY(0);filter:brightness(1)}48%{filter:brightness(.78)}100%{transform:rotateY(178deg);filter:brightness(.92)}}
.catalog-book-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:2px 0 25px}.catalog-preview-arrow{position:static;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(166,110,30,.25);border-radius:50%;background:rgba(255,255,255,.94);color:#835816;box-shadow:0 9px 22px rgba(50,35,17,.1);transition:transform .22s,background .22s}.catalog-preview-arrow:hover{background:#efb855;transform:scale(1.06)}.catalog-preview-arrow:disabled{opacity:.38;cursor:not-allowed;transform:none}.catalog-preview-arrow svg{width:20px;height:20px}.catalog-book-hint{display:flex;align-items:center;gap:8px;color:#735c48;font-size:.85rem}.catalog-book-hint svg{width:17px;height:17px}.catalog-preview-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@media(max-width:780px){.catalog-book{min-height:auto}.catalog-book-stage{padding-inline:0}.catalog-book-cover{width:min(330px,76%)}.catalog-book-spread{width:100%}.catalog-book-page{border-radius:8px}.catalog-book-meta{font-size:.72rem}.catalog-book-stage::after{left:8%;right:8%}}
@media(max-width:600px){.catalog-preview{padding:42px 12px 38px;border-radius:25px}.catalog-preview-heading{margin-bottom:26px}.catalog-book-stage{padding-bottom:25px}.catalog-book-spread{filter:drop-shadow(0 15px 16px rgba(63,40,17,.16))}.catalog-book-controls{gap:11px}.catalog-preview-arrow{width:40px;height:40px}.catalog-book-hint{font-size:.72rem}.catalog-preview-actions .button{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.catalog-book.is-turning-next .catalog-book-page-right,.catalog-book.is-turning-next .catalog-book-cover,.catalog-book.is-turning-prev .catalog-book-page-left,.catalog-book.is-turning-prev .catalog-book-cover{animation:none}}

/* Navegação completa das categorias */
.filter-row{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:4px 2px 13px;scrollbar-width:thin;scrollbar-color:rgba(149,99,27,.35) transparent}
.filter-row::-webkit-scrollbar{height:5px}.filter-row::-webkit-scrollbar-track{background:transparent}.filter-row::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(149,99,27,.3)}
.filter-button{flex:none;scroll-snap-align:start;white-space:nowrap}
.gallery-featured{padding:76px 0 82px;background:#f8ecdc}.featured-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.featured-products-grid .showcase-card{width:auto;flex:none;transition:transform .25s,box-shadow .25s}.featured-products-grid .showcase-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.featured-products-grid .showcase-card img{object-fit:contain;object-position:center;background:#fff;padding:16px}.featured-products-grid .showcase-card h3{font-size:1.08rem;line-height:1.2;min-height:2.4em}.gallery-content{scroll-margin-top:90px}
@media(max-width:1050px){.featured-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.featured-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gallery-featured{padding:68px 0}.featured-products-grid{grid-template-columns:1fr}.featured-products-grid .showcase-card h3{min-height:0}}
.dialog-grid>img.catalog-page{object-position:top;padding:0}

/* Categorias distribuídas em linhas, com contornos mais delicados */
.filter-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 9px;
  overflow:visible;
  padding:3px 0 12px;
  margin-bottom:16px;
  scroll-snap-type:none;
  scrollbar-width:none;
}
.filter-row::-webkit-scrollbar{display:none}
.filter-button{
  flex:0 0 auto;
  padding:9px 15px;
  border-color:rgba(166,110,30,.22);
  background:rgba(255,255,255,.72);
  box-shadow:0 5px 14px rgba(57,38,16,.025);
  color:#3c3732;
  font-size:.75rem;
  font-weight:650;
}
.filter-button:hover{
  border-color:rgba(166,110,30,.42);
  background:#fffaf3;
  color:#8a5b18;
}
.filter-button.active{
  border-color:#2c2b29;
  background:#2c2b29;
  color:#fff;
  box-shadow:0 7px 18px rgba(44,43,41,.13);
}
@media(max-width:560px){
  .filter-row{margin-right:0;padding-bottom:10px;gap:8px 7px}
  .filter-button{padding:8px 12px;font-size:.7rem}
}

/* Seletor de cores dos produtos */
.product-color-picker{margin-top:14px}
.product-color-label{display:block;margin-bottom:8px;color:#6c6258;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.product-color-swatches{display:flex;flex-wrap:wrap;gap:9px}
.product-color-swatch{width:22px;height:22px;padding:0;border:1px solid rgba(38,35,31,.18);border-radius:5px;background:var(--swatch-color);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.product-color-swatch:hover{transform:translateY(-2px)}
.product-color-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px #a66b14;transform:translateY(-1px)}
.gallery-card-image img[data-product-image],#dialog-image[data-product-image]{transition:filter .3s ease,transform .35s ease}
.product-dialog .product-color-picker{margin:18px 0 4px}
.product-dialog .product-color-swatch{width:25px;height:25px}
@media(max-width:620px){.product-color-swatch{width:25px;height:25px}}

/* Enquadramento das fotos de Sacolas: oculta margens técnicas das imagens de origem. */
.gallery-card[data-category="sacolas"] .gallery-card-image{background:#fff}
.gallery-card[data-category="sacolas"] .gallery-card-image img{object-fit:cover;object-position:center top;padding:0;transform:scale(1.18);transform-origin:center top}
.gallery-card[data-category="sacolas"]:hover .gallery-card-image img{transform:scale(1.22)}
.dialog-grid>img.sacolas-product-image{object-fit:cover;object-position:center top;padding:0;transform:scale(1.12);transform-origin:center top}

/* A foto da Sacola TNT já tem fundo limpo: preserva a peça inteira no card e no modal. */
.gallery-card-image img[data-product-image="08018"]{
  object-fit:contain;
  object-position:center;
  padding:14px;
  transform:none;
}
.gallery-card:hover .gallery-card-image img[data-product-image="08018"]{transform:scale(1.025)}
.dialog-grid>img[data-product-image="08018"]{
  object-fit:contain;
  object-position:center;
  padding:24px;
  transform:none;
}
