/* ==========================================================================
   Terea Express — Modern Homepage Stylesheet
   A unique, premium visual language for the Terea Express front page.
   Inspired by modern vape and lifestyle commerce patterns but built fresh.
   ========================================================================== */

:root {
    /* Homepage-only aliases — core palette comes from Theme Settings. */
    --tx-accent-dark: var(--tx-accent-2, #a00d25);
    --tx-rose: var(--tx-accent);
    --tx-indigo: var(--tx-primary-3, #1a1a1a);
    --tx-emerald: #15803d;
    --tx-sky: #334155;
    --tx-violet: var(--tx-primary-3, #1a1a1a);
    --tx-bg-tint: var(--tx-bg-2, #f3f3f1);
}

/* ==========================================================================
   1. Page-level container + reset bits used only on the front page
   ========================================================================== */
.front-page-main {
    padding: 0 !important;
    margin: 0;
    overflow-x: clip;
}

body.home .site-main.front-page-main,
body.page-template-front-page .site-main.front-page-main {
    padding: 0 !important;
}

.tx-section {
    position: relative;
    padding: 72px 0;
    background: var(--tx-bg);
}

.tx-section--soft { background: var(--tx-bg-soft); }
.tx-section--tint { background: var(--tx-bg-tint); }
.tx-section--ink  { background: #0b1020; color: #e2e8f0; }

/* ==========================================================================
   2. Section header (eyebrow + title + subtitle)
   ========================================================================== */
.tx-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.tx-section-header--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.tx-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.12) 0%, rgba(17, 17, 17, 0.06) 100%);
    color: var(--tx-primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    backdrop-filter: blur(4px);
}

.tx-section-eyebrow-line {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: #111111;
    border-radius: 999px;
}

.tx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    width: auto;
    max-width: 100%;
}

.tx-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tx-accent);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.25);
    animation: tx-pulse 2.4s var(--tx-ease) infinite;
}

@keyframes tx-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.tx-eyebrow--sm {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 12px;
    background: var(--tx-primary-soft);
    color: var(--tx-primary-2);
    border-color: rgba(17, 17, 17, 0.2);
}

.tx-section-title {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--tx-text);
    margin: 0 0 16px;
}

.tx-section-subtitle {
    font-size: 1.05rem;
    color: var(--tx-muted);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.tx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    border: 1px solid transparent;
    transition: all 0.25s var(--tx-ease);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.tx-btn:hover { transform: translateY(-2px); }
.tx-btn:active { transform: translateY(0); }

.tx-btn--primary {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.32);
}
.tx-btn--primary:hover {
    background: linear-gradient(135deg, var(--tx-primary-2) 0%, var(--tx-primary-3) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.42);
}

.tx-btn--accent {
    background: var(--tx-accent);
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.32);
}
.tx-btn--accent:hover {
    background: var(--tx-accent-2);
    color: #fff;
    box-shadow: 0 12px 28px rgba(200, 16, 46, 0.42);
}

.tx-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}
.tx-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}

.tx-btn--outline {
    background: transparent;
    color: var(--tx-primary);
    border-color: var(--tx-border);
}
.tx-btn--outline:hover {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
}

.tx-btn--white {
    background: #fff;
    color: var(--tx-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.tx-btn--white:hover {
    background: var(--tx-accent);
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(200, 16, 46, 0.32);
}

.tx-btn--lg {
    padding: 12px 24px;
    font-size: 14px;
}

/* ==========================================================================
   4. Hero — slim, elegant single-column banner
   ========================================================================== */
.tx-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 48%, #0a0a0a 100%);
    color: #fff;
    padding: 72px 0 80px;
    overflow: hidden;
    isolation: isolate;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
}

.tx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.tx-hero-mesh {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(at 12% 18%, rgba(200, 16, 46, 0.28) 0px, transparent 48%),
        radial-gradient(at 88% 12%, rgba(255, 255, 255, 0.08) 0px, transparent 42%),
        radial-gradient(at 78% 78%, rgba(200, 16, 46, 0.18) 0px, transparent 50%),
        radial-gradient(at 18% 88%, rgba(255, 255, 255, 0.05) 0px, transparent 45%);
    filter: blur(42px) saturate(1.05);
    animation: tx-mesh-shift 18s ease-in-out infinite alternate;
}

@keyframes tx-mesh-shift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

.tx-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    opacity: 0.35;
}

.tx-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: tx-glow 12s ease-in-out infinite alternate;
}
.tx-hero-glow--1 { width: 320px; height: 320px; top: -120px; left: -100px; background: rgba(200, 16, 46, 0.35); }
.tx-hero-glow--2 { width: 360px; height: 360px; bottom: -160px; right: -120px; background: rgba(255, 255, 255, 0.12); animation-delay: 3s; }
.tx-hero-glow--3 { width: 260px; height: 260px; top: 40%; right: 30%; background: rgba(200, 16, 46, 0.2); animation-delay: 6s; }

