/**
 * TechShop Electronics 03 - Complete Dedicated Stylesheet
 * 100% Faithful Reproduction of wordpressthemes.live/WCM9/WCM210_techshop/electronics03/
 */

:root {
    --ts-primary: #0073de;
    --ts-primary-hover: #005bb7;
    --ts-dark: #1c1d1d;
    --ts-heading: #111827;
    --ts-body: #4b5563;
    --ts-muted: #6b7280;
    --ts-light-bg: #f8f9fa;
    --ts-card-bg: #ffffff;
    --ts-border: #ebebeb;
    --ts-border-light: #f0f0f0;
    --ts-star: #ffb800;
    --ts-badge-blue: #0073de;
    --ts-badge-red: #ff3b30;
    --ts-badge-green: #10b981;
    --ts-radius-sm: 8px;
    --ts-radius: 12px;
    --ts-radius-lg: 16px;
    --ts-font: 'Jost', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --ts-container: 1440px;
}

/* Base & Typography */
body {
    font-family: var(--ts-font);
    color: var(--ts-body);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ts-container {
    width: 100%;
    max-width: var(--ts-container);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--ts-primary);
}

/* ==========================================================================
   1. TOP NOTIFICATION BAR
   ========================================================================== */
.ts-topbar {
    background-color: var(--ts-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}
.ts-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ts-topbar-notice {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ts-topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ts-topbar-links a {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}
.ts-topbar-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.ts-topbar-links a + a::before {
    content: "|";
    position: absolute;
    left: -11px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   2. MAIN HEADER (LOGO, SEARCH, ACTIONS)
   ========================================================================== */
.ts-header-mid {
    background: #ffffff;
    padding: 20px 0 18px;
    border-bottom: 1px solid #f0f0f0;
}
.ts-header-mid-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.ts-logo-wrap {
    flex-shrink: 0;
}
.ts-logo-img {
    max-height: 42px;
    width: auto;
    display: block;
}

/* Center Search Box (TechShop Original Style) */
.ts-search-box {
    flex: 1;
    max-width: 620px;
    position: relative;
}
.ts-search-form {
    display: flex;
    align-items: center;
    height: 44px;
    border: 2px solid #0073de;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}
.ts-search-cat {
    height: 100%;
    border: none;
    border-right: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 0 14px;
    font-size: 13.5px;
    color: #444;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    max-width: 175px;
    flex-shrink: 0;
}
.ts-search-input {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0 16px;
    font-size: 13.5px;
    color: #222;
    outline: none;
    font-family: inherit;
}
.ts-search-input::placeholder {
    color: #9ca3af;
}
.ts-search-submit {
    height: 100%;
    background: #0073de;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}
.ts-search-submit:hover {
    background: #005bb5;
}

/* Header Right Actions (TechShop Uniform Minimalist Style) */
.ts-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}
.ts-header-action-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.ts-header-action-item:hover {
    opacity: 0.8;
}
.ts-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    position: relative;
}
.ts-cart-icon-pos {
    position: relative;
}
.ts-cart-icon-pos .ts-header-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #0073de;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}
.ts-action-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}
.ts-action-label {
    font-size: 11.5px;
    color: #777777;
    font-weight: 400;
}
.ts-action-val {
    font-size: 13.5px;
    color: #222222;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Floating AJAX Search Dropdown */
.ts-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
}
.ts-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s ease;
}
.ts-search-item:last-child {
    border-bottom: none;
}
.ts-search-item:hover {
    background: #f8fafc;
}
.ts-search-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}
.ts-search-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ts-search-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ts-search-price {
    font-size: 13px;
    font-weight: 800;
    color: #0073de;
}
.ts-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.ts-action-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-heading);
    position: relative;
}
.ts-action-info {
    display: flex;
    flex-direction: column;
}
.ts-action-sub {
    font-size: 12px;
    color: var(--ts-muted);
}
.ts-action-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--ts-heading);
}
.ts-cart-count-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--ts-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. BOTTOM NAVIGATION BAR
   ========================================================================== */
.ts-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--ts-border);
}
.ts-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ts-cat-btn-wrap {
    position: relative;
}
.ts-cat-btn {
    background: #ffffff;
    border: none;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ts-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px 14px 0;
    cursor: pointer;
    border-right: 1px solid var(--ts-border-light);
}
.ts-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0 20px;
}
.ts-nav-links li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-heading);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 0;
    position: relative;
}
.ts-nav-links li a:hover,
.ts-nav-links li a.active {
    color: var(--ts-primary);
}
.ts-tag-sale {
    background: #e0f2fe;
    color: var(--ts-primary);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.ts-tag-hot {
    background: #ffe4e6;
    color: #e11d48;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.ts-discount-callout {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ts-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   4. CATEGORY QUICK PILLS ROW
   ========================================================================== */
.ts-cats-row-section {
    padding: 24px 0 16px;
}
.ts-cats-row-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}
.ts-cat-pill-card {
    background: #ffffff;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.ts-cat-pill-card:hover {
    border-color: var(--ts-primary);
    box-shadow: 0 6px 18px rgba(0, 115, 222, 0.08);
    transform: translateY(-2px);
}
.ts-cat-pill-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-cat-pill-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.ts-cat-pill-card:hover .ts-cat-pill-icon img {
    transform: scale(1.08);
}
.ts-cat-pill-info {
    display: flex;
    flex-direction: column;
}
.ts-cat-pill-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ts-heading);
    line-height: 1.25;
}
.ts-cat-pill-count {
    font-size: 11.5px;
    color: var(--ts-muted);
    margin-top: 2px;
}

/* ==========================================================================
   5. HERO SECTION (2/3 SLIDER + 1/3 BANNERS)
   ========================================================================== */
.ts-hero-section {
    padding: 10px 0 30px;
}
.ts-hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.ts-hero-slider-wrap {
    position: relative;
    border-radius: var(--ts-radius-lg);
    overflow: hidden;
    min-height: 460px;
    background: #f8fafc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.ts-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 50px 60px;
}
.ts-hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.ts-hero-content {
    max-width: 480px;
    z-index: 2;
}
.ts-hero-badge {
    display: inline-block;
    background: #ffffff;
    color: var(--ts-primary);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.ts-hero-title {
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--ts-heading);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.ts-hero-subtitle {
    font-size: 15px;
    color: var(--ts-body);
    margin: 0 0 24px;
    line-height: 1.5;
}
.ts-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.ts-hero-btn:hover {
    background: var(--ts-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 115, 222, 0.3);
}
.ts-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 60px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.ts-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ts-hero-dot.active {
    width: 26px;
    border-radius: 10px;
    background: var(--ts-primary);
}

/* Right Stacked Banners */
.ts-hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ts-side-banner-top {
    background: #e0f2fe;
    border-radius: var(--ts-radius-lg);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: right center;
    transition: transform 0.25s ease;
}
.ts-side-banner-top:hover {
    transform: translateY(-2px);
}
.ts-side-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--ts-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ts-side-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ts-heading);
    margin: 0 0 14px;
    max-width: 180px;
    line-height: 1.25;
}
.ts-btn-pill-dark {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 9999px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}
.ts-btn-pill-dark:hover {
    background: var(--ts-primary);
    color: #ffffff;
}

/* Bottom 2 Split Cards */
.ts-side-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ts-side-card-mini {
    border-radius: var(--ts-radius-lg);
    padding: 20px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center bottom;
    transition: transform 0.25s ease;
    text-decoration: none;
}
.ts-side-card-mini:hover {
    transform: translateY(-2px);
}
.ts-mini-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ts-heading);
    margin: 0 0 4px;
}
.ts-mini-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ts-heading);
    text-decoration: underline;
}

/* ==========================================================================
   6. COMMON SECTION HEADERS
   ========================================================================== */
.ts-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.ts-sec-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--ts-primary);
}
.ts-sec-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ts-heading);
    margin: 0;
    letter-spacing: -0.01em;
}
.ts-sec-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ts-arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ts-border);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ts-heading);
    transition: all 0.2s ease;
}
.ts-arrow-btn:hover {
    background: var(--ts-primary);
    border-color: var(--ts-primary);
    color: #ffffff;
}

/* ==========================================================================
   7. 6-COLUMN PRODUCT CARDS (FEATURED PRODUCTS & NEWEST)
   ========================================================================== */
.ts-products-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.ts-product-card {
    background: #ffffff;
    border: 1px solid var(--ts-border);
    border-radius: 10px;
    padding: 16px 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.25s ease;
    text-align: left;
}
.ts-product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}
.ts-prod-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ts-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    z-index: 2;
}
.ts-prod-img-wrap {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}
.ts-prod-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.ts-product-card:hover .ts-prod-img-wrap img {
    transform: scale(1.06);
}
.ts-prod-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ts-heading);
    line-height: 1.35;
    margin: 0 0 8px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ts-prod-title a {
    color: inherit;
}
.ts-prod-title a:hover {
    color: var(--ts-primary);
}
.ts-prod-stars {
    color: var(--ts-star);
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.ts-prod-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 8px;
    margin-bottom: 12px;
}
.ts-prod-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--ts-heading);
    white-space: nowrap;
}
.ts-prod-old-price {
    font-size: 12.5px;
    color: var(--ts-muted);
    text-decoration: line-through;
    white-space: nowrap;
    margin-left: 0;
}
.ts-btn-add-cart {
    background: #f4f5f7;
    color: var(--ts-heading);
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 16px;
    height: 36px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-sizing: border-box;
}
.ts-btn-add-cart:hover {
    background: var(--ts-primary);
    color: #ffffff;
}
.ts-btn-add-cart.loading {
    opacity: 0.75;
    pointer-events: none;
}
.ts-btn-add-cart.loading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ts-spin 0.6s linear infinite;
    margin-left: 6px;
}
@keyframes ts-spin {
    to { transform: rotate(360deg); }
}
.ts-btn-add-cart.added {
    background: #10b981 !important;
    color: #ffffff !important;
}
.ts-product-card a.added_to_cart.wc-forward {
    display: none !important;
}

/* ==========================================================================
   8. WIDE PROMO BANNER (VR HEADSET)
   ========================================================================== */
.ts-wide-banner-section {
    padding: 24px 0 34px;
}
.ts-wide-banner-card {
    background: #ececec;
    border-radius: var(--ts-radius-lg);
    min-height: 190px;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease;
}
.ts-wide-banner-card:hover {
    transform: translateY(-2px);
}
.ts-wide-content {
    max-width: 460px;
}
.ts-wide-sub {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ts-wide-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ts-heading);
    margin: 0 0 12px;
    line-height: 1.25;
}
.ts-wide-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ts-heading);
    text-decoration: underline;
}

/* ==========================================================================
   9. TOP RATED WITH COUNTDOWN TIMER & SHOWCASE
   ========================================================================== */
.ts-top-rated-section {
    padding: 10px 0 34px;
}
.ts-countdown-timer-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ts-timer-box {
    background: var(--ts-primary);
    color: #ffffff;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    min-width: 38px;
}
.ts-timer-box small {
    display: block;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.85;
}
.ts-top-rated-layout {
    display: grid;
    grid-template-columns: 310px 1fr 1fr;
    gap: 20px;
}
.ts-deal-card-left {
    background-color: #fef9c3;
    border-radius: var(--ts-radius-lg);
    padding: 28px;
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
}
.ts-compact-products-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ts-compact-product-item {
    background: #ffffff;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}
.ts-compact-product-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.ts-compact-img-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-compact-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ts-compact-info {
    flex: 1;
}
.ts-compact-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ts-heading);
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ts-compact-stars {
    color: var(--ts-star);
    font-size: 11.5px;
    margin-bottom: 4px;
}
.ts-compact-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ts-heading);
}

/* ==========================================================================
   10. TRIPLE PROMO BANNERS
   ========================================================================== */
