/* ========================================================
   TIKI POP - Design System & Modern Responsive Styles
   Colors:
     - Coral:     #FF4D5A
     - Yellow:    #FFB800
     - Violet:    #7550D8
     - Turquoise: #1AB8A6
     - Cream:     #EADBC8
     - Canvas:    #FFFDF9
   ======================================================== */

:root {
    --tp-coral: #FF4D5A;
    --tp-coral-soft: #FFF0F1;
    --tp-yellow: #FFB800;
    --tp-yellow-soft: #FFF9E6;
    --tp-violet: #7550D8;
    --tp-violet-soft: #F3EEFF;
    --tp-violet-hover: #6038CA;
    --tp-turq: #1AB8A6;
    --tp-turq-soft: #E8FAF6;
    --tp-turq-hover: #14998A;
    --tp-wa-green: #25D366;
    --tp-wa-dark: #128C7E;
    
    --tp-bg: #FFFDF9;
    --tp-surface: #FFFFFF;
    --tp-border: #EFE8DC;
    --tp-border-subtle: #F6F1EA;
    --tp-text: #2D231E;
    --tp-text-muted: #806F63;
    --tp-text-light: #A4958A;

    --tp-radius-sm: 8px;
    --tp-radius-md: 14px;
    --tp-radius-lg: 20px;
    --tp-radius-xl: 26px;
    --tp-radius-full: 9999px;

    --tp-shadow-sm: 0 2px 8px rgba(61, 48, 39, 0.04);
    --tp-shadow-md: 0 8px 24px rgba(61, 48, 39, 0.08);
    --tp-shadow-lg: 0 16px 40px rgba(61, 48, 39, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1:focus, h2:focus, h3:focus {
    outline: none;
}

body {
    background-color: var(--tp-bg);
    color: var(--tp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ========================================================
   HEADER
   ======================================================== */
.tp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tp-border);
    transition: all 0.2s ease;
}

.tp-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tp-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 6px;
    text-align: center;
}

.tp-logo {
    width: 145.2px;
    height: 145.2px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EADBC8;
    box-shadow: 0 4px 16px rgba(61, 48, 39, 0.08);
    transition: transform 0.2s ease;
}

.tp-logo:hover {
    transform: scale(1.04);
}

.tp-brand-subtitle {
    font-size: 0.95rem;
    color: var(--tp-text-muted);
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

@media (max-width: 500px) {
    .tp-logo {
        width: 121px;
        height: 121px;
    }
    
    .tp-brand-subtitle {
        font-size: 0.82rem;
    }
}

.tp-header-actions {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.tp-fav-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--tp-border);
    background: var(--tp-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tp-shadow-sm);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.tp-fav-btn:hover {
    transform: scale(1.06);
    background-color: var(--tp-violet-soft);
}

.tp-fav-icon {
    font-size: 1.3rem;
}

.tp-fav-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--tp-coral);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 77, 90, 0.4);
}

/* ========================================================
   HOME / CATALOG
   ======================================================== */
.tp-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

/* Hero */
.tp-hero {
    text-align: center;
    padding: 32px 12px 24px;
}

.tp-hero-title {
    font-size: clamp(1.45rem, 3.5vw, 2.1rem);
    font-weight: 900;
    color: var(--tp-text);
    line-height: 1.2;
    margin-bottom: 8px;
}

.tp-hero-subtitle {
    font-size: 1rem;
    color: var(--tp-text-muted);
    max-width: 580px;
    margin: 0 auto 24px;
}

/* Search Box */
.tp-search-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.tp-search-icon {
    position: absolute;
    left: 16px;
    font-size: 1.15rem;
    color: var(--tp-violet);
    pointer-events: none;
}

.tp-search-input {
    width: 100%;
    height: 52px;
    padding: 0 46px 0 46px;
    border-radius: var(--tp-radius-full);
    border: 2px solid var(--tp-border);
    background: var(--tp-surface);
    font-size: 1rem;
    color: var(--tp-text);
    outline: none;
    box-shadow: var(--tp-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tp-search-input:focus {
    border-color: var(--tp-violet);
    box-shadow: 0 0 0 4px rgba(117, 80, 216, 0.12);
}

.tp-search-clear {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--tp-text-muted);
    cursor: pointer;
    padding: 4px 8px;
}

/* Categories Pills */
.tp-categories-section {
    margin: 20px 0 12px;
}

.tp-categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .tp-categories-scroll {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.tp-categories-scroll::-webkit-scrollbar {
    display: none;
}

.tp-cat-pill {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: var(--tp-radius-full);
    border: 1px solid var(--tp-border);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--tp-shadow-sm);
    transition: all 0.18s ease;
}

.tp-cat-pill:hover {
    border-color: var(--tp-violet);
    color: var(--tp-violet);
    background-color: var(--tp-violet-soft);
}

.tp-cat-pill.active {
    background: var(--tp-violet);
    color: white;
    border-color: var(--tp-violet);
    box-shadow: 0 4px 14px rgba(117, 80, 216, 0.35);
}

/* Subcategories Pills */
.tp-subcat-section {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .tp-subcat-section {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.tp-subcat-section::-webkit-scrollbar {
    display: none;
}

.tp-subcat-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: var(--tp-radius-full);
    border: 1px solid var(--tp-border-subtle);
    background: #F8F5EE;
    color: var(--tp-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tp-subcat-pill:hover {
    background: var(--tp-turq-soft);
    color: var(--tp-turq-hover);
}

.tp-subcat-pill.active {
    background: var(--tp-turq);
    color: white;
    border-color: var(--tp-turq);
    box-shadow: 0 2px 10px rgba(26, 184, 166, 0.3);
}

/* Catalog Title Bar */
.tp-catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 16px;
    padding: 0 4px;
}

.tp-catalog-bar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tp-text);
}

.tp-catalog-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tp-text-muted);
    background: var(--tp-surface);
    padding: 4px 12px;
    border-radius: var(--tp-radius-full);
    border: 1px solid var(--tp-border);
}