@keyframes tx-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.tx-hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.tx-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.tx-hero-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.tx-hero-title {
    font-family: var(--tx-font-heading);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 14ch;
    margin: 0;
    color: #ffffff;
}
.tx-hero-title em {
    font-style: normal;
    color: var(--tx-accent);
    font-weight: 600;
}

.tx-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.tx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.tx-hero-note {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tx-hero-perks {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.tx-hero-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--tx-radius);
    backdrop-filter: blur(8px);
    transition: all 0.3s var(--tx-ease);
}
.tx-hero-perks li:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.tx-hero-perks li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}
.tx-hero-perks li strong {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}
.tx-hero-perks li span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.tx-hero-perks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
}
.tx-perks-icon--delivery { background: linear-gradient(135deg, var(--tx-accent), var(--tx-accent-2)); color: #fff; }
.tx-perks-icon--shield   { background: linear-gradient(135deg, var(--tx-primary), var(--tx-primary-2)); color: #fff; }
.tx-perks-icon--cash     { background: linear-gradient(135deg, var(--tx-accent-2), #b45309); color: #fff; }

/* Hide the bulky side panel (best-seller card + 3-stat grid) — replaced by the slim perks row above */
.tx-hero-side { display: none; }

/* Hero side: featured product + stats card */
.tx-hero-side {
    display: none !important;
}

.tx-hero-product {
    position: relative;
    display: block;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--tx-radius-xl);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s var(--tx-ease);
    text-decoration: none;
    color: inherit;
}
.tx-hero-product::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 0%, rgba(200, 16, 46, 0.20), transparent 50%);
    pointer-events: none;
}
.tx-hero-product:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 16, 46, 0.4);
    box-shadow: 0 24px 48px rgba(200, 16, 46, 0.20);
}

.tx-hero-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--tx-accent);
    color: #0f172a;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.tx-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0f172a;
    animation: tx-pulse 1.6s ease-in-out infinite;
}

.tx-hero-product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 14px 0 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: var(--tx-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tx-hero-product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45));
    transition: transform 0.6s var(--tx-ease);
}
.tx-hero-product:hover .tx-hero-product-image img { transform: scale(1.06) rotate(-2deg); }

.tx-hero-product-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tx-accent);
    display: block;
    margin-bottom: 6px;
}
.tx-hero-product-info h3 {
    font-family: var(--tx-font-heading);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
    color: #fff;
}
.tx-hero-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.tx-hero-product-price .amount { font-size: 24px; }
.tx-hero-product-save {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
    border-radius: 999px;
}
.tx-hero-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tx-accent);
}

.tx-hero-stat-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: var(--tx-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.tx-hero-stat {
    padding: 16px;
    background: rgba(15, 23, 42, 0.4);
    text-align: center;
}
.tx-hero-stat strong {
    display: block;
    font-family: var(--tx-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.tx-hero-stat span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.tx-scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 1;
}
.tx-scroll-cue span {
    width: 3px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 999px;
    animation: tx-scroll 1.8s ease-in-out infinite;
}
@keyframes tx-scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   5. Trust strip — clean, compact, brand-aligned
   ========================================================================== */
.tx-trust-strip {
    position: relative;
    padding: 48px 0 52px;
    background: linear-gradient(180deg, #0a1f1c 0%, #0d2826 100%);
    overflow: hidden;
}
.tx-trust-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 20% 50%, rgba(17, 17, 17, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(200, 16, 46, 0.15) 0px, transparent 50%);
    pointer-events: none;
}
.tx-trust-strip .container { position: relative; z-index: 1; }

.tx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.tx-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(15, 23, 42, 0.8);
    position: relative;
    transition: all 0.3s var(--tx-ease);
}
.tx-trust-item:hover {
    background: rgba(15, 23, 42, 0.6);
    transform: translateY(-2px);
}
.tx-trust-item + .tx-trust-item {
    border-left: none;
}

.tx-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s var(--tx-ease), box-shadow 0.3s ease;
}
.tx-trust-item:hover .tx-trust-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px -8px rgba(17, 17, 17, 0.6);
}
.tx-trust-icon img { width: 24px; height: 24px; object-fit: contain; }
.tx-trust-icon svg { width: 24px; height: 24px; }

