/* ==========================================================================
   Catálogo Online — Bruna Santos
   Paleta reaproveitada do site principal (../index.html):
   marrom escuro #473c38 | dourado #b29049 | bege #c2b19c |
   amarelo suave #d9c66b | fundo #f0f1f0
   ========================================================================== */

:root {
    --brown: #473c38;
    --gold: #b29049;
    --beige: #c2b19c;
    --soft-yellow: #d9c66b;
    --bg: #f0f1f0;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(71, 60, 56, 0.12);
    --shadow-strong: 0 20px 45px rgba(71, 60, 56, 0.25);
}

* {
    box-sizing: border-box;
}

.catalogo-body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--brown);
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.catalogo-body h1,
.catalogo-body h2,
.catalogo-body h3,
.catalogo-body h4 {
    font-family: 'Playfair Display', serif;
}

/* ---------------------------- Background blobs --------------------------- */

.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    opacity: 0.12;
    color: var(--gold);
    animation: floatBlob 18s ease-in-out infinite;
}

.blob-1 {
    top: -140px;
    right: -160px;
    color: var(--beige);
    opacity: 0.35;
    animation-duration: 22s;
}

.blob-2 {
    bottom: -180px;
    left: -160px;
    color: var(--soft-yellow);
    opacity: 0.22;
    animation-duration: 26s;
    animation-direction: reverse;
}

.blob-ring {
    width: 340px;
    height: 340px;
    top: 12%;
    left: -120px;
    color: var(--gold);
    opacity: 0.25;
    animation-duration: 30s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(20px, -25px) rotate(8deg) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) rotate(-6deg) scale(0.98);
    }
}

/* --------------------------------- Top bar -------------------------------- */

.top-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(71, 60, 56, 0.92);
    backdrop-filter: blur(6px);
    color: var(--white);
}

.top-bar-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.top-bar-back:hover {
    opacity: 1;
    transform: translateX(-3px);
    color: var(--soft-yellow);
}

.top-bar-logo img {
    height: 34px;
}

.top-bar-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 1.05rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 0 rgba(178, 144, 73, 0.6);
    animation: pulseSoft 2.6s ease-in-out infinite;
}

.top-bar-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes pulseSoft {
    0% {
        box-shadow: 0 0 0 0 rgba(178, 144, 73, 0.45);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(178, 144, 73, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(178, 144, 73, 0);
    }
}

/* -------------------------------- Cover / Hero ---------------------------- */

.cover-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 36px;
    text-align: center;
}

.cover-kicker {
    display: inline-block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
}

