:root {
    --tm-primary: #e46f2d;
    --tm-primary-rgb: 228, 111, 45;
    --tm-primary-dark: #ca5d1d;
    --tm-secondary: #58739b;
    --tm-secondary-rgb: 88, 115, 155;
    --tm-secondary-dark: #3e587f;
    --tm-secondary-deep: #34485f;
    --tm-surface: #ffffff;
    --tm-panel: rgba(255, 255, 255, 0.94);
    --tm-bg: linear-gradient(180deg, #f4f7fb 0%, #edf2f7 46%, #f7f8fb 100%);
    --tm-line: rgba(19, 34, 40, 0.10);
    --tm-line-strong: rgba(19, 34, 40, 0.12);
    --tm-ink: #20344a;
    --tm-muted: #6d7f90;
    --tm-shadow: 0 24px 60px rgba(28, 51, 75, 0.12);
}

html,
body {
    background: var(--tm-bg);
    color: var(--tm-ink);
    font-family: "Inter", "Segoe UI", sans-serif;
}

body {
    zoom: 0.8;
    display: flex;
    flex-direction: column;
    min-height: 125vh;
}

main {
    flex: 1 0 auto;
}

.modal-backdrop {
    height: 125vh;
    width: 125vw;
    z-index: 3000;
}

.modal {
    z-index: 3010;
}


.site-header {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 22%),
        linear-gradient(135deg, var(--tm-primary), var(--tm-primary-dark));
    box-shadow: 0 18px 38px rgba(202, 93, 29, 0.28);
    position: sticky;
    top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.site-header__top {
    background: transparent;
    color: #fff;
    min-height: 4.8rem;
    transition: all 0.3s ease;
}

.site-header__search {
    background: transparent;
    max-height: 200px;
    /* Large enough to fit search bar */
    opacity: 1;
    overflow: hidden;
    padding: 0.2rem 0 2.7rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .site-header__search {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 25px rgba(202, 93, 29, 0.4);
}

.brand-link {
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo-frame {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.9rem;
    box-shadow: 0 14px 34px rgba(92, 38, 10, 0.18);
    display: inline-flex;
    min-height: 4.45rem;
    padding: 0.65rem 1.05rem;
    max-width: 100%;
}

.brand-logo {
    display: block;
    height: auto;
    max-height: 3.3rem;
    max-width: 100%;
    width: auto;
}

.brand-mark {
    color: #fff;
    font-size: 1.9rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: -0.08rem;
    text-transform: uppercase;
}

.site-header__nav {
    min-height: 2.6rem;
}

.tm-searchbar {
    align-items: stretch;
    background: #fff;
    border: 4px solid rgba(255, 255, 255, 0.95);
    border-radius: 0.35rem;
    display: flex;
    margin: 0 auto;
    max-width: 50.5rem;
    overflow: hidden;
}

.tm-searchbar__shell {
    margin: 0 auto 0.6rem;
    max-width: 50.5rem;
}

.tm-searchbar__label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-searchbar__input {
    background: #fff;
    border: 0;
    border-radius: 0;
    flex: 1;
    min-height: 3.25rem;
    padding: 0 1rem;
}

.tm-searchbar__button {
    background: var(--tm-primary-dark);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    color: #fff;
    font-weight: 700;
    min-width: 8.25rem;
    padding: 0 1rem;
}

.nav-link-lite {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-link-lite.is-active,
.nav-link-lite:hover {
    color: rgba(255, 245, 238, 0.92);
}

.cart-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
}

.cart-pill__count {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    color: var(--tm-primary-dark);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 1.6rem;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0 0.35rem;
}

/* Responsive UI Elements */

.btn-menu-toggle {
    background: rgba(255, 255, 255, 0.16);
    border: 0;
    border-radius: 0.75rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.btn-menu-toggle:hover,
.btn-menu-toggle:active {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-nav-canvas {
    max-width: 300px;
    background: var(--tm-bg);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    padding: 1.25rem 1.5rem;
    color: var(--tm-ink);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid var(--tm-line);
    transition: all 0.2s ease;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    color: var(--tm-primary);
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: rgba(var(--tm-primary-rgb), 0.05);
    color: var(--tm-primary);
}

@media (max-width: 767.98px) {
    .cart-pill {
        padding: 0.6rem 0.8rem;
        gap: 0.45rem;
    }
}

.eyebrow,
.footer-kicker {
    color: var(--tm-primary);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title,
.footer-title,
.hero-title {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.section-copy,
.footer-copy {
    color: var(--tm-primary);
    line-height: 1.7;
}

.btn-accent {
    background: linear-gradient(135deg, var(--tm-primary), #f29a4d);
    border: 0;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(228, 111, 45, 0.26);
    padding: 0.85rem 1.2rem;
}

.btn-accent:hover,
.btn-accent:focus {
    background: linear-gradient(135deg, var(--tm-primary-dark), var(--tm-primary));
    color: #fff;
}

button.is-loading,
.btn.is-loading {
    align-items: center;
    cursor: wait;
    display: inline-flex;
    gap: 0.65rem;
    justify-content: center;
    pointer-events: none;
    white-space: nowrap;
}

.btn-loading__spinner {
    flex: 0 0 auto;
}

.btn-loading__label {
    display: inline-flex;
    line-height: 1;
}

.summary-card,
.checkout-card,
.info-card,
.empty-state {
    background: var(--tm-panel);
    border: 1px solid var(--tm-line);
    border-radius: 1rem;
    box-shadow: var(--tm-shadow);
    padding: 1.5rem;
}

.summary-row,
.checkout-line {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.summary-row+.summary-row,
.checkout-line+.checkout-line {
    margin-top: 1rem;
}

.summary-row.total {
    border-top: 1px solid var(--tm-line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.section-link {
    color: var(--tm-primary);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    background: linear-gradient(160deg, var(--tm-primary-dark) 0%, #8f3d12 100%);
    color: #fff;
    margin-top: auto;
    padding-top: 1rem;
}

.flash-toast-stack {
    z-index: 2200;
}

.flash-toast {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    box-shadow: 0 22px 48px rgba(28, 51, 75, 0.18);
    max-width: 24rem;
    min-width: 20rem;
    position: relative;
}

.flash-toast__body {
    align-items: flex-start;
    display: flex;
    gap: 0.9rem;
    padding: 1rem 2.75rem 1rem 1rem;
}

.flash-toast__icon {
    align-items: center;
    background: rgba(29, 160, 98, 0.12);
    border-radius: 999px;
    color: #1d8a5a;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.1rem;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.flash-toast__content {
    min-width: 0;
}

.flash-toast__message {
    color: var(--tm-ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
}

.flash-toast__close {
    opacity: 0.55;
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.footer-brand strong {
    font-weight: 800;
}

.footer-copy {
    font-size: 0.92rem;
}

.footer-copy--brand {
    color: rgba(255, 255, 255, 0.92);
}

.footer-copy__brand {
    color: #fff;
    font-weight: 800;
}

.footer-layout {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
}

.footer-links-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    justify-content: space-between;
    width: 100%;
}

.footer-brand-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.footer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    justify-content: flex-end;
}

.footer-contact {
    align-items: center;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-contact__label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-contact__links {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-contact__icon {
    color: #fff;
    font-size: 1rem;
}

.footer-links-row .footer-link-lite {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .footer-links-row,
    .footer-actions,
    .footer-brand-row {
        justify-content: center;
    }
}

.footer-link-lite {
    color: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link-lite:hover {
    opacity: 1;
}

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    z-index: 200;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    animation: wa-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.55);
    outline-offset: 3px;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

@keyframes wa-pulse {
    0%,
    100% {
        transform: translateZ(0) scale(1);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.35);
    }

    50% {
        transform: translateZ(0) scale(1.04);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

.terms-document {
    color: var(--tm-ink);
}

.terms-document__hero {
    border-bottom: 1px solid var(--tm-line);
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
}

.terms-document__eyebrow {
    color: var(--tm-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.terms-document__title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.terms-document__subtitle {
    color: var(--tm-muted);
    font-size: 1.1rem;
    font-weight: 700;
}

.terms-document__intro {
    color: var(--tm-ink);
    font-size: 1.15rem;
    line-height: 1.75;
}

.terms-document__intro+.terms-document__intro {
    margin-top: 1rem;
}

.terms-document__clauses {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.terms-clause {
    background: rgba(var(--tm-primary-rgb), 0.03);
    border: 1px solid var(--tm-line);
    border-radius: 1rem;
    padding: 1.25rem;
}

.terms-clause__title {
    color: var(--tm-primary-dark);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.terms-clause__body {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.terms-clause__body p {
    color: var(--tm-ink);
    font-size: 1.15rem;
    line-height: 1.75;
}

.terms-table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--tm-line);
    margin-top: 1rem;
}

.terms-table thead th {
    background: rgba(var(--tm-primary-rgb), 0.1);
    color: var(--tm-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
    text-transform: uppercase;
}

.terms-table tbody td {
    color: var(--tm-ink);
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0.95rem 1rem;
    vertical-align: top;
}

.terms-table tbody td:last-child {
    font-weight: 800;
    white-space: nowrap;
}

.terms-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding-left: 1.25rem;
}

.terms-list li {
    color: var(--tm-ink);
    font-size: 1.15rem;
    line-height: 1.7;
}

.privacy-document .terms-document__intro,
.privacy-document .terms-clause__body p,
.privacy-document .terms-list li {
    text-align: justify;
    text-justify: inter-word;
}

.modal .terms-document__hero {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.modal .terms-document__title {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.modal .terms-document__clauses {
    gap: 1rem;
    margin-top: 1.25rem;
}

.modal .terms-clause {
    padding: 1rem;
}

.empty-state {
    text-align: center;
}

.qty-input {
    max-width: 5rem;
}

@media (max-width: 767.98px) {
    .brand-logo-frame {
        min-height: 3.55rem;
        padding: 0.5rem 0.8rem;
    }

    .brand-logo {
        max-height: 2.45rem;
        max-width: 12rem;
    }

    .brand-mark {
        font-size: 1.55rem;
    }

    .site-header__search {
        padding: 0.2rem 0 1.5rem;
    }

    .tm-searchbar {
        border-width: 2px;
        max-width: 100%;
    }

    .tm-searchbar__input {
        padding: 0 0.75rem;
    }

    .tm-searchbar__button {
        font-size: 0.9rem;
        min-width: 5rem;
        padding: 0 0.75rem;
    }

    .summary-card,
    .checkout-card,
    .info-card,
    .empty-state {
        padding: 1.25rem;
    }

    .flash-toast {
        max-width: min(100vw - 2rem, 24rem);
        min-width: 0;
    }

    .flash-toast__body {
        padding-left: 0.9rem;
    }

    .flash-toast__message {
        font-size: 0.88rem;
    }
}