.tx-trust-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tx-trust-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.tx-trust-stat strong {
    font-family: var(--tx-font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
}
.tx-trust-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tx-accent);
}
.tx-trust-title {
    display: block;
    font-family: var(--tx-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
}
.tx-trust-desc {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .tx-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .tx-trust-item { padding: 20px 22px; }
}
@media (max-width: 560px) {
    .tx-trust-grid { grid-template-columns: 1fr; gap: 1px; }
    .tx-trust-item { padding: 18px 20px; }
}

/* ==========================================================================
   6. Categories — pill nav + 2x2 featured grid
   ========================================================================== */
.tx-categories {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.tx-cat-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tx-cat-pills::-webkit-scrollbar { display: none; }

.tx-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tx-text);
    white-space: nowrap;
    transition: all 0.25s var(--tx-ease);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tx-cat-pill:hover {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.25);
}
.tx-cat-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(17, 17, 17, 0.1);
    color: var(--tx-primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.tx-cat-pill:hover .tx-cat-pill-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tx-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tx-cat-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--tx-bg-tint);
    transition: all 0.4s var(--tx-ease);
    isolation: isolate;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tx-cat-card--feature {
    grid-column: span 2;
    grid-row: span 1;
}

.tx-cat-card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}
.tx-cat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--tx-ease);
}
.tx-cat-card:hover .tx-cat-card-image img { transform: scale(1.08); }

.tx-cat-card-image--pattern {
    background:
        radial-gradient(circle at 0% 0%, var(--tx-cat-color, var(--tx-accent)), transparent 50%),
        radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--tx-cat-color, var(--tx-accent)) 60%, #0f172a), transparent 60%),
        linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--tx-font-heading);
}
.tx-cat-card-image-letter {
    font-size: 180px;
    font-weight: 700;
    opacity: 0.18;
    line-height: 1;
    transform: translateY(-10%);
}

.tx-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10, 31, 28, 0.9) 100%);
    z-index: -1;
}

.tx-cat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    color: #fff;
    z-index: 1;
}
.tx-cat-card-count {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(200, 16, 46, 0.9);
    color: #0f172a;
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.tx-cat-card-body h3 {
    font-family: var(--tx-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    line-height: 1.2;
}

.tx-cat-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    margin-top: 8px;
    transition: all 0.3s var(--tx-ease);
}
.tx-cat-card:hover .tx-cat-card-arrow {
    background: var(--tx-accent);
    color: #0f172a;
    transform: translateX(4px);
}

.tx-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 31, 28, 0.25);
}

/* ==========================================================================
   7. Products — filter pills + modern grid + hover quick-add
   ========================================================================== */
.tx-products {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
}

.tx-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tx-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tx-text);
    cursor: pointer;
    transition: all 0.25s var(--tx-ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    flex: 0 0 auto;
}
.tx-filter-pill:hover {
    border-color: var(--tx-primary);
    color: var(--tx-primary);
}
.tx-filter-pill.is-active {
    background: var(--tx-primary);
    border-color: var(--tx-primary);
    color: #fff;
}

.tx-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* Product Card — square media */
.tx-product-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--tx-border, #e2e8f0);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.tx-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--tx-primary) 18%, transparent);
    border-color: color-mix(in srgb, var(--tx-primary) 35%, var(--tx-border, #e2e8f0));
}
.tx-product-card.is-oos {
    box-shadow: none;
}
.tx-product-card.is-oos:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--tx-border, #e2e8f0);
}

.tx-product-card__media,
.tx-product-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, var(--tx-primary-50, #f6f6f6) 0%, #ffffff 72%);
}
.tx-product-card__media-link,
.tx-product-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}
.tx-product-card__quick {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.tx-product-card__quick:hover,
.tx-product-card__quick:focus-visible {
    transform: scale(1.08);
    background: var(--tx-accent, #c8102e);
    color: #fff;
    outline: none;
}
.tx-product-card__media img,
.tx-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tx-product-card:hover .tx-product-card__media img,
.tx-product-card:hover .tx-product-card__image img {
    transform: scale(1.05);
}
.tx-product-card.is-oos .tx-product-card__media img {
    opacity: 0.55;
    filter: grayscale(0.25);
}

.tx-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    z-index: 2;
    line-height: 1;
}
.tx-product-badge--sale {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.28);
}
.tx-product-badge--oos {
    background: #0f172a;
    color: #fff;
}
.tx-product-badge--hot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    left: auto;
    right: 12px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.tx-product-card__content {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.tx-product-card__category {
    display: inline-flex;
    align-self: flex-start;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tx-primary);
    background: var(--tx-primary-50, #f6f6f6);
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1.2;
}
.tx-product-card__category:hover {
    background: var(--tx-primary);
    color: #fff;
}
.tx-product-card__title {
    font-family: var(--tx-font-heading);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    margin: 0;
    color: var(--tx-text);
    min-height: calc(1.35em * 3);
}
.tx-product-card__title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tx-product-card__title a:hover {
    color: var(--tx-primary);
}

.tx-product-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--tx-accent);
    min-height: 16px;
}
.tx-product-card__rating-score {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 800;
    color: var(--tx-text);
}
.tx-product-card__rating-count {
    font-size: 12px;
    color: var(--tx-muted);
    font-weight: 600;
}