.ts-triple-banners-section {
    padding: 10px 0 34px;
}
.ts-triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ts-promo-card-pastel {
    border-radius: var(--ts-radius-lg);
    min-height: 170px;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: right center;
    transition: transform 0.25s ease;
}
.ts-promo-card-pastel:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   11. NEWEST PRODUCT TABS
   ========================================================================== */
.ts-newest-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ts-tab-btn {
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-muted);
    cursor: pointer;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}
.ts-tab-btn.active, .ts-tab-btn:hover {
    color: var(--ts-primary);
}
.ts-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ts-primary);
}

/* ==========================================================================
   12. BRAND LOGOS CAROUSEL / ROW
   ========================================================================== */
.ts-brands-section {
    padding: 20px 0 36px;
}
.ts-brands-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 30px;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-lg);
    background: #ffffff;
}
.ts-brand-item img {
    max-height: 34px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s ease;
}
.ts-brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================================================
   13. SHOP BY DISCOUNTS! WITH TIMER PER CARD
   ========================================================================== */
.ts-discount-deal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ts-discount-card {
    background: #ffffff;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.25s ease;
}
.ts-discount-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.ts-discount-clock {
    font-size: 11.5px;
    font-weight: 700;
    color: #e11d48;
    margin-top: 8px;
}

/* ==========================================================================
   14. OUR LATEST NEWS (BLOG SECTION)
   ========================================================================== */
.ts-news-section {
    padding: 10px 0 40px;
}
.ts-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ts-news-card {
    background: #ffffff;
    border-radius: var(--ts-radius);
    overflow: hidden;
    transition: transform 0.25s ease;
}
.ts-news-card:hover {
    transform: translateY(-3px);
}
.ts-news-thumb {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: var(--ts-radius);
    margin-bottom: 14px;
}
.ts-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.ts-news-card:hover .ts-news-thumb img {
    transform: scale(1.05);
}
.ts-news-meta {
    font-size: 12px;
    color: var(--ts-muted);
    margin-bottom: 6px;
}
.ts-news-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ts-heading);
    line-height: 1.35;
    margin: 0 0 10px;
}
.ts-news-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--ts-heading);
    text-decoration: underline;
}

/* ==========================================================================
   15. 4 VALUE PILLARS BAR (ROYAL BLUE)
   ========================================================================== */
.ts-pillars-bar {
    background: var(--ts-primary);
    color: #ffffff;
    padding: 30px 0;
}
.ts-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ts-pillar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ts-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ts-pillar-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}
.ts-pillar-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
}
.ts-pillar-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==========================================================================
   16. TECHSHOP FOOTER
   ========================================================================== */
.ts-footer {
    background: #ffffff;
    border-top: 1px solid var(--ts-border);
    padding: 50px 0 20px;
    font-size: 13.5px;
    color: #64748b;
}
.ts-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.ts-footer-col-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ts-heading);
    margin: 0 0 18px;
}
.ts-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ts-footer-links a {
    color: #64748b;
}
.ts-footer-links a:hover {
    color: var(--ts-primary);
}
.ts-newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.ts-newsletter-input {
    flex: 1;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-sm);
    padding: 10px 14px;
    font-size: 13.5px;
    outline: none;
}
.ts-newsletter-btn {
    background: var(--ts-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--ts-radius-sm);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
.ts-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--ts-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 1200px) {
    .ts-cats-row-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .ts-products-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ts-top-rated-layout {
        grid-template-columns: 1fr;
    }
    .ts-deal-card-left {
        min-height: 240px;
    }
}

@media (max-width: 900px) {
    .ts-header-mid-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .ts-header-spacer {
        display: none;
    }
    .ts-logo-wrap {
        justify-self: center;
        text-align: center;
        margin: 0 auto;
    }
    .ts-hero-layout {
        grid-template-columns: 1fr;
    }
    .ts-triple-grid {
        grid-template-columns: 1fr;
    }
    .ts-discount-deal-grid {
        grid-template-columns: 1fr;
    }
    .ts-news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ts-pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ts-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ts-cats-row-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ts-products-grid-6 {
        grid-template-columns: 1fr 1fr;
    }
    .ts-news-grid {
        grid-template-columns: 1fr;
    }
    .ts-pillars-grid {
        grid-template-columns: 1fr;
    }
    .ts-footer-grid {
        grid-template-columns: 1fr;
    }
    .ts-header-mid-inner {
        flex-direction: column;
        gap: 14px;
    }
    .ts-search-box {
        width: 100%;
    }
}

/* ==========================================================================
   HEADER CART BUTTON & DRAWER STYLES
   ========================================================================== */
.ts-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ts-cart-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--ts-heading);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.ts-cart-btn-header:hover {
    border-color: var(--ts-primary);
    background: #f8fafc;
    color: var(--ts-primary);
}
.ts-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-primary);
}
.ts-header-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--ts-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    line-height: 1;
}
.ts-cart-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}
.ts-cart-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.ts-header-cart-subtotal {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ts-heading);
}

/* ==========================================================================
   SLIDE-IN CART DRAWER (TECHSHOP)
   ========================================================================== */
