/* =========================================================
   Tekino Pro — جستجوی زنده، تایمر تخفیف، منوی پایین موبایل،
   دکمه واتساپ، کارت محصول
========================================================= */

/* ---------- کادر جستجو: نئون فقط دور کادر ---------- */
.tk-header-search,
.tk-mobile-search { position: relative; }

.tk-mobile-search .tk-search-form,
.tk-header-search .tk-search-form {
    border: 2px solid #a855f7 !important;
    border-radius: 16px !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, .45) !important;
    transition: border-color .2s, box-shadow .2s;
}

.tk-mobile-search .tk-search-form:focus-within,
.tk-header-search .tk-search-form:focus-within {
    border-color: #00eaff !important;
    box-shadow: 0 0 16px rgba(0, 234, 255, .55) !important;
}

.tk-search-form input[type="search"] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.tk-search-form input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ---------- جستجوی زنده ---------- */
.tk-ls {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 1200;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(80, 125, 180, .18);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(30, 41, 59, .18);
}

.tk-ls[hidden] { display: none; }

.tk-ls-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.tk-ls-item:hover,
.tk-ls-item:focus-visible { background: #f5f3ff; }

.tk-ls-item img {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
}

.tk-ls-title {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tk-ls-price {
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 900;
    color: #0d9488;
    text-align: left;
}

.tk-ls-price del { display: block; color: #94a3b8; font-weight: 600; font-size: 10.5px; }
.tk-ls-price ins { text-decoration: none; }

.tk-ls-empty { padding: 16px; text-align: center; font-size: 12.5px; color: #64748b; }

.tk-ls-all {
    display: block;
    padding: 11px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 900;
    color: #4f46e5;
    text-decoration: none;
}

/* ---------- کارت محصول ---------- */
.tk-p-out { background: #64748b !important; }
.tk-p-card.is-out .tk-p-img img { filter: grayscale(1); opacity: .55; }

.tk-p-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: -2px 0 4px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
}
.tk-p-rating small { color: #94a3b8; font-weight: 600; }
.tk-p-star { color: #f59e0b; font-size: 13px; }

.tk-p-price del {
    display: block;
    color: #94a3b8 !important;
    font-size: .85em;
    font-weight: 600;
    text-decoration: line-through;
}
.tk-p-price ins { text-decoration: none; }

/* ---------- تایمر تخفیف ---------- */
.tk-countdown {
    display: flex;
    gap: 6px;
    direction: ltr;
    align-items: stretch;
}

.tk-countdown span {
    min-width: 44px;
    padding: 6px 4px 4px;
    border-radius: 11px;
    background: #0f172a;
    border: 1.5px solid #ec4899;
    box-shadow: 0 0 10px rgba(236, 72, 153, .3);
    text-align: center;
}

.tk-countdown b {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.tk-countdown i {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 9px;
    color: #94a3b8;
}

.tk-countdown.is-ended { opacity: .45; }

/* ---------- منوی پایین موبایل + دکمه واتساپ ---------- */
.tk-bottom-nav { display: none; }

.tk-float-wa {
    position: fixed;
    left: 16px;
    bottom: 20px;
    z-index: 850;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 16px rgba(37, 211, 102, .6), 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .2s;
}
.tk-float-wa:hover { transform: scale(1.08); }

@media (max-width: 768px) {

    body { padding-bottom: 70px; }

    .tk-bottom-nav {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 2px solid #a855f7;
        box-shadow: 0 -4px 18px rgba(168, 85, 247, .25);
    }

    .tk-bottom-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 10.5px;
        font-weight: 800;
        color: #64748b;
        text-decoration: none;
    }

    .tk-bottom-nav a.is-active { color: #4f46e5; }
    .tk-bottom-nav svg { width: 23px; height: 23px; }

    .tk-bn-count {
        position: absolute;
        top: -5px;
        right: calc(50% - 22px);
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 9px;
        background: #ec4899;
        color: #fff;
        font-style: normal;
        font-size: 10px;
        line-height: 17px;
        text-align: center;
    }

    .tk-float-wa { width: 46px; height: 46px; left: 12px; bottom: 84px; }

    .tk-countdown span { min-width: 38px; }
    .tk-countdown b { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .tk-float-wa, .tk-search-form { transition: none; }
}


/* =========================================================
   تغییرات صفحه اول (دور دوم)
========================================================= */

/* ---------- کادر عنوان بخش‌ها: نئون + پس‌زمینه ---------- */
.tk-head-frame {
    --hc: #00eaff;
    --hg: rgba(0, 234, 255, .35);
    --hg2: rgba(0, 234, 255, .12);
    position: relative;
    align-items: center !important;
    padding: 18px 24px;
    border: 2px solid var(--hc);
    border-radius: 22px;
    box-shadow: 0 0 16px var(--hg), inset 0 0 22px var(--hg2);
    background:
        radial-gradient(circle at 92% 0%, var(--hg2), transparent 55%),
        radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1.5px) 0 0 / 14px 14px,
        linear-gradient(135deg, #ffffff 0%, #f1f5ff 100%);
    overflow: hidden;
}

.tk-head-pink   { --hc: #ff2d95; --hg: rgba(255, 45, 149, .38);  --hg2: rgba(255, 45, 149, .13); }
.tk-head-purple { --hc: #a855f7; --hg: rgba(168, 85, 247, .38);  --hg2: rgba(168, 85, 247, .13); }
.tk-head-cyan   { --hc: #00eaff; --hg: rgba(0, 234, 255, .38);   --hg2: rgba(0, 234, 255, .13); }

.tk-head-frame .tk-section-mini { margin-bottom: 4px; }
.tk-head-frame h2 { font-size: clamp(22px, 2.6vw, 32px); }

/* ---------- روزشمار بزرگ‌تر ---------- */
.tk-countdown { gap: 9px; }

.tk-countdown span {
    min-width: 66px;
    padding: 10px 6px 8px;
    border-radius: 14px;
}

.tk-countdown b { font-size: 26px; }
.tk-countdown i { margin-top: 3px; font-size: 11px; }

/* ---------- موبایل ---------- */
@media (max-width: 768px) {

    /* بنر بالا: نئون نارنجی */
    .tk-hero.tk-neon-hero-purple {
        border-color: #f97316 !important;
        box-shadow: 0 0 18px rgba(249, 115, 22, .5), inset 0 0 14px rgba(249, 115, 22, .08) !important;
    }

    /* دسته‌بندی‌ها: حلقه نئونی پررنگ دقیقاً روی لبه کادر */
    .tk-modern-categories .tk-modern-category {
        border: 0 !important;
        background: linear-gradient(160deg, #ffffff, #eef3fb) !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, .08) !important;
    }

    .tk-modern-categories .tk-modern-category::before {
        inset: 0;
        padding: 3.5px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--neon-main), var(--neon-light) 50%, var(--neon-main));
        opacity: 1;
        filter: drop-shadow(0 0 5px var(--neon-main)) drop-shadow(0 0 12px var(--neon-main));
    }

    .tk-modern-categories .tk-modern-category::after { opacity: .16; }

    /* کادر عنوان بخش‌ها */
    .tk-head-frame {
        padding: 12px 14px;
        border-radius: 16px;
        margin-bottom: 14px !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }
    .tk-head-frame h2 { font-size: 21px; }

    .tk-sale-section .tk-head-frame {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center !important;
    }

    .tk-countdown { gap: 6px; }
    .tk-countdown span { min-width: 54px; padding: 8px 4px 6px; }
    .tk-countdown b { font-size: 21px; }
    .tk-countdown i { font-size: 10px; }
}


/* =========================================================
   منوی موبایل (کشوی کنار صفحه): پس‌زمینه گرم و مات + نئون
========================================================= */
body.tk-menu-open { overflow: hidden; }

.tk-mobile-menu {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: rgba(12, 8, 18, .62) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.tk-drawer {
    position: relative;
    width: min(320px, 86vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 16px;
    border-left: 2px solid rgba(168, 85, 247, .65);
    box-shadow: -10px 0 40px rgba(168, 85, 247, .22);
    background:
        radial-gradient(120% 55% at 100% 0%, rgba(249, 115, 22, .17), transparent 62%),
        radial-gradient(100% 50% at 0% 100%, rgba(236, 72, 153, .13), transparent 62%),
        linear-gradient(180deg, #211b2d 0%, #17121f 100%);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22, .8, .3, 1);
}

.tk-mobile-menu.is-open .tk-drawer { transform: none; }

.tk-drawer .tk-mobile-menu-header {
    width: 100%;
    margin: 0;
    padding: 18px 16px 14px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.tk-mm-brand { display: flex; align-items: center; gap: 10px; }

.tk-mm-brand img {
    border-radius: 11px;
    object-fit: cover;
    border: 2px solid #00eaff;
    box-shadow: 0 0 10px rgba(0, 234, 255, .55);
}

.tk-drawer .tk-mobile-menu-header strong { color: #fff; font-size: 16px; }

.tk-drawer .tk-mobile-menu-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff2d95, #a855f7);
    box-shadow: 0 0 12px rgba(255, 45, 149, .5);
}

.tk-drawer .tk-mobile-menu-content {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 16px 14px 6px;
    gap: 10px;
    background: transparent;
    box-shadow: none;
}

/* رنگ نئونی هر گزینه */
.tk-mm-cyan   { --mc: #00eaff; --mg: rgba(0, 234, 255, .30);  --mg2: rgba(0, 234, 255, .15); }
.tk-mm-purple { --mc: #a855f7; --mg: rgba(168, 85, 247, .32); --mg2: rgba(168, 85, 247, .16); }
.tk-mm-green  { --mc: #39ff88; --mg: rgba(57, 255, 136, .28); --mg2: rgba(57, 255, 136, .13); }
.tk-mm-pink   { --mc: #ff2d95; --mg: rgba(255, 45, 149, .32); --mg2: rgba(255, 45, 149, .16); }
.tk-mm-orange { --mc: #ff8a1f; --mg: rgba(255, 138, 31, .30); --mg2: rgba(255, 138, 31, .15); }
.tk-mm-yellow { --mc: #ffd400; --mg: rgba(255, 212, 0, .26);  --mg2: rgba(255, 212, 0, .12); }

.tk-drawer .tk-mobile-menu-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1.5px solid var(--mc);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 0 10px var(--mg), inset 0 0 14px var(--mg2);
    color: #f4effb;
    font-size: 14px;
    font-weight: 800;
}

.tk-drawer .tk-mobile-menu-content a:hover,
.tk-drawer .tk-mobile-menu-content a:focus-visible {
    padding: 11px 12px;
    color: #fff;
    background: var(--mg2);
}

.tk-mm-ico {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--mg2);
    font-size: 17px;
}

.tk-mm-count {
    margin-right: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #ff2d95;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 45, 149, .6);
}

.tk-mm-label {
    margin: 8px 4px 0;
    font-size: 12px;
    font-weight: 800;
    color: #b8a8cc;
}

.tk-mm-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tk-drawer .tk-mm-cats a {
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 12.5px;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 8px var(--mg), inset 0 0 10px var(--mg2);
}

.tk-drawer .tk-mm-cats a:hover { padding: 9px 10px; }

.tk-drawer-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding: 14px 14px 0;
}

.tk-drawer-foot a {
    padding: 11px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
}

.tk-mm-wa  { background: #1faa59; box-shadow: 0 0 12px rgba(37, 211, 102, .45); }
.tk-mm-tel { background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 0 12px rgba(124, 58, 237, .45); }

@media (prefers-reduced-motion: reduce) {
    .tk-drawer { transition: none; }
}


/* =========================================================
   صفحه محصول
========================================================= */

/* فاصله‌ها و فضای خالی */
.tk-single-product-wrapper { min-height: 0 !important; padding-bottom: 0 !important; }
.tk-single-container .tk-product-main-card { margin-bottom: 28px !important; }
.tk-single-container .tk-advanced-tabs-card { margin-bottom: 28px !important; }
.tk-single-container .tk-related-section { margin-bottom: 0 !important; }
.single-product .tk-site-footer { margin-top: 28px; }

/* مسیر صفحه (breadcrumb): کادر نئونی نارنجی */
.tk-breadcrumb .tk-bc-inner {
    display: block;
    padding: 11px 16px;
    background: #fff;
    border: 2px solid #ff8a1f;
    border-radius: 14px;
    box-shadow: 0 0 12px rgba(255, 138, 31, .38);
    line-height: 1.7;
}

/* امتیاز، سود و دکمه واتساپ */
.tk-rating-line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: -2px 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: #475569;
    text-decoration: none;
}
.tk-rating-star { color: #f59e0b; font-size: 16px; }

.tk-save-line {
    flex: 1 1 100%;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 234, 255, .5);
    font-size: 13px;
    font-weight: 900;
    color: #e11d48;
}

.tk-ask-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border: 2px solid #25d366;
    border-radius: 14px;
    background: rgba(37, 211, 102, .07);
    box-shadow: 0 0 12px rgba(37, 211, 102, .3);
    color: #0f7a3d;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
}
.tk-ask-wa:hover { background: rgba(37, 211, 102, .14); }

/* محصولات مرتبط: ۴ ستون در دسکتاپ */
@media (min-width: 769px) {
    .tk-custom-related-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 768px) {

    /* breadcrumb یک‌خطی و قابل کشیدن، تا آخر متن خوانده بشه */
    .tk-breadcrumb .tk-bc-inner {
        white-space: nowrap;
        overflow-x: auto;
        padding: 10px 14px;
        font-size: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px);
        mask-image: linear-gradient(to right, transparent 0, #000 26px);
    }
    .tk-breadcrumb .tk-bc-inner::-webkit-scrollbar { display: none; }

    /* فقط سه محصول مرتبط در موبایل */
    .tk-custom-related-grid .tk-related-item-card:nth-child(n+4) { display: none; }

    /* نوار خرید ثابت بالای منوی پایین */
    .tk-sticky-bar {
        bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
        padding: 8px 14px !important;
        z-index: 880 !important;
        border-radius: 14px 14px 0 0;
    }

    .single-product .tk-float-wa { bottom: 144px; }
    .single-product .tk-single-product-wrapper { padding-bottom: 0 !important; }
}


/* =========================================================
   مراحل خرید + سبد خرید (هر کادر یک رنگ نئونی)
========================================================= */

/* ---------- نوار مراحل ---------- */
.tk-flow-page { padding-top: 24px !important; padding-bottom: 30px !important; min-height: 0 !important; }

.tk-steps {
    list-style: none;
    margin: 0 0 18px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 2px solid #818cf8;
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(129, 140, 248, .38);
}

.tk-step {
    --sc: #00eaff;
    --sg: rgba(0, 234, 255, .45);
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: #94a3b8;
}
.tk-step-pink  { --sc: #ff2d95; --sg: rgba(255, 45, 149, .45); }
.tk-step-green { --sc: #39ff88; --sg: rgba(57, 255, 136, .45); }

.tk-step:not(:last-child)::after {
    content: "";
    width: clamp(18px, 7vw, 90px);
    height: 2px;
    margin-inline-start: 6px;
    border-radius: 2px;
    background: #e2e8f0;
}
.tk-step.is-done:not(:last-child)::after { background: linear-gradient(90deg, #39ff88, #00eaff); }

.tk-step-num {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    font-size: 14px;
    font-weight: 900;
}

.tk-step.is-current { color: #1e293b; }
.tk-step.is-current .tk-step-num {
    border-color: var(--sc);
    color: #1e293b;
    box-shadow: 0 0 12px var(--sg), inset 0 0 8px var(--sg);
}
.tk-step.is-done { color: #0d9488; }
.tk-step.is-done .tk-step-num { border-color: #39ff88; background: #39ff88; color: #064e3b; box-shadow: 0 0 10px rgba(57, 255, 136, .55); }

/* عنوان صفحه در کادر نئونی */
.tk-flow-page .tk-page-title {
    margin: 0 0 18px !important;
    padding: 14px 20px !important;
    font-size: 22px !important;
    border: 2px solid #00eaff !important;
    border-radius: 18px;
    box-shadow: 0 0 14px rgba(0, 234, 255, .35), inset 0 0 18px rgba(0, 234, 255, .08);
    background:
        radial-gradient(circle at 95% 0%, rgba(0, 234, 255, .14), transparent 55%),
        radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1.5px) 0 0 / 14px 14px,
        linear-gradient(135deg, #fff, #f1f5ff);
}

/* ---------- سبد خرید: ردیف محصولات به‌صورت کارت‌های نئونی ---------- */
body .wc-block-cart__main {
    border: 2px solid #a855f7 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 0 18px rgba(168, 85, 247, .38) !important;
    padding: 16px !important;
}

body .wc-block-cart table.wc-block-cart-items,
body .wc-block-cart table.wc-block-cart-items tbody { display: block !important; width: 100%; border: 0 !important; }
body .wc-block-cart table.wc-block-cart-items thead { display: none !important; }

body .wc-block-cart .wc-block-cart-items__row {
    --rc: #00eaff; --rg: rgba(0, 234, 255, .35);
    display: grid !important;
    grid-template-columns: 92px 1fr auto;
    gap: 10px 14px;
    align-items: start;
    margin: 0 0 14px;
    padding: 14px !important;
    background: #fff;
    border: 2px solid var(--rc) !important;
    border-radius: 18px;
    box-shadow: 0 0 14px var(--rg), inset 0 0 14px color-mix(in srgb, var(--rc) 8%, transparent);
}
body .wc-block-cart .wc-block-cart-items__row:nth-child(4n+2) { --rc: #ff2d95; --rg: rgba(255, 45, 149, .35); }
body .wc-block-cart .wc-block-cart-items__row:nth-child(4n+3) { --rc: #39ff88; --rg: rgba(57, 255, 136, .35); }
body .wc-block-cart .wc-block-cart-items__row:nth-child(4n+4) { --rc: #ffb703; --rg: rgba(255, 183, 3, .38); }

body .wc-block-cart .wc-block-cart-items__row > td {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
}
body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__image { grid-column: 1; grid-row: 1; width: auto; }
body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__product { grid-column: 2; grid-row: 1; }
body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__total {
    grid-column: 3; grid-row: 1; text-align: left; white-space: nowrap;
    font-weight: 900; color: #0d9488;
}

body .wc-block-cart .wc-block-cart-item__image img {
    width: 92px; height: 92px; object-fit: contain; padding: 4px; background: #f8fafc;
    border: 2px solid var(--rc); border-radius: 14px; box-shadow: 0 0 10px var(--rg);
}

body .wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name { display: block; margin-bottom: 4px; }

/* انتخابگر تعداد (نارنجی) و حذف (صورتی) */
body .wc-block-cart .wc-block-components-quantity-selector {
    border: 2px solid #ff8a1f !important;
    border-radius: 12px !important;
    box-shadow: 0 0 9px rgba(255, 138, 31, .4) !important;
    background: #fff;
}
body .wc-block-cart .wc-block-components-quantity-selector__button { background: #ff8a1f !important; }
body .wc-block-cart .wc-block-components-quantity-selector__button:hover:not(:disabled) { background: #f97316 !important; }

body .wc-block-cart .wc-block-cart-item__remove-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    padding: 6px 10px; margin-inline-start: 10px;
    border: 1.5px solid #ff2d95; border-radius: 10px;
    color: #ff2d95 !important; background: rgba(255, 45, 149, .06);
    box-shadow: 0 0 8px rgba(255, 45, 149, .3);
}

/* ---------- خلاصه سفارش ---------- */
body .wc-block-cart__sidebar { position: sticky; top: 90px; align-self: flex-start; }

body .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
    border: 2px solid #00eaff !important;
    border-radius: 22px !important;
    background: #fff !important;
    padding: 18px !important;
    box-shadow: 0 0 18px rgba(0, 234, 255, .38) !important;
}

body .wc-block-cart__totals-title {
    padding: 0 0 12px !important;
    margin-bottom: 6px;
    font-size: 16px !important;
    color: #1e293b;
    border-bottom: 2px dashed rgba(0, 234, 255, .45);
    text-align: right !important;
}

/* کد تخفیف: کادر زرد */
body .wc-block-cart .wc-block-components-totals-coupon {
    margin: 10px 0 !important;
    padding: 4px 12px !important;
    border: 2px solid #ffb703 !important;
    border-radius: 14px;
    background: rgba(255, 183, 3, .07);
    box-shadow: 0 0 10px rgba(255, 183, 3, .32);
}
body .wc-block-cart .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) { border: 0 !important; padding: 0 !important; }
body .wc-block-cart .wc-block-components-totals-coupon__input input {
    border: 2px solid #ffb703 !important; border-radius: 10px !important; box-shadow: 0 0 8px rgba(255, 183, 3, .3) !important;
}

/* ردیف‌های جمع */
body .wc-block-cart .wc-block-components-totals-wrapper { padding: 10px 0 !important; }
body .wc-block-cart .wc-block-components-totals-item__label { font-size: 13px; }

/* مجموع نهایی: کادر سبز */
body .wc-block-cart .wc-block-components-totals-footer-item {
    margin-top: 6px;
    padding: 12px 14px !important;
    border: 2px solid #39ff88;
    border-radius: 14px;
    background: rgba(57, 255, 136, .08);
    box-shadow: 0 0 12px rgba(57, 255, 136, .35);
}

/* دکمه پرداخت */
body .wc-block-cart .wc-block-cart__submit-button,
body .wc-block-cart a.wc-block-components-button.wc-block-cart__submit-button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #fff !important;
    border: 2px solid #39ff88 !important;
    border-radius: 16px !important;
    min-height: 54px;
    font-size: 16px !important;
    font-weight: 900 !important;
    box-shadow: 0 0 18px rgba(57, 255, 136, .55) !important;
}

/* سبد خالی */
body .wp-block-woocommerce-empty-cart-block {
    margin-top: 6px;
    padding: 26px 18px;
    text-align: center;
    background: #fff;
    border: 2px solid #ff2d95;
    border-radius: 22px;
    box-shadow: 0 0 18px rgba(255, 45, 149, .35);
}
body .wc-block-cart__empty-cart__title { font-size: 20px !important; font-weight: 900; color: #1e293b; }

/* ---------- مزایا + پیشنهاد زیر سبد ---------- */
.tk-cart-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 22px 0 22px;
}

.tk-ct {
    --cc: #39ff88; --cg: rgba(57, 255, 136, .38);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--cc);
    border-radius: 16px;
    box-shadow: 0 0 12px var(--cg), inset 0 0 12px color-mix(in srgb, var(--cc) 8%, transparent);
}
.tk-ct-cyan   { --cc: #00eaff; --cg: rgba(0, 234, 255, .38); }
.tk-ct-pink   { --cc: #ff2d95; --cg: rgba(255, 45, 149, .38); }
.tk-ct-yellow { --cc: #ffb703; --cg: rgba(255, 183, 3, .4); }

.tk-ct-ico {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--cc) 16%, #fff);
    font-size: 19px;
}
.tk-ct strong { display: block; font-size: 13px; font-weight: 900; color: #1e293b; }
.tk-ct small { display: block; margin-top: 1px; font-size: 11px; font-weight: 700; color: #64748b; }

.tk-cart-suggest { margin-top: 8px; }
.tk-cart-suggest .tk-head-frame { margin-bottom: 16px; }

/* ---------- موبایل ---------- */
@media (max-width: 768px) {

    .tk-flow-page { width: calc(100% - 20px) !important; padding-top: 12px !important; }

    .tk-steps { padding: 10px 8px; border-radius: 16px; }
    .tk-step { gap: 5px; padding: 0 2px; font-size: 10.5px; flex-direction: column; text-align: center; }
    .tk-step:not(:last-child)::after { display: none; }
    .tk-step-num { width: 28px; height: 28px; font-size: 13px; }
    .tk-steps { justify-content: space-around; }

    .tk-flow-page .tk-page-title { font-size: 18px !important; padding: 11px 14px !important; border-radius: 14px; margin-bottom: 12px !important; }

    body .wc-block-cart__main { padding: 10px !important; border-radius: 18px !important; }

    body .wc-block-cart .wc-block-cart-items__row {
        grid-template-columns: 74px 1fr;
        padding: 10px !important;
        gap: 8px 10px;
        border-radius: 16px;
    }
    body .wc-block-cart .wc-block-cart-item__image img { width: 74px; height: 74px; }
    body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__total {
        grid-column: 1 / -1; grid-row: 2;
        display: flex !important; justify-content: space-between; align-items: center;
        padding-top: 8px !important; border-top: 1px dashed color-mix(in srgb, var(--rc) 55%, transparent) !important;
        text-align: right;
    }
    body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__total::before {
        content: "جمع این کالا:"; font-size: 12px; font-weight: 800; color: #64748b;
    }

    body .wc-block-cart__sidebar { position: static; }
    body .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block { padding: 14px !important; border-radius: 18px !important; }

    .tk-cart-trust { grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
    .tk-ct { padding: 9px 10px; gap: 8px; border-radius: 13px; }
    .tk-ct-ico { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
    .tk-ct strong { font-size: 12px; }
    .tk-ct small { font-size: 10px; }

    /* نوار ثابت «رفتن به پرداخت» بالای منوی پایین */
    body .wc-block-cart__submit-container--sticky {
        bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 880;
        padding: 8px 12px !important;
        background: #fff;
        border-top: 2px solid #39ff88;
        box-shadow: 0 -4px 16px rgba(57, 255, 136, .28);
    }
    .woocommerce-cart .tk-float-wa { bottom: 156px; }
}

@media (max-width: 480px) {
    .tk-step-label { max-width: 78px; line-height: 1.4; }
}

/* صفحه پرداخت: منوی پایین مثل بقیه صفحه‌ها نمایش داده می‌شود */


/* =========================================================
   صفحه پرداخت: هر کادر یک رنگ نئونی
========================================================= */

body .wc-block-checkout__main { counter-reset: tkstep; }

/* ---------- کادرهای اصلی ---------- */
body .wc-block-checkout__main :is(
    .wp-block-woocommerce-checkout-contact-information-block,
    .wp-block-woocommerce-checkout-shipping-address-block,
    .wp-block-woocommerce-checkout-billing-address-block,
    .wp-block-woocommerce-checkout-shipping-method-block,
    .wp-block-woocommerce-checkout-shipping-methods-block,
    .wp-block-woocommerce-checkout-payment-block,
    .wp-block-woocommerce-checkout-order-note-block,
    .wp-block-woocommerce-checkout-terms-block
) {
    --bc: #818cf8;
    margin: 0 0 18px !important;
    padding: 20px 18px 20px !important;
    background: #fff;
    border: 2px solid var(--bc) !important;
    border-radius: 22px;
    box-shadow: 0 0 16px color-mix(in srgb, var(--bc) 45%, transparent), inset 0 0 16px color-mix(in srgb, var(--bc) 7%, transparent);
    box-sizing: border-box;
}

body .wc-block-checkout__main .wp-block-woocommerce-checkout-contact-information-block { --bc: #ff2d95; }
body .wc-block-checkout__main :is(.wp-block-woocommerce-checkout-shipping-address-block, .wp-block-woocommerce-checkout-billing-address-block) { --bc: #00eaff; }
body .wc-block-checkout__main :is(.wp-block-woocommerce-checkout-shipping-method-block, .wp-block-woocommerce-checkout-shipping-methods-block) { --bc: #39ff88; }
body .wc-block-checkout__main .wp-block-woocommerce-checkout-payment-block { --bc: #ffb703; }
body .wc-block-checkout__main .wp-block-woocommerce-checkout-order-note-block { --bc: #a855f7; }
body .wc-block-checkout__main .wp-block-woocommerce-checkout-terms-block { --bc: #ff8a1f; padding: 14px 16px !important; }

/* بلوک تو در تو: فقط کادر بیرونی */
body .wc-block-checkout__main .wp-block-woocommerce-checkout-shipping-method-block :is(.wp-block-woocommerce-checkout-shipping-methods-block) {
    border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: transparent;
}

/* عنوان مرحله با شماره رنگی */
body .wc-block-checkout__main .wc-block-components-checkout-step__heading { margin: 0 0 14px !important; align-items: center; }
body .wc-block-checkout__main .wc-block-components-checkout-step__title {
    counter-increment: tkstep;
    display: flex; align-items: center; gap: 10px;
    margin: 0 !important; font-size: 17px !important; font-weight: 900 !important; color: #1e293b;
}
body .wc-block-checkout__main .wc-block-components-checkout-step__title::before {
    content: counter(tkstep);
    flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
    border: 2px solid var(--bc, #818cf8); border-radius: 50%;
    font-size: 14px; font-weight: 900; color: #1e293b;
    box-shadow: 0 0 10px color-mix(in srgb, var(--bc, #818cf8) 55%, transparent);
}
body .wc-block-checkout__main .wc-block-components-checkout-step::before,
body .wc-block-checkout__main .wc-block-components-checkout-step::after { display: none !important; }
body .wc-block-checkout__main .wc-block-components-checkout-step__container,
body .wc-block-checkout__main .wc-block-components-checkout-step__content { padding: 0 !important; margin: 0 !important; }

/* ---------- فیلدها ---------- */
body .wc-block-checkout :is(
    .wc-block-components-text-input input,
    .wc-block-components-textarea,
    .wc-blocks-components-select .wc-blocks-components-select__select,
    .components-combobox-control__input
) {
    border: 2px solid var(--bc, #818cf8) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1e293b;
    font-weight: 700;
    box-shadow: 0 0 8px color-mix(in srgb, var(--bc, #818cf8) 38%, transparent) !important;
}
body .wc-block-checkout :is(
    .wc-block-components-text-input input,
    .wc-block-components-textarea,
    .wc-blocks-components-select__select
):focus {
    outline: 0 !important;
    box-shadow: 0 0 15px var(--bc, #818cf8) !important;
}

/* کارت آدرس انتخاب‌شده: بنفش */
body .wc-block-checkout .wc-block-components-address-card {
    padding: 14px 16px; background: rgba(168, 85, 247, .06);
    border: 2px solid #a855f7 !important; border-radius: 16px;
    box-shadow: 0 0 12px rgba(168, 85, 247, .35);
}
body .wc-block-checkout .wc-block-components-address-card__edit { font-weight: 900; color: #7c3aed; }

/* «از همین آدرس برای صورت‌حساب» : کادر کوچک فیروزه‌ای */
body .wc-block-checkout .wc-block-checkout__use-address-for-billing {
    margin-top: 12px; padding: 8px 12px;
    border: 1.5px dashed #00eaff; border-radius: 12px; background: rgba(0, 234, 255, .05);
}

/* ---------- گزینه‌های حمل و پرداخت ---------- */
body .wc-block-checkout :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) {
    margin: 0 0 10px; padding-block: 4px; background: #fff;
    border: 2px solid color-mix(in srgb, var(--bc, #818cf8) 35%, #e2e8f0) !important;
    border-radius: 14px !important; box-shadow: none; transition: box-shadow .2s, border-color .2s;
}
body .wc-block-checkout :is(.wc-block-components-radio-control__option-checked, .wc-block-components-radio-control-accordion-option:has(input:checked)) {
    border-color: var(--bc, #818cf8) !important;
    background: color-mix(in srgb, var(--bc, #818cf8) 7%, #fff);
    box-shadow: 0 0 14px color-mix(in srgb, var(--bc, #818cf8) 55%, transparent);
}
body .wc-block-checkout .wc-block-components-radio-control__label { font-weight: 800; color: #1e293b; }
body .wc-block-checkout .wc-block-components-radio-control__secondary-label { font-weight: 900; color: #0d9488; }
body .wc-block-checkout .wc-block-components-radio-control__description { font-size: 12.5px; font-weight: 700; color: #64748b; }

/* چک‌باکس‌ها */
body .wc-block-checkout .wc-block-components-checkbox__label { font-weight: 700; color: #475569; }
body .wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: #6366f1; border-color: #6366f1; }

/* شرایط و ثبت سفارش */
body .wc-block-checkout .wc-block-checkout__terms { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 2; color: #475569; }
body .wc-block-checkout .wc-block-checkout__terms a { color: #4f46e5; font-weight: 800; }

body .wc-block-checkout .wc-block-components-checkout-place-order-button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #fff !important;
    border: 2px solid #39ff88 !important;
    border-radius: 16px !important;
    min-height: 56px; font-size: 17px !important; font-weight: 900 !important;
    box-shadow: 0 0 20px rgba(57, 255, 136, .55) !important;
}
body .wc-block-checkout .wc-block-components-checkout-place-order-button:disabled { opacity: .6; box-shadow: none !important; }

body .wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
    display: inline-flex; align-items: center; padding: 8px 14px;
    border: 1.5px solid #00eaff; border-radius: 12px; color: #4f46e5; font-weight: 800;
    box-shadow: 0 0 8px rgba(0, 234, 255, .3);
}

/* ---------- خلاصه سفارش ---------- */
body .wc-block-checkout__sidebar { position: sticky; top: 90px; align-self: flex-start; }

body .wc-block-checkout :is(
    .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
    .checkout-order-summary-block-fill-wrapper
) {
    padding: 16px !important;
    background: #fff;
    border: 2px solid #3b82f6 !important;
    border-radius: 22px;
    box-shadow: 0 0 18px rgba(59, 130, 246, .42), inset 0 0 16px rgba(59, 130, 246, .06);
    box-sizing: border-box;
}

body .wc-block-checkout .wc-block-components-checkout-order-summary__title-text,
body .wc-block-checkout .wc-block-components-order-summary__button-text { font-size: 16px !important; font-weight: 900 !important; color: #1e293b; }

/* لیست کالاها: کادر بنفش، هر کالا با خط‌چین */
body .wc-block-checkout .wc-block-components-order-summary {
    padding: 4px 12px !important;
    background: #faf5ff;
    border: 2px solid #a855f7 !important;
    border-radius: 16px;
    box-shadow: 0 0 12px rgba(168, 85, 247, .32);
}
body .wc-block-checkout .wc-block-components-order-summary-item { padding: 14px 0 !important; border-bottom: 1px dashed #e2d4f7; }
body .wc-block-checkout .wc-block-components-order-summary-item:last-child { border-bottom: 0; }
body .wc-block-checkout .wc-block-components-order-summary-item__image img {
    border: 2px solid #ff2d95; border-radius: 12px; background: #fff; padding: 3px; box-shadow: 0 0 8px rgba(255, 45, 149, .35);
}
body .wc-block-checkout .wc-block-components-order-summary-item__quantity {
    background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border: 0; font-weight: 900;
    box-shadow: 0 0 8px rgba(124, 58, 237, .55);
}
body .wc-block-checkout .wc-block-components-product-name { font-size: 13.5px; font-weight: 800; color: #1e293b; }
body .wc-block-checkout .wc-block-components-product-price { font-weight: 900; color: #0d9488; }

/* کد تخفیف: کادر زرد */
body .wc-block-checkout .wc-block-components-totals-coupon {
    margin: 12px 0 !important; padding: 4px 12px !important;
    border: 2px solid #ffb703 !important; border-radius: 14px;
    background: rgba(255, 183, 3, .07); box-shadow: 0 0 10px rgba(255, 183, 3, .32);
}
body .wc-block-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) { border: 0 !important; padding: 0 !important; }
body .wc-block-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button { font-weight: 800; color: #4f46e5; }
body .wc-block-checkout .wc-block-components-totals-coupon__input input { border: 2px solid #ffb703 !important; border-radius: 10px !important; box-shadow: 0 0 8px rgba(255, 183, 3, .3) !important; }
body .wc-block-checkout .wc-block-components-totals-coupon__button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important; color: #fff !important; border: 2px solid #ffb703 !important; border-radius: 12px !important;
}

/* ردیف‌های جمع */
body .wc-block-checkout .wc-block-components-totals-wrapper { padding: 10px 0 !important; border-color: #e2e8f0 !important; }
body .wc-block-checkout .wc-block-components-totals-item__label { font-size: 13px; font-weight: 800; color: #475569; }
body .wc-block-checkout .wc-block-components-totals-item__value { font-weight: 900; color: #1e293b; }
body .wc-block-checkout .wc-block-components-totals-item__description { font-size: 11.5px; font-weight: 700; color: #94a3b8; }

/* مجموع: کادر سبز */
body .wc-block-checkout .wc-block-components-totals-footer-item {
    margin-top: 6px; padding: 12px 14px !important;
    border: 2px solid #39ff88; border-radius: 14px;
    background: rgba(57, 255, 136, .08); box-shadow: 0 0 12px rgba(57, 255, 136, .35);
}
body .wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 20px; color: #0d9488; }

/* اعلان‌ها */
body .wc-block-components-notice-banner { border-width: 2px; border-radius: 14px; font-weight: 700; }

/* ---------- نکته امنیت زیر دکمه ثبت سفارش ---------- */
.tk-co-note { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }

.tk-co-secure {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px;
    background: #fff; border: 2px solid #39ff88; border-radius: 14px;
    box-shadow: 0 0 12px rgba(57, 255, 136, .35);
}
.tk-co-secure p { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.9; color: #475569; }
.tk-co-lock {
    flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 10px; background: rgba(57, 255, 136, .16); font-size: 17px;
}

.tk-co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-co-chip {
    --cc: #00eaff;
    flex: 1 1 auto; padding: 8px 12px; text-align: center; text-decoration: none;
    font-size: 12px; font-weight: 800; color: #1e293b; background: #fff;
    border: 2px solid var(--cc); border-radius: 12px;
    box-shadow: 0 0 9px color-mix(in srgb, var(--cc) 45%, transparent);
}
.tk-co-pink  { --cc: #ff2d95; }
.tk-co-green { --cc: #39ff88; }

/* ---------- صفحه تأیید سفارش ---------- */
body .woocommerce-order { display: flex; flex-direction: column; gap: 16px; }

body .woocommerce-notice--success.woocommerce-thankyou-order-received {
    margin: 0; padding: 16px 18px; background: #fff;
    border: 2px solid #39ff88; border-radius: 18px;
    box-shadow: 0 0 16px rgba(57, 255, 136, .45);
    font-size: 16px; font-weight: 900; color: #065f46;
}

body .woocommerce-order ul.order_details {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
    margin: 0; padding: 0; list-style: none;
}
body .woocommerce-order ul.order_details li {
    --oc: #00eaff;
    margin: 0; padding: 12px 14px; background: #fff;
    border: 2px solid var(--oc) !important; border-radius: 14px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--oc) 45%, transparent);
    font-size: 12px; font-weight: 700; color: #64748b; line-height: 1.9;
}
body .woocommerce-order ul.order_details li:nth-child(4n+2) { --oc: #ff2d95; }
body .woocommerce-order ul.order_details li:nth-child(4n+3) { --oc: #39ff88; }
body .woocommerce-order ul.order_details li:nth-child(4n+4) { --oc: #ffb703; }
body .woocommerce-order ul.order_details li strong { display: block; font-size: 14px; font-weight: 900; color: #1e293b; }

body .woocommerce-order-details,
body .woocommerce-customer-details {
    padding: 18px; background: #fff; border: 2px solid #a855f7; border-radius: 20px;
    box-shadow: 0 0 16px rgba(168, 85, 247, .38);
}
body .woocommerce-customer-details { border-color: #ff8a1f; box-shadow: 0 0 16px rgba(255, 138, 31, .38); }
body .woocommerce-order-details__title,
body .woocommerce-column__title { margin: 0 0 12px; font-size: 17px; font-weight: 900; color: #1e293b; }

/* ---------- موبایل ---------- */
@media (max-width: 768px) {

    body .wc-block-checkout__main :is(
        .wp-block-woocommerce-checkout-contact-information-block,
        .wp-block-woocommerce-checkout-shipping-address-block,
        .wp-block-woocommerce-checkout-billing-address-block,
        .wp-block-woocommerce-checkout-shipping-method-block,
        .wp-block-woocommerce-checkout-shipping-methods-block,
        .wp-block-woocommerce-checkout-payment-block,
        .wp-block-woocommerce-checkout-order-note-block
    ) { padding: 14px 13px 14px !important; border-radius: 18px; margin-bottom: 14px !important; }

    body .wc-block-checkout__main .wc-block-components-checkout-step__title { font-size: 15px !important; }
    body .wc-block-checkout__main .wc-block-components-checkout-step__title::before { width: 26px; height: 26px; font-size: 12.5px; }

    body .wc-block-checkout__sidebar { position: static; }
    body .wc-block-checkout :is(.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block, .checkout-order-summary-block-fill-wrapper) {
        padding: 12px !important; border-radius: 18px;
    }

    body .wc-block-checkout .wc-block-components-checkout-place-order-button { min-height: 54px; }

    .tk-co-chip { flex: 1 1 100%; }
    body.woocommerce-checkout .tk-float-wa { display: none; }
}

@media (min-width: 769px) {
    .tk-co-chip { flex: 1 1 0; }
}


/* =========================================================
   صفحه‌های ساده (قوانین، حریم خصوصی و...): عنوان و متن در کادر نئونی
========================================================= */
.tk-plain-page .tk-page-content {
    padding: 24px;
    background: #fff;
    border: 2px solid #a855f7;
    border-radius: 22px;
    box-shadow: 0 0 18px rgba(168, 85, 247, .38), inset 0 0 16px rgba(168, 85, 247, .05);
}
.tk-plain-page .tk-page-content h2,
.tk-plain-page .tk-page-content h3 { margin: 22px 0 8px; font-weight: 900; color: #1e293b; }
.tk-plain-page .tk-page-content a { color: #4f46e5; font-weight: 800; }
.tk-plain-page .tk-page-content img { max-width: 100%; height: auto; border-radius: 14px; }

@media (max-width: 768px) {
    .tk-plain-page .tk-page-content { padding: 14px; border-radius: 18px; }
}


/* =========================================================
   آیکون‌های پخش و متحرک داخل دو بنر (۵ آیکون در هر بنر)
========================================================= */
.tk-hero, .tk-main-banner { position: relative; overflow: hidden; }
.tk-hero-content, .tk-banner-content { position: relative; z-index: 2; }

.tk-scatter { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.tk-sc {
    --r: 0deg; --dx: 14px; --dy: -18px;
    position: absolute;
    line-height: 1;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .22));
    animation: tkDrift 7s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes tkDrift {
    0%   { transform: translate(0, 0) rotate(var(--r)); }
    50%  { transform: translate(calc(var(--dx) * .4), calc(var(--dy) * 1.2)) rotate(calc(var(--r) * -.5)); }
    100% { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) * -1)); }
}

/* دسکتاپ: بنر بالا */
.tk-scatter-a .tk-sc-1 { left: 4%;  top: 12%; font-size: 58px; --r: -12deg; --dx: 18px;  --dy: -20px; animation-duration: 6.4s; }
.tk-scatter-a .tk-sc-2 { left: 19%; top: 60%; font-size: 48px; --r: 10deg;  --dx: -14px; --dy: -24px; animation-duration: 8.2s; animation-delay: -2s; }
.tk-scatter-a .tk-sc-3 { left: 33%; top: 10%; font-size: 42px; --r: 16deg;  --dx: 22px;  --dy: 14px;  animation-duration: 7.3s; animation-delay: -4s; }
.tk-scatter-a .tk-sc-4 { left: 47%; top: 68%; font-size: 52px; --r: -8deg;  --dx: 12px;  --dy: -16px; animation-duration: 9s;   animation-delay: -1s; opacity: .5; }
.tk-scatter-a .tk-sc-5 { left: 60%; top: 8%;  font-size: 38px; --r: 20deg;  --dx: -18px; --dy: 18px;  animation-duration: 6.8s; animation-delay: -3s; opacity: .4; }

/* دسکتاپ: بنر پایین */
.tk-scatter-b .tk-sc-1 { left: 5%;  top: 54%; font-size: 56px; --r: 12deg;  --dx: 16px;  --dy: -22px; animation-duration: 7.6s; }
.tk-scatter-b .tk-sc-2 { left: 17%; top: 10%; font-size: 50px; --r: -14deg; --dx: -12px; --dy: 18px;  animation-duration: 6.2s; animation-delay: -2.5s; }
.tk-scatter-b .tk-sc-3 { left: 30%; top: 62%; font-size: 40px; --r: 18deg;  --dx: 20px;  --dy: -14px; animation-duration: 8.4s; animation-delay: -1s; }
.tk-scatter-b .tk-sc-4 { left: 42%; top: 12%; font-size: 44px; --r: -10deg; --dx: 14px;  --dy: 20px;  animation-duration: 7s;   animation-delay: -4s; opacity: .5; }
.tk-scatter-b .tk-sc-5 { left: 55%; top: 70%; font-size: 36px; --r: 15deg;  --dx: -16px; --dy: -18px; animation-duration: 9.2s; animation-delay: -3s; opacity: .4; }

/* موبایل */
@media (max-width: 768px) {
    .tk-scatter-a .tk-sc-1 { left: 4%;  top: 5%;    font-size: 36px; }
    .tk-scatter-a .tk-sc-2 { left: 8%;  top: auto; bottom: 5%;  font-size: 40px; }
    .tk-scatter-a .tk-sc-3 { left: 34%; top: auto; bottom: 3%;  font-size: 34px; }
    .tk-scatter-a .tk-sc-4 { left: auto; right: 8%; top: auto; bottom: 4%; font-size: 40px; }
    .tk-scatter-a .tk-sc-5 { left: 40%; top: 3%;    font-size: 30px; }

    .tk-scatter-b .tk-sc-1 { left: 6%;  top: auto; bottom: 6%;  font-size: 38px; }
    .tk-scatter-b .tk-sc-2 { left: 4%;  top: 6%;    font-size: 34px; }
    .tk-scatter-b .tk-sc-3 { left: 30%; top: auto; bottom: 4%;  font-size: 32px; }
    .tk-scatter-b .tk-sc-4 { left: auto; right: 7%; top: auto; bottom: 5%; font-size: 36px; }
    .tk-scatter-b .tk-sc-5 { left: 42%; top: 4%;    font-size: 28px; }
}

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


/* =========================================================
   کادرهای اسلایدری: تخفیف‌های ویژه / جدیدترین / پرفروش‌ترین
========================================================= */
.tk-slider-section {
    --sc: #ff2d95; --sg: rgba(255, 45, 149, .42); --sg2: rgba(255, 45, 149, .12); --st: #db2777;
    position: relative;
    padding: 22px 24px 18px !important;
    border: 2px solid var(--sc);
    border-radius: 26px;
    box-shadow: 0 0 20px var(--sg), inset 0 0 24px var(--sg2);
    background:
        radial-gradient(circle at 94% 0%, var(--sg2), transparent 55%),
        radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1.5px) 0 0 / 14px 14px,
        linear-gradient(135deg, #ffffff 0%, #f1f5ff 100%);
}
.tk-sl-cyan   { --sc: #00eaff; --sg: rgba(0, 234, 255, .45);  --sg2: rgba(0, 234, 255, .13);  --st: #0891b2; }
.tk-sl-purple { --sc: #a855f7; --sg: rgba(168, 85, 247, .42); --sg2: rgba(168, 85, 247, .13); --st: #7c3aed; }

.tk-sl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-sl-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; color: #1e293b; }
.tk-sl-head h2 span { color: var(--st); }
.tk-sl-head .tk-section-link { border: 1.5px solid var(--sc); border-radius: 12px; padding: 7px 14px; box-shadow: 0 0 9px var(--sg); }

.tk-sl-wrap { position: relative; }

.tk-sl-track {
    display: flex;
    gap: 16px;
    padding: 14px 12px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tk-sl-track::-webkit-scrollbar { display: none; }
.tk-sl-track > * { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; scroll-snap-align: start; }

.tk-sl-btn {
    position: absolute; top: 50%; z-index: 4;
    width: 44px; height: 44px; margin-top: -22px;
    display: grid; place-items: center; padding: 0 0 3px;
    border: 2px solid var(--sc); border-radius: 50%;
    background: #fff; color: #1e293b; font-size: 26px; line-height: 1; cursor: pointer;
    box-shadow: 0 0 14px var(--sg);
    transition: opacity .2s, transform .2s;
}
.tk-sl-btn:hover:not(:disabled) { transform: scale(1.08); }
.tk-sl-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.tk-sl-prev { right: -12px; }
.tk-sl-next { left: -12px; }

/* جای خالی محصول */
.tk-p-empty {
    min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    border: 2px dashed color-mix(in srgb, var(--sc) 60%, #cbd5e1); border-radius: 20px;
    background: color-mix(in srgb, var(--sc) 5%, #fff); color: #94a3b8; text-align: center;
}
.tk-p-empty span { font-size: 28px; }
.tk-p-empty strong { font-size: 12.5px; font-weight: 800; }

@media (max-width: 768px) {
    .tk-slider-section { padding: 14px 12px 10px !important; border-radius: 20px; }
    .tk-sl-head { margin-bottom: 8px; }
    .tk-sl-head h2 { font-size: 21px; }
    .tk-sl-track { gap: 10px; padding: 12px 8px 14px; }
    .tk-sl-track > * { flex-basis: calc((100% - 10px) / 2); }
    .tk-sl-btn { width: 34px; height: 34px; margin-top: -17px; font-size: 21px; }
    .tk-sl-prev { right: -8px; }
    .tk-sl-next { left: -8px; }
    .tk-p-empty { min-height: 220px; border-radius: 16px; }
}


/* =========================================================
   کارت محصول در همه‌ی صفحه‌ها (قبلاً فقط داخل صفحه اصلی بود)
========================================================= */
.tk-grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 15px; }

.tk-p-card {
    background: #fff !important; border-radius: 18px !important; padding: 12px !important;
    display: flex !important; flex-direction: column !important; justify-content: space-between !important;
    transition: all .25s ease !important; position: relative !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05) !important; box-sizing: border-box;
}
.tk-p-card:hover { transform: translateY(-4px) !important; }

.tk-border-blue   { border: 2px solid #00eaff !important; box-shadow: 0 0 10px rgba(0, 234, 255, .25) !important; }
.tk-border-purple { border: 2px solid #a855f7 !important; box-shadow: 0 0 10px rgba(168, 85, 247, .25) !important; }
.tk-border-pink   { border: 2px solid #ec4899 !important; box-shadow: 0 0 10px rgba(236, 72, 153, .25) !important; }
.tk-border-cyan   { border: 2px solid #06b6d4 !important; box-shadow: 0 0 10px rgba(6, 182, 212, .25) !important; }
.tk-border-green  { border: 2px solid #39ff88 !important; box-shadow: 0 0 10px rgba(57, 255, 136, .25) !important; }
.tk-border-orange { border: 2px solid #f97316 !important; box-shadow: 0 0 10px rgba(249, 115, 22, .25) !important; }

.tk-p-img {
    display: block !important; width: 100% !important; height: 140px !important; border-radius: 12px !important;
    overflow: hidden !important; background: #f8fafc !important; margin-bottom: 8px !important; position: relative !important;
}
.tk-p-img img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 4px !important; }

.tk-p-sale {
    position: absolute !important; top: 6px !important; right: 6px !important; background: #ff0055 !important; color: #fff !important;
    font-size: 10px !important; font-weight: 800 !important; padding: 2px 8px !important; border-radius: 10px !important; z-index: 2 !important;
}
.tk-p-sale.tk-p-out { background: #64748b !important; }

.tk-p-holder { display: flex !important; align-items: center !important; justify-content: center !important; height: 100% !important; font-size: 32px !important; }
.tk-p-title { margin: 4px 0 8px 0 !important; }
.tk-p-title a {
    color: #1e293b !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1.5 !important; text-decoration: none !important;
    display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; height: 36px !important;
}
.tk-p-footer {
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid #f1f5f9 !important;
}
.tk-p-price { color: #0d9488 !important; font-size: 12px !important; font-weight: 900 !important; }
.tk-p-add {
    width: 28px !important; height: 28px !important; background: linear-gradient(135deg, #00eaff, #2563eb) !important; color: #fff !important;
    border-radius: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    text-decoration: none !important; font-size: 16px !important; font-weight: bold !important; flex: 0 0 auto;
}

@media (max-width: 768px) {
    .tk-grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tk-p-card { padding: 10px 8px !important; border-radius: 14px !important; }
    .tk-p-img { height: 160px !important; }
    .tk-p-title a { font-size: 11.5px !important; height: 34px !important; }
    .tk-p-price { font-size: 11.5px !important; }
    .tk-p-add { width: 26px !important; height: 26px !important; font-size: 15px !important; }
}

/* =========================================================
   اصلاحات سبد خرید: روی‌هم‌افتادن، جمع هر کالا و فاصله‌ها
========================================================= */
body .wc-block-cart .wc-block-cart-item__product { min-width: 0; }
body .wc-block-cart .wc-block-cart-item__wrap { display: flex !important; flex-direction: column; gap: 6px; }
body .wc-block-cart .wc-block-cart-item__wrap > * { position: static !important; margin: 0 !important; padding: 0 !important; transform: none !important; }
body .wc-block-cart .wc-block-cart-item__prices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body .wc-block-cart .wc-block-cart-item__quantity { display: flex !important; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 4px !important; }
body .wc-block-cart .wc-block-components-product-name { line-height: 1.8; }

/* جمع هر کالا: کادر نئونی سبز و بزرگ‌تر */
body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__total {
    position: static !important; inset: auto !important; transform: none !important; width: auto !important;
    align-self: center;
    padding: 9px 14px !important;
    border: 2px solid #39ff88 !important;
    border-radius: 14px;
    background: rgba(57, 255, 136, .09);
    box-shadow: 0 0 13px rgba(57, 255, 136, .45);
    font-size: 17px; font-weight: 900; color: #0d9488;
    text-align: center; white-space: nowrap;
}
body .wc-block-cart .wc-block-cart-item__total .wc-block-components-formatted-money-amount { font-size: inherit; font-weight: 900; color: inherit; }

/* فاصله بین کادرها */
body .wc-block-components-sidebar-layout.wc-block-cart { gap: 20px; }
body .wc-block-cart__main { margin-bottom: 0 !important; }
body .wc-block-cart .wc-block-cart-items__row { margin-bottom: 16px !important; }
.tk-cart-trust { margin: 26px 0 !important; gap: 14px !important; }
.tk-cart-suggest { margin-top: 28px !important; margin-bottom: 8px; }

@media (max-width: 768px) {
    body .wc-block-cart__sidebar { margin-top: 20px; }
    .tk-cart-trust { margin: 22px 0 !important; gap: 10px !important; }
    .tk-cart-suggest { margin-top: 22px !important; }

    body .wc-block-cart .wc-block-cart-items__row > td.wc-block-cart-item__total {
        grid-column: 1 / -1 !important; grid-row: 2 !important;
        display: flex !important; justify-content: space-between; align-items: center;
        padding: 10px 14px !important; font-size: 18px;
        border: 2px solid #39ff88 !important;
    }
}


/* =========================================================
   منوی موبایل همیشه بالاتر از همه چیز (نوار «رفتن به پرداخت»، منوی پایین و...)
========================================================= */
.tk-mobile-menu { z-index: 100000 !important; }

@media (max-width: 768px) {
    body .wc-block-cart__submit-container--sticky { z-index: 880 !important; }

    body.tk-menu-open .wc-block-cart__submit-container--sticky,
    body.tk-menu-open .tk-sticky-bar,
    body.tk-menu-open .tk-bottom-nav,
    body.tk-menu-open .tk-float-wa { visibility: hidden; }
}


/* =========================================================
   صفحه اول: فاصله یکسان بین همه کادرها (دسکتاپ و موبایل)
========================================================= */
.tk-home {
    --tk-home-gap: 40px;
    display: flex;
    flex-direction: column;
    gap: var(--tk-home-gap);
    padding-bottom: 50px;
}

.tk-home > .tk-hero,
.tk-home > .tk-section,
.tk-home > .tk-main-banner,
.tk-home > .tk-slider-section,
.tk-home > .tk-features {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tk-home > .tk-hero { margin-top: 30px !important; }
.tk-home > .tk-categories-section { padding-top: 0; padding-bottom: 0; }

@media (max-width: 768px) {
    .tk-home { --tk-home-gap: 24px; padding-bottom: 30px; }
    .tk-home > .tk-hero { margin-top: 16px !important; }
}


/* =========================================================
   سبد خرید: فاصله یکسان بین کادرها + انتخابگر تعداد (نئون بنفش، بدون گوشه سفید)
========================================================= */
.woocommerce-cart .tk-flow-page,
.tk-flow-page {
    --tk-cg: 22px;
}

.tk-flow-page .tk-steps { margin-bottom: var(--tk-cg) !important; }
.tk-flow-page .tk-page-title { margin-bottom: var(--tk-cg) !important; }

body .wc-block-components-sidebar-layout.wc-block-cart { gap: var(--tk-cg) !important; }
body .wc-block-cart .wc-block-cart-items__row { margin-bottom: var(--tk-cg) !important; }
body .wc-block-cart .wc-block-cart-items__row:last-child { margin-bottom: 0 !important; }
body .wc-block-cart__sidebar { margin-top: 0 !important; }
body .wc-block-cart__submit-container { margin-top: var(--tk-cg) !important; }

.tk-cart-suggest { margin: var(--tk-cg) 0 0 !important; }
.tk-cart-trust   { margin: var(--tk-cg) 0 0 !important; gap: var(--tk-cg) !important; }

/* انتخابگر تعداد: حلقه نئونی بیرونی بدون سفیدی گوشه‌ها */
body .wc-block-cart .wc-block-components-quantity-selector {
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ff8a1f !important;
    box-shadow: 0 0 0 2.5px #8b5cf6, 0 0 10px 1px rgba(139, 92, 246, .75), 0 0 20px rgba(139, 92, 246, .45) !important;
}
body .wc-block-cart .wc-block-components-quantity-selector__input { background: #fff !important; }
body .wc-block-cart .wc-block-components-quantity-selector__button { border-radius: 0 !important; }

@media (max-width: 768px) {
    .tk-flow-page { --tk-cg: 16px; }
    .tk-flow-page .tk-page-title { margin-bottom: var(--tk-cg) !important; }
    .tk-cart-trust { gap: var(--tk-cg) !important; }
}


/* =========================================================
   صفحه پرداخت: گزینه‌های حمل و پرداخت (جای دکمه رادیویی)، کادرهای بزرگ‌تر، فضای بالای فوتر
========================================================= */

/* --- گزینه‌های حمل و پرداخت: چیدمان افقی، دکمه رادیویی کنار متن و وسط کادر --- */
body .wc-block-checkout .wc-block-components-radio-control__option {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    margin: 0 0 12px !important;
    padding: 16px 18px !important;
    box-sizing: border-box;
}
body .wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input {
    position: relative !important;
    flex: 0 0 auto;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
    width: 24px; height: 24px; min-width: 24px;
}
body .wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}
body .wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__label-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
body .wc-block-checkout .wc-block-components-radio-control__label { font-size: 15.5px; line-height: 1.8; }
body .wc-block-checkout .wc-block-components-radio-control__secondary-label { font-size: 15px; }

/* خروج از «کادر داخل کادر» (کادر دور کل لیست و دور گزینه داخل آکاردئون) */
body .wc-block-checkout .wc-block-components-radio-control,
body .wc-block-checkout .wc-block-components-shipping-rates-control__package {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
body .wc-block-checkout .wc-block-components-radio-control--highlight-checked::after,
body .wc-block-checkout .wc-block-components-radio-control__option-checked::after,
body .wc-block-checkout .wc-block-components-radio-control-accordion-option::after {
    display: none !important;
}

/* گزینه پرداخت (آکاردئون): فقط یک کادر بیرونی، بزرگ‌تر */
body .wc-block-checkout .wc-block-components-radio-control-accordion-option {
    margin: 0 0 12px !important;
    padding: 6px 4px !important;
}
body .wc-block-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    min-height: 64px;
}
body .wc-block-checkout .wc-block-components-radio-control-accordion-content {
    padding: 4px 18px 16px !important;
    font-size: 13.5px; line-height: 2; color: #64748b; font-weight: 700;
}

/* --- فیلدهای ایمیل و بقیه: کادر بزرگ‌تر --- */
body .wc-block-checkout .wc-block-components-text-input input[type="email"],
body .wc-block-checkout .wc-block-components-text-input input[type="text"],
body .wc-block-checkout .wc-block-components-text-input input[type="tel"] {
    min-height: 64px !important;
    padding: 28px 16px 10px !important;
    font-size: 16.5px !important;
}
body .wc-block-checkout .wc-block-components-text-input label {
    right: 16px !important;
    font-size: 14px;
}
body .wc-block-checkout .wc-block-components-text-input:not(.is-active) label { transform: translateY(1.35em); }
body .wc-block-checkout .wc-block-components-text-input.is-active label { transform: translateY(.45em) scale(.85); }

/* --- موبایل: بدون خلاصه سفارش تکراری (پایین)، فضای بالای فوتر کمتر --- */
@media (max-width: 768px) {
    .tk-dup-summary { display: none !important; }

    body .wc-block-checkout .wc-block-components-radio-control__option { min-height: 64px; padding: 14px 14px !important; }
    body .wc-block-checkout .wc-block-components-text-input input[type="email"],
    body .wc-block-checkout .wc-block-components-text-input input[type="text"],
    body .wc-block-checkout .wc-block-components-text-input input[type="tel"] { min-height: 60px !important; }

    body.woocommerce-checkout .tk-flow-page,
    body.woocommerce-cart .tk-flow-page { padding-bottom: 8px !important; }
    body.woocommerce-checkout .tk-site-footer,
    body.woocommerce-cart .tk-site-footer { margin-top: 14px !important; }
    body.woocommerce-checkout .wc-block-checkout,
    body.woocommerce-checkout .wp-block-woocommerce-checkout { margin-bottom: 0 !important; padding-bottom: 0 !important; }
}


/* =========================================================
   منوی پایین موبایل: هر گزینه داخل کادر نئونی با رنگ جدا (+ تماس با ما)
========================================================= */
@media (max-width: 768px) {

    body { padding-bottom: 84px; }

    .tk-bottom-nav {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .tk-bottom-nav a {
        --bn: #00eaff;
        justify-content: center;
        min-width: 0;
        padding: 7px 2px 6px;
        gap: 3px;
        font-size: 10px;
        line-height: 1.4;
        white-space: nowrap;
        background: #fff;
        border: 2px solid var(--bn);
        border-radius: 14px;
        box-shadow: 0 0 9px color-mix(in srgb, var(--bn) 55%, transparent);
        transition: box-shadow .2s, background .2s;
    }
    .tk-bottom-nav a:nth-child(1) { --bn: #00eaff; }
    .tk-bottom-nav a:nth-child(2) { --bn: #a855f7; }
    .tk-bottom-nav a:nth-child(3) { --bn: #ff2d95; }
    .tk-bottom-nav a:nth-child(4) { --bn: #39ff88; }
    .tk-bottom-nav a:nth-child(5) { --bn: #ff8a1f; }

    .tk-bottom-nav a.is-active {
        color: #1e293b;
        background: color-mix(in srgb, var(--bn) 12%, #fff);
        box-shadow: 0 0 14px var(--bn), inset 0 0 8px color-mix(in srgb, var(--bn) 25%, transparent);
    }
    .tk-bottom-nav svg { width: 22px; height: 22px; }

    .tk-bn-count { top: -9px; right: 4px; z-index: 2; }

    .tk-float-wa { bottom: 98px; }
    body .wc-block-cart__submit-container--sticky { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
    .woocommerce-cart .tk-float-wa { bottom: 172px; }
}


/* =========================================================
   گزینه‌های حمل و پرداخت بدون محدودیت (هر تعداد روش، هر طول متن)
   + رفع روی هم افتادن کادرها در تبلت
========================================================= */

/* هیچ ارتفاع یا سقف ثابتی برای لیست روش‌ها وجود ندارد */
body .wc-block-checkout .wc-block-components-radio-control,
body .wc-block-checkout .wc-block-components-shipping-rates-control,
body .wc-block-checkout .wc-block-components-shipping-rates-control__package,
body .wc-block-checkout .wc-block-components-radio-control-accordion-option,
body .wc-block-checkout .wc-block-components-radio-control-accordion-content,
body .wc-block-checkout .wc-block-components-payment-method-icons {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* متن‌های بلند (نام روش، توضیح، قیمت) می‌شکنند و کادر بلندتر می‌شود */
body .wc-block-checkout .wc-block-components-radio-control__label-group { flex-wrap: wrap; }
body .wc-block-checkout .wc-block-components-radio-control__label,
body .wc-block-checkout .wc-block-components-radio-control__description {
    overflow-wrap: anywhere;
    min-width: 0;
}
body .wc-block-checkout .wc-block-components-radio-control__secondary-label { white-space: nowrap; }
body .wc-block-checkout .wc-block-components-radio-control__description,
body .wc-block-checkout .wc-block-components-radio-control__secondary-description {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.9;
    color: #64748b;
}

/* آیکن چند درگاه کنار هم، در صورت زیاد بودن می‌شکنند */
body .wc-block-checkout .wc-block-components-payment-method-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* تبلت و صفحه‌های متوسط: خلاصه سفارش چسبنده نباشد تا روی کادرها نیفتد */
@media (max-width: 1000px) {
    body .wc-block-checkout__sidebar,
    body .wc-block-cart__sidebar {
        position: static !important;
        top: auto !important;
        align-self: stretch !important;
    }
}