.tx-product-card__price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 2px;
    font-family: var(--tx-font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--tx-primary);
    letter-spacing: -0.02em;
}
.tx-product-card__price del,
.tx-product-card__price .woocommerce-Price-originalPrice {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: line-through;
}
.tx-product-card__price ins {
    text-decoration: none;
    color: var(--tx-accent-2);
}
.tx-product-card__save {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    font-family: var(--tx-font-body);
    font-size: 11px;
    font-weight: 800;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
}
.tx-product-card__save-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 10px;
}
.tx-product-card__save-amount,
.tx-product-card__save-amount .amount,
.tx-product-card__save-amount .woocommerce-Price-amount {
    font-weight: 800;
    color: inherit;
    font-size: 11px;
}

.tx-product-card__atc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    margin-top: 2px;
    background: var(--tx-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--tx-primary) 28%, transparent);
}
.tx-product-card__atc:hover {
    background: var(--tx-primary-2, #000000);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px color-mix(in srgb, var(--tx-primary) 34%, transparent);
}
.tx-product-card__atc:active {
    transform: translateY(0);
}
.tx-product-card__atc:focus-visible {
    outline: 2px solid var(--tx-primary);
    outline-offset: 3px;
}
.tx-product-card__atc.loading {
    pointer-events: none;
    opacity: 0.75;
}
.tx-product-card__atc.added {
    background: #059669;
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.25);
}
.tx-product-card__atc--select {
    background: #fff;
    color: var(--tx-primary);
    border: 1.5px solid var(--tx-primary);
    box-shadow: none;
}
.tx-product-card__atc--select:hover {
    background: var(--tx-primary);
    color: #fff;
}
.tx-product-card__atc--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}
.tx-product-card__out {
    font-size: 12px;
    font-weight: 600;
    color: var(--tx-muted);
}

.tx-products-foot {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ==========================================================================
   8. Promo banner
   ========================================================================== */
.tx-promo {
    padding: 32px 0;
}

.tx-promo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.tx-promo-bg--mesh {
    background:
        radial-gradient(at 20% 50%, rgba(244, 63, 94, 0.45), transparent 50%),
        radial-gradient(at 80% 50%, rgba(99, 102, 241, 0.45), transparent 50%),
        linear-gradient(135deg, #0f172a, #1e293b);
}

.tx-promo-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--tx-radius-xl);
    padding: 48px 56px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    isolation: isolate;
}
.tx-promo-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 50%, rgba(255,255,255,0.08), transparent 60%);
    z-index: -1;
}
.tx-promo-content { max-width: 60%; }
.tx-promo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tx-promo-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tx-accent);
    animation: tx-pulse 1.6s ease-in-out infinite;
}
.tx-promo-title {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

/* ==========================================================================
   9. Why us — big stat banner + 2x2 features
   ========================================================================== */
.tx-why {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
}
.tx-why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 60px;
    background: rgba(17, 17, 17, 0.1);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.15);
    box-shadow: 0 8px 32px rgba(17, 17, 17, 0.1);
}
.tx-why-stat {
    background: #fff;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s var(--tx-ease);
}
.tx-why-stat:hover { background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%); }
.tx-why-stat-num {
    display: block;
    font-family: var(--tx-font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--tx-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.tx-why-stat-label {
    display: block;
    font-size: 13px;
    color: var(--tx-muted);
    font-weight: 600;
    line-height: 1.4;
}

.tx-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.tx-feature-card {
    --tx-feature-accent: #111111;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--tx-ease);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    isolation: isolate;
}
.tx-feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--tx-primary) 0%, var(--tx-accent) 100%);
}
.tx-feature-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #111111;
    border-radius: 4px 0 0 4px;
    opacity: 0;
}
.tx-feature-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px -20px color-mix(in srgb, var(--tx-feature-accent) 60%, transparent),
        0 4px 8px -4px rgba(15, 23, 42, 0.08);
    border-color: color-mix(in srgb, var(--tx-feature-accent) 30%, var(--tx-border));
}
.tx-feature-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, color-mix(in srgb, var(--tx-feature-accent) 18%, transparent) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.6s ease;
}
.tx-feature-card:hover .tx-feature-glow {
    opacity: 1;
    transform: scale(1.1);
}
.tx-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.1) 0%, rgba(17, 17, 17, 0.05) 100%);
    color: var(--tx-primary);
    flex-shrink: 0;
    transition: transform 0.4s var(--tx-ease);
}
.tx-feature-card:hover .tx-feature-icon {
    transform: scale(1.1);
}
.tx-feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.tx-feature-icon svg {
    width: 28px;
    height: 28px;
}
.tx-feature-content { flex: 1; min-width: 0; }
.tx-feature-content h3 {
    font-family: var(--tx-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--tx-text);
    line-height: 1.3;
}
.tx-feature-content p {
    font-size: 14px;
    color: var(--tx-muted);
    line-height: 1.6;
    margin: 0;
}
.tx-feature-num {
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--tx-font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--tx-feature-accent);
    opacity: 0.12;
    letter-spacing: -0.04em;
    transition: opacity 0.3s ease;
}
.tx-feature-card:hover .tx-feature-num {
    opacity: 0.22;
}
@media (max-width: 760px) {
    .tx-feature-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. Testimonials — aggregate rating + cards
   ========================================================================== */
.tx-testimonials {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.tx-testimonials-aggregate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}
.tx-testimonials-stars {
    display: flex;
    gap: 4px;
}
.tx-testimonials-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tx-muted);
}
.tx-testimonials-summary strong {
    font-size: 18px;
    color: var(--tx-text);
    font-weight: 800;
}