.ts-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ts-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.ts-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ts-cart-drawer.open {
    transform: translateX(0);
}
.ts-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.ts-drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ts-drawer-close-btn {
    border: none;
    background: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s ease;
}
.ts-drawer-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}
.ts-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.ts-drawer-body .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ts-drawer-body ul.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.ts-drawer-body li.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.ts-drawer-body li.woocommerce-mini-cart-item a.remove {
    position: absolute;
    right: 0;
    top: 12px;
    color: #ef4444 !important;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.ts-drawer-body li.woocommerce-mini-cart-item a.remove:hover {
    background: #fee2e2;
}
.ts-drawer-body li.woocommerce-mini-cart-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    background: #ffffff;
}
.ts-drawer-body li.woocommerce-mini-cart-item a:not(.remove) {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.35;
    flex: 1;
    padding-right: 24px;
}
.ts-drawer-body li.woocommerce-mini-cart-item .quantity {
    display: block;
    font-size: 13px;
    color: #0073de;
    font-weight: 700;
    margin-top: 4px;
}
.ts-drawer-body p.woocommerce-mini-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 16px 0;
    border-top: 2px solid #e2e8f0;
    margin: 20px 0 12px;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons a.button {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons a.button:first-child {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons a.button:first-child:hover {
    background: #e2e8f0;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons a.button.checkout {
    background: var(--ts-primary);
    color: #ffffff;
    border: none;
}
.ts-drawer-body p.woocommerce-mini-cart__buttons a.button.checkout:hover {
    background: #005bb7;
}
.ts-drawer-footer-actions {
    padding: 14px 24px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}
.ts-btn-drawer-wa {
    width: 100%;
    height: 42px;
    background: #22c55e;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.ts-btn-drawer-wa:hover {
    background: #16a34a;
    color: #ffffff;
}

/* ==========================================================================
   TOAST NOTIFICATION (TECHSHOP)
   ========================================================================== */
.ts-cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 100000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ts-cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.ts-toast-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}



/* ==========================================================================
   TECHSHOP ELECTRONICS 03 — EXACT FIDELITY OVERRIDES
   (based on electronics03_style.css, post_2.css, base_global.css originals)
   ========================================================================== */
:root {
    --ts-font: 'Heebo', sans-serif;
    --ts-heading: #222222;
    --ts-body: #666666;
    --ts-border: #e5e5e5;
    --ts-container: 1560px;
}
body, button, input, select, textarea { font-family: 'Heebo', sans-serif; }
body { color: #666666; font-size: 15px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Heebo', sans-serif; font-weight: 500; color: #222222; }
.ts-container { padding: 0 15px; }

/* Topbar & header weights */
.ts-topbar { font-size: 13px; font-weight: 400; padding: 7px 0; }
.ts-header-mid { border-bottom: none; padding: 22px 0 18px; }
.ts-search-form { height: 42px; border-width: 1.5px; }
.ts-search-cat { font-weight: 400; font-size: 14px; }
.ts-search-submit { font-weight: 500; padding: 0 22px; }
.ts-wa-sub { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; }
.ts-wa-val, .ts-header-cart-subtotal { font-weight: 500; }

/* Nav bar: rounded bordered box inside the container */
.ts-nav-bar { border-bottom: none; background: transparent; }
.ts-nav-inner {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 10px;
}
.ts-cat-btn {
    font-weight: 500; font-size: 14px; color: #222;
    padding: 13px 24px 13px 0;
    border-right: 1px solid #e5e5e5;
    background: transparent;
}
.ts-nav-links { flex: 1; justify-content: center; gap: 34px; }
.ts-nav-links li a { font-weight: 400; font-size: 15px; color: #222; padding: 13px 0; }
.ts-tag-sale, .ts-tag-hot { font-weight: 500; font-size: 10px; text-transform: none; }

/* Category row: 6 cards, #f6f6f6, image left / text right */
.ts-cats-row-section { padding: 20px 0 20px; }
.ts-cats-row-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ts-cat-pill-card {
    background: #f6f6f6;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    justify-content: space-between;
    min-height: 92px;
    box-sizing: border-box;
}
.ts-cat-pill-card:hover { box-shadow: none; transform: none; background: #f0f0f0; }
.ts-cat-pill-icon { width: 45%; max-width: 80px; height: 64px; }
.ts-cat-pill-icon img { mix-blend-mode: multiply; border-radius: 0 !important; }
.ts-cat-pill-info { text-align: right; }
.ts-cat-pill-name { font-size: 17px; font-weight: 500; color: #000; }
.ts-cat-pill-count { font-size: 15px; color: #666; margin-top: 4px; }

/* Hero: 58 / 42 */
.ts-hero-section { padding: 0 0 70px; }
.ts-hero-layout { grid-template-columns: 58fr 42fr; gap: 20px; }
.ts-hero-slider-wrap { border-radius: 10px; box-shadow: none; min-height: 500px; background: #efece9; }
.ts-hero-slide { padding: 50px 70px; }
.ts-hero-content { max-width: 340px; }
.ts-hero-badge {
    background: none; box-shadow: none; padding: 0; border-radius: 0;
    color: #222; font-size: 16px; font-weight: 500;
    text-transform: none; letter-spacing: 0; margin-bottom: 10px;
}
.ts-hero-title {
    font-size: 40px; line-height: 48px; font-weight: 500;
    color: #222; letter-spacing: 0; margin: 0 0 14px;
}
.ts-hero-from { display: block; font-size: 16px; color: #222; }
.ts-hero-price { display: block; font-size: 36px; line-height: 1.2; font-weight: 600; color: #dd2831; margin-bottom: 26px; }
.ts-hero-btn {
    display: none !important;
}
.ts-hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    text-decoration: none;
    border: none;
    outline: none;
}
.ts-hero-slide .ts-hero-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
}
.ts-hero-dot.active { background: #0073de !important; }

.ts-hero-side-banners { gap: 20px; }
.ts-side-banner-top {
    border-radius: 10px; min-height: 240px; padding: 30px 35px;
    background-color: #e3ebf2;
}
.ts-side-banner-top:hover, .ts-side-card-mini:hover { transform: none; }
.ts-side-tag { font-size: 16px; font-weight: 500; color: #000; text-transform: none; margin-bottom: 6px; }
.ts-side-title { font-size: 22px; line-height: 30px; font-weight: 500; color: #222; max-width: 220px; margin-bottom: 16px; }
.ts-btn-pill-dark { background: #222; font-size: 14px; font-weight: 400; padding: 8px 22px; border-radius: 50px; }
.ts-btn-pill-dark:hover { background: #0073de; }

.ts-side-split-grid { gap: 20px; flex: 1; }
.ts-side-card-mini {
    border-radius: 10px; min-height: 240px;
    justify-content: flex-start; text-align: center;
    padding: 24px 15px; background-position: center bottom;
}
.ts-mini-title { font-size: 20px; font-weight: 500; color: #222; margin: 0 0 4px; }
.ts-mini-link { font-size: 14px; font-weight: 400; color: #222; }

/* Section headers: only 1px gray line, no blue bar */
.ts-sec-header {
    margin: 0 0 30px; padding: 0 0 20px;
    border-bottom: 1px solid #e5e5e5;
}
.ts-sec-header::after { display: none; }
.ts-sec-title { font-size: 26px; font-weight: 500; color: #222; letter-spacing: 0; }
.ts-arrow-btn { width: 24px; height: 24px; border-radius: 3px; border-color: #e5e5e5; }
.ts-arrow-btn svg { width: 10px; height: 10px; }
.ts-featured-section, .ts-newest-section, .ts-discounts-section, .ts-best-selling-section, .ts-top-rated-section {
    padding: 0 0 70px !important;
}

/* 6-col product grid: single unified bordered grid */
.ts-products-grid-6 {
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
}
.ts-product-card {
    border: none;
    border-right: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 20px;
}
.ts-product-card:last-child { border-right: none; }
.ts-product-card:hover { box-shadow: none; transform: none; border-color: #e5e5e5; }
.ts-prod-img-wrap {
    background: #f7f7f7;
    border-radius: 5px;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    box-sizing: border-box;
    margin-bottom: 14px;
}
.ts-prod-img-wrap a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.ts-prod-img-wrap img { mix-blend-mode: multiply; }
.ts-product-card:hover .ts-prod-img-wrap img { transform: scale(1.04); }
.ts-prod-discount-badge { top: 24px; right: 24px; font-weight: 500; font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.ts-prod-title { font-size: 15px; font-weight: 400; color: #222; line-height: 1.4; height: 42px; margin-bottom: 6px; }
.ts-prod-stars { font-size: 13px; color: #ffa800; margin-bottom: 6px; }
.ts-prod-price { font-size: 16px; font-weight: 600; color: #222; }
.ts-prod-price-row { margin-bottom: 14px; }
.ts-btn-add-cart {
    background: #f5f5f5; color: #222;
    font-size: 15px; font-weight: 400;
    height: 38px; padding: 6px 24px; border-radius: 50px;
}
.ts-btn-add-cart:hover { background: #0073de; color: #fff; }

/* Wide banner */
.ts-wide-banner-section { padding: 0 0 70px; }
.ts-wide-banner-card { border-radius: 10px; min-height: 240px; padding: 0 90px; }
.ts-wide-banner-card:hover { transform: none; }
.ts-wide-sub { font-size: 14px; font-weight: 400; color: #222; text-transform: none; }
.ts-wide-title { font-size: 24px; font-weight: 500; color: #222; line-height: 34px; }
.ts-wide-link { font-size: 14px; font-weight: 400; color: #222; }

/* Countdown */
.ts-timer-box { border-radius: 3px; font-weight: 600; min-width: 34px; padding: 4px 6px; }
.ts-timer-box small { text-transform: none; font-size: 9px; }

/* Top Rated / Best Selling: 23.5% banner + 3x2 grid */
.ts-top-rated-layout,
.ts-best-selling-layout {
    display: grid;
    grid-template-columns: 23.5% repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.ts-best-selling-layout { grid-template-columns: repeat(3, 1fr) 23.5%; }
.ts-top-rated-layout .ts-deal-card-left { grid-column: 1; grid-row: 1 / span 2; }
.ts-best-selling-layout .ts-deal-card-right { grid-column: 4; grid-row: 1 / span 2; min-height: 0 !important; border-radius: 10px !important; }
.ts-top-rated-layout .ts-compact-products-col,
.ts-best-selling-layout .ts-compact-products-col { display: contents; }
.ts-deal-card-left { border-radius: 10px; min-height: 0; padding: 30px; }
.ts-deal-card-left h3, .ts-deal-card-right h3 { font-weight: 500 !important; font-size: 22px !important; color: #222 !important; }
.ts-deal-card-left span, .ts-deal-card-right span { color: #222 !important; font-size: 14px !important; font-weight: 400 !important; }
.ts-deal-card-left a, .ts-deal-card-right a { font-weight: 400 !important; color: #222 !important; font-size: 14px !important; }

.ts-compact-product-item {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 20px;
    gap: 15px;
}
.ts-compact-product-item:hover { transform: none; box-shadow: none; border-color: #d0d0d0; }
.ts-compact-img-wrap {
    width: 36%; max-width: 110px; height: auto; aspect-ratio: 1 / 1;
    background: #f7f7f7; border-radius: 5px; padding: 8px; box-sizing: border-box;
}
.ts-compact-img-wrap a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.ts-compact-img-wrap img { mix-blend-mode: multiply; }
.ts-compact-title { font-size: 15px; font-weight: 400; color: #222; line-height: 1.4; }
.ts-compact-stars { color: #ffa800; font-size: 12px; }
.ts-compact-price { font-size: 16px; font-weight: 600; color: #222; }

/* Triple promo */
.ts-triple-banners-section { padding: 0 0 70px; }
.ts-promo-card-pastel { border-radius: 10px; min-height: 200px; padding: 30px; }
.ts-promo-card-pastel:hover { transform: none; }
.ts-promo-card-pastel span { color: #222 !important; font-weight: 400 !important; font-size: 14px !important; }
.ts-promo-card-pastel h3 { font-weight: 500 !important; font-size: 22px !important; color: #222 !important; }
.ts-promo-card-pastel a { font-weight: 400 !important; font-size: 14px !important; }

/* Newest tabs */
.ts-newest-tabs { gap: 22px; }
.ts-tab-btn { font-size: 15px; font-weight: 400; color: #0073de; }
.ts-tab-btn.active { color: #222; }
.ts-tab-btn.active::after { display: none; }

/* Brands */
.ts-brands-section { padding: 0 0 70px; }
.ts-brands-row { border-radius: 5px; }

/* Shop by discounts */
.ts-discount-card { border: 1px solid #e5e5e5; border-radius: 5px; padding: 20px; gap: 20px; align-items: center; }
.ts-discount-card:hover { transform: none; box-shadow: none; }
.ts-discount-thumb {
    width: 47%; flex-shrink: 0; aspect-ratio: 1 / 1;
    background: #f7f7f7; border-radius: 5px; padding: 15px; box-sizing: border-box;
}
.ts-discount-thumb a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.ts-discount-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ts-discount-card h4 { font-size: 15px !important; font-weight: 400 !important; color: #222; }
.ts-discount-card h4 + div + div { font-size: 16px !important; font-weight: 600 !important; color: #222 !important; }
.ts-discount-clock {
    display: inline-block; background: #f5f5f5; color: #0073de !important;
    padding: 7px 9px; border-radius: 4px; font-size: 12px !important; font-weight: 500 !important;
}
.ts-discount-card .ts-btn-add-cart {
    margin-top: 8px !important;
}

/* News */
.ts-news-thumb { border-radius: 10px; }
.ts-news-title { font-size: 16px; font-weight: 500; color: #222; }
.ts-news-link { font-weight: 400; color: #222; }

/* Pillars & footer */
.ts-pillars-bar {
    background: #0073de !important;
    color: #ffffff;
    padding: 34px 0 !important;
}
.ts-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: center;
}
.ts-pillar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ts-pillar-icon {
    background: transparent !important;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-pillar-icon svg {
    width: 38px;
    height: 38px;
    stroke: #ffffff;
}
.ts-pillar-text {
    display: flex;
    flex-direction: column;
}
.ts-pillar-title {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff !important;
    margin: 0 0 3px;
    line-height: 1.25;
}
.ts-pillar-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.3;
}
.ts-footer { border-top: none; color: #666; font-size: 14px; }
.ts-footer-col-title { font-weight: 500; font-size: 17px; color: #222; }
.ts-footer-links a { color: #666; }
.ts-newsletter-input { border-radius: 50px; padding: 10px 18px; }
.ts-newsletter-btn { border-radius: 50px; font-weight: 500; }

/* Responsive for new layouts */
@media (max-width: 1200px) {
    .ts-cats-row-grid { grid-template-columns: repeat(3, 1fr); }
    .ts-top-rated-layout, .ts-best-selling-layout { grid-template-columns: repeat(2, 1fr); }
    .ts-top-rated-layout .ts-deal-card-left,
    .ts-best-selling-layout .ts-deal-card-right { grid-column: 1 / -1; grid-row: auto; min-height: 220px !important; }
    .ts-product-card { border-bottom: 1px solid #e5e5e5; }
}
@media (max-width: 900px) {
    .ts-nav-links { display: none; }
    .ts-hero-slide { padding: 30px; }
    .ts-hero-title { font-size: 30px; line-height: 38px; }
}
@media (max-width: 640px) {
    .ts-cats-row-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ts-cat-pill-name { font-size: 15px; }
    .ts-top-rated-layout, .ts-best-selling-layout { grid-template-columns: 1fr; }
    .ts-side-split-grid { grid-template-columns: 1fr 1fr; }
}

html, body, .ts-homepage-main { background: #ffffff !important; }
.ts-search-input { height: 100%; width: 100%; box-sizing: border-box; background: transparent; }


/* ==========================================================================
   USER ENHANCEMENTS: RATINGS HIDDEN, EDIT PENCILS, REAL-TIME SEARCH, DROPDOWNS
   ========================================================================== */

/* 1. Hide ratings everywhere */
.ts-prod-stars,
.ts-compact-stars,
.lb-card-stars,
.kmrc-stars,
.ts-prod-card-stars {
    display: none !important;
}

/* 2. Direct Edit Pencils across all Blocks & Products */
/* Strictly show ONLY when logged into WordPress with edit capabilities */
body:not(.logged-in) .ts-edit-pencil,
body:not(.logged-in) .ts-card-pencil,
body:not(.logged-in) .ts-sec-pencil,
body:not(.logged-in) .ts-sec-pencil-hero,
body:not(.logged-in) .ts-sec-pencil-card,
body:not(.logged-in) .ts-compact-pencil,
body:not(.logged-in) .ts-single-edit-link {
    display: none !important;
}

.ts-edit-pencil,
.ts-card-pencil,
.ts-sec-pencil,
.ts-sec-pencil-hero,
.ts-sec-pencil-card,
.ts-compact-pencil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    color: #4b5563;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
}
.ts-edit-pencil:hover,
.ts-card-pencil:hover,
.ts-sec-pencil:hover,
.ts-sec-pencil-hero:hover,
.ts-sec-pencil-card:hover,
.ts-compact-pencil:hover {
    background: #0073de !important;
    border-color: #0073de !important;
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 115, 222, 0.35);
}
.ts-card-pencil {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.7;
}
.ts-product-card:hover .ts-card-pencil,
.lb-card:hover .ts-card-pencil {
    opacity: 1;
}
.ts-compact-pencil {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    opacity: 0.7;
}
.ts-compact-product-item:hover .ts-compact-pencil,
.ts-discount-card:hover .ts-compact-pencil {
    opacity: 1;
}
.ts-sec-pencil-hero {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
}
.ts-sec-pencil-card {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
}

/* 3. Real-Time Instant Live Search Dropdown */
.ts-search-box {
    position: relative;
    max-width: 780px;
    width: 100%;
    z-index: 1000;
}
.ts-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    max-height: 440px;
    overflow-y: auto;
    display: none;
}
.ts-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #222;
    transition: background 0.15s ease;
}
.ts-search-item:hover {
    background: #f8fafc;
}
.ts-search-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.ts-search-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.ts-search-meta {
    flex: 1;
    min-width: 0;
}
.ts-search-title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.ts-search-price {
    font-size: 13.5px;
    font-weight: 600;
    color: #0073de;
    margin-top: 2px;
}
.ts-search-arrow {
    font-size: 18px;
    color: #94a3b8;
    margin-left: 8px;
}
.ts-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #0073de;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ts-search-footer:hover {
    background: #e0f2fe;
}
.ts-search-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: #0073de;
    border-radius: 50%;
    animation: ts-spin 0.6s linear infinite;
}

/* 4. Todas las Categorías Mega Dropdown */
.ts-cat-btn-wrap {
    position: relative;
}
.ts-cat-mega-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 8px 0;
    display: none;
}
.ts-cat-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ts-cat-dropdown-item:hover {
    background: #f7f7f7;
    color: #0073de;
}
.ts-cat-dd-count {
    font-size: 11.5px;
    color: #999;
    background: #f0f0f0;
    padding: 2px 7px;
    border-radius: 50px;
}

.lb-card-media .ts-card-pencil {
    top: 10px !important;
    left: auto !important;
    right: 46px !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE — TECHSHOP ELECTRONICS 03 FAITHFUL REPRODUCTION
   3-Column Layout: Vertical Thumbs | Main Image | Product Info
   ========================================================================== */

.ts-single-product-main {
    background: #ffffff;
    padding: 20px 0 60px;
}

/* Breadcrumbs */
.ts-sp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    padding: 0;
}
.ts-sp-breadcrumbs a {
    color: #666;
    text-decoration: none;
}
.ts-sp-breadcrumbs a:hover {
    color: #0073de;
}
.ts-sp-bc-sep {
    color: #ccc;
    font-size: 12px;
}
.ts-sp-bc-current {
    color: #222;
    font-weight: 500;
}

/* 3-Column Product Layout */
.ts-sp-layout {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Column 1: Vertical Thumbnail Strip */
.ts-sp-thumbs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-height: 520px;
}
.ts-sp-thumb-nav {
    width: 40px;
    height: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.ts-sp-thumb-nav:hover {
    border-color: #0073de;
    color: #0073de;
}
.ts-sp-thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ts-sp-thumbs-list::-webkit-scrollbar {
    display: none;
}
.ts-sp-thumb {
    width: 70px;
    height: 70px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #f7f7f7;
    padding: 5px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease;
    outline: none;
}
.ts-sp-thumb:hover {
    border-color: #bbb;
}
.ts-sp-thumb.active {
    border-color: #0073de;
    border-width: 2px;
    padding: 4px;
}
.ts-sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Column 2: Main Product Image */
.ts-sp-main-img-col {
    display: flex;
    flex-direction: column;
}
.ts-sp-main-img-wrap {
    position: relative;
    background: #f7f7f7;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    padding: 30px;
    box-sizing: border-box;
}
.ts-sp-main-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.ts-sp-discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: #0073de;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Trust mini-strip below image */
.ts-sp-trust-mini {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 10px;
    margin-top: 12px;
    border-top: 1px solid #e5e5e5;
}
.ts-sp-trust-mini-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}
.ts-sp-trust-mini-item svg {
    color: #64748b;
    flex-shrink: 0;
}

/* Column 3: Product Information */
.ts-sp-info-col {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    border-left: 1px solid #f0f0f0;
}

/* Brand/Category Line */
.ts-sp-brand-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.ts-sp-brand-label {
    font-size: 14px;
    color: #666;
}
.ts-sp-brand-link {
    font-size: 14px;
    color: #0073de;
    font-weight: 500;
    text-decoration: none;
}
.ts-sp-brand-link:hover {
    text-decoration: underline;
}
.ts-sp-edit-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.ts-sp-edit-btn:hover {
    border-color: #0073de;
    color: #0073de;
}

/* Product Title */
.ts-sp-title {
    font-size: 24px;
    font-weight: 500;
    color: #222;
    margin: 0 0 14px;
    line-height: 1.3;
}

/* Price Row */
.ts-sp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}
.ts-sp-price-current {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}
.ts-sp-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

/* Stock & SKU */
.ts-sp-stock-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 13px;
}
.ts-sp-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 500;
}
.ts-sp-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}
.ts-sp-sku {
    color: #999;
}

/* Short Description / Features */
.ts-sp-features {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
}
.ts-sp-features ul {
    margin: 0;
    padding-left: 18px;
}
.ts-sp-features li {
    margin-bottom: 4px;
}
.ts-sp-features p {
    margin: 0 0 8px;
}

/* Delivery Estimates Box */
.ts-sp-delivery-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 18px;
}
.ts-sp-delivery-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}
.ts-sp-delivery-title svg {
    color: #64748b;
}
.ts-sp-delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
}
.ts-sp-free {
    color: #16a34a;
}

/* Add to Cart Form */
.ts-sp-cart-form {
    margin: 0 0 14px;
}
.ts-sp-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-sp-qty-stepper {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    flex-shrink: 0;
}
.ts-sp-qty-btn {
    background: none;
    border: none;
    width: 36px;
    height: 100%;
    font-size: 17px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: color 0.15s ease;
}
.ts-sp-qty-btn:hover {
    color: #222;
}
.ts-sp-qty-val {
    width: 36px;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    outline: none;
    background: transparent;
    height: 100%;
    -moz-appearance: textfield;
}
.ts-sp-qty-val::-webkit-inner-spin-button,
.ts-sp-qty-val::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Green Add to Cart (TechShop Style) */
.ts-sp-add-to-cart-btn {
    flex: 1;
    height: 42px;
    background: #0073de !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
    font-family: inherit;
    padding: 0 24px;
    box-sizing: border-box;
}
.ts-sp-add-to-cart-btn:hover {
    background: #005bb7 !important;
}

/* Action Links Row */
.ts-sp-action-links {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}
.ts-sp-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s ease;
}
.ts-sp-action-link:hover {
    color: #0073de;
}

/* Full Description Section */
.ts-sp-description {
    margin-top: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 30px;
    background: #ffffff;
}
.ts-sp-desc-title {
    font-size: 20px;
    font-weight: 500;
    color: #222;
    margin: 0 0 14px;
}
.ts-sp-desc-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Related Products Section */
.ts-sp-related {
    margin-top: 50px;
}

/* --- v11: narrower product block, product image is the priority --- */
.ts-sp-breadcrumbs,
.ts-sp-layout,
.ts-sp-description {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}
.ts-sp-layout {
    grid-template-columns: 72px minmax(0, 560px) minmax(0, 1fr);
    gap: 28px;
}
.ts-sp-main-img-wrap { max-height: 560px; }
.ts-sp-info-col { padding-left: 24px; }
.ts-sp-title { font-size: 22px; }
.ts-sp-price-current { font-size: 22px; }
.ts-sp-delivery-grid { grid-template-columns: 1fr; gap: 4px; }

/* Compact WhatsApp order button */
.ts-sp-qty-row { margin-bottom: 16px; }
.ts-sp-qty-stepper { height: 38px; }
.ts-sp-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 20px;
    background: #22a855;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.ts-sp-wa-btn:hover { background: #1b8f47; color: #ffffff; }

/* --- v11: navigation menu on a single clean line --- */
.ts-nav-inner {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 18px;
}
.ts-cat-btn {
    white-space: nowrap;
    padding: 12px 22px 12px 0;
    font-size: 14px;
}
.ts-nav-links {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 28px;
    padding: 0 26px;
    overflow: hidden;
}
.ts-nav-links li a {
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 400;
    color: #222;
    padding: 13px 0;
    border-bottom: 2px solid transparent;
}
.ts-nav-links li a:hover,
.ts-nav-links li a.active {
    color: #0073de;
    border-bottom-color: #0073de;
}
.ts-nav-right-deal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #0073de;
    text-decoration: none;
    padding-left: 18px;
    border-left: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.ts-nav-right-deal:hover { color: #005bb7; }
@media (max-width: 1200px) {
    .ts-nav-links { gap: 20px; padding: 0 18px; }
    .ts-nav-links li a { font-size: 14px; }
}
@media (max-width: 900px) {
    .ts-sp-layout { grid-template-columns: 1fr; }
    .ts-sp-info-col { padding-left: 0; }
    .ts-sp-wa-btn { flex: 1; }
}

/* --- v12: product description inside info column --- */
.ts-sp-related { max-width: 1120px; margin-left: auto; margin-right: auto; }
.ts-sp-desc-block {
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
    margin: 4px 0 22px;
}
.ts-sp-desc-heading {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 0 0 10px;
}
.ts-sp-desc-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: #555;
}
.ts-sp-desc-body p { margin: 0 0 10px; }
.ts-sp-desc-body p:last-child { margin-bottom: 0; }
.ts-sp-desc-body ul,
.ts-sp-desc-body ol {
    margin: 6px 0 10px;
    padding-left: 0;
    list-style: none;
}
.ts-sp-desc-body li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 5px;
}
.ts-sp-desc-body li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0073de;
}
.ts-sp-desc-body strong { color: #222; font-weight: 500; }
.ts-sp-desc-body h2,
.ts-sp-desc-body h3,
.ts-sp-desc-body h4 {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 14px 0 6px;
}
.ts-sp-desc-body img { max-width: 100%; height: auto; border-radius: 4px; }
.ts-sp-desc-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
.ts-sp-desc-body td,
.ts-sp-desc-body th { border-bottom: 1px solid #eee; padding: 7px 4px; text-align: left; }

/* Responsive */
@media (max-width: 900px) {
    .ts-sp-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ts-sp-thumbs-col {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
    }
    .ts-sp-thumbs-list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
    }
    .ts-sp-thumb-nav {
        width: 28px;
        height: 40px;
    }
    .ts-sp-thumb-nav svg {
        transform: rotate(-90deg);
    }
    .ts-sp-info-col {
        padding-left: 0;
        border-left: none;
    }
    .ts-sp-trust-mini {
        flex-wrap: wrap;
        gap: 10px;
    }
}
@media (max-width: 640px) {
    .ts-sp-title {
        font-size: 20px;
    }
    .ts-sp-price-current {
        font-size: 20px;
    }
    .ts-sp-delivery-grid {
        grid-template-columns: 1fr;
    }
    .ts-sp-action-links {
        gap: 14px;
    }
}

/* ==========================================================================
   UNIFICACIÓN DE ESTILOS DE BOTONES + SUBMENÚ ANIMADO + NAVBAR STICKY
   ========================================================================== */

/* 1. Unificación global de botones de producto */
.ts-btn-add-cart {
    background: #0073de !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ts-btn-add-cart:hover {
    background: #005bb7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 222, 0.3) !important;
}

.lb-card {
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.lb-card:hover {
    border-color: #e0e7ff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.08) !important;
}

.lb-card-bottom {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
}

.lb-price-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.lb-btn-cart {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 12px !important;
    background: #0073de !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 115, 222, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.lb-btn-cart:hover {
    background: #005bb7 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(0, 115, 222, 0.35) !important;
}

.lb-btn-cart svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
}

/* 2. Submenú Desplegable con Animación Suave */
.ts-menu-has-children {
    position: relative;
}

.ts-sub-arrow {
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.ts-menu-has-children:hover .ts-sub-arrow {
    transform: rotate(180deg);
}

.ts-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    
    /* Animación oculta */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.25s;
    pointer-events: none;
}

.ts-menu-has-children:hover .ts-submenu,
.ts-menu-has-children:focus-within .ts-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ts-submenu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
}

.ts-submenu li a:hover {
    background: #f8fafc !important;
    color: #0073de !important;
    padding-left: 22px !important;
}

.ts-sub-badge {
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 50px;
    transition: all 0.18s ease;
}

.ts-submenu li a:hover .ts-sub-badge {
    background: #e0f2fe;
    color: #0073de;
}

/* 3. Barra de Navegación Sticky con animación al bajar */
.ts-nav-bar {
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.ts-nav-bar.ts-nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}



/* ==========================================================================
   FLUTTER-GRADE RESPONSIVE & COMPONENT CONSISTENCY SUITE (TecnoÁgil)
   Unifies buttons, typography, navigation icons, mobile drawer & footer
   ========================================================================== */

/* Navigation with Icons */
.ts-nav-links li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}
.ts-nav-links li a svg {
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}
.ts-nav-links li a:hover svg,
.ts-nav-links li a.active svg {
    opacity: 1;
    color: #0073de;
    transform: scale(1.12);
}

/* Footer Delivery Card & WhatsApp Button */
.ts-footer-delivery-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 8px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ts-footer-del-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.ts-del-zone {
    color: #475569;
    font-weight: 500;
}
.ts-del-price {
    color: #0f172a;
    font-weight: 700;
}
.ts-footer-wa-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #22c55e;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ts-footer-wa-action:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}

/* Unified Buttons Across Desktop & Mobile */
.ts-btn-add-cart,
.lb-btn-cart {
    background: #0073de !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ts-btn-add-cart:hover,
.lb-btn-cart:hover {
    background: #005bb7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 115, 222, 0.3) !important;
}
.ts-btn-add-cart:active,
.lb-btn-cart:active {
    transform: scale(0.95) !important;
}

/* Tablet Overrides */
@media (max-width: 992px) {
    .ts-hero-layout {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .ts-hero-side-banners {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    .ts-side-banner-top {
        grid-column: span 2 !important;
    }
    .ts-side-split-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        grid-column: span 2 !important;
    }
    .ts-nav-links {
        display: none !important;
    }
    .ts-pillars-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }
    .ts-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
}

/* Mobile Phones (Flutter Material 3 Experience) */
@media (max-width: 640px) {
    /* Safe area and body clearance for fixed bottom bar */
    body {
        padding-bottom: 74px !important;
    }
    
    /* Top Announcement Bar */
    .ts-topbar {
        padding: 7px 0 !important;
    }
    .ts-topbar-links {
        display: none !important;
    }
    .ts-topbar-notice {
        width: 100% !important;
        text-align: center !important;
        font-size: 11.5px !important;
    }
    
    /* Header Mid */
    .ts-header-mid {
        padding: 10px 0 !important;
    }
    .ts-header-mid-inner {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .ts-logo-wrap {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .ts-logo-img {
        max-height: 38px !important;
    }
    .ts-header-actions {
        display: none !important; /* Clean view; WhatsApp is right in sticky bottom bar */
    }
    
    /* App Search Bar */
    .ts-search-box {
        width: 100% !important;
        max-width: 100% !important;
    }
    .ts-search-cat {
        display: none !important; /* Hide category select on small screens for maximum typing space */
    }
    .ts-search-input {
        font-size: 13.5px !important;
        padding: 0 14px !important;
    }
    .ts-search-submit {
        padding: 0 16px !important;
    }
    .ts-search-submit span {
        display: none !important; /* Clean Search Icon */
    }
    
    /* Mobile Sub-Navigation Bar */
    .ts-nav-bar {
        padding: 8px 0 !important;
    }
    .ts-nav-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .ts-cat-btn {
        padding: 7px 14px !important;
        font-size: 13px !important;
    }
    .ts-nav-right-deal {
        padding: 7px 14px !important;
        font-size: 13px !important;
    }
    
    /* Hero Slider on Mobile */
    .ts-hero-section {
        padding: 0 0 22px !important;
    }
    .ts-hero-slider-wrap {
        min-height: 300px !important;
        border-radius: 16px !important;
    }
    .ts-hero-slide {
        padding: 26px 20px 44px !important;
        align-items: flex-start !important;
        background-repeat: no-repeat !important;
        background-position: right center !important;
        background-size: cover !important;
    }
    .ts-hero-dots {
        left: 20px !important;
        bottom: 16px !important;
    }
    .ts-hero-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .ts-hero-price {
        font-size: 20px !important;
        margin-bottom: 16px !important;
    }
    .ts-hero-btn {
        padding: 8px 20px !important;
        font-size: 13px !important;
    }
    
    /* Side Banners on Mobile */
    .ts-hero-side-banners {
        grid-template-columns: 1fr !important;
    }
    .ts-side-banner-top {
        grid-column: span 1 !important;
        min-height: 170px !important;
        padding: 18px !important;
    }
    .ts-side-title {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }
    .ts-side-split-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-column: span 1 !important;
    }
    .ts-side-card-mini {
        min-height: 170px !important;
        padding: 16px 8px !important;
    }
    .ts-mini-title {
        font-size: 14px !important;
    }
    
    /* Product Grid: 2 Columns on Phones */
    .ts-products-grid-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .ts-product-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }
    .ts-card-img-wrap {
        height: 130px !important;
    }
    .ts-card-title {
        font-size: 13px !important;
        line-height: 1.35 !important;
        height: 2.7em !important;
    }
    .ts-card-price-current {
        font-size: 14px !important;
    }
    .ts-btn-add-cart {
        width: 100% !important;
        height: 36px !important;
        padding: 0 12px !important;
        font-size: 12.5px !important;
        border-radius: 9999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    
    /* Value Pillars */
    .ts-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .ts-pillar-item {
        padding: 10px 14px !important;
    }
    
    /* Footer */
    .ts-footer {
        padding: 32px 0 40px !important;
    }
    .ts-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .ts-footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
    
    /* Flutter Material 3 Mobile Bottom App Bar */
    .kmrc-mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 64px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
        padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 99999 !important;
        justify-content: space-around !important;
        align-items: center !important;
    }
    .kmrc-mob-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #64748b !important;
        border-radius: 14px !important;
        padding: 6px 12px !important;
        background: transparent !important;
        border: none !important;
        text-decoration: none !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex: 1 1 0 !important;
        max-width: 80px !important;
    }
    .kmrc-mob-nav-item svg {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }
    .kmrc-mob-nav-item span {
        white-space: nowrap !important;
        letter-spacing: -0.2px !important;
    }
    .kmrc-mob-nav-item.active {
        color: #0073de !important;
        background: rgba(0, 115, 222, 0.09) !important;
    }
    .kmrc-mob-wa-item {
        color: #22c55e !important;
    }
    .kmrc-mob-wa-item:hover,
    .kmrc-mob-wa-item.active {
        color: #16a34a !important;
        background: rgba(34, 197, 94, 0.09) !important;
    }
    
    /* Single Product on Mobile */
    .ts-sp-thumbs-col {
        display: none !important;
    }
    .ts-sp-layout {
        gap: 16px !important;
    }
    .ts-sp-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    .ts-sp-price-current {
        font-size: 22px !important;
    }
    .ts-sp-actions-row {
        flex-direction: column !important;
    }
    .ts-sp-wa-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
        font-size: 15px !important;
    }
    .ts-sp-delivery-box {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }
}

/* 3-Column Footer Layout */
.ts-footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 40px !important;
}
@media (max-width: 900px) {
    .ts-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
}
@media (max-width: 640px) {
    .ts-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
}


/* ==========================================================================
   PAGE ENTRANCE & SCROLL REVEAL ANIMATIONS (TecnoÁgil)
   ========================================================================== */

/* 1. Page Load Entrance Animations */
@keyframes tsSlideDownHeader {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tsHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ts-topbar {
    animation: tsSlideDownHeader 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ts-header-mid {
    animation: tsSlideDownHeader 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.ts-nav-bar {
    animation: tsSlideDownHeader 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.ts-hero-slider-wrap {
    animation: tsHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.ts-side-banner-top {
    animation: tsHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.ts-side-split-grid {
    animation: tsHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* 2. Scroll Reveal Animations (Triggered by IntersectionObserver) */
.ts-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.ts-reveal.ts-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered Delay for Grids */
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(1) { transition-delay: 0.04s; }
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(2) { transition-delay: 0.10s; }
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(3) { transition-delay: 0.16s; }
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(4) { transition-delay: 0.22s; }
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(5) { transition-delay: 0.28s; }
.ts-products-grid-6 .ts-product-card.ts-reveal:nth-child(6) { transition-delay: 0.34s; }

.ts-triple-grid .ts-triple-card.ts-reveal:nth-child(1) { transition-delay: 0.05s; }
.ts-triple-grid .ts-triple-card.ts-reveal:nth-child(2) { transition-delay: 0.14s; }
.ts-triple-grid .ts-triple-card.ts-reveal:nth-child(3) { transition-delay: 0.23s; }

.ts-pillars-grid .ts-pillar-item.ts-reveal:nth-child(1) { transition-delay: 0.05s; }
.ts-pillars-grid .ts-pillar-item.ts-reveal:nth-child(2) { transition-delay: 0.12s; }
.ts-pillars-grid .ts-pillar-item.ts-reveal:nth-child(3) { transition-delay: 0.19s; }
.ts-pillars-grid .ts-pillar-item.ts-reveal:nth-child(4) { transition-delay: 0.26s; }

/* 3. Submenu Animation (Dropdown & Touch Support) */
.ts-menu-has-children.ts-open-sub .ts-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.ts-menu-has-children.ts-open-sub .ts-sub-arrow {
    transform: rotate(180deg) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ts-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .ts-topbar,
    .ts-header-mid,
    .ts-nav-bar,
    .ts-hero-slider-wrap,
    .ts-side-banner-top,
    .ts-side-split-grid {
        animation: none !important;
    }
}


/* ==========================================================================
   HERO SIDE BANNERS REFINED STYLING (TecnoAgil - Exact TechShop 03 Format)
   ========================================================================== */

/* Top Side Banner (Desarrollo de Paginas Web) */
.ts-side-banner-top {
    background-color: #cbe3f5 !important;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    border-radius: 12px !important;
    min-height: 240px !important;
    padding: 34px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.ts-side-banner-top:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

.ts-side-tag {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1d4ed8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-bottom: 6px !important;
}

.ts-side-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    max-width: 220px !important;
    margin: 0 0 18px !important;
}

/* Polished Brand Blue Pill CTA Button */
.ts-btn-pill-dark {
    background: #0073de !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 24px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    text-decoration: none !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 6px 16px rgba(0, 115, 222, 0.24) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ts-btn-pill-dark:hover {
    background: #005bb7 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 91, 183, 0.34) !important;
}

/* Bottom Split Cards */
.ts-side-split-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    flex: 1 !important;
}

.ts-side-card-mini {
    border-radius: 12px !important;
    min-height: 240px !important;
    padding: 24px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    background-size: 92% auto !important;
    background-position: center 96% !important;
    background-repeat: no-repeat !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.ts-side-card-mini:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

.ts-mini-title {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 0 5px !important;
    line-height: 1.25 !important;
}

.ts-mini-link {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    display: inline-block !important;
    transition: color 0.2s ease !important;
}
.ts-mini-link:hover {
    color: #0073de !important;
}

@media (max-width: 991px) {
    .ts-hero-side-banners {
        margin-top: 16px !important;
    }
}
@media (max-width: 480px) {
    .ts-side-split-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* ==========================================================================
   LIGHT PILLARS STRIP & CLEAN LIGHT FOOTER (TecnoAgil)
   ========================================================================== */
.ts-pillars-section {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 30px 0 !important;
    color: #0f172a !important;
}

.ts-pillars-section .ts-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
}

.ts-pillars-section .ts-pillar-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.ts-pillars-section .ts-pillar-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.ts-pillars-section .ts-pillar-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #0073de !important;
}

.ts-pillars-section .ts-pillar-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 3px !important;
    line-height: 1.25 !important;
}

.ts-pillars-section .ts-pillar-desc {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

@media (max-width: 900px) {
    .ts-pillars-section .ts-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 520px) {
    .ts-pillars-section {
        padding: 22px 0 !important;
    }
    .ts-pillars-section .ts-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

.ts-footer {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 36px 0 !important;
    font-size: 14px !important;
    color: #475569 !important;
}

.ts-footer-simple {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    flex-wrap: wrap !important;
}

.ts-footer-brand-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
}

.ts-footer-logo {
    height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.ts-footer-tagline {
    margin: 0 !important;
    font-size: 13.8px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    max-width: 390px !important;
}

.ts-footer-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 2px !important;
}

.ts-footer-contact-row,
.ts-footer-location-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    width: fit-content !important;
}

.ts-footer-contact-row:hover {
    color: #0073de !important;
}

.ts-footer-contact-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #0073de !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.ts-footer-contact-text {
    font-weight: 600 !important;
    color: #0f172a !important;
}

.ts-footer-actions-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 6px !important;
}

.ts-footer-wa-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #22c55e !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    width: fit-content !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.24) !important;
}
.ts-footer-wa-btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.32) !important;
}

.ts-footer-socials {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ts-social-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
}

.ts-social-wa:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #16a34a !important;
    transform: translateY(-2px) !important;
}
.ts-social-fb:hover {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
}
.ts-social-ig:hover {
    background: #fce7f3 !important;
    border-color: #f9a8d4 !important;
    color: #db2777 !important;
    transform: translateY(-2px) !important;
}

.ts-footer-col-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #0073de !important;
    margin: 0 0 18px !important;
}

.ts-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
}

.ts-footer-links a {
    color: #475569 !important;
    font-size: 13.8px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    display: inline-block !important;
}
.ts-footer-links a:hover {
    color: #0073de !important;
    transform: translateX(3px) !important;
}

.ts-footer-bottom {
    padding-top: 22px !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.ts-footer-copy-text {
    color: #64748b !important;
}
.ts-footer-copy-text strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.ts-footer-meta-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.ts-footer-dev-link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
    transition: background 0.18s ease, transform 0.18s ease !important;
}
.ts-footer-dev-link:hover {
    background: #f8fafc !important;
    transform: translateY(-1px) !important;
}

.ts-footer-dev-logo {
    height: 42px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.ts-footer-flag-badge {
    font-size: 12.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.ts-floating-wa {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 950 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: #25d366 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.ts-floating-wa:hover {
    transform: translateY(-3px) scale(1.04) !important;
    background: #16a34a !important;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.42) !important;
}

@media (max-width: 900px) {
    .ts-footer {
        padding: 24px 0 88px !important;
    }
    .ts-footer-simple {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        gap: 16px !important;
        flex-wrap: nowrap !important;
    }
    .ts-footer-brand-box {
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .ts-footer-logo {
        height: 32px !important;
    }
    .ts-footer-socials {
        gap: 6px !important;
    }
    .ts-social-btn {
        width: 32px !important;
        height: 32px !important;
    }
    .ts-footer-dev-link {
        padding: 2px 4px !important;
    }
    .ts-footer-dev-logo {
        height: 30px !important;
    }
    .ts-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .ts-footer-bottom {
        flex-direction: column !important;
        gap: 14px !important;
        align-items: flex-start !important;
    }
}

/* ==========================================================================
   PRODUCT CARD BUTTON STYLE — OUTLINE / BORDER ONLY (Sin fondo azul)
   ========================================================================== */
.ts-btn-add-cart {
    background: transparent !important;
    background-color: transparent !important;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9999px !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    padding: 8px 18px !important;
    height: 38px !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ts-btn-add-cart:hover {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

.ts-btn-add-cart:active {
    transform: scale(0.97) !important;
    background: #f1f5f9 !important;
}

/* ==========================================================================
   LANDING PAGE STYLES — SOBRE NOSOTROS (TecnoAgil)
   ========================================================================== */
.ts-landing-nosotros {
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* 1. Hero Section */
.ts-lp-hero {
    padding: 72px 0 60px;
    background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #ffffff 75%);
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.ts-lp-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.ts-lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.ts-lp-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0284c7;
}

.ts-lp-hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.2px;
    margin: 0 0 20px;
}

.ts-lp-gradient-text {
    background: linear-gradient(135deg, #0073de 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ts-lp-hero-lead {
    font-size: 18px;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto 36px;
    max-width: 740px;
}

.ts-lp-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ts-lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.ts-lp-btn-primary:hover {
    background: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.ts-lp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0;
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.ts-lp-btn-secondary:hover {
    border-color: #0f172a;
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Stats Strip */
.ts-lp-stats-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    max-width: 960px;
    margin: 0 auto;
}

.ts-lp-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ts-lp-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ts-lp-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.ts-lp-stat-sep {
    width: 1px;
    height: 38px;
    background: #e2e8f0;
}

/* 2. Common Sections */
.ts-lp-section {
    padding: 80px 0;
}

.ts-lp-bg-subtle {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.ts-lp-section-head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 52px;
}

.ts-lp-pretitle {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0073de;
    display: block;
    margin-bottom: 8px;
}

.ts-lp-section-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.6px;
    margin: 0 0 12px;
}

.ts-lp-section-sub {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Bento Grid Mision & Vision */
.ts-lp-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.ts-lp-mv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.ts-lp-mv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.ts-lp-mv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ts-lp-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-lp-icon-blue {
    background: #eff6ff;
    color: #0073de;
}
.ts-lp-icon-teal {
    background: #f0fdf4;
    color: #16a34a;
}

.ts-lp-pill-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 9999px;
}

.ts-lp-card-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    line-height: 1.3;
}

.ts-lp-card-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 24px;
    flex: 1;
}

.ts-lp-pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ts-lp-micro-tag {
    font-size: 12px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
}

/* 4 Pillars */
.ts-lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ts-lp-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    transition: all 0.25s ease;
}
.ts-lp-pillar-card:hover {
    transform: translateY(-3px);
    border-color: #0073de;
    box-shadow: 0 10px 25px rgba(0, 115, 222, 0.08);
}

.ts-lp-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f7ff;
    color: #0073de;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.ts-lp-pillar-heading {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.ts-lp-pillar-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Values Grid */
.ts-lp-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ts-lp-val-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: all 0.2s ease;
}
.ts-lp-val-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.ts-lp-val-num {
    font-size: 13px;
    font-weight: 800;
    color: #0073de;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.ts-lp-val-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.ts-lp-val-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Final CTA Card */
.ts-lp-cta-section {
    padding: 60px 0 90px;
}

.ts-lp-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    max-width: 980px;
    margin: 0 auto;
}

.ts-lp-cta-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.15);
    color: #4ade80;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.ts-lp-cta-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0 0 14px;
    color: #ffffff;
}

.ts-lp-cta-text {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 32px;
}

.ts-lp-cta-actions {
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .ts-lp-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ts-lp-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ts-lp-hero-title {
        font-size: 34px;
    }
    .ts-lp-stats-strip {
        flex-direction: column;
        gap: 18px;
        padding: 24px;
    }
    .ts-lp-stat-sep {
        width: 60%;
        height: 1px;
    }
    .ts-lp-mv-grid {
        grid-template-columns: 1fr;
    }
    .ts-lp-pillars-grid {
        grid-template-columns: 1fr;
    }
    .ts-lp-values-grid {
        grid-template-columns: 1fr;
    }
    .ts-lp-cta-card {
        padding: 40px 24px;
    }
    .ts-lp-cta-title {
        font-size: 26px;
    }
}

/* ==========================================================================
   LANDING PAGE EDITORIAL / STUDIO TECH (Inspiración Lilo Travel & Success Search)
   Tipografía: Plus Jakarta Sans + Inter
   ========================================================================== */

.rendon-lp-main {
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

/* 1. Hero Editorial */
.rendon-hero-section {
    padding: 70px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.rendon-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.rendon-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 18px;
}

.rendon-big-title {
    font-size: 60px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: #0f172a;
    margin: 0 0 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rendon-lead-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 36px;
    max-width: 580px;
}

/* Fila de Especificaciones / Ficha Técnica (Estilo Turismo / Lilo Travel) */
.rendon-spec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 36px;
}

.rendon-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rendon-spec-label {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
}

.rendon-spec-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.rendon-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rendon-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    color: #1e293b !important;
    font-size: 13px;
    font-weight: 600;
    height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.18s ease;
    box-shadow: none;
}
.rendon-btn-primary:hover {
    background: #f8fafc;
    border-color: #0073de;
    color: #0073de !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 115, 222, 0.08);
}

.rendon-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.rendon-btn-outline:hover {
    border-color: #0f172a;
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Columna Visual Derecha */
.rendon-visual-card {
    position: relative;
    background: #f8fafc;
    border-radius: 28px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.rendon-visual-badge {
    position: absolute;
    top: 36px;
    left: 36px;
    z-index: 5;
}

.rendon-badge-pill {
    background: #6366f1;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.rendon-visual-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}

.rendon-visual-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rendon-floating-stat-card {
    position: absolute;
    bottom: -20px;
    right: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.rendon-stat-bubble {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rendon-stat-lead {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.rendon-stat-caption {
    display: block;
    font-size: 12px;
    color: #64748b;
}

/* 2. Strip de Marcas */
.rendon-brands-strip {
    padding: 38px 0;
    background: #fafaf9;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.rendon-brands-title {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.rendon-brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.rendon-brand-col {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #94a3b8;
    transition: color 0.2s ease;
}
.rendon-brand-col:hover {
    color: #0f172a;
}

/* 3. Secciones y Casos de Estudio */
.rendon-solutions-section {
    padding: 84px 0 80px;
    background: #ffffff;
}

.rendon-section-header {
    margin-bottom: 56px;
}

.rendon-section-tag {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6366f1;
    display: block;
    margin-bottom: 8px;
}

.rendon-section-h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #0f172a;
    margin: 0 0 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rendon-section-sub {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    max-width: 620px;
}

.rendon-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
}

.rendon-case-card {
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.rendon-case-cat {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.rendon-case-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rendon-case-divider {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 20px;
}

.rendon-case-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.rendon-spec-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.rendon-spec-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.rendon-case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
    margin-top: auto;
    transition: all 0.2s ease;
}
.rendon-case-link:hover {
    color: #6366f1 !important;
    transform: translateX(4px);
}

/* 4. Misión, Visión & Valores */
.rendon-mv-section {
    padding: 84px 0 80px;
    background: #fafaf9;
    border-top: 1px solid #f1f5f9;
}

.rendon-mv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid #e7e5e4;
    margin-bottom: 64px;
}

.rendon-mv-kicker {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6366f1;
    display: block;
    margin-bottom: 10px;
}

.rendon-mv-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.25;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rendon-mv-body {
    font-size: 15px;
    line-height: 1.7;
    color: #57534e;
    margin: 0;
}

.rendon-values-head {
    margin-bottom: 36px;
}

.rendon-values-h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #0f172a;
    margin: 4px 0 0;
}

.rendon-values-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rendon-val-box {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 18px;
    padding: 28px;
    transition: all 0.2s ease;
}
.rendon-val-box:hover {
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.rendon-val-num {
    font-size: 13px;
    font-weight: 800;
    color: #6366f1;
    display: block;
    margin-bottom: 12px;
}

.rendon-val-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.rendon-val-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #78716c;
    margin: 0;
}

/* 5. CTA Conversacional */
.rendon-cta-bar {
    padding: 70px 0;
    background: #0f172a;
    color: #ffffff;
}

.rendon-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.rendon-cta-pill {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.rendon-cta-heading {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0 0 8px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rendon-cta-sub {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

.rendon-btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.rendon-btn-cta-wa:hover {
    background: #1eb855;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* Responsive */
@media (max-width: 1024px) {
    .rendon-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rendon-big-title {
        font-size: 46px;
    }
    .rendon-case-grid {
        grid-template-columns: 1fr;
    }
    .rendon-values-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .rendon-big-title {
        font-size: 36px;
    }
    .rendon-spec-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .rendon-mv-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .rendon-values-grid-3 {
        grid-template-columns: 1fr;
    }
    .rendon-cta-heading {
        font-size: 24px;
    }
}

/* ==========================================================================
   LANDING PAGE EDITORIAL / TECNOAGIL OFICIAL (Actualizado con información exacta)
   ========================================================================== */
.rendon-slogan-h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
}

.rendon-mv-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.rendon-mv-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.rendon-mv-box:hover {
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.rendon-mv-box-top {
    margin-bottom: 18px;
}

.rendon-pill-label {
    display: inline-block;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 9999px;
}
.rendon-pill-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.rendon-mv-exact-text {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 24px;
    flex: 1;
}

.rendon-mv-micro-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rendon-values-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rendon-val-editorial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    transition: all 0.2s ease;
}
.rendon-val-editorial-card:hover {
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.rendon-val-editorial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.rendon-val-idx {
    font-size: 13px;
    font-weight: 800;
    color: #6366f1;
    background: #f5f3ff;
    padding: 4px 9px;
    border-radius: 6px;
}

.rendon-val-editorial-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.rendon-val-body-spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 900px) {
    .rendon-mv-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .rendon-values-editorial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}




/* ==========================================================================
   PÁGINA SOBRE NOSOTROS - TECNOÁGIL OFICIAL (LANDING MINIMALISTA)
   Contiene EXCLUSIVAMENTE la información enviada por el cliente:
   - Identidad de TECNOÁGIL (Lema, Slogan, Propósito)
   - Misión
   - Visión
   - Valores empresariales
   Diseño editorial limpio, sobrio, sin elementos inventados ni colores saturados.
   ========================================================================== */

.ta-nosotros-page {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #fafaf9;
  padding: 60px 0 90px 0;
}

.ta-nosotros-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.ta-section {
  margin-bottom: 50px;
}

.ta-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 14px;
}

/* 1. HERO IDENTIDAD */
.ta-identidad-section {
  text-align: center;
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
}

.ta-brand-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.1;
}

.ta-brand-slogan {
  font-size: 20px;
  font-weight: 600;
  color: #ea580c; /* Color naranja institucional del logo/slogan */
  margin: 0 0 32px 0;
  letter-spacing: -0.2px;
}

.ta-identidad-highlight {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.ta-highlight-headline {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.ta-highlight-sub {
  font-size: 16px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

/* Divisor sutil */
.ta-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 50px 0;
}

/* 2. MISIÓN Y VISIÓN */
.ta-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ta-mv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.ta-card-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.ta-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.4px;
}

.ta-card-text {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

/* 3. VALORES EMPRESARIALES */
.ta-section-header {
  margin-bottom: 30px;
}

.ta-section-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.8px;
  margin: 0 0 8px 0;
}

.ta-section-desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.ta-valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ta-val-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
}

.ta-val-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ta-val-index {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.ta-val-name {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}

.ta-val-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Contact CTA Simple */
.ta-contact-action {
  text-align: center;
  margin-top: 50px;
}

.ta-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ta-btn-contact:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ta-brand-title {
    font-size: 34px;
  }
  .ta-brand-slogan {
    font-size: 18px;
  }
  .ta-highlight-headline {
    font-size: 20px;
  }
  .ta-mv-grid {
    grid-template-columns: 1fr;
  }
  .ta-valores-grid {
    grid-template-columns: 1fr;
  }
  .ta-identidad-section {
    padding: 28px 18px;
  }
}

/* ==========================================================================
   NAVIGATION BAR OVERFLOW FIX & APP-LIKE MOBILE RESPONSIVE (FLUTTER STYLE)
   ========================================================================== */

/* 1. Desktop & Tablet Nav Bar Overflow Fix */
.ts-nav-bar {
    position: relative;
    z-index: 800;
    margin-bottom: 28px !important;
}

.ts-hero-section {
    padding-top: 6px !important;
}

.ts-nav-inner {
    position: relative;
    overflow: visible !important;
}

.ts-nav-links {
    flex: 1 1 auto;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    padding: 0 14px !important;
    overflow: visible !important;
}

.ts-nav-links li {
    flex-shrink: 0;
    position: relative;
}

.ts-nav-links li a {
    white-space: nowrap !important;
    font-size: 13.5px !important;
    gap: 5px !important;
    padding: 12px 2px !important;
}

.ts-cat-btn {
    flex-shrink: 0;
    padding: 12px 14px 12px 0 !important;
    font-size: 13.5px !important;
}

.ts-nav-right-deal {
    flex-shrink: 0;
    margin-left: auto;
}

@media (min-width: 993px) and (max-width: 1440px) {
    .ts-cat-btn {
        padding: 12px 10px 12px 0 !important;
        font-size: 12.5px !important;
        gap: 6px !important;
    }
    .ts-nav-links {
        gap: clamp(7px, 0.8vw, 14px) !important;
        padding: 0 10px !important;
    }
    .ts-nav-links li a {
        font-size: clamp(11.5px, 0.88vw, 13px) !important;
        gap: 4px !important;
    }
    .ts-nav-links li a svg {
        width: 13px !important;
        height: 13px !important;
    }
    .ts-nav-right-deal {
        padding: 7px 12px !important;
        font-size: 12.5px !important;
    }
}

/* Submenu & Dropdown Mega Z-Index & Visibility Guarantee (Modern Cards Style like Dribbble) */
.ts-menu-has-children {
    position: relative;
}

.ts-submenu-card {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    width: 440px !important;
    max-width: 90vw !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 48px -8px rgba(15, 23, 42, 0.18), 0 0 1px rgba(0, 0, 0, 0.08) !important;
    padding: 16px !important;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    pointer-events: none;
    box-sizing: border-box !important;
}

.ts-menu-has-children:hover .ts-submenu-card,
.ts-menu-has-children.ts-open-sub .ts-submenu-card,
.ts-menu-has-children:focus-within .ts-submenu-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.ts-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.ts-submenu-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.ts-submenu-all-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #0073de !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.ts-submenu-all-link:hover {
    color: #005bb7 !important;
    text-decoration: underline !important;
}

.ts-submenu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ts-sub-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.ts-sub-item:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    transform: translateX(4px);
}

.ts-sub-item-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #0073de !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.18s ease !important;
}

.ts-sub-item:hover .ts-sub-item-icon {
    background: #0073de !important;
    color: #ffffff !important;
}

.ts-sub-item-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: #0073de !important;
    stroke: currentColor !important;
    transition: color 0.18s ease !important;
}

.ts-nav-links li a.ts-sub-item:hover .ts-sub-item-icon svg,
.ts-sub-item:hover .ts-sub-item-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: none !important;
}

.ts-sub-item-content {
    flex: 1 1 auto;
    min-width: 0;
}

.ts-sub-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ts-sub-item-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
}

.ts-sub-item-count {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 1px 7px;
    border-radius: 9999px;
}

.ts-sub-item-desc {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 3px 0 0 !important;
    line-height: 1.35 !important;
}

.ts-submenu-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.ts-submenu-footer a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.ts-submenu-footer a:hover {
    color: #0073de !important;
    background: #f8fafc !important;
}

.ts-submenu-footer a svg {
    color: #0073de;
    flex-shrink: 0;
}

.ts-cat-mega-dropdown {
    z-index: 999999 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* ==========================================================================
   LIVE SEARCH RESULTS DROPDOWN (SOLID BACKGROUND & HIGH Z-INDEX)
   ========================================================================== */
.ts-header-mid {
    position: relative;
    z-index: 950;
}

.ts-search-box {
    position: relative !important;
    z-index: 960 !important;
}

.ts-search-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18) !important;
    z-index: 9999999 !important;
    max-height: 440px !important;
    overflow-y: auto !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.ts-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
}

.ts-search-result-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: background 0.18s ease !important;
    background: #ffffff !important;
}

.ts-search-result-item:hover {
    background: #f1f5f9 !important;
}

.ts-search-result-thumb {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ts-search-result-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.ts-search-result-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.ts-search-result-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ts-search-result-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0073de !important;
    margin-top: 3px !important;
}

.ts-search-no-results {
    padding: 24px 16px !important;
    text-align: center !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    background: #ffffff !important;
}

.ts-search-view-all {
    padding: 8px 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 4px !important;
    background: #ffffff !important;
}

.ts-search-view-all button {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0073de !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.ts-search-view-all button:hover {
    background: #0073de !important;
    color: #ffffff !important;
}

/* 2. Flutter / Material 3 Style Mobile Experience */
@media (max-width: 768px) {
    /* Touch friendly base */
    body {
        padding-bottom: 70px !important; /* Spacing for bottom bar */
        -webkit-tap-highlight-color: transparent;
    }

    /* Floating WhatsApp Hide on Mobile (integrated into bottom bar) */
    .ts-floating-wa {
        display: none !important;
    }

    /* Topbar compact */
    .ts-topbar {
        font-size: 11px !important;
        padding: 5px 0 !important;
    }
    .ts-topbar-links {
        display: none !important;
    }

    /* App-like Header Mid */
    .ts-header-mid {
        padding: 8px 0 !important;
        position: sticky;
        top: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }
    .ts-header-mid-inner {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .ts-logo-wrap {
        margin: 0 !important;
        text-align: left !important;
        flex-shrink: 0 !important;
    }
    .ts-logo-img {
        max-height: 30px !important;
        max-width: 118px !important;
        object-fit: contain !important;
    }

    /* Pill-style horizontal Category Scroll (Flutter Chips) */
    .ts-nav-bar {
        background: #f8fafc !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #edf2f7 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .ts-nav-inner {
        border: none !important;
        padding: 0 12px !important;
        gap: 8px !important;
        background: transparent !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .ts-cat-btn-wrap {
        display: none !important;
    }
    .ts-nav-right-deal {
        display: none !important;
    }
    .ts-nav-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        max-width: 100% !important;
        width: 100% !important;
        gap: 8px !important;
        padding: 2px 0 !important;
    }
    .ts-nav-links::-webkit-scrollbar {
        display: none !important;
    }
    .ts-submenu-card {
        display: none !important;
    }
    .ts-nav-links li a {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 9999px !important;
        padding: 6px 14px !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        color: #475569 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    }
    .ts-nav-links li a.active,
    .ts-nav-links li a:active {
        background: #0073de !important;
        color: #ffffff !important;
        border-color: #0073de !important;
    }
    .ts-nav-links li a.active svg,
    .ts-nav-links li a:active svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
        opacity: 1 !important;
    }
    .ts-nav-links li a svg {
        width: 13px !important;
        height: 13px !important;
    }

    /* Viewport Overflow Guard & Mobile Typography / Banner Scrims */
    html,
    body,
    .ts-homepage-main {
        max-width: 100% !important;
        overflow-x: clip !important;
    }
    .ts-container {
        padding: 0 14px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .kmrc-mobile-bottom-bar {
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Soft directional gradient scrims so mobile text stays crisp over banner images */
    .ts-hero-slide::before,
    .ts-side-banner-top::before,
    .ts-wide-banner-card::before,
    .ts-deal-card-left::before,
    .ts-deal-card-right::before,
    .ts-promo-card-pastel::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }
    .ts-hero-slide::before {
        background: linear-gradient(90deg, rgba(245, 243, 239, 0.96) 0%, rgba(245, 243, 239, 0.86) 64%, rgba(245, 243, 239, 0.22) 100%) !important;
    }
    .ts-side-banner-top::before {
        background: linear-gradient(90deg, rgba(203, 227, 245, 0.96) 0%, rgba(203, 227, 245, 0.88) 64%, rgba(203, 227, 245, 0.20) 100%) !important;
    }
    .ts-side-title {
        max-width: 195px !important;
    }
    .ts-wide-banner-card {
        position: relative !important;
        overflow: hidden !important;
        padding: 26px 22px !important;
        min-height: 170px !important;
        border-radius: 16px !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: right center !important;
    }
    .ts-wide-banner-card::before {
        background: linear-gradient(90deg, rgba(236, 236, 236, 0.95) 0%, rgba(236, 236, 236, 0.84) 62%, rgba(236, 236, 236, 0.20) 100%) !important;
    }
    .ts-wide-banner-section {
        padding: 8px 0 32px !important;
    }
    .ts-wide-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    .ts-top-rated-layout .ts-deal-card-left,
    .ts-best-selling-layout .ts-deal-card-right {
        position: relative !important;
        overflow: hidden !important;
        min-height: 185px !important;
        padding: 24px 22px !important;
        border-radius: 16px !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: right center !important;
    }
    .ts-deal-card-left::before {
        background: linear-gradient(90deg, rgba(254, 249, 195, 0.95) 0%, rgba(254, 249, 195, 0.82) 58%, rgba(254, 249, 195, 0.18) 100%) !important;
    }
    .ts-deal-card-right::before {
        background: linear-gradient(90deg, rgba(219, 234, 254, 0.95) 0%, rgba(219, 234, 254, 0.84) 60%, rgba(219, 234, 254, 0.18) 100%) !important;
    }
    .ts-promo-card-pastel {
        position: relative !important;
        overflow: hidden !important;
        min-height: 165px !important;
        padding: 24px 22px !important;
        border-radius: 16px !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }
    .ts-promo-card-pastel::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.56) 56%, rgba(255, 255, 255, 0.08) 100%) !important;
    }
    .ts-hero-slide > *,
    .ts-side-banner-top > *:not(.ts-sec-pencil-card),
    .ts-wide-banner-card > *:not(.ts-sec-pencil-card),
    .ts-deal-card-left > *:not(.ts-sec-pencil-card),
    .ts-deal-card-right > *:not(.ts-sec-pencil-card),
    .ts-promo-card-pastel > *:not(.ts-sec-pencil-card) {
        position: relative;
        z-index: 2;
    }
    .ts-hero-dots {
        position: absolute !important;
        z-index: 5 !important;
    }

    /* Section Headers, Scrollable Tabs & Brand Logos Row */
    .ts-sec-header {
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    .ts-sec-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }
    .ts-newest-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        max-width: 100% !important;
        gap: 16px !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }
    .ts-newest-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .ts-newest-tabs .ts-tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 13.5px !important;
    }
    .ts-brands-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 24px !important;
        padding: 16px 18px !important;
        scrollbar-width: none !important;
    }
    .ts-brands-row::-webkit-scrollbar {
        display: none !important;
    }
    .ts-brand-item {
        flex-shrink: 0 !important;
    }
    .ts-compact-product-item,
    .ts-discount-card {
        padding: 14px !important;
        gap: 14px !important;
        border-radius: 14px !important;
    }
    .ts-discount-thumb {
        width: 40% !important;
        padding: 10px !important;
    }
    .ts-prod-price {
        font-size: 14.5px !important;
    }
    .ts-prod-old-price {
        font-size: 11.5px !important;
    }

    /* Cards with soft rounded borders & card elevation like Flutter Material 3 */
    .ts-prod-card,
    .nos-mv-card,
    .nos-bento-card,
    .ta-valor-card {
        border-radius: 20px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }
    .ts-prod-card:active,
    .nos-mv-card:active,
    .nos-bento-card:active {
        transform: scale(0.98) !important;
    }
}

/* ==========================================================================
   RENDÓN-STYLE FULLSCREEN PRODUCT OPENING & PROGRESSIVE INFO MODAL
   ========================================================================== */
html.ts-rendon-open,
body.ts-rendon-open {
    overflow: hidden !important;
}
html.ts-rendon-open .kmrc-mobile-bottom-bar,
body.ts-rendon-open .kmrc-mobile-bottom-bar {
    display: none !important;
}

.ts-rendon-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    color: #111013;
    -webkit-font-smoothing: antialiased;
}
.ts-rendon-modal[hidden] {
    display: none !important;
}
.admin-bar .ts-rendon-modal {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .ts-rendon-modal {
        top: 46px;
    }
}

.ts-rendon-shade {
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.ts-rendon-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr) 108px;
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "info media rail";
    gap: 0 40px;
    padding: 78px 28px 28px 44px;
    box-sizing: border-box;
    max-width: 1580px;
    margin: 0 auto;
    touch-action: pan-y;
}
.ts-rendon-wrap.is-single-photo {
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    grid-template-areas: "info media";
}

.ts-rendon-close {
    position: absolute;
    z-index: 6;
    top: 20px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 0 0 20px;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(17, 16, 19, 0.07) !important;
    color: #111013 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.ts-rendon-close:hover {
    background: rgba(17, 16, 19, 0.13) !important;
}
.ts-rendon-close-i {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}
.ts-rendon-close-i i {
    position: absolute;
    top: 50%;
    left: calc(50% - 10px);
    width: 20px;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s cubic-bezier(.22, 1, .36, 1);
}
.ts-rendon-close-i i:first-child { transform: rotate(45deg); }
.ts-rendon-close-i i:last-child { transform: rotate(-45deg); }
.ts-rendon-close:hover .ts-rendon-close-i i:first-child { transform: rotate(45deg) scaleX(0.8); }
.ts-rendon-close:hover .ts-rendon-close-i i:last-child { transform: rotate(-45deg) scaleX(0.8); }

.ts-rendon-info {
    grid-area: info;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 6px 8px 6px 0;
}

.ts-rendon-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: rgba(17, 16, 19, 0.62);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ts-rendon-title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #111013 !important;
    font-size: clamp(24px, 2.5vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}

.ts-rendon-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ts-rendon-price {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ts-rendon-old-price {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.ts-rendon-discount {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
}

.ts-rendon-desc-wrap {
    width: 100%;
    margin-bottom: 24px;
}

.ts-rendon-desc {
    margin: 0 !important;
    color: rgba(17, 16, 19, 0.78) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ts-rendon-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ts-rendon-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 16, 19, 0.06);
    color: #374151;
}
.ts-rendon-badge.is-stock {
    background: #dcfce7;
    color: #166534;
}

.ts-rendon-skeleton {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.ts-rendon-skel-line {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(17,16,19,0.06) 25%, rgba(17,16,19,0.12) 50%, rgba(17,16,19,0.06) 75%);
    background-size: 200% 100%;
    animation: tsRendonShimmer 1.15s infinite linear;
}
.ts-rendon-skel-line.w-90 { width: 92%; }
.ts-rendon-skel-line.w-75 { width: 76%; }
.ts-rendon-skel-line.w-55 { width: 55%; }
@keyframes tsRendonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ts-rendon-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
}

.ts-rendon-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    background: transparent !important;
    background-color: transparent !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    white-space: nowrap;
    box-sizing: border-box;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.ts-rendon-btn svg {
    flex-shrink: 0;
}
.ts-rendon-btn:hover,
.ts-rendon-btn.-share[aria-expanded="true"] {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-color: #0073de !important;
    color: #0073de !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 115, 222, 0.08) !important;
}

.ts-rendon-share-tray {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.ts-rendon-share-tray.is-open {
    display: flex;
}
.ts-rendon-share-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border-radius: 9999px;
    background: transparent !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.16s ease;
}
.ts-rendon-share-chip:hover {
    background: #f8fafc !important;
    border-color: #0073de !important;
    color: #0073de !important;
}
.ts-rendon-share-chip.is-copied {
    border-color: #0073de !important;
    color: #0073de !important;
    background: #f8fafc !important;
}

.ts-rendon-media {
    grid-area: media;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    position: relative;
    touch-action: pan-y;
}

.ts-rendon-frame {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 660px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    box-sizing: border-box;
    touch-action: pan-y;
}

.ts-rendon-frame-img {
    max-width: 92%;
    max-height: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.42s ease, transform 0.42s cubic-bezier(.22, 1, .36, 1);
}
.ts-rendon-frame-img.is-in {
    opacity: 1;
}

.ts-rendon-fly {
    position: fixed;
    z-index: 4;
    background-color: #ffffff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(17, 16, 19, 0.08);
    box-shadow: 0 22px 60px rgba(17, 16, 19, 0.14);
    pointer-events: none;
}

.ts-rendon-subgallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    min-height: 10px;
}
.ts-rendon-subdot {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid rgba(17, 16, 19, 0.12);
    background: #ffffff;
    padding: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.ts-rendon-subdot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ts-rendon-subdot.is-on {
    border-color: #111013;
    transform: translateY(-2px);
}

.ts-rendon-rail {
    grid-area: rail;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 0;
    height: 100%;
}

.ts-rendon-key {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    border: 1px solid rgba(17, 16, 19, 0.1) !important;
    background: #ffffff !important;
    color: #111013 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ts-rendon-key:hover {
    background: #111013 !important;
    color: #fffbf5 !important;
}
.ts-rendon-key.is-disabled,
.ts-rendon-key:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.ts-rendon-rail.is-single .ts-rendon-thumbs {
    justify-content: center;
}
.ts-rendon-prev .-h,
.ts-rendon-next .-h {
    display: none;
}

.ts-rendon-thumbs {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-height: 0;
    padding: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
.ts-rendon-thumbs::-webkit-scrollbar { display: none; }

.ts-rendon-thumb {
    flex: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 6px;
    border: 1.5px solid rgba(17, 16, 19, 0.1) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ts-rendon-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.ts-rendon-thumb:hover {
    border-color: rgba(17, 16, 19, 0.45) !important;
}
.ts-rendon-thumb.is-on {
    border-color: #0073de !important;
    box-shadow: 0 0 0 2px rgba(0, 115, 222, 0.25);
}

.ts-rendon-count {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(17, 16, 19, 0.6);
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .ts-rendon-wrap {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 62px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .ts-rendon-close {
        top: 12px;
        right: 14px;
        height: 40px;
    }
    .ts-rendon-close-i {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .ts-rendon-media {
        order: 1;
        flex: 1 1 34%;
        min-height: 165px;
        max-height: 36vh;
    }
    .ts-rendon-frame {
        padding: 14px;
        border-radius: 16px;
    }
    .ts-rendon-info {
        order: 2;
        flex: 0 1 auto;
        max-height: none;
        padding-right: 0;
    }
    .ts-rendon-title {
        font-size: 20px !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
    }
    .ts-rendon-price-row {
        margin-bottom: 8px;
    }
    .ts-rendon-desc-wrap {
        margin-bottom: 12px;
    }
    .ts-rendon-links {
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .ts-rendon-btn {
        flex: 1 1 auto;
        width: auto;
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    .ts-rendon-rail {
        order: 3;
        flex: none;
        flex-direction: row;
        height: 60px;
        gap: 8px;
    }
    .ts-rendon-thumbs {
        flex-direction: row;
        height: 100%;
        padding: 2px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .ts-rendon-thumb {
        width: 56px;
        height: 56px;
    }
    .ts-rendon-prev .-v,
    .ts-rendon-next .-v {
        display: none;
    }
    .ts-rendon-prev .-h,
    .ts-rendon-next .-h {
        display: inline-flex;
    }
    .ts-rendon-count {
        display: none;
    }
}

/* ==========================================================================
   TIPOGRAFÍA GEOMÉTRICA PARA TÍTULOS (Estilo "Diseño de interfaz de usuario")
   & SWIPE TÁCTIL HERO EN MÓVIL
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.ts-hero-title,
.ts-sec-title,
.ts-side-title,
.ts-wide-title,
.ts-mini-title,
.ts-rendon-title,
.ts-deal-card-left h3,
.ts-deal-card-right h3,
.ts-promo-card-pastel h3,
.ts-sp-title,
.ts-cat-pill-name,
.ts-news-title,
.nos-hero h1,
.nos-mv-title,
.nos-vals-title {
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

.ts-prod-title,
.ts-compact-title {
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

.ts-hero-slider-wrap {
    touch-action: pan-y;
}

/* ==========================================================================
   CONSISTENCIA UNIFORME DEL BOTÓN "VER PRODUCTO" EN TODAS LAS SECCIONES
   ========================================================================== */
.ts-btn-add-cart,
.ts-discount-card .ts-btn-add-cart,
.lb-card .lb-btn-cart {
    background: transparent !important;
    background-color: transparent !important;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 14px !important;
    height: 36px !important;
    min-height: 36px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}
.ts-btn-add-cart:hover,
.ts-discount-card .ts-btn-add-cart:hover,
.lb-card .lb-btn-cart:hover {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-color: #0073de !important;
    color: #0073de !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(0, 115, 222, 0.08) !important;
}
.lb-card .lb-card-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
}

/* Hero Carousel Clean: hide button and ensure slide overlay works */
.ts-hero-btn {
    display: none !important;
}
.ts-hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    cursor: pointer;
}
.ts-hero-slider-wrap .ts-hero-dots,
.ts-hero-slider-wrap .ts-sec-pencil-hero {
    z-index: 10 !important;
}




