.breadcrumbs {
    margin-top: 0;
}

/* =========================
   Decoration Gallery (/decoration/, no ?type=)
   ========================= */
.decoration-gallery {
    padding: 24px 0 60px;
}

.decoration-gallery__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.decoration-gallery__intro h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--roxo-vivo, var(--azul));
    margin-bottom: 12px;
}

.decoration-gallery__intro p {
    font-size: 16px;
    color: #666;
}

/* Row gap bigger than the column gap: the cap photo pokes out above and
   below its card (.has-cutout), so rows need the extra room. */
.decoration-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 36px;
}

/* Horizontal card: photo flush against the card's own edge (left/top/
   bottom — the card's border-radius + overflow:hidden clips it to match),
   name right after with just enough gap to read as "next to", not floating
   in the middle of empty space. */
.decoration-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e4e4ef;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.decoration-card__photo-wrap {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
}

.decoration-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.decoration-card__label {
    padding-right: 16px;
    font-size: 17px;
    font-weight: bold;
    color: #2b2b40;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Hover "extends" the photo — it zooms in within its frame and the whole
   card lifts slightly, instead of a flat crossfade. */
.decoration-card:hover,
.decoration-card:focus-visible {
    border-color: var(--roxo-acento, var(--azul));
    box-shadow: 0 12px 28px rgba(52, 31, 195, 0.14);
    transform: translateY(-3px);
}

.decoration-card:hover .decoration-card__photo,
.decoration-card:focus-visible .decoration-card__photo {
    transform: scale(1.18);
}

/* No real hover on touch devices — tapping toggles the same "extended"
   state via .is-active (see the inline script below) instead. */
.decoration-card.is-active {
    border-color: var(--roxo-acento, var(--azul));
    box-shadow: 0 12px 28px rgba(52, 31, 195, 0.14);
}

.decoration-card.is-active .decoration-card__photo {
    transform: scale(1.18);
}

.decoration-card:focus-visible {
    outline: 2px solid var(--azul);
    outline-offset: 3px;
}

/* Cutout photo (transparent background, img/decoration/card/): the whole
   cap shows (contain, no crop) and it spills a few px past the card's top,
   bottom and left edge instead of being clipped to it. */
.decoration-card.has-cutout {
    overflow: visible;
    min-height: 110px;
}

.decoration-card.has-cutout .decoration-card__photo-wrap {
    position: relative;
    width: 124px;
    height: auto;
    align-self: stretch;
}

.decoration-card.has-cutout .decoration-card__photo {
    position: absolute;
    top: -14px;
    left: -12px;
    width: calc(100% + 12px);
    height: calc(100% + 28px);
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(43, 43, 64, 0.18));
    transform-origin: 50% 85%;
}

.decoration-card.has-cutout:hover .decoration-card__photo,
.decoration-card.has-cutout:focus-visible .decoration-card__photo,
.decoration-card.has-cutout.is-active .decoration-card__photo {
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .decoration-gallery {
        padding: 34px 0 40px;
    }
    .decoration-gallery__intro h1 {
        font-size: 26px;
    }
    .decoration-gallery__grid {
        /* Still 2 up on mobile, matching the desktop layout — just smaller. */
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 12px;
    }
    .decoration-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .decoration-card__photo-wrap {
        width: 100%;
        height: 120px;
    }
    .decoration-card__label {
        padding: 0 10px 10px;
        font-size: 13px;
    }
    /* Stacked card: the cap only spills over the top edge. */
    .decoration-card.has-cutout .decoration-card__photo-wrap {
        width: 100%;
        height: 120px;
        align-self: auto;
    }
    .decoration-card.has-cutout .decoration-card__photo {
        top: -16px;
        left: 0;
        width: 100%;
        height: calc(100% + 16px);
    }
}

/* =========================
   Decoration Listing (/decoration/?type=<slug>)
   ========================= */
.decoration-listing__banner {
    position: relative;
}

.decoration-listing__banner img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.decoration-listing__banner-scrim {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(9, 1, 61, 0.82) 0%, rgba(9, 1, 61, 0.45) 55%, rgba(9, 1, 61, 0.15) 100%);
}

.decoration-listing__eyebrow {
    display: block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.75;
    margin-bottom: 10px;
}

.decoration-listing__banner-scrim h1 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.decoration-listing__banner-scrim p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.decoration-listing .produtos-toolbar {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 30px 0 24px;
}

.decoration-listing .produtos-toolbar__title {
    font-size: 20px;
    font-weight: bold;
    color: var(--azul);
    margin: 0;
}

.decoration-listing .produtos-count {
    font-size: 14px;
    color: #8a8a99;
}

@media (max-width: 768px) {
    .decoration-listing__banner img {
        height: 280px;
    }
    .decoration-listing__banner-scrim {
        background: linear-gradient(180deg, rgba(9, 1, 61, 0.35) 0%, rgba(9, 1, 61, 0.85) 100%);
        align-items: flex-end;
    }
    .decoration-listing__banner-scrim .container {
        padding-bottom: 20px;
    }
    .decoration-listing__banner-scrim h1 {
        font-size: 26px;
    }
    .decoration-listing__banner-scrim p {
        font-size: 14px;
    }
}

/* Lead Time */
.decoration__leadtime {
    border-top: 1px solid #eee;
    padding: 30px 0 40px;
}

.leadtime__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.leadtime__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 28px;
    border-right: 1px solid #e8e8e8;
}

.leadtime__card:first-child {
    padding-left: 0;
}

.leadtime__card:last-child {
    border-right: none;
}

.leadtime__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: .85;
}

.leadtime__icon i {
    font-size: 14px;
    color: #fff;
}

.leadtime__icon--orange {
    background: var(--azul);
}

.leadtime__icon--light {
    background: var(--azul);
}

.leadtime__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.leadtime__body strong {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--azul);
    display: flex;
    align-items: center;
    gap: 6px;
}

.leadtime__body strong em {
    font-style: normal;
    font-size: 10px;
    background: var(--azul);
    color: #fff;
    padding: 1px 6px;
    border-radius: 20px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 600;
    opacity: .85;
}

.leadtime__body span {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.leadtime__body span b {
    color: var(--azul);
    font-weight: 700;
}

.leadtime__body small {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
}

.leadtime__card--cta .leadtime__body strong {
    color: var(--azul);
}

.leadtime__card--cta a {
    font-size: 12px;
    color: var(--azul);
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s;
}

.leadtime__card--cta a:hover {
    opacity: .75;
}

/* Anchor nav */
.decoration__nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px #eee solid;
    padding: 10px 0;
}

.decoration__anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.decoration__anchors a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--azul);
    padding: 5px 12px;
    border: 1px var(--azul) solid;
    border-radius: 20px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.decoration__anchors a:hover,
.decoration__anchors a.active {
    background: var(--azul);
    color: #fff;
}

/* scroll-margin so sticky nav doesn't cover the title */
.decoration__content h3[id] {
    scroll-margin-top: 80px;
}


.decoration__content .images {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 300px;
    margin-bottom: 50px;
}

.decoration__content h3 {
    font-size: 18px;
    text-transform: uppercase;
    color: var(--azul);
    font-weight: bold;
    margin-bottom: 15px;
}

.decoration__content p {
    margin-bottom: 30px;
}