.tx-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tx-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    transition: all 0.35s var(--tx-ease);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.tx-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tx-primary) 0%, var(--tx-accent) 100%);
}
.tx-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 31, 28, 0.12);
}

.tx-testimonial-quote-icon {
    color: var(--tx-card-color, var(--tx-accent));
    opacity: 0.35;
}

.tx-testimonial-stars {
    display: flex;
    gap: 2px;
}

.tx-testimonial-card blockquote {
    font-family: var(--tx-font-heading);
    font-size: 15px;
    line-height: 1.7;
    color: var(--tx-text);
    margin: 0;
    font-weight: 500;
}

.tx-testimonial-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--tx-border-2);
}
.tx-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--tx-font-heading);
    flex-shrink: 0;
}
.tx-testimonial-avatar--img {
    background: transparent;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--tx-border);
}
.tx-testimonial-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tx-testimonial-meta strong {
    font-size: 14px;
    color: var(--tx-text);
    font-weight: 700;
}
.tx-testimonial-meta span {
    font-size: 12px;
    color: var(--tx-muted);
}
.tx-testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.10);
    color: #047857;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ==========================================================================
   11. Brands — pill row
   ========================================================================== */
.tx-brands {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.tx-brand-row {
    display: grid;
    grid-template-columns: repeat(var(--tx-brand-cols, 4), minmax(0, 1fr));
    gap: 16px;
}
.tx-brand-row--cols-2 { --tx-brand-cols: 2; }
.tx-brand-row--cols-3 { --tx-brand-cols: 3; }
.tx-brand-row--cols-4 { --tx-brand-cols: 4; }
.tx-brand-row--cols-5 { --tx-brand-cols: 5; }
.tx-brand-row--cols-6 { --tx-brand-cols: 6; }
.tx-brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s var(--tx-ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tx-brand-tile-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}
.tx-brand-tile img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: all 0.3s var(--tx-ease);
}
.tx-brand-name {
    font-family: var(--tx-font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--tx-text);
    letter-spacing: 0.02em;
    text-align: center;
}
.tx-brand-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.15);
    border-color: var(--tx-primary);
}
.tx-brand-tile:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ==========================================================================
   12. Blog — modern article cards
   ========================================================================== */
.tx-blog {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
}

.tx-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tx-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s var(--tx-ease);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.tx-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 31, 28, 0.12);
}

.tx-blog-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.tx-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--tx-ease);
}
.tx-blog-card:hover .tx-blog-media img { transform: scale(1.06); }