.cover-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 56rem;
    margin: 0 auto 10px;
    background: linear-gradient(100deg, var(--brown) 30%, var(--gold) 60%, var(--soft-yellow) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cover-subtitle {
    max-width: 56rem;
    margin: 0 auto 8px;
    padding: 0 8px;
    font-size: 1rem;
    color: rgba(71, 60, 56, 0.82);
    line-height: 1.5;
}

.cover-subtitle[hidden] {
    display: none !important;
}

.cover-hint {
    max-width: 48rem;
    margin: 0 auto 20px;
    padding: 0 8px;
    font-size: 0.88rem;
    color: rgba(71, 60, 56, 0.62);
    line-height: 1.45;
}

@media (min-width: 768px) {
    .cover-section {
        padding: 52px 0 44px;
    }

    .cover-title {
        font-size: 2.85rem;
    }

    .cover-subtitle {
        font-size: 1.1rem;
    }
}

.cover-scroll-hint {
    margin-top: 8px;
    color: var(--gold);
    font-size: 1.1rem;
    animation: bounceHint 1.8s ease-in-out infinite;
}

@keyframes bounceHint {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* Visão de link temporário (cliente no celular) */
body.is-shared-view .cover-section {
    padding: 24px 0 20px;
}

body.is-shared-view .cover-kicker {
    font-size: 0.7rem;
    margin-bottom: 6px;
}

body.is-shared-view .cover-title {
    font-size: 1.65rem;
    max-width: 100%;
    padding: 0 4px;
}

body.is-shared-view .cover-subtitle {
    font-size: 0.92rem;
    max-width: 100%;
}

body.is-shared-view .cover-hint {
    font-size: 0.82rem;
    margin-top: 6px;
}

body.is-shared-view .cover-scroll-hint {
    display: none;
}

body.is-shared-view .catalog-tabs {
    display: none !important;
}

body.is-shared-view .category-bar {
    top: 52px;
}

body.is-shared-view .service-card-body,
body.is-shared-view .service-card-footer {
    padding-left: 16px;
    padding-right: 16px;
}

body.is-shared-view .selection-bar {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
    body.is-shared-view .top-bar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.is-shared-view .cover-section {
        padding: 18px 0 14px;
    }

    body.is-shared-view .cover-title {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    body.is-shared-view .category-bar-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.is-shared-view #services-root,
    body.is-shared-view .services-root {
        padding-left: 4px;
        padding-right: 4px;
    }

    body.is-shared-view .service-gallery-thumb {
        width: 40px;
        height: 40px;
    }

    body.is-shared-view .catalog-lightbox img {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 100px);
    }

    body.is-shared-view .drawer {
        width: 100%;
        max-width: 100%;
    }
}

/* Tela de link expirado / indisponível */
.share-unavailable {
    max-width: 420px;
    margin: 12px auto 40px;
    padding: 28px 22px 32px;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(71, 60, 56, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.share-unavailable-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(178, 144, 73, 0.12);
    color: var(--gold);
    font-size: 1.5rem;
}

.share-unavailable h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--brown);
    margin: 0 0 10px;
    line-height: 1.25;
}

.share-unavailable p {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(71, 60, 56, 0.75);
}

.share-unavailable-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.share-unavailable-cta:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

body.is-share-unavailable .selection-bar,
body.is-share-unavailable #category-bar,
body.is-share-unavailable .catalog-tabs {
    display: none !important;
}

body.is-share-unavailable .cover-section {
    padding-bottom: 8px;
}

@media (max-width: 640px) {
    .share-unavailable {
        margin: 4px 8px 32px;
        padding: 24px 18px 28px;
    }

    .share-unavailable h2 {
        font-size: 1.3rem;
    }

    .share-unavailable-cta {
        width: 100%;
    }
}

/* -------------------------------- Catalog tabs ---------------------------- */

.catalog-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}

.catalog-tab {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown);
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.catalog-tab.active {
    color: var(--white);
}

.catalog-tab-bg {
    position: absolute;
    z-index: 0;
    top: 6px;
    bottom: 6px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--brown), var(--gold));
    transition: left 0.35s cubic-bezier(0.65, 0, 0.35, 1), width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 6px 16px rgba(178, 144, 73, 0.4);
}

/* ------------------------------- Category chips --------------------------- */

.category-bar {
    position: sticky;
    top: 58px;
    z-index: 30;
    background: linear-gradient(to bottom, var(--bg) 65%, rgba(240, 241, 240, 0));
    padding: 10px 0 16px;
}

.category-bar-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 6px;
    scrollbar-width: none;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 16px;
}

.category-bar-inner::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(178, 144, 73, 0.25);
    color: var(--brown);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-chip:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.category-chip.active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

/* -------------------------------- Category page --------------------------- */

.category-section {
    background: var(--white);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    padding: 28px 20px 32px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--soft-yellow));
}

.category-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.category-section-header i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(178, 144, 73, 0.12);
    color: var(--gold);
    font-size: 1.1rem;
}

.category-section-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .category-section {
        padding: 36px 32px 40px;
    }
}

/* -------------------------------- Services grid --------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card-catalog {
    position: relative;
    border: 1px solid rgba(71, 60, 56, 0.08);
    border-radius: 20px;
    padding: 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.service-card-catalog:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(178, 144, 73, 0.35);
}

.service-card-catalog.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(178, 144, 73, 0.18), var(--shadow-soft);
}

.service-card-catalog.pop {
    animation: cardPop 0.4s ease;
}

@keyframes cardPop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.035);
    }

    100% {
        transform: scale(1);
    }
}

.service-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--beige);
    flex-shrink: 0;
}

.service-card-photo-btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(71, 60, 56, 0.35), transparent 55%);
    pointer-events: none;
}

.service-card-catalog:hover .service-card-photo img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 20px 20px 0;
}

.service-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    padding-right: 28px;
}

.service-card-body p,
.service-card-body .service-description {
    font-size: 0.85rem;
    color: rgba(71, 60, 56, 0.75);
    line-height: 1.55;
    word-break: break-word;
}

.service-card-body .service-description p {
    margin: 0 0 0.65em;
}

.service-card-body .service-description p:last-child {
    margin-bottom: 0;
}

/* Sobrescreve o Preflight do Tailwind (list-style: none em ul/ol). */
.service-card-body .service-description ul,
.service-card-body .service-description ol {
    margin: 0.45em 0 0.7em;
    padding-left: 1.4em;
    list-style-position: outside;
}

