/* ═══════════════════════════════════════════════════════════════════════════
   TitanCart Store Theme — theme.css
   Custom styles for the TitanCart storefront.
   Built on Bootstrap 5 + Inter font.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hide WP admin bar on mobile ──────────────────────────────────────────── */
@media (max-width: 782px) {
    #wpadminbar { display: none !important; }
    html { margin-top: 0 !important; }
    body.admin-bar .sticky-top { top: 0 !important; }
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

:root {
    --tct-font: 'Inter', system-ui, -apple-system, sans-serif;
    --tct-dark: #1a1a2e;
    --tct-text: #212529;
    --tct-muted: #6c757d;
    --tct-border: #e9ecef;
    --tct-light: #f8f9fa;
    --tct-accent: #0d6efd;
    --tct-radius: 0.5rem;
    --tct-radius-pill: 50rem;
    --tct-transition: 0.2s ease;
}

body {
    font-family: var(--tct-font);
    color: var(--tct-text);
    -webkit-font-smoothing: antialiased;
}


/* ── Top Bar ──────────────────────────────────────────────────────────────── */

.top-header {
    background: var(--tct-dark);
    color: #fff;
    font-size: 0.8125rem;
}

.top-header .nav-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    transition: color var(--tct-transition);
}

.top-header .nav-link:hover {
    color: #fff;
}

/* WordPress nav menu items in the top bar — match .nav-link styling */
.top-header .menu-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    transition: color var(--tct-transition);
    text-decoration: none;
}
.top-header .menu-item a:hover {
    color: #fff;
}
/* Remove default WP menu list styling */
.top-header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strip-promo-message {
    color: rgba(255,255,255,0.85);
}


/* ── Logo ─────────────────────────────────────────────────────────────────── */

.tc-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(13,110,253,0.22);
}

.tc-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}


/* ── Navigation ───────────────────────────────────────────────────────────── */

.navbar {
    background: #fff;
    z-index: 1030;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--tct-text);
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    transition: color var(--tct-transition);
}

.navbar .nav-link:hover {
    color: var(--tct-accent);
}