/* Product Grid */
.tp-grid {
    max-width: 1080px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 860px) {
    .tp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1120px) {
    .tp-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 360px) {
    .tp-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   PRODUCT CARD
   ======================================================== */
.tp-card {
    background: var(--tp-surface);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--tp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
}

.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-md);
}

.tp-card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 90%; /* Slightly shorter catalog images */
    background: #F8F5EE;
    overflow: hidden;
}

.tp-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tp-card:hover .tp-card-img {
    transform: scale(1.04);
}

/* Floating Heart */
.tp-fav-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.15s ease, background 0.15s ease;
    z-index: 2;
}

.tp-fav-toggle:hover {
    transform: scale(1.15);
}

.tp-fav-toggle.active {
    background: #FFF;
}

/* Availability Pill */
.tp-avail-pill {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--tp-radius-full);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.avail-available {
    background: rgba(26, 184, 166, 0.9);
    color: white;
}

.avail-last {
    background: rgba(255, 184, 0, 0.95);
    color: #4A3E00;
}

.avail-out {
    background: rgba(120, 110, 100, 0.85);
    color: white;
}

/* Card Content */
.tp-card-content {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tp-card-category {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--tp-violet);
    margin-bottom: 4px;
}

.tp-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tp-text);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

/* Card Footer Row with Price and WhatsApp Icon */
.tp-card-footer-row {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tp-card-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--tp-text);
    line-height: 1.2;
}

.tp-card-price.is-consult {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--tp-violet);
}

.tp-btn-wa-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--tp-wa-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 9px rgba(37, 211, 102, 0.3);
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.tp-btn-wa-icon:hover {
    background: var(--tp-wa-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.tp-btn-wa-icon.is-out {
    background: #E8E2D8;
    color: #8D7E73;
    box-shadow: none;
}

.tp-btn-wa-icon.is-out:hover {
    background: #DDD5C9;
    color: var(--tp-text);
}

/* Empty State */
.tp-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--tp-surface);
    border-radius: var(--tp-radius-xl);
    border: 1px solid var(--tp-border);
    max-width: 500px;
    margin: 30px auto;
}

.tp-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.tp-empty-state h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tp-text);
    margin-bottom: 6px;
}

.tp-empty-state p {
    font-size: 0.92rem;
    color: var(--tp-text-muted);
    margin-bottom: 16px;
}

.tp-btn-reset {
    padding: 10px 20px;
    border-radius: var(--tp-radius-full);
    border: none;
    background: var(--tp-violet);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

/* ========================================================
   PRODUCT DETAIL MODAL
   ======================================================== */
.tp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: flex-end; /* bottom-sheet in mobile */
    justify-content: center;
    padding: 0;
    animation: tpFadeIn 0.2s ease;
}

@media (min-width: 768px) {
    .tp-modal-backdrop {
        align-items: center;
        padding: 24px;
    }
}

.tp-modal-dialog {
    background: var(--tp-surface);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    border-top-left-radius: var(--tp-radius-xl);
    border-top-right-radius: var(--tp-radius-xl);
    position: relative;
    overflow-y: auto;
    box-shadow: var(--tp-shadow-lg);
    animation: tpSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .tp-modal-dialog {
        border-radius: var(--tp-radius-xl);
        max-height: 85vh;
    }
}

.tp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(240, 235, 225, 0.8);
    font-size: 1.1rem;
    color: var(--tp-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.15s ease;
}

.tp-modal-close:hover {
    background: rgba(220, 210, 195, 0.9);
}

.tp-modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tp-modal-body {
        flex-direction: row;
    }
}

/* Detail Gallery */
.tp-detail-gallery {
    padding: 16px;
    background: #FBF8F3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .tp-detail-gallery {
        width: 50%;
        padding: 28px;
    }
}