.tx-blog-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tx-blog-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tx-blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--tx-muted);
}
.tx-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tx-blog-body h3 {
    font-family: var(--tx-font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.tx-blog-body h3 a {
    color: var(--tx-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tx-blog-body h3 a:hover { color: var(--tx-accent-dark); }

.tx-blog-body p {
    font-size: 14px;
    color: var(--tx-muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tx-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tx-accent-dark);
    transition: all 0.3s var(--tx-ease);
}
.tx-blog-read svg { transition: transform 0.3s var(--tx-ease); }
.tx-blog-card:hover .tx-blog-read svg { transform: translateX(4px); }

.tx-blog-foot {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ==========================================================================
   13. FAQ — modern accordion
   ========================================================================== */
.tx-faq {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
}

.tx-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tx-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--tx-ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.tx-faq-item:hover {
    border-color: rgba(17, 17, 17, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.tx-faq-item[open] {
    border-color: var(--tx-primary);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
}

.tx-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--tx-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--tx-text);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.tx-faq-item summary::-webkit-details-marker { display: none; }
.tx-faq-item summary:hover { color: var(--tx-primary); }

.tx-faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.1);
    color: var(--tx-primary);
    flex-shrink: 0;
    transition: all 0.3s var(--tx-ease);
}
.tx-faq-item[open] .tx-faq-chevron {
    transform: rotate(180deg);
    background: var(--tx-primary);
    color: #fff;
}

.tx-faq-answer {
    padding: 0 24px 22px;
    color: var(--tx-muted);
    line-height: 1.7;
    font-size: 15px;
}
.tx-faq-answer p { margin: 0; }

/* ==========================================================================
   14. CTA / newsletter
   ========================================================================== */
.tx-cta {
    padding: 80px 0;
}

.tx-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(145deg, #0a1f1c 0%, #0d2826 50%, #0f2926 100%);
    padding: 64px 56px;
    color: #fff;
    isolation: isolate;
    box-shadow: 0 20px 60px rgba(10, 31, 28, 0.35);
}

/* Decorative blobs */
.tx-cta-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tx-cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
}
.tx-cta-blob--1 {
    width: 320px; height: 320px;
    background: #e11d2e;
    top: -80px; left: -60px;
    animation: tx-cta-pulse 8s ease-in-out infinite;
}
.tx-cta-blob--2 {
    width: 240px; height: 240px;
    background: var(--tx-accent);
    bottom: -40px; right: 20%;
    animation: tx-cta-pulse 10s ease-in-out infinite reverse;
}
.tx-cta-blob--3 {
    width: 180px; height: 180px;
    background: var(--tx-accent);
    top: 20%; right: -40px;
    animation: tx-cta-pulse 12s ease-in-out infinite;
}
@keyframes tx-cta-pulse {
    0%, 100% { transform: scale(1); opacity: 0.18; }
    50% { transform: scale(1.08); opacity: 0.25; }
}

/* Inner two-column layout */
.tx-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

/* Left column */
.tx-cta-left { min-width: 0; }

.tx-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e11d2e;
    margin-bottom: 16px;
}
.tx-cta-eyebrow svg { color: #e11d2e; }

.tx-cta-title {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.tx-cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 28px;
    line-height: 1.65;
    max-width: 460px;
}

/* Form group — input + button inline */
.tx-cta-form { max-width: 480px; }
.tx-cta-form-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tx-cta-form-group:focus-within {
    border-color: rgba(20, 184, 166, 0.6);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.tx-cta-form-icon {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.tx-cta-form input[type="email"],
.tx-cta-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
    min-width: 0;
}
.tx-cta-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.tx-cta-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 20px;
    background: linear-gradient(135deg, #e11d2e, var(--tx-accent));
    color: #fff;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.tx-cta-submit:hover {
    background: linear-gradient(135deg, var(--tx-accent), #111111);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(20, 184, 166, 0.4);
}
.tx-cta-submit:active { transform: translateY(0); }

.tx-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}
.tx-cta-note svg { color: #e11d2e; flex-shrink: 0; }

/* Right column — WhatsApp card */
.tx-cta-right { flex-shrink: 0; }
.tx-cta-wa-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    min-width: 200px;
}
.tx-cta-wa-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tx-cta-wa-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tx-cta-wa-text strong {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}
.tx-cta-wa-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.tx-cta-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #25D366;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.tx-cta-wa-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #fff;
}
.tx-cta-wa-btn:active { transform: translateY(0); }
/* ==========================================================================
   15. SEO blocks — alternating media
   ========================================================================== */
.tx-seo { background: var(--tx-bg-tint); }

.tx-seo-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--tx-border);
}
.tx-seo-block:last-child { border-bottom: none; }
.tx-seo-block--alt { grid-template-columns: 1.2fr 1fr; direction: rtl; }
.tx-seo-block--alt > * { direction: ltr; }

.tx-seo-figure {
    margin: 0;
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
    box-shadow: var(--tx-shadow-lg);
}
.tx-seo-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tx-seo-content h2 {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 14px 0 16px;
    color: var(--tx-text);
}
.tx-seo-content > div {
    font-size: 15px;
    color: var(--tx-text);
    line-height: 1.75;
}
.tx-seo-content > div p { margin: 0 0 14px; }
.tx-seo-content .tx-btn { margin-top: 14px; }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .tx-hero { padding: 70px 0 80px; }
    .tx-hero-perks { grid-template-columns: repeat(3, 1fr); }

    .tx-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tx-cat-card { min-height: 240px; }

    .tx-product-grid { grid-template-columns: repeat(3, 1fr); }
    .tx-brands .tx-brand-row--cols-5,
    .tx-brands .tx-brand-row--cols-6 { --tx-brand-cols: 3; }
    .tx-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .tx-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .tx-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tx-why-stats { grid-template-columns: repeat(2, 1fr); }
    .tx-seo-block { grid-template-columns: 1fr; gap: 24px; }
    .tx-seo-block--alt { grid-template-columns: 1fr; direction: ltr; }
}

