/* thestore.lk overrides on top of the Multikart template. Brand: #4F46E5 (deep indigo), white, black text. */
:root { --ts-ink: #111827; --ts-muted: #6b7280; --ts-line: #e5e7eb; --ts-soft: #eef2ff; --ts-radius: 10px; }
body.ts-body { color: var(--ts-ink); }
a { color: inherit; }
a:hover { color: var(--theme-color); }
.btn-solid, .btn-solid:focus { background-color: var(--theme-color) !important; border-color: var(--theme-color) !important; color: #fff !important; background-image: none !important; }
.btn-solid:hover { background-color: #4338ca !important; border-color: #4338ca !important; color: #fff !important; }
.btn-outline { border: 1px solid var(--theme-color); color: var(--theme-color); background: #fff; }
.btn-outline:hover { background: var(--theme-color); color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--theme-color); box-shadow: 0 0 0 .2rem rgba(79, 70, 229, .15); }
.form-check-input:checked { background-color: var(--theme-color); border-color: var(--theme-color); }

/* Header */
.ts-logo { max-height: 46px; width: auto; max-width: 230px; object-fit: contain; }
@media (max-width: 575px) { .ts-logo { max-height: 34px; max-width: 150px; } }
.ts-logo-invert { filter: brightness(0) invert(1); max-height: 44px; max-width: 220px; }
.header-style-5 .top-header-dark .header-contact li, .header-style-5 .top-header-dark .header-dropdown li { color: #fff; }
.header-style-5 .main-menu .menu-left .brand-logo { padding: 18px 0; }
.form_search { position: relative; }
.ts-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; background: #fff; border: 1px solid var(--ts-line); border-radius: 0 0 var(--ts-radius) var(--ts-radius); box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
.ts-suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f3f4f6; }
.ts-suggest a:last-child { border-bottom: 0; }
.ts-suggest img { width: 40px; height: 40px; object-fit: contain; }
.ts-suggest span { flex: 1; font-size: 13px; }
.ts-suggest b { font-size: 13px; color: var(--theme-color); }
.marketplace-sidebar.ts-cat-open { display: block; }
#main-menu a.ts-active { color: var(--theme-color); }

/* Sections */
.ts-sec { padding-top: 30px; }
.ts-home > section:last-child { padding-bottom: 50px; }
.ts-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ts-title .title { margin-bottom: 0; }
.ts-sec-sub { margin: 4px 0 0; color: var(--ts-muted); }
.ts-view-all { color: var(--theme-color); font-weight: 600; white-space: nowrap; }
.ts-countdown p { margin: 0; font-weight: 700; }
.ts-countdown .ts-cd span { display: inline-block; background: var(--theme-color); color: #fff; border-radius: 6px; padding: 3px 8px; margin: 0 2px; font-size: 13px; min-width: 34px; text-align: center; }
/* Home slider: native scroll-snap (swipe on phones), arrows + dots + autoplay from thestore.js */
.ts-slider-boxed { padding-top: 20px; padding-bottom: 24px; }
.ts-slides { position: relative; }
.ts-slides-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; }
.ts-slides-track::-webkit-scrollbar { display: none; }
.ts-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: block; border-radius: var(--ts-radius); overflow: hidden; background: #f3f4f6; }
.ts-slide img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.ts-slider-full .ts-slides-track { gap: 0; }
.ts-slider-full .ts-slide { border-radius: 0; }
.ts-slides-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111827; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; z-index: 2; cursor: pointer; }
.ts-slides-nav.prev { left: 14px; } .ts-slides-nav.next { right: 14px; }
.ts-slides:hover .ts-slides-nav, .ts-slides-nav:focus-visible { opacity: 1; }
.ts-slides-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; pointer-events: none; }
.ts-slides-dots button { pointer-events: auto; width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: width .25s, background .25s; }
.ts-slides-dots button.on { width: 24px; background: #fff; }
@media (max-width: 767px) {
    .ts-slides-nav { display: none; }
    .ts-slider-boxed { padding-top: 12px; padding-bottom: 14px; }
    .ts-slider-boxed .container { padding-left: 0; padding-right: 0; }
    /* Peek at the next slide so it is clear you can swipe */
    .ts-slider-boxed .ts-slides-track { gap: 10px; padding: 0 16px; scroll-padding: 0 16px; }
    .ts-slider-boxed .ts-slide { flex-basis: calc(100% - 32px); border-radius: 12px; }
    .ts-slider-boxed .ts-slides-track:has(.ts-slide:only-child) .ts-slide { flex-basis: 100%; }
    .ts-slides-dots { position: static; margin-top: 10px; }
    .ts-slides-dots button { background: #d1d5db; box-shadow: none; }
    .ts-slides-dots button.on { background: var(--theme-color); }
}
@media (prefers-reduced-motion: reduce) { .ts-slides-track { scroll-behavior: auto; } }
.ts-banners .collection-banner img { border-radius: var(--ts-radius); transition: transform .4s; }
.ts-banners .collection-banner { display: block; overflow: hidden; border-radius: var(--ts-radius); }
.ts-banners .collection-banner:hover img { transform: scale(1.03); }
.ts-service-icon { font-size: 40px; color: var(--theme-color); margin-right: 14px; line-height: 1; }
.ts-services .service-block .media { align-items: center; }
.ts-cat-list { border: 1px solid var(--ts-line); border-radius: var(--ts-radius); overflow: hidden; }
.ts-cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--ts-line); font-weight: 500; text-transform: capitalize; }
.ts-cat-list a:last-child { border-bottom: 0; }
.ts-cat-list a:hover { background: var(--ts-soft); }
.ts-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px; }
.ts-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ts-cat-img { width: 110px; height: 110px; border-radius: 50%; background: var(--ts-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: box-shadow .2s; }
.ts-cat-img img { width: 78%; height: 78%; object-fit: contain; }
.ts-cat-img i { font-size: 36px; color: var(--theme-color); }
.ts-cat-img.sm { width: 52px; height: 52px; }
.ts-cat-img.sm i { font-size: 22px; }
.ts-cat-tile:hover .ts-cat-img { box-shadow: 0 0 0 3px var(--theme-color); }
.ts-cat-name { font-weight: 600; font-size: 14px; }
.ts-cat-card .ts-cat-img { flex-shrink: 0; }
.ts-cat-card { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ts-cat-grid.ts-cat-card .ts-cat-tile { background: #fff; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); padding: 16px 10px; }
.ts-cat-grid.ts-cat-card .ts-cat-img { border-radius: 12px; width: 100%; height: 110px; background: transparent; }
.ts-logo-slider .logo-block img { max-height: 60px; width: auto; margin: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.ts-logo-slider .logo-block a:hover img { filter: none; opacity: 1; }
.ts-newsletter-box { background: var(--theme-color); color: #fff; border-radius: 14px; padding: 30px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 30px 0 10px; }
.ts-newsletter-box h3 { color: #fff; margin-bottom: 4px; }
.ts-newsletter-box p { color: rgba(255,255,255,.85); margin: 0; }
.ts-newsletter-box form { min-width: min(100%, 420px); }
.ts-newsletter-box .btn-solid { background: #111 !important; border-color: #111 !important; }
.ts-tab-nav { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.ts-tab-nav li a { display: block; padding: 7px 16px; border-radius: 30px; border: 1px solid var(--ts-line); font-weight: 600; font-size: 14px; }
.ts-tab-nav li.current a { background: var(--theme-color); color: #fff; border-color: var(--theme-color); }
.ts-tabs .bg-title-part { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ts-carousel { margin: 0 -10px; }
.ts-carousel .slick-slide > div > div { padding: 0 10px; }
.ts-carousel:not(.slick-initialized) { display: flex; overflow: hidden; }
.ts-carousel:not(.slick-initialized) > div { flex: 0 0 20%; padding: 0 10px; }

/* Product card */
.basic-product .img-wrapper { position: relative; background: #f8f8fb; border-radius: var(--ts-radius); overflow: hidden; }
.basic-product .img-wrapper > a { display: block; aspect-ratio: 1 / 1; }
.basic-product .img-wrapper > a img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.basic-product .cart-info button, .basic-product .cart-info a { cursor: pointer; }
.basic-product .cart-info .js-wish.active i { color: #e11d48; }
.basic-product .product-detail h6 { color: var(--ts-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.basic-product .product-detail .price { color: var(--ts-ink); }
.basic-product .product-detail .discounted-price { color: #16a34a; }
.ts-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--theme-color); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.ts-badge-new { background: #111; }
.ts-badge-dark { background: #6b7280; }
.ts-badge-lg { font-size: 14px; padding: 5px 12px; top: 14px; left: 14px; }
.ts-soldout .img-wrapper img { opacity: .55; }

/* Shop */
.ts-breadcrumb { background: var(--ts-soft); }
.ts-cat-links li a { display: block; padding: 4px 0; }
.ts-scroll-list { max-height: 260px; overflow: auto; }
.ts-cat-desc { color: var(--ts-muted); }
.collection-filter-block { border-radius: var(--ts-radius); }

/* Product page */
.ts-gallery { position: relative; }
.ts-gallery-main { border: 1px solid var(--ts-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ts-gallery-main img { aspect-ratio: 1 / 1; object-fit: contain; padding: 4%; }
.ts-gallery-nav { margin: 12px -6px 0; }
.ts-gallery-nav img { aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--ts-line); border-radius: 8px; padding: 4px; margin: 0 6px; cursor: pointer; background: #fff; }
.ts-gallery-nav .slick-current img { border-color: var(--theme-color); }
.ts-brand-link { color: var(--theme-color); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
.ts-product-title { font-size: 26px; font-weight: 700; margin: 6px 0 8px; line-height: 1.3; color: var(--ts-ink); }
.ts-stars i, .ts-stars { color: #f59e0b; }
.ts-price-box { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.ts-price { font-size: 28px; font-weight: 800; color: var(--ts-ink); }
.ts-compare { color: var(--ts-muted); font-size: 17px; }
.ts-save { background: #dcfce7; color: #15803d; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
.ts-sale-timer { background: #fff7ed; color: #c2410c; padding: 8px 12px; border-radius: 8px; display: inline-block; font-weight: 600; margin-bottom: 10px; }
.ts-short-desc { color: #374151; }
.ts-variants { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-variant input { display: none; }
.ts-variant span { display: inline-block; border: 1.5px solid var(--ts-line); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.ts-variant input:checked + span { border-color: var(--theme-color); background: var(--ts-soft); color: var(--theme-color); }
.ts-variant.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.ts-qty { display: inline-flex; border: 1px solid var(--ts-line); border-radius: 8px; overflow: hidden; height: 46px; }
.ts-qty button { width: 42px; border: 0; background: #f9fafb; font-size: 18px; }
.ts-qty input { width: 56px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.ts-qty input::-webkit-outer-spin-button, .ts-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ts-qty-sm { height: 38px; }
.ts-qty-sm button { width: 34px; }
.ts-qty-sm input { width: 44px; }
.ts-btn-cart, .ts-btn-buy { height: 46px; padding: 0 22px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; }
.ts-wish-btn { width: 46px; height: 46px; border: 1px solid var(--ts-line); border-radius: 8px; background: #fff; font-size: 20px; }
.ts-wish-btn.active i { color: #e11d48; }
.ts-perks { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 1px dashed var(--ts-line); }
.ts-perks li { display: flex; gap: 10px; align-items: center; padding: 5px 0; color: #374151; }
.ts-perks i { color: var(--theme-color); font-size: 20px; }
.ts-wa-ask { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; color: #16a34a; font-weight: 600; }
.ts-rich img { max-width: 100%; height: auto; }
.ts-rich { line-height: 1.75; }
.ts-spec-table th { width: 35%; font-weight: 600; }
.ts-review { border-bottom: 1px solid var(--ts-line); padding: 14px 0; }
.ts-rate-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.ts-rate-input input { display: none; }
.ts-rate-input label { font-size: 24px; color: #d1d5db; cursor: pointer; }
.ts-rate-input input:checked ~ label, .ts-rate-input label:hover, .ts-rate-input label:hover ~ label { color: #f59e0b; }

/* Cards, cart, checkout */
.ts-card { background: #fff; border: 1px solid var(--ts-line); border-radius: 14px; padding: 22px; }
.ts-note { background: var(--ts-soft); color: #3730a3; padding: 10px 14px; border-radius: 8px; }
.ts-cart-thumb { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--ts-line); border-radius: 8px; padding: 4px; }
.ts-cart-table th { font-weight: 600; color: var(--ts-muted); text-transform: none; }
.ts-sum-lines { list-style: none; padding: 0; margin: 0 0 6px; }
.ts-sum-lines li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.ts-sum-lines li > div { flex: 1; }
.ts-sum-lines img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--ts-line); border-radius: 8px; padding: 3px; }
.ts-sum-row { display: flex; justify-content: space-between; padding: 5px 0; }
.ts-sum-total { border-top: 1px solid var(--ts-line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.ts-sticky { position: sticky; top: 90px; }
.ts-pay-list { display: grid; gap: 10px; }
.ts-pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--ts-line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.ts-pay-option input { margin-top: 4px; accent-color: var(--theme-color); }
.ts-pay-option:has(input:checked) { border-color: var(--theme-color); background: var(--ts-soft); }
.ts-pay-option.is-disabled { opacity: .55; cursor: not-allowed; }
.ts-pay-body { display: flex; flex-direction: column; }
.ts-pay-body small { color: var(--ts-muted); }
.ts-pay-body .ts-pay-limit { color: #dc2626; }
.ts-otp { font-size: 22px; letter-spacing: 8px; text-align: center; font-weight: 700; }
.ts-pills .nav-link { color: var(--ts-ink); border-radius: 20px; }
.ts-pills .nav-link.active { background: var(--theme-color); }

/* Order */
.ts-success-head, .ts-pending-head { text-align: center; padding: 10px 0 30px; }
.ts-success-head i { font-size: 64px; color: #16a34a; }
.ts-pending-head i { font-size: 56px; color: #f59e0b; }
.ts-steps { display: flex; gap: 6px; }
.ts-step { flex: 1; text-align: center; font-weight: 600; font-size: 13px; color: var(--ts-muted); border-top: 4px solid var(--ts-line); padding-top: 8px; }
.ts-step span { display: none; }
.ts-step.done { color: var(--theme-color); border-color: var(--theme-color); }
.ts-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #f3f4f6; color: #374151; }
.ts-pill-paid, .ts-st-delivered { background: #dcfce7; color: #15803d; }
.ts-pill-pending, .ts-st-pending { background: #fef3c7; color: #b45309; }
.ts-pill-failed, .ts-st-cancelled { background: #fee2e2; color: #b91c1c; }
.ts-st-processing { background: var(--ts-soft); color: #4338ca; }
.ts-st-shipped { background: #e0f2fe; color: #0369a1; }
.ts-st-stock_pending { background: #fef3c7; color: #b45309; }
.ts-timeline { list-style: none; padding: 0; margin: 0; }
.ts-timeline li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--ts-line); font-size: 13px; }
.ts-timeline span { color: var(--ts-muted); }
.ts-bank pre { white-space: pre-wrap; font-family: inherit; background: #f9fafb; padding: 12px; border-radius: 8px; }

/* Account */
.ts-acc-nav a { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid #f3f4f6; font-weight: 500; }
.ts-acc-nav a.active { color: var(--theme-color); background: var(--ts-soft); }
.ts-acc-user { display: flex; gap: 12px; align-items: center; padding: 18px; }
.ts-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--theme-color); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.ts-stat { background: #fff; border: 1px solid var(--ts-line); border-radius: 12px; padding: 16px; }
.ts-stat span { display: block; color: var(--ts-muted); font-size: 13px; }
.ts-stat b { font-size: 20px; }

/* Brands / contact */
.ts-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.ts-brand-tile { border: 1px solid var(--ts-line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: #fff; }
.ts-brand-tile img { max-height: 54px; max-width: 100%; object-fit: contain; }
.ts-brand-tile span { font-size: 12px; color: var(--ts-muted); }
.ts-brand-tile:hover { border-color: var(--theme-color); }
.ts-contact-list { list-style: none; padding: 0; }
.ts-contact-list li { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.ts-contact-list i { font-size: 20px; color: var(--theme-color); }

/* Footer */
.ts-pay-logos { color: #9ca3af; font-size: 13px; text-align: right; padding-top: 2px; }
@media (max-width: 767px) { .ts-pay-logos { text-align: left; } }

/* Floating widgets */
.ts-whatsapp { position: fixed; right: 18px; bottom: 80px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.ts-toast-wrap { position: fixed; z-index: 2000; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.ts-toast { background: #111; color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.2); pointer-events: auto; animation: tsin .2s ease-out; }
.ts-toast.err { background: #b91c1c; }
.ts-toast a { color: #c7d2fe; text-decoration: underline; margin-left: 8px; }
@keyframes tsin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .ts-sticky { position: static; }
    .ts-product-title { font-size: 21px; }
    .ts-price { font-size: 24px; }
    .ts-cat-img { width: 84px; height: 84px; }
    .ts-cat-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
}
@media (max-width: 575px) {
    .ts-card { padding: 16px; }
    .ts-newsletter-box { padding: 20px; }
}
.ts-logo-text { font-weight: 800; font-size: 26px; letter-spacing: -.5px; color: var(--ts-ink); white-space: nowrap; filter: none; }
.ts-logo-text.ts-logo-invert { color: #fff; }
.ts-countdown { display: flex; align-items: center; }
.ts-countdown .ts-cd { display: inline-flex; gap: 4px; }
.ts-title .title { display: block !important; }
@media (max-width: 575px) {
    .ts-title .title { font-size: 17px; }
    .ts-services .service-block .media { flex-direction: column; text-align: center; }
    .ts-services .ts-service-icon { margin: 0 0 6px; font-size: 30px; }
    .ts-services .service-block h4 { font-size: 13px; }
    .ts-services .service-block p { font-size: 11px; }
}

/* ---- 2026-11-15: checkout, accounts, bank slips, loyalty ---- */
.ts-phone .input-group-text { background: var(--ts-soft); color: var(--ts-ink); font-weight: 600; border-color: #dee2e6; }
.is-invalid .ts-phone .form-control, .is-invalid .ts-phone .input-group-text { border-color: #dc3545; }
.ts-social { display: grid; gap: 10px; margin-bottom: 6px; }
.ts-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--ts-line); border-radius: 8px; font-weight: 600; color: var(--ts-ink); background: #fff; transition: border-color .15s, background .15s; }
.ts-social-btn:hover { border-color: var(--theme-color); background: var(--ts-soft); color: var(--ts-ink); }
.ts-or { display: flex; align-items: center; gap: 10px; color: var(--ts-muted); font-size: 13px; margin: 14px 0; }
.ts-or::before, .ts-or::after { content: ""; flex: 1; height: 1px; background: var(--ts-line); }
.ts-addr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ts-addr-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--ts-line); border-radius: 8px; padding: 10px 12px; cursor: pointer; margin: 0; }
.ts-addr-opt input { margin-top: 4px; accent-color: var(--theme-color); }
.ts-addr-opt span { display: flex; flex-direction: column; min-width: 0; }
.ts-addr-opt small { color: var(--ts-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-addr-opt:has(input:checked) { border-color: var(--theme-color); background: var(--ts-soft); }
.ts-co-extra a, .ts-intl label { font-size: 14px; }
.ts-intl { border-top: 1px dashed var(--ts-line); padding-top: 14px; }
.ts-card-opts { margin: -4px 0 6px 34px; padding: 10px 12px; border-left: 3px solid var(--theme-color); background: var(--ts-soft); border-radius: 0 8px 8px 0; }
.ts-card-opt { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; cursor: pointer; font-weight: 500; }
.ts-card-opt input { accent-color: var(--theme-color); }
.ts-save-card { margin-top: 4px; }
.ts-points-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 8px; background: #fffbeb; color: #92400e; font-size: 14px; }
.ts-points-note i { font-size: 18px; }
.ts-points-note a { color: var(--theme-color); font-weight: 600; text-decoration: underline; }
.ts-stock-check { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--ts-radius); background: var(--ts-soft); border: 1px solid #c7d2fe; }
.ts-stock-check > i { font-size: 28px; color: var(--theme-color); line-height: 1; }
.ts-stock-check h5 { margin: 0 0 4px; }
.ts-bank-acc { border: 1px solid var(--ts-line); border-radius: 8px; padding: 12px 14px; height: 100%; }
.ts-bank-name { font-weight: 700; margin-bottom: 8px; }
.ts-bank-name span { display: block; font-weight: 400; font-size: 13px; color: var(--ts-muted); }
.ts-bank-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ts-bank-row small { color: var(--ts-muted); min-width: 110px; }
.ts-mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; }
.ts-copy { border: 0; background: transparent; color: var(--theme-color); padding: 0 4px; font-size: 16px; }
.ts-copy.copied { color: #16a34a; }
.ts-slip-drop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 2px dashed #c7d2fe; border-radius: 10px; padding: 16px; cursor: pointer; margin: 0; background: #fafaff; }
.ts-slip-drop:hover { border-color: var(--theme-color); }
.ts-slip-drop i { font-size: 30px; color: var(--theme-color); }
.ts-slip-drop span { display: flex; flex-direction: column; font-weight: 600; }
.ts-slip-drop small { font-weight: 400; color: var(--ts-muted); }
.ts-slip-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ts-slip-name { color: var(--theme-color); font-weight: 500 !important; word-break: break-all; }
.ts-slip-ok { display: flex; gap: 12px; align-items: center; }
.ts-slip-ok i { font-size: 30px; color: #16a34a; }
.ts-pill-verifying { background: #e0e7ff; color: #3730a3; }
.ts-acc-user img.ts-avatar { object-fit: cover; }
@media (max-width: 575px) { .ts-card-opts { margin-left: 0; } .ts-bank-row small { min-width: 0; } }
.ts-highlights { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.ts-highlights li { display: flex; gap: 8px; align-items: flex-start; color: var(--ts-ink); }
.ts-highlights i { color: var(--theme-color); font-size: 18px; line-height: 1.2; }
.ts-inbox { padding-left: 18px; }
.ts-inbox li { margin-bottom: 4px; list-style: disc; }
.ts-cond { background: #fef3c7; color: #92400e; font-weight: 600; }
.ts-brand-word { display: flex; align-items: center; justify-content: center; height: 70px; padding: 0 10px; font-weight: 800; font-size: 18px; letter-spacing: .3px; color: var(--ts-ink); text-align: center; line-height: 1.1; }
.logo-block a:hover .ts-brand-word { color: var(--theme-color); }
.ts-checkout .form-check, .ts-account .form-check { display: flex; align-items: center; gap: 8px; padding-left: 0; }
.ts-checkout .form-check .form-check-input, .ts-account .form-check .form-check-input { float: none; margin: 0; flex-shrink: 0; }

/* Option groups on the product page (Storage / Colour / SIM...) */
.ts-opt .sub-title { font-size: 15px; }
.ts-opt-sel { font-weight: 500; color: var(--ts-muted, #6b7280); }
.ts-optv { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ts-line); border-radius: 8px; padding: 8px 14px; background: #fff; font-weight: 600; font-size: 14px; color: inherit; cursor: pointer; transition: border-color .15s; }
.ts-optv:hover { border-color: var(--theme-color); }
.ts-optv.active { border-color: var(--theme-color); background: var(--ts-soft); color: var(--theme-color); box-shadow: 0 0 0 1px var(--theme-color) inset; }
.ts-optv.is-out { opacity: .55; }
.ts-optv.is-out span { text-decoration: line-through; }
.ts-optv:disabled { opacity: .3; cursor: not-allowed; }
.ts-optv.is-swatch { padding: 6px 12px 6px 6px; border-radius: 999px; }
.ts-optv.is-swatch i { width: 22px; height: 22px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.15); flex: none; }
/* Keep brand casing (iPhone, eSIM, AirPods): the template capitalises headings */
.ts-product-title, .ts-opt .sub-title, .ts-opt-sel, .ts-optv, .ts-variant span, .product-box .product-title, .product-title, .ts-cart-table td, .breadcrumb-item { text-transform: none !important; }
.ts-opt .sub-title { text-align: left !important; }

/* Help center */
.ts-help-card h5 { margin: 10px 0 4px; }
.ts-help-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ts-soft); color: var(--theme-color); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ts-help-contact { list-style: none; padding: 0; margin: 0; }
.ts-help-contact li { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.ts-help-contact i { color: var(--theme-color); font-size: 18px; }
.ts-faq .accordion-button { font-weight: 600; font-size: 15px; }
.ts-faq .accordion-button:not(.collapsed) { background: var(--ts-soft); color: var(--theme-color); box-shadow: none; }
.ts-loc { padding: 10px 0; border-bottom: 1px solid var(--ts-line); line-height: 1.6; }
.ts-loc:last-child { border-bottom: 0; }
.ts-terms { padding-left: 20px; line-height: 1.7; }
.ts-terms li { margin-bottom: 4px; }
.ts-or { display: flex; align-items: center; gap: 10px; color: var(--ts-muted, #6b7280); font-size: 13px; margin: 6px 0 12px; }
.ts-or::before, .ts-or::after { content: ""; flex: 1; border-top: 1px solid var(--ts-line); }

/* Warranty page */
.ts-w-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--theme-color), #7c3aed); color: #fff; border: 0; }
.ts-w-head .text-muted { color: rgba(255,255,255,.75) !important; }
.ts-w-code { font-size: 26px; font-weight: 800; letter-spacing: 3px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.ts-w-code .btn { color: #fff; font-size: 18px; vertical-align: middle; }
.ts-w-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.ts-w-meta span { display: block; font-size: 12px; opacity: .75; }
.ts-w-meta b { font-size: 16px; }
.ts-w-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ts-line); flex: none; }
.ts-w-badge { display: inline-flex; align-items: center; gap: 4px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.ts-w-left { white-space: nowrap; font-size: 14px; }
.ts-w-bar { margin: 18px 0 6px; }
.ts-w-track { position: relative; height: 10px; border-radius: 999px; background: #e5e7eb; display: flex; overflow: visible; }
.ts-w-seg { height: 100%; }
.ts-w-seg:first-child { border-radius: 999px 0 0 999px; }
.ts-w-seg:last-of-type { border-radius: 0 999px 999px 0; }
.ts-w-seg:only-of-type { border-radius: 999px; }
.ts-w-ours { background: var(--theme-color); }
.ts-w-prov { background: #a5b4fc; }
.ts-w-bar.is-ended .ts-w-seg { background: #d1d5db; }
.ts-w-now { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: #111827; box-shadow: 0 0 0 2px #fff; }
.ts-w-dates { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--ts-muted, #6b7280); margin-top: 6px; min-height: 18px; }
.ts-w-mid { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ts-w-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ts-muted, #6b7280); margin-top: 4px; }
.ts-w-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.ts-w-serials { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 14px 0; }
.ts-w-serials div { background: #f9fafb; border: 1px solid var(--ts-line); border-radius: 10px; padding: 8px 12px; }
.ts-w-serials span { display: block; font-size: 12px; color: var(--ts-muted, #6b7280); }
.ts-w-serials b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }
.ts-w-action { background: var(--ts-soft); border-radius: 10px; padding: 12px 14px; }
.ts-claim { border-top: 1px dashed var(--ts-line); margin-top: 16px; padding-top: 14px; scroll-margin-top: 90px; }
.ts-claim:target { background: #fffbeb; border-radius: 10px; padding: 14px; }
.ts-claim-note { background: #f9fafb; border-left: 3px solid var(--theme-color); padding: 8px 12px; border-radius: 0 8px 8px 0; margin: 8px 0; font-size: 14px; }
.ts-steps { list-style: none; display: flex; padding: 0; margin: 14px 0 10px; counter-reset: s; }
.ts-steps li { flex: 1; position: relative; text-align: center; font-size: 12px; color: #9ca3af; }
.ts-steps li i { display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: #e5e7eb; position: relative; z-index: 1; }
.ts-steps li::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e5e7eb; }
.ts-steps li:first-child::before { display: none; }
.ts-steps li.done, .ts-steps li.now { color: #111827; }
.ts-steps li.done i, .ts-steps li.now i, .ts-steps li.done::before, .ts-steps li.now::before { background: var(--theme-color); }
.ts-steps li.now i { box-shadow: 0 0 0 4px var(--ts-soft); }
.ts-steps li.now span { font-weight: 700; color: var(--theme-color); }
.ts-steps small { display: block; color: #9ca3af; }
.ts-radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--ts-line); border-radius: 10px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.ts-radio-card input { margin-top: 4px; accent-color: var(--theme-color); }
.ts-radio-card small { display: block; color: var(--ts-muted, #6b7280); }
.ts-radio-card:has(input:checked) { border-color: var(--theme-color); background: var(--ts-soft); }
.ts-terms-box { background: #f9fafb; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.ts-terms-box summary { font-weight: 600; cursor: pointer; }
.ts-w-link { color: inherit; text-decoration: none; }
.ts-w-link > i:first-child { font-size: 26px; color: #059669; }
.ts-w-link small { display: block; color: var(--ts-muted, #6b7280); }
.ts-wlink { font-size: 13px; margin-left: 4px; }
@media (max-width: 575px) {
    .ts-w-code { font-size: 21px; letter-spacing: 2px; }
    .ts-w-item > .d-flex { flex-wrap: wrap; }
    .ts-w-item > .d-flex > .flex-grow-1 { flex: 1 1 0; min-width: 0; }
    .ts-w-left { flex-basis: 100%; text-align: left !important; font-size: 13px; padding-left: 80px; margin-top: -4px; }
    .ts-w-thumb { width: 64px; height: 64px; }
    .ts-steps span { font-size: 10px; }
    .ts-steps small { display: none; }
}
.ts-w-alt { border-top: 1px solid rgba(79,70,229,.15); margin-top: 12px; padding-top: 10px; font-size: 14px; }

/* Product labels (trust badges) */
.ts-label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 11px; border: 1px solid; border-radius: 999px; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.ts-label i { font-size: 15px; }
button.ts-label { cursor: pointer; font-family: inherit; }
.ts-labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.ts-label-pick { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 8px 0; cursor: pointer; }
.ts-icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-icon-pick input { display: none; }
.ts-icon-pick span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 18px; cursor: pointer; }
.ts-icon-pick input:checked + span { border-color: #4f46e5; background: #eef2ff; color: #4f46e5; }
@media (max-width: 767px) { .ts-details .ts-labels { justify-content: center; } }
/* Product gallery: photo counter, arrows on the main image */
.ts-gallery-count { position: absolute; right: 14px; top: 14px; z-index: 2; background: rgba(17,24,39,.65); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.ts-gallery-main .slick-arrow { z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ts-gallery-main .slick-prev { left: 10px; }
.ts-gallery-main .slick-next { right: 10px; }
.ts-gallery-main .slick-arrow::before { color: #111827; }
.ts-gallery-main .slick-slide img { margin: 0 auto; }

/* Sale strip on product pages (banner + countdown) */
.ts-salebar { border-radius: 10px; overflow: hidden; margin: 4px 0 14px; max-width: 600px; background: linear-gradient(90deg, #111827, #312e81); color: #fff; }
.ts-salebar-img { display: block; width: 100%; height: auto; }
.ts-salebar-cd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 12px; }
.ts-salebar-name { font-weight: 700; font-size: 14px; }
.ts-salebar-name i { color: #fbbf24; }
.ts-salebar .ts-countdown .ts-cd span, .ts-salebar .ts-cd span { background: rgba(255,255,255,.14); color: #fff; }

/* Full screen slider (edge to edge, tall, image covers) */
.ts-slider-fullscreen .ts-slide { position: relative; height: clamp(340px, 34vw, 520px); }
.ts-slider-fullscreen .ts-slide picture { display: block; height: 100%; }
.ts-slider-fullscreen .ts-slide img { height: 100%; object-fit: cover; object-position: center; }
.ts-slider-fullscreen .ts-slides-nav { top: auto; bottom: 28px; transform: none; opacity: 1; background: rgba(255,255,255,.85); }
.ts-slider-fullscreen .ts-slides-nav.prev { left: auto; right: 86px; }
.ts-slider-fullscreen .ts-slides-nav.next { right: 28px; }
.ts-slider-fullscreen .ts-slides-dots { bottom: 46px; }
/* Text on slides */
.ts-slide { position: relative; }
.ts-cap { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 7vw; pointer-events: none; }
.ts-cap-center { justify-content: center; text-align: center; }
.ts-cap-right { justify-content: flex-end; text-align: right; }
.ts-cap-in { max-width: 560px; opacity: 0; transform: translateY(18px); transition: opacity .6s ease .15s, transform .6s ease .15s; }
.ts-slide.is-on .ts-cap-in { opacity: 1; transform: none; }
.ts-cap h2 { font-size: clamp(28px, 4.2vw, 60px); font-weight: 800; line-height: 1.05; margin: 0 0 12px; text-transform: none; letter-spacing: -.5px; color: inherit; }
.ts-cap p { font-size: clamp(15px, 1.4vw, 20px); margin: 0 0 20px; color: inherit; opacity: .9; }
.ts-cap-light { color: #fff; } .ts-cap-light h2, .ts-cap-light p { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.ts-cap-dark { color: #111827; }
.ts-cap-btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; background: #fff; color: #111827; pointer-events: auto; transition: transform .2s; }
.ts-cap-dark .ts-cap-btn { background: #111827; color: #fff; }
.ts-slide:hover .ts-cap-btn { transform: translateY(-2px); }
@media (max-width: 767px) {
    .ts-slider-fullscreen .ts-slide { height: clamp(300px, 100vw, 440px); }
    .ts-slider-fullscreen .ts-slides-dots { position: absolute; bottom: 16px; margin: 0; }
    .ts-slider-fullscreen .ts-slides-dots button { background: rgba(255,255,255,.6); }
    .ts-slider-fullscreen .ts-slides-dots button.on { background: #fff; }
    .ts-cap { align-items: flex-end; justify-content: center; text-align: center; padding: 0 22px 54px; }
    .ts-slider-boxed .ts-cap, .ts-slider-full:not(.ts-slider-fullscreen) .ts-cap { padding-bottom: 22px; }
    .ts-cap h2 { margin-bottom: 8px; }
    .ts-cap p { margin-bottom: 14px; }
    .ts-cap-btn { padding: 11px 22px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ts-cap-in { transition: none; } }

/* Big countdown (home sale section, /sale) */
.ts-cd-lg p { margin: 0; }
.ts-cd-lg .ts-cd { display: inline-flex; gap: 8px; }
.ts-cd-lg .ts-cd span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 10px 6px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; margin: 0; }
.ts-cd-lg .ts-cd b { font-size: 28px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.ts-cd-lg .ts-cd small { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; opacity: .75; margin-top: 4px; }
/* Home sale section */
.ts-salebox { display: block; border-radius: 16px; overflow: hidden; background: linear-gradient(110deg, #0f172a, #312e81 60%, #4f46e5); color: #fff; text-decoration: none; }
.ts-salebox:hover { color: #fff; }
.ts-salebox-img { display: block; width: 100%; height: auto; }
.ts-salebox-body { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 22px 28px; flex-wrap: wrap; }
.ts-salebox-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #fbbf24; }
.ts-salebox h3, .ts-salepage-bar h1 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 4px 0 0; text-transform: none; }
.ts-salebox-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #111827; border-radius: 999px; padding: 12px 24px; font-weight: 700; transition: transform .2s; }
.ts-salebox:hover .ts-salebox-btn { transform: translateX(3px); }
@media (max-width: 767px) {
    .ts-salebox-body { flex-direction: column; text-align: center; padding: 20px 16px; }
    .ts-cd-lg .ts-cd { gap: 6px; }
    .ts-cd-lg .ts-cd span { min-width: 58px; padding: 8px 4px; }
    .ts-cd-lg .ts-cd b { font-size: 24px; }
    .ts-salebox-btn { width: 100%; justify-content: center; }
}
/* /sale page */
.ts-salepage-hero { background: linear-gradient(110deg, #0f172a, #312e81 60%, #4f46e5); color: #fff; margin-bottom: 10px; }
.ts-salepage-img img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.ts-salepage-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 24px 0; }
.ts-salepage-hero.is-empty { padding: 34px 0; }
.ts-salepage-hero.is-empty h1 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 6px; text-transform: none; }
.ts-salepage-hero.is-empty p { color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 767px) { .ts-salepage-bar { flex-direction: column; text-align: center; } }
a.ts-salebar { display: block; text-decoration: none; }
a.ts-salebar:hover { color: #fff; }
.ts-slider-full { padding-top: 0; padding-bottom: 0; }
.ts-slider-fullscreen + .ts-sale-sec { padding-top: 24px; }
.ts-sale-sec { padding-bottom: 24px; }


/* ---- Home: see-through menu bar on the slider ----
   Desktop (1200+): the theme header keeps only the dark top strip; .ts-mhdr (logo / menu / icons) floats on the slider.
   Below 1200: the theme's logo row floats on the slider, see-through. --ts-hdr-h is set by an inline script in layout.php. */
body.ts-hdr-over #sticky-header { position: relative; z-index: 30; background: transparent; }
body.ts-hdr-over #sticky-header .main-menu, body.ts-hdr-over #sticky-header .bottom-part { background: transparent !important; }
body.ts-hdr-over .ts-home { position: relative; }
body.ts-hdr-over .ts-home > .ts-slider:first-of-type { margin-top: calc(-1 * var(--ts-hdr-h, 0px)); }
@media (min-width: 1200px) {
    body.ts-hdr-over #sticky-header > .container, body.ts-hdr-over #sticky-header > .bottom-part { display: none; }
    body.ts-hdr-over .ts-home > .ts-slider-fullscreen:first-of-type .ts-slide { height: calc(clamp(340px, 34vw, 520px) + 84px); }
    body.ts-hdr-over .ts-home > .ts-slider:first-of-type .ts-cap { padding-top: 84px; }
}
@media (max-width: 1199px) {
    body.ts-hdr-over .ts-home > .ts-slider-fullscreen:first-of-type .ts-slide { height: calc(clamp(300px, 100vw, 440px) + var(--ts-hdr-h, 0px)); }
    body.ts-hdr-over #sticky-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--ts-hdr-h, 0px); z-index: -1; pointer-events: none; }
    body.ts-hdr-light #sticky-header::after { background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,0)); }
    body.ts-hdr-dark #sticky-header::after { background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,0)); }
    body.ts-hdr-light #sticky-header > .container .sidebar-bar, body.ts-hdr-light #sticky-header > .container .toggle-nav i { color: #fff !important; }
    body.ts-hdr-light #sticky-header > .container .brand-logo img { filter: brightness(0) invert(1); }
    body.ts-hdr-light #sticky-header > .container .ts-logo-text { color: #fff; }
    body.ts-hdr-over .ts-home > .ts-slider:first-of-type .ts-cap { padding-top: var(--ts-hdr-h, 0px); }
}
@media (max-width: 767px) { body.ts-hdr-over .ts-home > .ts-slider:first-of-type .ts-cap { padding-top: 0; } }

.ts-mhdr { position: absolute; top: 0; left: 0; right: 0; z-index: 40; }
.ts-mhdr::before { content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none; z-index: -1; }
.ts-mhdr-light { color: #fff; } .ts-mhdr-light::before { background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0)); }
.ts-mhdr-dark { color: #111827; } .ts-mhdr-dark::before { background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,0)); }
.ts-mh-row { display: flex; align-items: center; gap: 24px; height: 84px; }
.ts-mh-logo { flex: 0 0 auto; display: flex; align-items: center; }
.ts-mh-logo img { max-height: 38px; width: auto; }
.ts-mhdr-light .ts-mh-logo img { filter: brightness(0) invert(1); }
.ts-mh-logo .ts-logo-text { color: inherit; font-size: 24px; font-weight: 800; }
.ts-mh-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.ts-mh-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ts-mh-nav > ul > li { position: relative; }
.ts-mh-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: inherit; font-weight: 600; font-size: 15px; letter-spacing: .2px; border-radius: 999px; transition: background .2s; white-space: nowrap; }
.ts-mhdr-light .ts-mh-nav > ul > li > a { text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.ts-mhdr-light .ts-mh-nav > ul > li > a:hover, .ts-mhdr-light .ts-mh-nav > ul > li > a.on { background: rgba(255,255,255,.16); }
.ts-mhdr-dark .ts-mh-nav > ul > li > a:hover, .ts-mhdr-dark .ts-mh-nav > ul > li > a.on { background: rgba(17,24,39,.07); }
.ts-mh-badge { text-transform: uppercase; font-size: 9px; font-weight: 800; background: var(--theme-color); color: #fff; border-radius: 4px; padding: 1px 5px; margin-left: 2px; text-shadow: none; }
.ts-mh-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: #fff; color: #111827; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.16); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 5; }
.ts-mh-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-drop:hover > .ts-mh-drop, .has-drop:focus-within > .ts-mh-drop { opacity: 1; visibility: visible; transform: none; }
.ts-mh-drop a { display: block; padding: 8px 12px; border-radius: 8px; color: #374151; font-size: 14px; }
.ts-mh-drop a:hover { background: #f3f4f6; color: var(--theme-color); }
.ts-mh-mega { left: 50%; transform: translate(-50%, 6px); width: min(860px, 90vw); padding: 18px; }
.has-drop:hover > .ts-mh-mega, .has-drop:focus-within > .ts-mh-mega { transform: translate(-50%, 0); }
.ts-mh-mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 14px; }
.ts-mh-col a { padding: 5px 10px; }
.ts-mh-col a.ts-mh-col-h { font-weight: 700; color: #111827; }
.ts-mh-all { margin-top: 10px; border-top: 1px solid #f3f4f6; padding-top: 12px !important; font-weight: 700; color: var(--theme-color) !important; }
.ts-mh-icons { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.ts-mh-ic { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; transition: background .2s; cursor: pointer; }
.ts-mhdr-light .ts-mh-ic:hover { background: rgba(255,255,255,.16); color: #fff; }
.ts-mhdr-dark .ts-mh-ic:hover { background: rgba(17,24,39,.07); color: #111827; }
.ts-mh-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--theme-color); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.ts-mh-search { position: relative; width: 42px; height: 42px; }
.ts-mh-search input { position: absolute; right: 0; top: 0; height: 42px; width: 0; padding: 0; border: 0; outline: 0; border-radius: 999px; background: #fff; color: #111827; font-size: 14px; opacity: 0; transition: width .3s, opacity .2s, padding .3s; }
.ts-mh-search .ts-mh-ic { position: relative; z-index: 1; }
.ts-mh-search.open input { width: 280px; padding: 0 46px 0 18px; opacity: 1; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.ts-mh-search.open .ts-mh-ic { color: #111827; }
.ts-mh-search.open .ts-mh-ic:hover { background: transparent; }
@media (min-width: 578px) and (max-width: 1199px) {
    body.ts-hdr-light #sticky-header > .container .icon-nav i { color: #fff !important; }
}