.service-card-body .service-description ul {
    list-style-type: disc;
}

.service-card-body .service-description ol {
    list-style-type: decimal;
}

.service-card-body .service-description ul ul {
    list-style-type: circle;
    margin: 0.25em 0;
}

.service-card-body .service-description ol ol {
    list-style-type: lower-alpha;
    margin: 0.25em 0;
}

.service-card-body .service-description li {
    display: list-item;
    margin-bottom: 0.3em;
}

.service-card-body .service-description li > p {
    margin: 0;
}

.service-card-body .service-description h3,
.service-card-body .service-description h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--brown);
    margin: 0.55em 0 0.35em;
    line-height: 1.3;
}

.service-card-body .service-description h3:first-child,
.service-card-body .service-description h4:first-child {
    margin-top: 0;
}

.service-card-body .service-description strong,
.service-card-body .service-description b {
    color: var(--brown);
    font-weight: 600;
}

.service-card-body .service-description em,
.service-card-body .service-description i {
    font-style: italic;
}

.service-card-body .service-description u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.service-card-body .service-description a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.service-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 20px 20px;
}

.service-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-gallery-thumb {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--beige);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 60, 56, 0.18);
}

.service-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-price {
    font-weight: 600;
    color: var(--brown);
    font-size: 1rem;
    white-space: nowrap;
}

.add-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--brown);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.add-btn:hover {
    transform: translateY(-2px);
}

.add-btn.is-selected {
    background: var(--gold);
}

.selected-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.service-card-catalog.selected .selected-badge {
    opacity: 1;
    transform: scale(1);
}

.catalog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(30, 24, 22, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.catalog-lightbox.open {
    display: flex;
}

.catalog-lightbox img {
    max-width: min(92vw, 920px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.catalog-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.catalog-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Ripple feedback on buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    animation: rippleAnim 0.55s ease-out;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* ------------------------------- Floating bar ----------------------------- */

.selection-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 45;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.selection-bar-main {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    background: var(--brown);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: var(--shadow-strong);
    cursor: pointer;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, background 0.3s ease;
}

.selection-bar-main.visible {
    transform: translateY(0);
    opacity: 1;
}

.selection-bar-main.has-items {
    background: linear-gradient(120deg, var(--brown), var(--gold));
    animation: barGlow 2.4s ease-in-out infinite;
}

@keyframes barGlow {

    0%,
    100% {
        box-shadow: var(--shadow-strong), 0 0 0 0 rgba(178, 144, 73, 0.4);
    }

    50% {
        box-shadow: var(--shadow-strong), 0 0 0 8px rgba(178, 144, 73, 0);
    }
}

.selection-bar-main:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.selection-count-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--white);
    color: var(--brown);
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.selection-count-badge.bump {
    transform: scale(1.3);
}

.selection-bar-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.selection-bar-text strong {
    font-size: 0.88rem;
    font-weight: 600;
}

.selection-bar-text small {
    font-size: 0.78rem;
    opacity: 0.85;
}

@media (min-width: 640px) {
    .selection-bar {
        justify-content: flex-end;
        right: 24px;
        left: auto;
        bottom: 24px;
        padding: 0;
    }
}

/* ---------------------------------- Drawer -------------------------------- */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(71, 60, 56, 0.45);
    backdrop-filter: blur(2px);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--bg);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -10px 40px rgba(71, 60, 56, 0.35);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.drawer.open {
    transform: translateY(0);
}

.drawer-handle {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(71, 60, 56, 0.2);
    margin: 12px auto 4px;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px 6px;
}

.drawer-header h3 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-header button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(71, 60, 56, 0.08);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.drawer-header button:hover {
    background: rgba(71, 60, 56, 0.16);
    transform: rotate(90deg);
}

.drawer-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 14px rgba(71, 60, 56, 0.06);
    animation: itemIn 0.3s ease;
}