.tp-detail-main-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--tp-shadow-sm);
}

.tp-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-detail-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    padding: 4px 2px;
}

.tp-thumb-btn {
    width: 62px;
    height: 62px;
    border-radius: var(--tp-radius-md);
    border: 2px solid transparent;
    padding: 2px;
    background: white;
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.tp-thumb-btn.selected {
    border-color: var(--tp-violet);
}

.tp-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--tp-radius-md) - 2px);
}

/* Detail Info */
.tp-detail-info {
    padding: 22px 20px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .tp-detail-info {
        width: 50%;
        padding: 32px 28px;
    }
}

.tp-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tp-detail-badge {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--tp-violet);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tp-detail-sku {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tp-text-light);
    background: #F4EFE7;
    padding: 2px 8px;
    border-radius: var(--tp-radius-sm);
}

.tp-detail-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--tp-text);
    line-height: 1.25;
    margin-bottom: 12px;
}

.tp-detail-price-box {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tp-border-subtle);
}

.tp-detail-price {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--tp-text);
}

.tp-detail-price.is-consult {
    font-size: 1.3rem;
    color: var(--tp-violet);
}

.tp-detail-desc {
    margin-bottom: 24px;
}

.tp-detail-desc h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--tp-text-muted);
    margin-bottom: 6px;
}

.tp-detail-desc p {
    font-size: 0.95rem;
    color: var(--tp-text);
    line-height: 1.6;
}

.tp-detail-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-btn-wa-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--tp-radius-md);
    background: var(--tp-wa-green);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: background 0.15s ease, transform 0.15s ease;
}

.tp-btn-wa-lg:hover {
    background: var(--tp-wa-dark);
    transform: translateY(-2px);
}

.tp-btn-fav-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--tp-radius-md);
    border: 1px solid var(--tp-border);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tp-btn-fav-detail:hover {
    background: var(--tp-violet-soft);
    color: var(--tp-violet);
    border-color: var(--tp-violet);
}

/* ========================================================
   FAVORITES DRAWER
   ======================================================== */
.tp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    animation: tpFadeIn 0.2s ease;
}

.tp-drawer {
    background: var(--tp-surface);
    width: 100%;
    max-width: 440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--tp-shadow-lg);
    animation: tpSlideLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-drawer-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--tp-border);
}

.tp-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-drawer-title-wrap h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.tp-drawer-count {
    color: var(--tp-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.tp-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--tp-text-muted);
    cursor: pointer;
    padding: 4px 8px;
}

.tp-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.tp-drawer-empty {
    text-align: center;
    padding: 60px 24px;
    margin: auto 0;
}

.tp-empty-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 14px;
}

.tp-drawer-empty p {
    font-size: 1.05rem;
    color: var(--tp-text);
    margin-bottom: 8px;
}

.tp-drawer-empty span {
    font-size: 0.88rem;
    color: var(--tp-text-muted);
}

.tp-drawer-list {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.tp-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #FBF8F3;
    border-radius: var(--tp-radius-md);
    border: 1px solid var(--tp-border-subtle);
}

.tp-drawer-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--tp-radius-sm);
    object-fit: cover;
    background: white;
    cursor: pointer;
}

.tp-drawer-item-info {
    flex-grow: 1;
    cursor: pointer;
}

.tp-drawer-item-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tp-text);
    line-height: 1.25;
    margin-bottom: 4px;
}

.tp-drawer-item-price {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--tp-violet);
}

.tp-drawer-item-remove {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.tp-drawer-item-remove:hover {
    opacity: 1;
}

.tp-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--tp-border);
    background: #FFFDF9;
}

.tp-btn-wa-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--tp-radius-md);
    background: var(--tp-wa-green);
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ========================================================
   FOOTER
   ======================================================== */
.tp-footer {
    background: var(--tp-surface);
    border-top: 1px solid var(--tp-border);
    padding: 40px 16px 28px;
    margin-top: 40px;
}

.tp-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .tp-footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.tp-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tp-footer-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EADBC8;
}

.tp-footer-text h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--tp-text);
}

.tp-footer-text p {
    font-size: 0.84rem;
    color: var(--tp-text-muted);
}

.tp-footer-motto {
    font-size: 0.8rem;
    color: var(--tp-violet);
    font-weight: 600;
}

.tp-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .tp-footer-contact {
        align-items: flex-end;
    }
}

.tp-footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--tp-radius-full);
    background: var(--tp-wa-green);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.tp-footer-phone {
    font-size: 0.8rem;
    color: var(--tp-text-muted);
}

.tp-footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--tp-border-subtle);
    text-align: center;
    font-size: 0.78rem;
    color: var(--tp-text-light);
}

/* Animations */
@keyframes tpFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tpSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes tpSlideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: #FFF0F1;
    color: #9C1A24;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.8rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.9rem;
    font-weight: 600;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.8rem;
}