.btn-menu-close {
    background: none;
    border: 1px solid var(--tct-border);
    border-radius: var(--tct-radius);
    padding: 0.375rem 0.625rem;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.nav-search-control {
    font-size: 0.875rem;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0.25rem;
    color: var(--tct-text);
    transition: color var(--tct-transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-icon:hover {
    color: var(--tct-accent);
}


/* ── Hero Banner ──────────────────────────────────────────────────────────── */

.hero-banner {
    min-height: 500px;
}

@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 350px;
    }
    .hero-banner .display-4 {
        font-size: 2rem;
    }
}


/* ── Categories Carousel ──────────────────────────────────────────────────── */

.section-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.categories-section {
    overflow: hidden;
}

.categories-slider {
    overflow: visible !important;
}
.categories-slider .swiper-wrapper {
    padding: 8px 0;
}

.cat-img,
.cat-img-placeholder {
    width: 100%;
    max-width: 238px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid var(--tct-border);
    transition: border-color var(--tct-transition), transform var(--tct-transition), box-shadow var(--tct-transition);
}

.cat-img:hover,
.cat-img-placeholder:hover {
    border-color: var(--tct-accent);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.cat-img-placeholder {
    background: var(--tct-light);
}

.cat-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.cat-number {
    font-size: 0.8125rem;
}

/* ── Product Card (same classes as plugin — loads on homepage where titancart.css may not) ── */
.product-card {
    background: #fff;
    border: 1px solid var(--tct-border, #e5e5e5);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    padding: 16px;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-card__image-wrap { position: relative; overflow: hidden; border-radius: 8px; }
.product-img { display: block; width: 100%; object-fit: cover; border-radius: 8px; /* aspect-ratio set by plugin inline style */ }
.product-img-placeholder { display: flex; align-items: center; justify-content: center; background: #fafafa; border-radius: 8px; /* aspect-ratio set by plugin inline style */ }
.product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 500; color: #fff; background: #dc2626; padding: 4px 14px; border-radius: 20px; }
.product-title { font-size: 16px; font-weight: 500; color: #1a1a2e; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-title:hover { color: var(--tct-accent, #2563eb); }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 0 0; }
.product-card__price-row { display: flex; align-items: center; gap: 8px; }
.product-price { font-size: 16px; font-weight: 500; color: #000; }
.product-original-price { font-size: 16px; color: #bcbcbc; text-decoration: line-through; font-weight: 500; }
.product-card__cart-btn { display: block; width: 100%; padding: 10px 0; font-size: 14px; font-weight: 500; text-align: center; background: #0e1115; color: #fff; border: none; border-radius: 50px; cursor: pointer; transition: background .15s; }
.product-card__cart-btn:hover { background: #1a1f26; }
.product-card__cart-btn--disabled { background: #e5e5e5; color: #888; cursor: not-allowed; }

/* Out of stock badge */
.product-card__stock-badge { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 4px; display: inline-block; width: fit-content; }
.product-card__stock-badge--out { background: #fef2f2; color: #dc2626; }

/* Hover action circles (wishlist + quick view) */
.product-hover-actions { position: absolute; top: 12px; right: 12px; z-index: 5; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.product-card:hover .product-hover-actions { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s linear 0s; }

/* Add to Cart overlay (inside image area, appears on hover) */
.product-card__cart-overlay { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 5; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.product-card:hover .product-card__cart-overlay { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s linear 0s; }

/* Notify Me button — OOS products on homepage cards */
.product-card__cart-overlay--notify { opacity: 1 !important; visibility: visible !important; }
.product-card__notify-btn {
    background: #171717 !important; color: #fff !important; text-decoration: none !important;
    display: flex !important; width: 100%; align-items: center; justify-content: center; gap: 6px;
}
.product-card__notify-btn:hover { background: #333 !important; color: #fff !important; }
.product-card__notify-btn i { font-size: 13px; }

.btn-action-circle {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.7); color: #fff; border: none;
    font-size: 15px; cursor: pointer; transition: background 0.15s;
    padding: 0; line-height: 1;
}
.btn-action-circle:hover { background: #000; }

/* ── Quick View Modal ─────────────────────────────────────────────────── */
.tc-qv-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.tc-qv-overlay--open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s 0s; }
.tc-qv-modal { background: #fff; border-radius: 16px; max-width: 820px; width: 92%; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.25); position: relative; transform: translateY(20px); transition: transform .25s ease; }
.tc-qv-overlay--open .tc-qv-modal { transform: translateY(0); }
.tc-qv-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f5f5f5; color: #333; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.tc-qv-close:hover { background: #e0e0e0; }
.tc-qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tc-qv-gallery { padding: 32px; display: flex; align-items: center; justify-content: center; background: #fafafa; border-radius: 16px 0 0 16px; min-height: 300px; }
.tc-qv-gallery img { max-width: 100%; max-height: 400px; object-fit: contain; border-radius: 8px; }
.tc-qv-gallery-placeholder { font-size: 48px; color: #d4d4d4; }
.tc-qv-info { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tc-qv-info .tc-qv-category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; }
.tc-qv-info .tc-qv-title { font-size: 22px; font-weight: 600; color: #1a1a2e; margin: 0; }
.tc-qv-info .tc-qv-price { font-size: 20px; font-weight: 600; color: #000; display: flex; align-items: center; gap: 10px; }
.tc-qv-info .tc-qv-price-was { font-size: 16px; color: #bcbcbc; text-decoration: line-through; font-weight: 400; }
.tc-qv-info .tc-qv-stock { font-size: 13px; font-weight: 500; }
.tc-qv-info .tc-qv-stock--in { color: #16a34a; }
.tc-qv-info .tc-qv-stock--out { color: #dc2626; }
.tc-qv-info .tc-qv-desc { font-size: 14px; color: #555; line-height: 1.6; max-height: 100px; overflow-y: auto; }
.tc-qv-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.tc-qv-actions .tc-qv-qty { width: 70px; padding: 10px 8px; border: 1px solid #e0e0e0; border-radius: 8px; text-align: center; font-size: 14px; }
.tc-qv-actions .tc-qv-add-btn { flex: 1; padding: 12px 24px; background: #0e1115; color: #fff; border: none; border-radius: 50px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.tc-qv-actions .tc-qv-add-btn:hover { background: #1a1f26; }
.tc-qv-actions .tc-qv-add-btn:disabled { opacity: .5; cursor: not-allowed; }
.tc-qv-view-full { display: inline-block; font-size: 13px; color: var(--tct-accent, #2563eb); text-decoration: underline; }
.tc-qv-loading { display: flex; align-items: center; justify-content: center; padding: 60px; font-size: 14px; color: #888; }
@media (max-width: 767.98px) {
    .tc-qv-body { grid-template-columns: 1fr; }
    .tc-qv-gallery { border-radius: 16px 16px 0 0; min-height: 200px; padding: 24px; }
    .tc-qv-info { padding: 24px; }
}

.slide-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--tct-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--tct-transition);
    background: #fff;
}

.slide-icon:hover {
    background: var(--tct-dark);
    color: #fff;
    border-color: var(--tct-dark);
}


/* ── Product Tab Pills ────────────────────────────────────────────────────── */

#productTabs .nav-link {
    color: var(--tct-muted);
    font-weight: 400;
    font-size: 16px;
    padding: 10px 48px;
}

#productTabs .nav-link.active {
    background: var(--tct-dark);
    color: #fff;
}


/* ── Just For You ─────────────────────────────────────────────────────────── */

.jfy-section {
    padding: 56px 0;
    background: #fff;
}

.jfy-section__heading {
    font-size: 32px;
    font-weight: 500;
    color: #171717;
    margin: 0;
    letter-spacing: -0.5px;
}

/* 2-column grid: deal left, side cards right */
.jfy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* ── LEFT: Deal of the Day card ── */
.jfy-deal__card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Carousel slides */
.jfy-deal__carousel {
    position: relative;
}

.jfy-deal__slide {
    display: none;
    animation: jfyFadeIn 0.4s ease;
}

.jfy-deal__slide--active {
    display: block;
}

@keyframes jfyFadeIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Carousel navigation arrows */
.jfy-deal__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.jfy-deal__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s;
}

.jfy-deal__arrow:hover {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.jfy-deal__image-wrap {
    position: relative;
    margin-bottom: 16px;
}

.jfy-deal__discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #DC2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    z-index: 1;
}

.jfy-deal__img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.jfy-deal__img-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
}

.jfy-deal__name {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
    margin: 0 0 12px;
}

.jfy-deal__prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.jfy-deal__price-old {
    font-size: 18px;
    font-weight: 600;
    color: #DC2626;
    text-decoration: line-through;
}

.jfy-deal__price {
    font-size: 20px;
    font-weight: 700;
    color: #171717;
}

.jfy-deal__btn {
    display: inline-block;
    background: #171717;
    color: #fff;
    padding: 10px 32px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 4px;
}
.jfy-deal__btn:hover {
    background: #333;
    color: #fff;
}

/* Countdown timer */
.jfy-deal__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.jfy-cd__unit {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 56px;
    text-align: center;
}

.jfy-cd__num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #171717;
    line-height: 1.2;
}

.jfy-cd__label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ── RIGHT: Side promo banner cards ── */
.jfy-sides {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jfy-side {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-height: 0;
    border-left: 4px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jfy-side:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ── Card accent themes ── */
.jfy-side--members  { background: #eff6ff; border-left-color: #2563eb; }
.jfy-side--mystery  { background: #fefce8; border-left-color: #d97706; }
.jfy-side--savings  { background: #f0fdf4; border-left-color: #16a34a; }

/* Alternate: image on left for even cards */
.jfy-side--img-left {
    flex-direction: row-reverse;
}

.jfy-side__text {
    flex: 1;
    min-width: 0;
}

.jfy-side__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.jfy-side__label i { font-size: 13px; }

/* Label color themes */
.jfy-side--members .jfy-side__label { background: #dbeafe; color: #1d4ed8; }
.jfy-side--mystery .jfy-side__label { background: #fef3c7; color: #92400e; }
.jfy-side--savings .jfy-side__label { background: #dcfce7; color: #166534; }

.jfy-side__tagline {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px;
    line-height: 1.4;
}

.jfy-side__btn {
    display: inline-block;
    background: #212529;
    color: #fff;
    padding: 10px 28px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.jfy-side__btn:hover {
    background: #333;
    color: #fff;
}

.jfy-side__image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.jfy-side__image img {
    width: 236px;
    height: 158px;
    object-fit: contain;
    border-radius: 8px;
}

.jfy-side__img-placeholder {
    width: 236px;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 28px;
}
/* Placeholder color themes */
.jfy-side--members .jfy-side__img-placeholder { background: #dbeafe; color: #93c5fd; }
.jfy-side--mystery .jfy-side__img-placeholder { background: #fef3c7; color: #fcd34d; }
.jfy-side--savings .jfy-side__img-placeholder { background: #dcfce7; color: #86efac; }

/* ── JFY Responsive ── */
@media (max-width: 991px) {
    .jfy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .jfy-side {
        flex-direction: column !important;
        text-align: center;
        border-left: none;
        border-top: 4px solid transparent;
    }
    .jfy-side--members { border-top-color: #2563eb; }
    .jfy-side--mystery { border-top-color: #d97706; }
    .jfy-side--savings { border-top-color: #16a34a; }
    .jfy-side__image img {
        width: 180px;
        height: 120px;
    }
    .jfy-side__img-placeholder {
        width: 180px;
        height: 120px;
    }
    .jfy-cd__unit {
        padding: 8px 10px;
        min-width: 50px;
    }
    .jfy-cd__num {
        font-size: 18px;
    }
}


/* ── Trust Badges ─────────────────────────────────────────────────────────── */

.trust-badges {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 48px 0;
}

.trust-badge {
    padding: 16px 12px;
}

.trust-badge__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #171717;
    font-size: 24px;
}

.trust-badge__title {
    font-size: 14px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}

.trust-badge__sub {
    font-size: 13px;
    color: #737373;
    margin: 0;
}


/* ── Footer ───────────────────────────────────────────────────────────────── */
/* Footer uses tc-footer__* classes styled in plugin's storefront-nav.css   */


/* ── Back to Top ──────────────────────────────────────────────────────────── */

.back-to-top {
    transition: opacity var(--tct-transition);
    text-decoration: none;
}

.back-to-top.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* ── WP Overrides ─────────────────────────────────────────────────────────── */

/* WordPress pagination — the_posts_pagination() output */
.navigation.pagination .nav-links {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.navigation.pagination .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--tct-border);
    border-radius: var(--tct-radius);
    color: var(--tct-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--tct-transition);
    background: #fff;
}

.navigation.pagination .nav-links .page-numbers.current {
    background: var(--tct-dark);
    color: #fff;
    border-color: var(--tct-dark);
}

.navigation.pagination .nav-links a.page-numbers:hover {
    background: var(--tct-dark);
    color: #fff;
    border-color: var(--tct-dark);
}

/* Legacy list-based pagination (WooCommerce/shop pages) */
.page-numbers {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.page-numbers li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--tct-border);
    border-radius: var(--tct-radius);
    color: var(--tct-text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--tct-transition);
}

.page-numbers li .page-numbers.current,
.page-numbers li .page-numbers:hover {
    background: var(--tct-dark);
    color: #fff;
    border-color: var(--tct-dark);
}

/* ── Blog archive cards ─────────────────────────────────────────────────── */
.main-content article.card {
    border: 1px solid var(--tct-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.main-content article.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.main-content article.card .card-body {
    padding: 1.25rem;
}
.main-content article.card .card-title a {
    color: var(--tct-text);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--tct-transition);
}
.main-content article.card .card-title a:hover {
    color: var(--tct-accent);
}
.main-content article.card .card-text {
    font-size: 0.9rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.main-content article.card .btn-outline-dark {
    font-size: 0.8125rem;
    padding: 0.375rem 1rem;
    border-radius: 50rem;
    transition: all var(--tct-transition);
}
.main-content article.card .btn-outline-dark:hover {
    background: var(--tct-dark);
    color: #fff;
    border-color: var(--tct-dark);
}

/* Blog sidebar */
.main-content .col-lg-4 .widget {
    margin-bottom: 1.5rem;
}
.main-content .col-lg-4 .widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Single blog post */
.single-post article .entry-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.single-post article .entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}
.single-post article .entry-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.single-post article .entry-content p {
    margin-bottom: 1.25rem;
}

/* WordPress menu items in nav */
.navbar-nav .menu-item a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--tct-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}

.navbar-nav .menu-item a:hover {
    color: var(--tct-accent);
}

/* Remove default WP menu list styling in navbar */
.navbar-nav.menu,
.navbar-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default WP menu list styling in footer */
.tc-site-footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tc-site-footer .menu-item a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2;
    transition: color var(--tct-transition);
}
.tc-site-footer .menu-item a:hover {
    color: #fff;
}

/* WordPress custom logo */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}


/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Tablet: cap category circle size */
@media (max-width: 991.98px) {
    .cat-img,
    .cat-img-placeholder {
        max-width: 160px;
    }

    #productTabs .nav-link {
        padding: 8px 28px;
        font-size: 14px;
    }
}

/* Mobile: small category circles, always-visible cart overlay, overflow fix */
@media (max-width: 575.98px) {
    .cat-img,
    .cat-img-placeholder {
        max-width: 120px;
    }

    .categories-section {
        overflow: hidden;
    }

    /* Mobile: always show overlays (no hover on touch) — compact sizing */
    .product-hover-actions {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .product-hover-actions .btn-action-circle {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .product-card__cart-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        left: auto !important;
        right: 8px !important;
        bottom: 8px !important;
    }
    .product-card__cart-overlay .product-card__cart-btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }

    /* Sale prices: allow wrap + shrink to fit narrow cards */
    .product-card__price-row {
        flex-wrap: wrap;
        gap: 2px 6px;
    }
    .product-price {
        font-size: 14px;
    }
    .product-original-price {
        font-size: 12px;
    }

    #productTabs .nav-link {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Medium-small: slightly smaller category circles */
@media (min-width: 576px) and (max-width: 767.98px) {
    .cat-img,
    .cat-img-placeholder {
        max-width: 140px;
    }
}

@media (max-width: 1199.98px) {
    .offcanvas-body .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--tct-border);
    }
}