@media (max-width: 720px) {
    .tx-section { padding: 48px 0; }
    .tx-categories, .tx-products, .tx-testimonials, .tx-blog, .tx-why, .tx-brands, .tx-faq, .tx-cta {
        padding: 48px 0;
    }
    .tx-hero {
        padding: 36px 0 44px;
    }
    .tx-hero-title {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
        line-height: 1.12;
    }
    .tx-hero-subtitle {
        font-size: 15px;
        line-height: 1.55;
        max-width: 36ch;
    }
    .tx-hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .tx-hero-actions .tx-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    .tx-hero-perks { grid-template-columns: 1fr; gap: 10px; }
    .tx-hero-perks li { padding: 14px 16px; }
    .tx-hero-stat-card { grid-template-columns: 1fr; }

    .tx-trust-strip { padding: 20px 0; }
    .tx-trust-grid { grid-template-columns: 1fr; gap: 10px; }
    .tx-trust-item { padding: 16px 18px; }

    .tx-section-header { margin-bottom: 28px; padding: 0 4px; }
    .tx-section-header h2 { font-size: clamp(1.4rem, 6vw, 1.85rem); }

    .tx-cat-grid { grid-template-columns: 1fr; gap: 12px; }
    .tx-cat-card,
    .tx-cat-card--feature { min-height: 200px; grid-column: auto; }
    .tx-cat-card-body h3 { font-size: 18px; }

    .tx-product-grid { grid-template-columns: 1fr; gap: 14px; }
    .tx-product-card { border-radius: 14px; }
    .tx-product-card__content { padding: 14px 14px 16px; gap: 8px; }
    .tx-product-card__title { font-size: 15px; min-height: 0; }
    .tx-product-card__price { font-size: 15px; }
    .tx-product-card__atc { min-height: 44px; padding: 12px 10px; font-size: 13px; gap: 6px; }
    .tx-product-card__media img,
    .tx-product-card__image img { padding: 0; }
    .tx-product-card--catalog .tx-product-card__atc {
        background: var(--tx-btn-bg, var(--tx-accent));
        color: var(--tx-btn-text, #fff);
        border: none;
    }

    .tx-testimonial-grid { grid-template-columns: 1fr; }
    .tx-blog-grid { grid-template-columns: 1fr; }
    .tx-feature-grid { grid-template-columns: 1fr; }
    .tx-why-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tx-brands .tx-brand-row { --tx-brand-cols: 2; }

    .tx-promo { padding: 0; }
    .tx-promo-inner { padding: 36px 20px; flex-direction: column; align-items: stretch; gap: 20px; }
    .tx-promo-content { max-width: 100%; }
    .tx-promo-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
    .tx-promo-inner .tx-btn { width: 100%; justify-content: center; min-height: 48px; }

    .tx-cta-card { padding: 32px 20px; border-radius: 16px; }
    .tx-cta-form { flex-direction: column; }
    .tx-cta-form--inline { padding: 4px; }
    .tx-cta-form-group { flex-direction: column; align-items: stretch; }
    .tx-cta-submit { width: 100%; min-height: 48px; justify-content: center; }

    .tx-faq-item summary { padding: 16px 18px; font-size: 15px; min-height: 48px; }
    .tx-faq-answer { padding: 0 18px 18px; font-size: 14px; }

    .tx-products-foot { margin-top: 28px; }
    .tx-products-foot .tx-btn { width: 100%; justify-content: center; }
}

@media (min-width: 481px) and (max-width: 720px) {
    .tx-product-grid { grid-template-columns: repeat(2, 1fr); }
    .tx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tx-trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   16. Cart Drawer
   ========================================================================== */
.terea-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}
.terea-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.terea-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: #fff;
    z-index: 100011;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}
.terea-drawer.is-open {
    transform: translateX(0);
}

.terea-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #0a1f1c 0%, #0d2826 100%);
    color: #fff;
}
.terea-drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tx-font-heading);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}
.terea-drawer-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
.terea-drawer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--tx-accent);
    color: #0f172a;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.terea-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.terea-drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.terea-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.terea-drawer-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terea-drawer-product {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 14px;
    transition: all 0.2s ease;
}
.terea-drawer-product:hover {
    background: #f1f5f9;
}
.terea-drawer-product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}
.terea-drawer-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.terea-drawer-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.terea-drawer-product-title {
    font-family: var(--tx-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--tx-text);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.terea-drawer-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--tx-primary);
}
.terea-drawer-product-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}
.terea-drawer-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--tx-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.terea-drawer-qty-btn:hover {
    background: var(--tx-primary);
    border-color: var(--tx-primary);
    color: #fff;
}
.terea-drawer-qty-value {
    font-size: 14px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}