.drawer-item.removing {
    animation: itemOut 0.25s ease forwards;
}

@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateX(14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes itemOut {
    to {
        opacity: 0;
        transform: translateX(30px) scale(0.9);
    }
}

.drawer-item-photo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.drawer-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drawer-item-info {
    flex: 1;
    min-width: 0;
}

.drawer-item-info strong {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-item-info span {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
}

.drawer-item-remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(71, 60, 56, 0.06);
    color: var(--brown);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.drawer-item-remove:hover {
    background: #f1d3d3;
    color: #b23c3c;
    transform: scale(1.08);
}

.drawer-empty {
    text-align: center;
    padding: 40px 12px;
    color: rgba(71, 60, 56, 0.55);
}

.drawer-empty i {
    font-size: 2rem;
    color: var(--beige);
    margin-bottom: 12px;
    display: block;
}

.drawer-footer {
    padding: 14px 22px 20px;
    border-top: 1px solid rgba(71, 60, 56, 0.08);
    background: var(--bg);
}

.drawer-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 1rem;
}

.drawer-total-row strong {
    font-size: 1.25rem;
    color: var(--gold);
}

.send-whatsapp-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    padding: 14px;
    border-radius: 999px;
    background: #25d366;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.send-whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.send-whatsapp-btn:active {
    transform: scale(0.97);
}

.clear-selection-btn {
    width: 100%;
    margin-top: 10px;
    border: none;
    background: transparent;
    color: rgba(71, 60, 56, 0.55);
    font-size: 0.82rem;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.clear-selection-btn:hover {
    color: #b23c3c;
    text-decoration: underline;
}

/* ---------------------------------- Toast --------------------------------- */

.toast {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    background: var(--brown);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 18px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(92vw, 380px);
    text-align: left;
}


.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: var(--soft-yellow);
    flex-shrink: 0;
}

/* --------------------------------- Sobre ---------------------------------- */

.catalog-about {
    position: relative;
    z-index: 1;
    padding: 8px 0 0;
}

.catalog-about-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 28px 24px 20px;
    border-top: 1px solid rgba(71, 60, 56, 0.12);
}

.catalog-about-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 500;
}

.catalog-about-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    color: var(--brown);
    margin: 0 0 12px;
    line-height: 1.25;
}

.catalog-about-text {
    margin: 0 auto 20px;
    max-width: 34rem;
    color: rgba(71, 60, 56, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.catalog-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .catalog-about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 28px;
    }

    .catalog-about-title {
        font-size: 2.15rem;
    }
}

.catalog-about-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.catalog-about-item > i {
    color: var(--gold);
    font-size: 1.05rem;
    margin-top: 3px;
    width: 1.2em;
    text-align: center;
    flex-shrink: 0;
}

.catalog-about-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 2px;
}

.catalog-about-item p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(71, 60, 56, 0.75);
    line-height: 1.45;
}

.catalog-about-item a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(178, 144, 73, 0.35);
}

.catalog-about-item a:hover {
    color: var(--gold);
}

.catalog-about-social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.catalog-about-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    background: rgba(71, 60, 56, 0.06);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-about-social a:hover {
    background: var(--brown);
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------- Footer --------------------------------- */

.catalogo-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8px 16px 100px;
    color: rgba(71, 60, 56, 0.6);
    font-size: 0.82rem;
}

.catalogo-footer img {
    height: 30px;
    margin: 0 auto 10px;
    opacity: 0.85;
}

.catalogo-footer-sub {
    margin-top: 4px;
    font-size: 0.75rem;
    opacity: 0.85;
}

@media (min-width: 640px) {
    .catalogo-footer {
        padding-bottom: 50px;
    }
}

/* ------------------------------ Reduced motion ----------------------------- */

@media (prefers-reduced-motion: reduce) {

    .blob,
    .cover-scroll-hint,
    .selection-bar-main.has-items,
    .top-bar-whatsapp {
        animation: none !important;
    }

    .service-card-catalog,
    .add-btn,
    .selection-bar-main,
    .drawer,
    .drawer-overlay,
    .toast {
        transition: none !important;
    }
}
