/* ==========================================================
   Shop Website - Theme 2 (Modern / eSoft style)
   ========================================================== */
:root {
    --primary: #d0240c;
    --primary-dark: #a81c08;
    --primary-soft: #fdeeeb;
    --dark: #1b1f2a;
    --dark-2: #262b38;
    --text: #1f2430;
    --muted: #6b7280;
    --border: #e7e9ee;
    --bg: #f5f6f8;
    --card: #ffffff;
    --success: #16a34a;
    --gold: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow: 0 6px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 18px 48px rgba(16, 24, 40, .16);
    --container: 1440px;
    --gutter: 32px;
    --font: "Hind Siliguri", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }

.t2-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.t2-section { padding: 36px 0; }
.t2-hide-mobile { display: initial; }

/* ---------- Buttons ---------- */
.t2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.t2-btn:active { transform: translateY(1px); }
.t2-btn-primary { background: var(--primary); color: #fff; }
.t2-btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 8px 20px rgba(208, 36, 12, .28); }
.t2-btn-dark { background: var(--dark); color: #fff; }
.t2-btn-dark:hover { background: #000; color: #fff; }
.t2-btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.t2-btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.t2-btn-success { background: var(--success); color: #fff; }
.t2-btn-success:hover { background: #128a3e; color: #fff; }
.t2-btn-block { width: 100%; }
.t2-btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- Top bar ---------- */
.t2-topbar { background: var(--dark); color: #cdd2dc; font-size: 13px; }
.t2-topbar .t2-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.t2-topbar a { color: #cdd2dc; }
.t2-topbar a:hover { color: #fff; }
.t2-topbar-info { display: flex; gap: 20px; align-items: center; }
.t2-topbar-info i { color: var(--primary); margin-right: 6px; }
.t2-social { display: flex; gap: 6px; }
.t2-social a {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); font-size: 12px;
}
.t2-social a:hover { background: var(--primary); color: #fff; }

/* ---------- Header ---------- */
.t2-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.t2-header.is-scrolled { box-shadow: var(--shadow); }
.t2-header-main { display: grid; grid-template-columns: 1fr minmax(0, 2fr) 1fr; align-items: center; gap: 24px; padding: 12px 0; }
.t2-logo { display: flex; align-items: center; gap: 10px; justify-self: start; min-width: 0; }
.t2-logo img { height: 56px; width: auto; max-width: 170px; object-fit: contain; }
.t2-logo-text { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.t2-search { display: flex; width: 100%; }
.t2-search input {
    flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid #d5d8de; border-right: 0;
    border-radius: 999px 0 0 999px; outline: none; background: #fff; font-size: 16px;
}
.t2-search input:focus { border-color: var(--primary); }
.t2-search button {
    width: 66px; height: 48px; border: 0; background: var(--primary); color: #fff; font-size: 19px;
    border-radius: 0 999px 999px 0;
}
.t2-search button:hover { background: var(--primary-dark); }
.t2-actions { display: flex; align-items: center; gap: 22px; justify-self: end; }
.t2-action {
    display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 0;
    font-size: 14px; color: var(--text);
}
.t2-action > i, .t2-action-ico { font-size: 19px; line-height: 1; }
.t2-action-ico { display: inline-flex; align-items: flex-start; gap: 1px; }
.t2-action-ico b { font-size: 15px; font-style: italic; font-weight: 600; margin-top: -1px; }
.t2-action:hover { color: var(--primary); }
.t2-lang span { font-weight: 600; white-space: nowrap; }
.t2-menu-toggle {
    display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: #fff; font-size: 18px;
}

/* ---------- Red nav bar ---------- */
.t2-nav { background: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12); }
.t2-nav .t2-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 58px; }
.t2-nav-cats { position: relative; justify-self: start; }
.t2-nav-cats-btn { background: none; border: 0; color: #fff; font-size: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 6px; }
.t2-nav-cats-btn small { font-size: 15px; opacity: .9; }
.t2-nav-cats-menu {
    position: absolute; top: 100%; left: 0; width: 320px; background: #fff; color: var(--text);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px 0;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
}
.t2-nav-cats.open .t2-nav-cats-menu { opacity: 1; visibility: visible; transform: none; }
.t2-nav-links { display: flex; gap: 6px; }
.t2-nav-links a { display: block; padding: 8px 12px; color: #fff; font-size: 17px; font-weight: 500; border-radius: 6px; white-space: nowrap; }
.t2-nav-links a:hover, .t2-nav-links a.active { color: #fff; background: rgba(255, 255, 255, .14); }
.t2-nav-cart { justify-self: end; background: none; border: 0; color: #fff; font-size: 18px; font-weight: 600; padding: 8px 0; display: flex; align-items: center; gap: 8px; }
.t2-nav-cart small { font-size: 14px; font-weight: 500; }

/* category list rows + sub category flyout (sidebar + dropdown) */
.t2-cm-link { display: flex; align-items: center; gap: 12px; padding: 10px 18px; font-size: 16px; font-weight: 500; color: var(--text); }
.t2-cm-link > i { font-size: 12px; color: #9aa0aa; transition: transform .2s, color .2s; }
.t2-cm-item:hover > .t2-cm-link { color: var(--primary); background: var(--primary-soft); }
.t2-cm-item:hover > .t2-cm-link > i { color: var(--primary); transform: translateX(3px); }
.t2-cm-sub {
    position: absolute; top: -1px; left: 100%; min-height: calc(100% + 2px); width: 560px; z-index: 30; background: #fff; color: var(--text);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 20px 24px;
    opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.t2-cm-item:hover > .t2-cm-sub { opacity: 1; visibility: visible; transform: none; }
.t2-cm-sub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.t2-cm-sub-head h4 { font-size: 19px; color: var(--primary); }
.t2-cm-sub-head a { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.t2-cm-sub-head a:hover { color: var(--primary); }
.t2-cm-sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
.t2-cm-sub-grid a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 15px; }
.t2-cm-sub-grid a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9cdd4; flex-shrink: 0; transition: background .2s; }
.t2-cm-sub-grid a:hover { background: var(--primary-soft); color: var(--primary); }
.t2-cm-sub-grid a:hover::before { background: var(--primary); }
.t2-cm-more { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--primary); font-weight: 600; font-size: 15px; text-align: left; }
.t2-cm-more:hover { background: var(--primary-soft); }
.t2-cat-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2-cat-list .t2-cat-dot, .t2-nav-cats-menu .t2-cat-dot { width: 30px; height: 30px; border-radius: 4px; font-size: 13px; }
.t2-cat-dot {
    display: grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 700; line-height: 1;
    font-family: "Inter", system-ui, sans-serif;
}
.t2-cat-list { position: relative; }
.t2-cat-list .t2-cm-sub { width: calc(min(100vw, var(--container)) - var(--gutter) * 2 - 300px); }
.t2-cat-list .t2-cm-sub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* mobile drawer category accordion */
.t2-mcat { border-bottom: 1px solid var(--border); }
.t2-mcat summary { display: flex; align-items: center; gap: 12px; padding: 13px 0; font-weight: 500; cursor: pointer; list-style: none; }
.t2-mcat summary::-webkit-details-marker { display: none; }
.t2-mcat summary > i:first-child { width: 20px; color: var(--primary); text-align: center; }
.t2-mcat-arrow { margin-left: auto; font-size: 12px; color: var(--muted); transition: transform .2s; }
.t2-mcat[open] .t2-mcat-arrow { transform: rotate(180deg); }
.t2-mcat-subs { padding: 0 0 10px 32px; }
.t2-mobile-links .t2-mcat-subs a { padding: 8px 0; border-bottom: 0; font-size: 14px; color: var(--muted); }
.t2-mobile-links .t2-mcat-subs a:hover { color: var(--primary); }
.t2-cat-thumb { width: 30px; height: 30px; object-fit: cover; border-radius: 3px; flex-shrink: 0; background: #f0f1f4; }
.t2-badge {
    position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; display: grid; place-items: center; border: 2px solid #fff;
}

/* ---------- Hero ---------- */
.t2-hero { padding: 20px 0 0; }
.t2-hero-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.t2-hero-grid.no-cats { grid-template-columns: minmax(0, 1fr); }
.t2-pd > *, .t2-cart-layout > *, .t2-about > * { min-width: 0; }
.t2-cat-list { contain: size; background: #fff; border: 1px solid var(--border); }
.t2-cat-list .t2-cm-link { padding: 9px 18px; font-size: 15.5px; }

.t2-slider { position: relative; overflow: hidden; background: #222; aspect-ratio: 2 / 1; }
.t2-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.t2-slide.active { opacity: 1; z-index: 1; }
.t2-slide img { width: 100%; height: 100%; object-fit: cover; }
.t2-slider-arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 44px; height: 60px; border: 0;
    background: none; color: #fff; font-size: 30px; text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
.t2-slider-arrow:hover { color: #fff; transform: translateY(-50%) scale(1.15); }
.t2-slider-arrow.prev { left: 6px; }
.t2-slider-arrow.next { right: 6px; }
.t2-slider-dots { position: absolute; z-index: 3; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.t2-slider-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s; }
.t2-slider-dots button.active { width: 26px; background: #fff; }

.t2-hero-fallback {
    padding: 48px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 14px; aspect-ratio: 1352 / 476;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 40%), linear-gradient(120deg, var(--primary), #f59e0b);
}
.t2-hero-fallback h1 { font-size: clamp(26px, 4vw, 42px); }
.t2-hero-fallback p { font-size: 17px; opacity: .92; max-width: 520px; }
.t2-hero-fallback .t2-btn { align-self: flex-start; background: #fff; color: var(--primary); }

/* promo banners */
.t2-banners { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.t2-banners a { display: block; overflow: hidden; aspect-ratio: 429 / 134; background: #eee; }
.t2-banners img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.t2-banners a:hover img { transform: scale(1.05); }

/* top categories */
.t2-topcat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.t2-topcat { display: block; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.t2-topcat:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--primary); }
.t2-topcat-img { aspect-ratio: 1 / 1; background: #f3f4f6; display: grid; place-items: center; overflow: hidden; }
.t2-topcat-img .t2-cat-thumb { width: 100%; height: 100%; border-radius: 0; }
.t2-topcat-img .t2-cat-dot { width: 72px; height: 72px; border-radius: 50%; font-size: 30px; }
.t2-topcat h5 { padding: 10px 8px; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Feature strip ---------- */
.t2-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.t2-feature { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.t2-feature-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 20px; flex-shrink: 0; }
.t2-feature h5 { font-size: 15px; }
.t2-feature p { font-size: 13px; color: var(--muted); }

/* ---------- Section heading ---------- */
.t2-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid #dcdfe4; }
.t2-sec-title { font-size: 28px; font-weight: 600; }
.t2-sec-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.t2-sec-link { color: var(--primary); font-weight: 600; white-space: nowrap; }
.t2-sec-link:hover { color: var(--primary-dark); }

/* ---------- Category cards ---------- */
.t2-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.t2-cat-card {
    background: #fff; border-radius: var(--radius); padding: 22px 12px 18px; text-align: center; box-shadow: var(--shadow-sm);
    border: 1px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.t2-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-soft); color: var(--text); }
.t2-cat-card .t2-cat-dot { width: 64px; height: 64px; border-radius: 50%; font-size: 26px; margin: 0 auto 12px; }
.t2-cat-card h5 { font-size: 15px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Product grid & card ---------- */
.t2-product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.t2-card {
    position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s;
}
.t2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t2-card-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f0f1f4; }
.t2-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.t2-card:hover .t2-card-media img { transform: scale(1.07); }
.t2-tag {
    position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: var(--success); color: #fff;
}
.t2-card-quick {
    position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px); transition: opacity .25s, transform .25s;
}
.t2-card:hover .t2-card-quick { opacity: 1; transform: none; }
.t2-card-quick a, .t2-card-quick button {
    width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--text);
    box-shadow: var(--shadow); font-size: 14px;
}
.t2-card-quick a:hover, .t2-card-quick button:hover { background: var(--primary); color: #fff; }
.t2-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.t2-card-title {
    font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 42px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.t2-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.t2-price-ask { font-size: 14px; color: var(--muted); font-weight: 500; }
.t2-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.t2-card-actions form { display: contents; }
.t2-card-actions .t2-btn { padding: 9px 10px; font-size: 14px; }
.t2-card-actions .t2-btn-primary { flex: 1; }
.t2-card-actions .t2-btn-icon { width: 40px; padding: 0; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); border: 0; border-radius: var(--radius-sm); }
.t2-card-actions .t2-btn-icon:hover { background: var(--primary); color: #fff; }

/* horizontal scroller */
.t2-scroller-wrap { position: relative; }
.t2-scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none;
}
.t2-scroller::-webkit-scrollbar { display: none; }
.t2-scroller > * { scroll-snap-align: start; }
.t2-scroll-btn {
    position: absolute; top: 40%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
}
.t2-scroll-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.t2-scroll-btn.prev { left: -18px; }
.t2-scroll-btn.next { right: -18px; }

/* ---------- CTA banner ---------- */
.t2-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px;
    border-radius: var(--radius); color: #fff;
    background: radial-gradient(circle at 10% 120%, rgba(208, 36, 12, .55), transparent 45%), linear-gradient(110deg, var(--dark), var(--dark-2));
}
.t2-cta h3 { font-size: 24px; }
.t2-cta p { opacity: .8; margin-top: 4px; }
.t2-cta a.t2-btn { font-size: 18px; }

/* ---------- Page header / breadcrumb ---------- */
.t2-page-head { background: #fff; border-bottom: 1px solid var(--border); padding: 22px 0; }
.t2-page-head h1 { font-size: 26px; }
.t2-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.t2-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #c4c9d3; }
.t2-breadcrumb a:hover { color: var(--primary); }

/* ---------- Toolbar ---------- */
.t2-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff;
    border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.t2-toolbar p { color: var(--muted); }
.t2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.t2-chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 14px; font-weight: 500; }
.t2-chip:hover, .t2-chip.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ---------- Pagination ---------- */
.t2-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.t2-pagination a, .t2-pagination span {
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); display: grid; place-items: center;
    background: #fff; border: 1px solid var(--border); font-weight: 600;
}
.t2-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.t2-pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.t2-pagination .disabled span { color: #b6bcc8; }

/* ---------- Empty state ---------- */
.t2-empty { background: #fff; border-radius: var(--radius); padding: 60px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.t2-empty i { font-size: 54px; color: #d3d7df; margin-bottom: 16px; }
.t2-empty h3 { font-size: 20px; margin-bottom: 6px; }
.t2-empty p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Product details ---------- */
.t2-pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.t2-pd-media { position: sticky; top: 110px; align-self: start; }
.t2-zoom { position: relative; overflow: hidden; border-radius: var(--radius); background: #f0f1f4; aspect-ratio: 1 / 1; cursor: zoom-in; border: 1px solid var(--border); }
.t2-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; }
.t2-zoom.zooming img { transform: scale(2); }
.t2-pd-info h1 { font-size: 28px; margin-bottom: 10px; }
.t2-pd-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.t2-pd-meta strong { color: var(--text); }
.t2-instock { color: var(--success); font-weight: 600; }
.t2-pd-price { font-size: 34px; font-weight: 700; color: var(--primary); padding: 14px 18px; border-radius: var(--radius-sm); background: var(--primary-soft); margin-bottom: 20px; }
.t2-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.t2-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.t2-qty button { width: 42px; height: 44px; border: 0; background: var(--bg); font-size: 18px; font-weight: 600; }
.t2-qty button:hover { background: var(--primary-soft); color: var(--primary); }
.t2-qty input { width: 56px; height: 44px; border: 0; text-align: center; font-weight: 700; outline: none; -moz-appearance: textfield; }
.t2-qty input::-webkit-outer-spin-button, .t2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.t2-pd-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.t2-pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--border); }
.t2-pd-perks div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.t2-pd-perks i { color: var(--primary); width: 20px; text-align: center; }
.t2-tabs { margin-top: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.t2-tabs-nav { display: flex; border-bottom: 1px solid var(--border); }
.t2-tabs-nav button { padding: 16px 22px; border: 0; background: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.t2-tabs-nav button.active { color: var(--primary); border-color: var(--primary); }
.t2-tab-pane { display: none; padding: 24px; }
.t2-tab-pane.active { display: block; }
.t2-richtext { line-height: 1.8; }
.t2-richtext p { margin-bottom: 12px; }
.t2-richtext img { height: auto; border-radius: var(--radius-sm); }
.t2-richtext ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }

/* ---------- Cart ---------- */
.t2-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.t2-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.t2-box-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.t2-box-head h3 { font-size: 18px; }
.t2-box-body { padding: 20px; }
.t2-cart-item { display: grid; grid-template-columns: 84px 1fr auto auto 40px; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.t2-cart-item:last-child { border-bottom: 0; }
.t2-cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: #f0f1f4; }
.t2-cart-item h4 { font-size: 15px; font-weight: 600; }
.t2-cart-item .t2-unit { color: var(--muted); font-size: 14px; }
.t2-cart-item .t2-sub { font-weight: 700; min-width: 90px; text-align: right; }
.t2-remove { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #ef4444; background: #fef2f2; }
.t2-remove:hover { background: #ef4444; color: #fff; }
.t2-cart-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--border); }
.t2-summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.t2-summary-row strong { color: var(--text); }
.t2-summary-total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 14px; font-size: 18px; color: var(--text); }
.t2-summary-total strong { color: var(--primary); font-size: 22px; }
.t2-sticky { position: sticky; top: 110px; }

/* ---------- Forms ---------- */
.t2-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.t2-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.t2-field label em { color: #ef4444; font-style: normal; margin-left: 2px; }
.t2-input {
    width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff;
    outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea.t2-input { height: auto; padding: 12px 14px; resize: vertical; }
.t2-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(208, 36, 12, .12); }
.t2-input.is-invalid { border-color: #ef4444; }
.t2-error { color: #ef4444; font-size: 13px; margin-top: 4px; }
.t2-mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.t2-mini-item img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); background: #f0f1f4; flex-shrink: 0; }
.t2-mini-item h5 { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2-mini-item small { color: var(--muted); }
.t2-mini-item .t2-sub { margin-left: auto; font-weight: 700; white-space: nowrap; }
.t2-pay-note { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--primary); background: var(--primary-soft); margin: 16px 0; }
.t2-pay-note i { font-size: 22px; color: var(--primary); }

/* ---------- Success ---------- */
.t2-success { max-width: 560px; margin: 0 auto; text-align: center; padding: 56px 28px; }
.t2-success-icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: #dcfce7; color: var(--success); font-size: 44px; animation: t2-pop .5s ease; }
@keyframes t2-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.t2-success h2 { font-size: 28px; margin-bottom: 8px; }
.t2-success p { color: var(--muted); margin-bottom: 24px; }

/* ---------- About / Contact ---------- */
.t2-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.t2-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.t2-contact-card { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.t2-contact-card .t2-feature-icon { margin: 0 auto 12px; width: 56px; height: 56px; font-size: 22px; }
.t2-contact-card h4 { font-size: 17px; margin-bottom: 4px; }
.t2-contact-card p, .t2-contact-card a { color: var(--muted); word-break: break-word; }
.t2-map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; }
.t2-info-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.t2-info-list li:last-child { border-bottom: 0; }
.t2-info-list i { color: var(--primary); width: 20px; margin-top: 5px; text-align: center; }

/* ---------- Footer ---------- */
.t2-footer { background: var(--dark); color: #aab1bf; margin-top: 40px; }
.t2-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 52px 0 36px; }
.t2-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.t2-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--primary); }
.t2-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.t2-footer-logo img { height: 46px; width: auto; max-width: 150px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.t2-footer-logo span { color: #fff; font-size: 19px; font-weight: 700; }
.t2-footer p { font-size: 14px; line-height: 1.75; }
.t2-footer-links li { margin-bottom: 10px; }
.t2-footer-links a { font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.t2-footer-links a i { font-size: 10px; color: var(--primary); }
.t2-footer-links a:hover { color: #fff; padding-left: 4px; }
.t2-footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.t2-footer-contact i { color: var(--primary); margin-top: 5px; width: 16px; }
.t2-footer .t2-social { margin-top: 18px; }
.t2-footer .t2-social a { width: 36px; height: 36px; font-size: 14px; color: #fff; }
.t2-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.t2-footer-bottom .t2-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.t2-footer-bottom a { color: #fff; }
.t2-pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.t2-pay-badges span { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e5e7eb; font-size: 12px; font-weight: 600; }

/* ---------- Drawer (cart / mobile menu) ---------- */
.t2-overlay { position: fixed; inset: 0; background: rgba(10, 12, 18, .5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.t2-overlay.open { opacity: 1; visibility: visible; }
.t2-drawer {
    position: fixed; top: 0; bottom: 0; z-index: 100; width: 380px; max-width: 88vw; background: #fff; display: flex; flex-direction: column;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1); box-shadow: var(--shadow-lg);
}
.t2-drawer.right { right: 0; transform: translateX(100%); }
.t2-drawer.left { left: 0; transform: translateX(-100%); }
.t2-drawer.open { transform: none; }
.t2-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.t2-drawer-head h3 { font-size: 18px; }
.t2-drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); font-size: 16px; }
.t2-drawer-close:hover { background: var(--primary); color: #fff; }
.t2-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.t2-drawer-foot { padding: 18px 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.t2-mobile-links a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.t2-mobile-links a i { width: 20px; color: var(--primary); text-align: center; }
.t2-drawer-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 4px; font-weight: 700; }

/* ---------- Bottom nav (mobile) ---------- */
.t2-bottom-nav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); padding-bottom: env(safe-area-inset-bottom);
}
.t2-bottom-nav .t2-bn-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.t2-bottom-nav a, .t2-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 600;
    color: var(--muted); background: none; border: 0; position: relative;
}
.t2-bottom-nav i { font-size: 18px; }
.t2-bottom-nav .active, .t2-bottom-nav a:hover { color: var(--primary); }
.t2-bottom-nav .t2-badge { top: 2px; right: calc(50% - 22px); }

/* ---------- Misc ---------- */
.t2-to-top {
    position: fixed; right: 20px; bottom: 24px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--primary); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.t2-to-top.show { opacity: 1; visibility: visible; transform: none; }
.t2-toast {
    position: fixed; top: 90px; right: 20px; z-index: 120; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
    border-radius: var(--radius-sm); background: var(--dark); color: #fff; box-shadow: var(--shadow-lg); animation: t2-slide-in .4s ease;
}
.t2-toast.error { background: #b91c1c; }
@keyframes t2-slide-in { from { transform: translateX(120%); } to { transform: none; } }
.t2-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.t2-reveal.visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199px) {
    .t2-product-grid { grid-template-columns: repeat(4, 1fr); }
    .t2-scroller { grid-auto-columns: calc((100% - 48px) / 4); }
    .t2-hero-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
    .t2-cat-list .t2-cm-link { font-size: 15px; padding: 9px 12px; }
    .t2-cat-list .t2-cm-sub { width: calc(min(100vw, var(--container)) - var(--gutter) * 2 - 250px); }
    .t2-cat-list .t2-cm-item:nth-child(n+7) { display: none; }
    .t2-banners { gap: 16px; }
    .t2-topcat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .t2-hero-grid, .t2-hero-grid.no-cats { grid-template-columns: minmax(0, 1fr); }
    .t2-cat-list { display: none; }
    .t2-cm-sub-grid { grid-template-columns: minmax(0, 1fr); }
    .t2-cm-sub { width: 300px; }
    .t2-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t2-header-main { grid-template-columns: auto minmax(0, 1fr) auto; }
    .t2-nav-links a { font-size: 15px; padding: 8px; }
    .t2-product-grid { grid-template-columns: repeat(3, 1fr); }
    .t2-scroller { grid-auto-columns: calc((100% - 32px) / 3); }
    .t2-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .t2-features { grid-template-columns: repeat(2, 1fr); }
    .t2-footer-top { grid-template-columns: 1fr 1fr; }
    .t2-cart-layout { grid-template-columns: 1fr; }
    .t2-pd { grid-template-columns: 1fr; }
    .t2-pd-media { position: static; }
    .t2-about { grid-template-columns: 1fr; }
    .t2-sticky { position: static; }
}
@media (max-width: 767px) {
    body { padding-bottom: 64px; font-size: 14px; }
    .t2-hide-mobile { display: none !important; }
    .t2-actions { gap: 14px; }
    .t2-lang span { font-size: 12px; }
    .t2-topbar { display: none; }
    .t2-header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; padding: 10px 0; }
    .t2-menu-toggle { display: grid; place-items: center; }
    .t2-logo img { height: 42px; }
    .t2-logo-text { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .t2-search { grid-column: 1 / -1; grid-row: 2; }
    .t2-search input, .t2-search button { height: 42px; }
    .t2-search button { width: 54px; }
    .t2-nav { display: none; }
    .t2-banners { gap: 10px; margin-top: 14px; padding: 0 16px; }
    .t2-topcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .t2-topcat h5 { font-size: 13px; padding: 8px 4px; }
    .t2-hero { padding-top: 0; }
    .t2-hero > .t2-container { padding: 0; }
    .t2-bottom-nav { display: block; }
    .t2-section { padding: 24px 0; }
    .t2-slider-arrow { font-size: 22px; width: 32px; }
    .t2-slide-caption { padding: 24px 16px 30px; }
    .t2-hero-fallback { padding: 28px 22px; aspect-ratio: auto; min-height: 200px; }
    .t2-features { grid-template-columns: 1fr 1fr; gap: 10px; }
    .t2-feature { padding: 12px; gap: 10px; flex-direction: column; text-align: center; }
    .t2-feature-icon { width: 40px; height: 40px; font-size: 17px; }
    .t2-feature p { display: none; }
    .t2-sec-title { font-size: 21px; }
    .t2-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .t2-scroller { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .t2-scroll-btn { display: none; }
    .t2-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .t2-cat-card { padding: 14px 6px 12px; }
    .t2-cat-card .t2-cat-dot { width: 48px; height: 48px; font-size: 20px; margin-bottom: 8px; }
    .t2-cat-card h5 { font-size: 13px; }
    .t2-card-body { padding: 10px; }
    .t2-card-title { font-size: 14px; min-height: 39px; }
    .t2-price { font-size: 16px; }
    .t2-card-quick { display: none; }
    .t2-card-actions .t2-btn { font-size: 13px; padding: 8px 6px; }
    .t2-card-actions .t2-btn-icon { width: 36px; }
    .t2-cta { padding: 26px 22px; }
    .t2-cta h3 { font-size: 20px; }
    .t2-pd { padding: 16px; gap: 20px; }
    .t2-pd-info h1 { font-size: 22px; }
    .t2-pd-price { font-size: 28px; }
    .t2-pd-perks { grid-template-columns: 1fr; }
    .t2-pd-buttons { grid-template-columns: 1fr; }
    .t2-btn { white-space: normal; text-align: center; }
    .t2-cart-item { grid-template-columns: 72px 1fr 36px; grid-template-areas: "img info rm" "img qty sub"; gap: 8px 12px; padding: 14px 16px; }
    .t2-cart-item img { grid-area: img; width: 72px; height: 72px; }
    .t2-cart-item .t2-ci-info { grid-area: info; }
    .t2-cart-item .t2-qty { grid-area: qty; justify-self: start; }
    .t2-cart-item .t2-sub { grid-area: sub; }
    .t2-cart-item .t2-remove { grid-area: rm; }
    .t2-cart-item .t2-qty button { width: 34px; height: 36px; }
    .t2-cart-item .t2-qty input { width: 40px; height: 36px; }
    .t2-form-grid { grid-template-columns: 1fr; }
    .t2-contact-cards { grid-template-columns: 1fr; }
    .t2-footer-top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 24px; }
    .t2-footer-bottom .t2-container { justify-content: center; text-align: center; }
    .t2-to-top { bottom: 80px; right: 14px; width: 42px; height: 42px; }
    .t2-toast { left: 16px; right: 16px; top: 16px; }
    .t2-page-head h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* wide screens: less side gap, more columns */
@media (min-width: 1500px) {
    .t2-product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .t2-scroller { grid-auto-columns: calc((100% - 80px) / 6); }
    .t2-topcat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .t2-hero-grid { grid-template-columns: 340px minmax(0, 1fr); }
    .t2-cat-list .t2-cm-sub { width: calc(min(100vw, var(--container)) - var(--gutter) * 2 - 340px); }
    .t2-slider { aspect-ratio: 2.4 / 1; }
}
@media (max-width: 767px) {
    :root { --gutter: 16px; }
}

/* ---------- Product card v2 (discount badge + full width order button) ---------- */
.t2-card { border-radius: 14px; border: 1px solid #eceef1; box-shadow: 0 2px 10px rgba(16, 24, 40, .07); }
.t2-card-media { aspect-ratio: 293 / 275; }
.t2-off {
    position: absolute; top: 14px; left: 14px; z-index: 2; width: 58px; height: 58px; border-radius: 50%;
    background: #e8175d; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center;
    display: grid; place-items: center; box-shadow: 0 4px 10px rgba(232, 23, 93, .35);
}
.t2-card-body { padding: 12px 14px 8px; gap: 12px; text-align: center; }
.t2-card-title { font-size: 17px; font-weight: 500; line-height: 1.45; min-height: 50px; }
.t2-card-price { display: flex; align-items: baseline; gap: 12px; margin-top: auto; font-size: 19px; text-align: left; }
.t2-card-price del { color: #2b35d6; font-size: 16px; }
.t2-card-price span { color: var(--text); font-weight: 500; }
.t2-card-order {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: var(--primary);
    color: #fff; font-size: 18px; font-weight: 600; border-radius: 0 0 13px 13px;
}
.t2-card-order:hover { background: var(--primary-dark); color: #fff; }
.t2-card-order i { font-size: 13px; }
@media (max-width: 767px) {
    .t2-off { width: 44px; height: 44px; font-size: 11px; top: 8px; left: 8px; }
    .t2-card-body { padding: 8px 8px 6px; gap: 8px; }
    .t2-card-title { font-size: 14px; min-height: 41px; }
    .t2-card-price { font-size: 15px; gap: 8px; flex-wrap: wrap; }
    .t2-card-price del { font-size: 13px; }
    .t2-card-order { font-size: 15px; padding: 8px; }
}