.terea-drawer-product-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--tx-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}
.terea-drawer-product-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.terea-drawer-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--tx-muted);
}
.terea-drawer-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(17, 17, 17, 0.1);
    border-radius: 50%;
    color: var(--tx-primary);
}
.terea-drawer-empty p {
    font-size: 16px;
    margin: 0 0 20px;
}
.terea-drawer-empty .tx-btn {
    display: inline-flex;
}

.terea-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.terea-drawer-summary,
.terea-drawer-totals,
.terea-drawer-totals-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.terea-drawer-totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
}
.terea-drawer-totals-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tx-muted);
    flex: 1 1 auto;
    min-width: 0;
}
.terea-drawer-totals-value {
    font-family: var(--tx-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--tx-primary);
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: end;
}
.terea-drawer-totals-row--total .terea-drawer-totals-value,
.terea-drawer-grand {
    font-size: 22px;
}
.terea-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.terea-drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.terea-drawer-btn--cart {
    background: #fff;
    color: var(--tx-primary);
    border: 2px solid var(--tx-primary);
}
.terea-drawer-btn--cart:hover {
    background: rgba(17, 17, 17, 0.05);
}
.terea-drawer-btn--checkout {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
}
.terea-drawer-btn--checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.4);
}

/* Toast Notifications */
.terea-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    padding: 14px 24px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.28);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
.terea-toast[hidden] { display: none !important; }
.terea-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.terea-toast.is-success { background: #059669; }
.terea-toast.is-error {
    background: #dc2626;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

/* Professional Cart Toast — hidden until success/error */
.terea-cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: none;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    min-width: 280px;
    max-width: min(380px, calc(100vw - 32px));
}
.terea-cart-toast[hidden] { display: none !important; }
.terea-cart-toast.is-visible {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.terea-toast-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #059669;
    border-radius: 10px;
    flex-shrink: 0;
    color: #fff;
}
.terea-toast-icon svg {
    color: #fff;
    display: block;
}
.terea-toast-icon__err[hidden],
.terea-toast-icon__ok[hidden] {
    display: none !important;
}
.terea-toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.terea-toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.terea-toast-message {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.terea-toast-action {
    padding: 8px 14px;
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.terea-toast-action[hidden] { display: none !important; }
.terea-toast-action:hover {
    background: var(--tx-accent, #c8102e);
}

.terea-cart-toast.is-error .terea-toast-icon {
    background: #dc2626;
}
.terea-cart-toast.is-error .terea-toast-title {
    color: #b91c1c;
}
.terea-cart-toast.is-success .terea-toast-icon {
    background: #059669;
}

@media (max-width: 480px) {
    .terea-cart-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: 0;
        max-width: none;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .terea-drawer {
        width: 100vw;
    }
    .terea-drawer-empty {
        padding: 32px 16px;
    }
    .terea-drawer-footer {
        padding: 16px;
    }
}

/* ==========================================================================
   17. Helpers — spinner + utility animations
   ========================================================================== */
.tx-spin {
    animation: tx-spin 1s linear infinite;
}
@keyframes tx-spin {
    to { transform: rotate(360deg); }
}

/* Homepage polish — cleaner spacing and consistent cards */
.tx-section-header { margin-bottom: 40px; }
.tx-trust-strip { padding: 28px 0; }
.tx-trust-grid {
    gap: 12px;
    background: transparent;
    border-radius: 0;
}
.tx-trust-item {
    background: #0f172a;
    border-radius: 16px;
    padding: 20px 22px;
}
.tx-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.tx-cat-card { min-height: 220px; border-radius: 16px; }
.tx-product-grid { gap: 18px; }
@media (max-width: 1023px) {
    .tx-section { padding: 48px 0; }
    .tx-hero { padding: 40px 0 48px; }
    .tx-trust-grid { grid-template-columns: 1fr 1fr; }
    .tx-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tx-cat-card,
    .tx-cat-card--feature { grid-column: auto; min-height: 180px; }
    .tx-cat-pills,
    .tx-filter-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        margin-bottom: 28px;
        padding: 4px 2px 10px;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
    }
    .tx-cat-pills::-webkit-scrollbar,
    .tx-filter-pills::-webkit-scrollbar { display: none; }
    .tx-filter-pill,
    .tx-cat-pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .tx-filter-pill.is-active {
        box-shadow: 0 6px 16px rgba(17, 17, 17, 0.28);
    }
}









