/**
 * TitanCart — Storefront Stylesheet
 *
 * Clean, modern eCommerce styles that layer on top of any WordPress theme.
 * All rules scoped with .tc- prefix to avoid conflicts.
 *
 * Override: Copy to {your-theme}/titancart/css/titancart.css
 *
 * @package TitanCart
 */

/* ══════════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════════════════════════════════════════ */
:root {
    --tc-primary:     #171717;
    --tc-accent:      #2563EB;
    --tc-accent-hover:#1D4ED8;
    --tc-success:     #16A34A;
    --tc-warning:     #D97706;
    --tc-error:       #DC2626;
    --tc-text:        #0A0A0A;
    --tc-text-muted:  #737373;
    --tc-border:      #E5E5E5;
    --tc-bg:          #FFFFFF;
    --tc-bg-subtle:   #FAFAFA;
    --tc-bg-hover:    #F5F5F5;
    --tc-radius:      8px;
    --tc-radius-sm:   6px;
    --tc-radius-lg:   12px;
    --tc-shadow-sm:   0 1px 2px rgba(0,0,0,.05);
    --tc-shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --tc-shadow-lg:   0 4px 12px rgba(0,0,0,.1);
    --tc-font:        -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
    --tc-transition:  .2s ease;
    --tc-container:   1280px;
    --tc-gap:         24px;
}

/* Prevent cart drawer (position:fixed + translateX) from causing horizontal scrollbar */
html {
    overflow-x: hidden;
}

/* WP admin bar offset — prevent sticky nav from sliding behind the 32px admin bar */
body.admin-bar .sticky-top {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .sticky-top {
        top: 46px; /* WP admin bar is 46px tall on mobile */
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   BASE / RESET (scoped)
   ══════════════════════════════════════════════════════════════════════════════ */
[class^="tc-"],
[class*=" tc-"] {
    box-sizing: border-box;
    font-family: var(--tc-font);
}

.tc-shop, .tc-product, .tc-wishlist, .tc-reviews {
    max-width: var(--tc-container);
    margin: 0 auto;
    padding: 32px var(--tc-gap);
    color: var(--tc-text);
    line-height: 1.6;
}
/* .tc-checkout, .tc-cart, and #tc-account use full-bleed breakout — see checkout.css, cart section below, and account.css */

.tc-muted { color: var(--tc-text-muted); }

/* ══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: var(--tc-radius);
    border: 1px solid var(--tc-border);
    background: var(--tc-bg);
    color: var(--tc-text);
    cursor: pointer;
    transition: all var(--tc-transition);
    text-decoration: none;
    white-space: nowrap;
}
.tc-btn:hover {
    background: var(--tc-bg-hover);
    border-color: #D4D4D4;
}
.tc-btn--primary {
    background: var(--tc-accent);
    color: #fff;
    border-color: var(--tc-accent);
}
.tc-btn--primary:hover {
    background: var(--tc-accent-hover);
    border-color: var(--tc-accent-hover);
}
.tc-btn--primary:disabled,
.tc-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.tc-btn--sm {
    padding: 6px 14px;
    font-size: 13px;
}
.tc-btn--outline {
    background: transparent;
    border-color: var(--tc-border);
    color: var(--tc-text);
}
.tc-btn--danger {
    color: var(--tc-error);
    border-color: var(--tc-error);
    background: transparent;
}
.tc-btn--danger:hover {
    background: var(--tc-error);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FORMS / INPUTS
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-input,
.tc-textarea,
.tc-select,
.tc-qty-input,
.tc-product-option__select,
.tc-product-option__input,
.tc-product-option__textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tc-text);
    background: var(--tc-bg);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-sm);
    transition: border-color var(--tc-transition), box-shadow var(--tc-transition);
    font-family: var(--tc-font);
}
.tc-input:focus,
.tc-textarea:focus,
.tc-select:focus,
.tc-qty-input:focus,
.tc-product-option__select:focus {
    outline: none;
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.tc-textarea {
    resize: vertical;
    min-height: 80px;
}
.tc-qty-input {
    width: 72px;
    text-align: center;
    padding: 8px 6px;
    -moz-appearance: textfield;
}
.tc-qty-input::-webkit-inner-spin-button,
.tc-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.tc-select--sm {
    padding: 6px 10px;
    font-size: 13px;
}

.tc-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--tc-text);
}
.tc-label--required::after {
    content: ' *';
    color: var(--tc-error);
}
.tc-label--inline {
    display: inline;
    margin-right: 8px;
}
.tc-form-row {
    margin-bottom: 16px;
}
.tc-form-row--actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   NOTICES
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-notice {
    padding: 12px 16px;
    border-radius: var(--tc-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.tc-notice--info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}
.tc-notice--success {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
}
.tc-notice--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
.tc-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.5;
}
.tc-badge--success {
    background: #DCFCE7;
    color: var(--tc-success);
}

/* ══════════════════════════════════════════════════════════════════════════════
   SHOP PAGE — ShopNest offcanvas layout
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-shop {
    font-family: var(--tc-font);
    color: var(--tc-text);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

/* ── Page Header Banner ── */
.tc-shop__banner {
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}
.tc-shop__banner-inner { padding: 0 24px; position: relative; z-index: 2; }
.tc-shop__banner-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--tc-text);
    margin: 0 0 8px;
}

/* ── Theme variant: dark solid bg (no image) ── */
.tc-shop__banner--theme {
    background: #1a1a2e;
    border-bottom: none;
}
.tc-shop__banner--theme .tc-shop__banner-title {
    color: #fff;
}
.tc-shop__banner--theme .tc-breadcrumb a { color: rgba(255,255,255,0.7); }
.tc-shop__banner--theme .tc-breadcrumb a:hover { color: #fff; }
.tc-shop__banner--theme .tc-breadcrumb__current { color: rgba(255,255,255,0.9); }
.tc-shop__banner--theme .tc-breadcrumb .bi { color: rgba(255,255,255,0.4); }

/* ── Theme variant: with background image ── */
.tc-shop__banner--has-image {
    background-size: cover;
    background-position: center;
}
.tc-shop__banner--has-image .tc-shop__banner-title { color: #fff; }
.tc-shop__banner--has-image .tc-breadcrumb a { color: rgba(255,255,255,0.8); }
.tc-shop__banner--has-image .tc-breadcrumb a:hover { color: #fff; }
.tc-shop__banner--has-image .tc-breadcrumb__current { color: #fff; }
.tc-shop__banner--has-image .tc-breadcrumb .bi { color: rgba(255,255,255,0.5); }
.tc-breadcrumb--centered {
    justify-content: center;
    margin-bottom: 0;
}
.tc-breadcrumb--centered .bi { font-size: 10px; color: #b0b0b0; }

/* ── Shop content wrapper ── */
.tc-shop__content {
    max-width: var(--tc-container);
    margin: 0 auto;
    padding: 40px var(--tc-gap) 48px;
    position: relative;
}

/* ── Filter toggle button (ShopNest: fixed left, rotated 90deg) ── */
.tc-shop__filter-toggle {
    position: fixed;
    left: -37px;
    top: 50%;
    z-index: 10;
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    background: #0e1115;
    color: #fff;
    border: none;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    font-family: var(--tc-font);
}
.tc-shop__filter-toggle .bi { font-size: 14px; }

/* ── Toolbar (ShopNest: found X items left, sort right) ── */
.tc-shop__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tc-shop__found {
    font-size: 14px;
    color: var(--tc-text);
    margin: 0;
}
.tc-shop__found strong { font-weight: 600; }
.tc-shop__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tc-shop__sort-label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.tc-shop__sort-select {
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    border: 1px solid var(--tc-border);
    border-radius: 6px;
    background: #fff;
    color: var(--tc-text);
    cursor: pointer;
    font-family: var(--tc-font);
    min-width: 180px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ── View Toggle Buttons ── */
.tc-shop__view-toggle {
    display: flex;
    gap: 4px;
    margin-left: 12px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    padding: 3px;
    background: #fafafa;
}
.tc-shop__view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: all .15s ease;
}
.tc-shop__view-btn:hover { color: #555; background: #f0f0f0; }
.tc-shop__view-btn--active {
    background: #fff;
    color: var(--tc-text, #0a0a0a);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
@media (max-width: 600px) { .tc-shop__view-toggle { display: none; } }

/* ── Product Grid (ShopNest: 4/3/2 cols — reads --tc-grid-cols from settings) ── */
.tc-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--tc-grid-cols, 4), 1fr);
    gap: 24px;
}
@media (max-width: 1200px) { .tc-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .tc-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .tc-product-grid { grid-template-columns: 1fr; } }

/* ── List View (3-column: image | info | control — matches CS-Cart) ── */
.tc-product-grid--list {
    grid-template-columns: 1fr !important;
    gap: 16px;
}
.tc-product-grid--list .product-card {
    flex-direction: row;
    padding: 16px;
    gap: 0;
    align-items: stretch;
}
.tc-product-grid--list .product-card__image-wrap {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
}
.tc-product-grid--list .product-card__body {
    flex: 1;
    padding: 4px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.tc-product-grid--list .product-card__title,
.tc-product-grid--list .product-title {
    font-size: 16px;
    font-weight: 600;
    -webkit-line-clamp: 2;
    margin-bottom: 2px;
}
/* Show list-only elements */
.tc-product-grid--list .product-card__meta-row { display: flex !important; }
.tc-product-grid--list .product-card__short-desc { display: -webkit-box !important; }
.tc-product-grid--list .product-card__features { display: flex !important; }
.tc-product-grid--list .product-card__control { display: flex !important; }
/* Hide grid-only elements in list */
.tc-product-grid--list .product-card__price-grid { display: none !important; }
.tc-product-grid--list .product-card__cart-overlay { display: none !important; }
.tc-product-grid--list .product-hover-actions { display: none !important; }
.tc-product-grid--list .product-card__stock-badge { display: none !important; }

/* ── List: meta row (rating + code) ── */
.product-card__meta-row {
    display: none; /* hidden in grid */
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--tc-muted, #737373);
}
.product-card__stars { display: inline-flex; align-items: center; gap: 2px; }
.product-card__review-count { font-size: 12px; color: var(--tc-muted); margin-left: 4px; }
.product-card__sku { font-size: 12px; color: var(--tc-muted); }

/* ── List: description ── */
.product-card__short-desc {
    display: none; /* hidden in grid */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 4px 0;
}

/* ── List: feature attributes ── */
.product-card__features {
    display: none; /* hidden in grid */
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 4px;
}
.product-card__feature {
    font-size: 13px;
    color: var(--tc-text, #0a0a0a);
}
.product-card__feature-label {
    color: var(--tc-muted, #737373);
    font-style: normal;
    margin-right: 4px;
}
.product-card__feature em { font-style: normal; }

/* ── List: control column (right side — price, stock, cart, icons) ── */
.product-card__control {
    display: none; /* hidden in grid */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 200px;
    max-width: 240px;
    padding: 4px 0 4px 24px;
    border-left: 1px solid var(--tc-border, #e5e5e5);
    gap: 6px;
    flex-shrink: 0;
}
.product-card__control-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-card__control-price .product-price {
    font-size: 20px;
    font-weight: 700;
}
.product-card__control-price .product-original-price {
    font-size: 14px;
}
.product-card__stock-badge--in {
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
}
.product-card__list-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--tc-text, #111);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--tc-font);
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.product-card__list-cart-btn:hover { background: #333; }
.product-card__control-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}
.product-card__control-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--tc-border, #e5e5e5);
    border-radius: 8px;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all .15s;
}
.product-card__control-icon:hover { border-color: var(--tc-accent, #2563eb); color: var(--tc-accent); }

/* List view — sale price inline with regular at all sizes */
.tc-product-grid--list .product-card__control-price {
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
}

@media (max-width: 768px) {
    .tc-product-grid--list .product-card { flex-wrap: wrap; }
    .tc-product-grid--list .product-card__image-wrap { width: 140px; min-width: 140px; }
    .tc-product-grid--list .product-card__control {
        width: 100%; max-width: 100%;
        border-left: none; border-top: 1px solid var(--tc-border);
        padding: 12px 0 0; flex-direction: row; flex-wrap: wrap; align-items: center;
    }
}
@media (max-width: 480px) {
    .tc-product-grid--list .product-card { flex-direction: column; flex-wrap: nowrap; }
    .tc-product-grid--list .product-card__image-wrap { width: 100%; min-width: 0; }
    .tc-product-grid--list .product-card__body { padding: 12px 0 0; width: 100%; }
    .tc-product-grid--list .product-card__control { border-left: none; border-top: 1px solid var(--tc-border, #e5e5e5); width: 100%; max-width: 100%; padding: 12px 0 0; margin-top: 8px; }
}

/* ── Compact View (2-column grid rows — matches CS-Cart compact list) ── */
.tc-product-grid--compact {
    grid-template-columns: 1fr 1fr !important;
    gap: 0;
}
.tc-product-grid--compact .product-card {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--tc-border, #e5e5e5);
}
.tc-product-grid--compact .product-card:hover {
    transform: none;
    box-shadow: none;
    background: #fafafa;
}
/* Image: 100x100 thumbnail */
.tc-product-grid--compact .product-card__image-wrap {
    width: 100px;
    min-width: 100px;
    flex-shrink: 0;
    margin-right: 14px;
}
/* Body: name + stars/code + stock (vertical stack) */
.tc-product-grid--compact .product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
    min-width: 0;
}
.tc-product-grid--compact .product-card__body .product-title {
    font-size: 13px;
    font-weight: 500;
    -webkit-line-clamp: 2;
    margin: 0;
}
/* Show stars + sku in compact body */
.tc-product-grid--compact .product-card__meta-row {
    display: flex !important;
    gap: 8px;
    font-size: 11px;
}
/* Show body-level stock badge in compact (under code) */
.tc-product-grid--compact .product-card__body-stock {
    display: inline-block !important;
}
.tc-product-grid--compact .product-card__price-grid {
    display: none !important;
}
/* Control column: ALL INLINE — price + cart + icons in one row */
.tc-product-grid--compact .product-card__control {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    min-width: auto;
    max-width: none;
    padding: 0 0 0 12px;
    border-left: none;
    gap: 8px;
    flex-shrink: 0;
}
.tc-product-grid--compact .product-card__control-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}
.tc-product-grid--compact .product-card__control-price .product-price {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
.tc-product-grid--compact .product-card__control-price .product-original-price {
    font-size: 12px;
}
/* Hide stock from control (moved to body) */
.tc-product-grid--compact .product-card__control > .product-card__stock-badge {
    display: none !important;
}
.tc-product-grid--compact .product-card__list-cart-btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
}
.tc-product-grid--compact .product-card__control-actions {
    display: flex;
    gap: 4px;
    padding: 0;
}
.tc-product-grid--compact .product-card__control-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
}
/* Hide extras: badges, hover, overlay, desc, features */
.tc-product-grid--compact .product-card__badge,
.tc-product-grid--compact .product-hover-actions,
.tc-product-grid--compact .product-card__cart-overlay,
.tc-product-grid--compact .product-card__short-desc,
.tc-product-grid--compact .product-card__features { display: none !important; }

@media (max-width: 900px) {
    .tc-product-grid--compact { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .tc-product-grid--compact .product-card__image-wrap { width: 72px; min-width: 72px; }
    .tc-product-grid--compact .product-card__list-cart-btn { display: none; }
}

/* ── Body-level stock badge (shown only in compact view) ── */
.product-card__body-stock {
    display: none; /* hidden in grid + list (control column shows stock there) */
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}
.product-card__body-stock--in { color: #16a34a; }
.product-card__body-stock--out { color: #dc2626; }

/* ── Product Card (unified Bootstrap-style — plugin + theme) ── */
.product-card {
    background: #fff;
    border: 1px solid var(--tc-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);
}

/* Image area */
.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 dynamically via Settings → Thumbnails → Product Image Shape */
}
.product-img-placeholder {
    /* aspect-ratio set dynamically via Settings → Thumbnails → Product Image Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tc-bg-subtle, #fafafa);
    border-radius: 8px;
}

/* Sale badge */
.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;
}

/* Hover action buttons (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; }
.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;
    text-decoration: none;
}
.btn-action-circle:hover { background: #000; }

/* Wishlist active state */
.tc-wishlist-toggle--active { color: #ef4444 !important; background: #fff !important; border: 1px solid #fca5a5 !important; }
.tc-wishlist-toggle--active .bi-heart-fill { color: #ef4444; }
.tc-pdp__wish-btn.tc-wishlist-toggle--active { color: #ef4444; border-color: #fca5a5; }

/* Card body: name, price, Add to Cart */
.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0 0 0;
}
.product-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--tc-text, #1a1a2e);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title:hover { color: var(--tc-accent, #2563eb); }
.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;
    font-family: var(--tc-font, inherit);
    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 (shown in card body when not in stock) */
.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;
}
.product-card__stock-badge--count {
    background: #f0fdf4;
    color: #16a34a;
}
.product-card__tax-note {
    font-size: 11px;
    color: #737373;
    margin-left: 4px;
}

/* Mobile: always show overlays (no hover on touch) — compact sizing */
@media (max-width: 575.98px) {
    .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;
    }
    /* Restore native select picker on mobile */
    .tc-shop__sort-select {
        -webkit-appearance: menulist !important;
        appearance: menulist !important;
        background-image: none !important;
        padding-right: 12px !important;
        min-width: 140px;
    }
}

/* ── 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: var(--tc-text, #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(--tc-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: 767px) {
    .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; }
}

/* ── Pagination (ShopNest: dark theme, centered) ── */
.tc-pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 32px;
}
.tc-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border: 1px solid var(--tc-border);
    border-radius: 6px;
    color: #212529;
    text-decoration: none;
    transition: all .15s;
    background: #fff;
}
.tc-pagination__item:hover {
    color: #212529;
    background: var(--tc-bg-subtle);
}
.tc-pagination__item--active {
    background: #212529;
    color: #fff;
    border-color: #212529;
}
.tc-pagination__item .bi { font-size: 12px; }

/* ── Load More button ── */
.tc-pagination__load-more {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 32px auto 0;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #212529;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.tc-pagination__load-more:hover { background: #000; }

/* ── Infinite scroll sentinel ── */
.tc-pagination__scroll-sentinel {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}
.tc-spinner--sm {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

/* ── Empty state ── */
.tc-shop__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.tc-shop__empty p {
    margin: 0;
    font-size: 15px;
    color: var(--tc-text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════════
   SINGLE PRODUCT (PDP) — ShopNest-matched layout
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-pdp {
    max-width: var(--tc-container);
    margin: 0 auto;
    padding: 0 var(--tc-gap) 48px;
    color: var(--tc-text);
    line-height: 1.6;
    font-family: var(--tc-font);
    font-size: 14px;
}

/* ── Main 2-column: gallery | info ── */
.tc-pdp__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0;
}
@media (max-width: 992px) {
    .tc-pdp__main { grid-template-columns: 1fr; gap: 24px; }
}

/* ── PDP Layout: Wide (larger gallery — 60/40 split) ── */
.tc-pdp--wide .tc-pdp__main {
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}
/* Wide layout — compact buttons to fit narrower info column */
.tc-pdp--wide .tc-pdp__cart-row {
    gap: 8px;
}
.tc-pdp--wide .tc-pdp__add-btn {
    flex: none;
    padding: 10px 20px;
    font-size: 14px;
}
.tc-pdp--wide .tc-pdp__wish-btn {
    padding: 10px 16px;
    font-size: 14px;
}
.tc-pdp--wide .tc-pdp__compare-btn {
    padding: 10px 16px;
    font-size: 14px;
}
@media (max-width: 992px) {
    .tc-pdp--wide .tc-pdp__main { grid-template-columns: 1fr; gap: 24px; }
    /* Restore full-size buttons when stacked on mobile */
    .tc-pdp--wide .tc-pdp__add-btn { flex: 1; padding: 12px 40px; font-size: 15px; }
    .tc-pdp--wide .tc-pdp__wish-btn { padding: 12px 40px; font-size: 15px; }
    .tc-pdp--wide .tc-pdp__compare-btn { padding: 12px 24px; font-size: 14px; }
}

/* ── PDP Layout: Gallery (large image emphasis, full-width) ── */
.tc-pdp--gallery .tc-pdp__main {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.tc-pdp--gallery .tc-pdp__gallery {
    grid-template-columns: 1fr;
    position: static;
}
.tc-pdp--gallery .tc-pdp__gallery .tc-pdp__thumbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 0;
    order: 2;
}
.tc-pdp--gallery .tc-pdp__gallery .tc-pdp__thumbs button {
    min-width: 72px;
    aspect-ratio: var(--tc-img-ratio, 3/4);
    height: auto;
}
.tc-pdp--gallery .tc-pdp__main-img-wrap {
    max-height: 580px;
    overflow: hidden;
    border-radius: 12px;
}
.tc-pdp--gallery .tc-pdp__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Gallery layout — full-width info, generous buttons */
.tc-pdp--gallery .tc-pdp__cart-row {
    gap: 12px;
    flex-wrap: wrap;
}
.tc-pdp--gallery .tc-pdp__add-btn {
    flex: 1 1 auto;
    padding: 12px 40px;
    font-size: 15px;
}
.tc-pdp--gallery .tc-pdp__wish-btn {
    padding: 12px 40px;
    font-size: 15px;
}
.tc-pdp--gallery .tc-pdp__compare-btn {
    padding: 12px 24px;
    font-size: 14px;
}
@media (max-width: 992px) {
    .tc-pdp--gallery .tc-pdp__main {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tc-pdp--gallery .tc-pdp__cart-row { flex-wrap: wrap; gap: 12px; }
    .tc-pdp--gallery .tc-pdp__add-btn { flex: 1; padding: 12px 40px; font-size: 15px; }
    .tc-pdp--gallery .tc-pdp__wish-btn { padding: 12px 40px; font-size: 15px; }
    .tc-pdp--gallery .tc-pdp__compare-btn { padding: 12px 24px; font-size: 14px; }
}

/* ────────────────────────────────────────
   Gallery: thumbs left, main image right
   ──────────────────────────────────────── */
.tc-pdp__gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    position: sticky;
    top: 24px;
}
.tc-pdp__gallery--no-thumbs {
    grid-template-columns: 1fr;
}
@media (max-width: 992px) {
    .tc-pdp__gallery { position: static; }
}
@media (max-width: 480px) {
    .tc-pdp__gallery { grid-template-columns: 1fr; }
    .tc-pdp__thumbs { flex-direction: row !important; overflow-x: auto; }
}
.tc-pdp__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 680px;
}
.tc-pdp__thumb {
    width: 80px;
    aspect-ratio: var(--tc-img-ratio, 3/4);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tc-border);
    background: var(--tc-bg-subtle);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color .15s;
}
@media (max-width: 480px) { .tc-pdp__thumb { width: 64px; height: 64px; } }
.tc-pdp__thumb:hover { border-color: #999; }
.tc-pdp__thumb--active { border: 2px solid #0e1115; }
.tc-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tc-pdp__main-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tc-bg-subtle);
}
.tc-pdp__main-img-wrap--empty {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tc-border);
}
.tc-pdp__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    line-height: 1.4;
}
.tc-pdp__badge--sale { background: var(--tc-error); color: #fff; }
.tc-pdp__main-img { width: 100%; height: auto; display: block; }

/* ────────────────────────────────────────
   Product Info column
   ──────────────────────────────────────── */
.tc-pdp__info {
    display: flex;
    flex-direction: column;
}

/* Category label — plain text like ShopNest "Women Topwar" */
.tc-pdp__category-label {
    font-size: 14px;
    color: var(--tc-text-muted);
    margin: 0 0 4px;
}

/* Title — ShopNest h2, ~2rem */
.tc-pdp__title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -.3px;
    margin: 0 0 4px;
    line-height: 1.3;
    color: var(--tc-text);
}

/* Rating — 14px, my-3 spacing */
.tc-pdp__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}
.tc-pdp__rating .tc-stars { font-size: 14px; color: #FBBF24; }
.tc-pdp__rating-text {
    font-size: 14px;
    color: var(--tc-text-muted);
    cursor: pointer;
}
.tc-pdp__rating-text:hover { color: var(--tc-accent); text-decoration: underline; }

/* Price — fs-3 = 1.75rem now, fs-6 = 1rem was */
.tc-pdp__price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tc-pdp__price-now {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--tc-text);
}
.tc-pdp__price-was {
    font-size: 1rem;
    color: var(--tc-text-muted);
    text-decoration: line-through;
    opacity: .5;
}
.tc-pdp__price-discount {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--tc-error);
    padding: 3px 10px;
    border-radius: 50px;
}

/* Short description */
.tc-pdp__short-desc {
    font-size: 14px;
    color: #4e5562;
    line-height: 1.7;
    margin: 12px 0 0;
}

/* ────────────────────────────────────────
   Variations — mt-4 = 24px spacing each
   ──────────────────────────────────────── */
.tc-pdp__variations {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}
.tc-pdp__var-axis {
    margin-top: 24px;
}
.tc-pdp__var-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--tc-text);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tc-pdp__size-guide-link {
    font-size: 13px;
    color: var(--tc-text);
    text-decoration: underline;
}
.tc-pdp__size-guide-link:hover { color: var(--tc-accent); }

/* Color swatches — ShopNest: 25px filled circles, gap-3 = 12px */
.tc-pdp__var-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.tc-pdp__var-swatch {
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.tc-pdp__var-swatch:hover {
    border-color: rgba(0,0,0,.3);
}
.tc-pdp__var-swatch--active {
    border-color: #0e1115;
}
.tc-pdp__var-swatch-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: block;
    pointer-events: none;
}

/* Size pills — 3D raised white button style */
.tc-pdp__var-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.tc-pdp__var-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    color: var(--tc-text);
    cursor: pointer;
    transition: all .15s ease;
    font-family: var(--tc-font);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
.tc-pdp__var-pill:hover {
    border-color: #a3a3a3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 3px 6px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.tc-pdp__var-pill--active {
    background: linear-gradient(to bottom, #2a2a2a, #171717);
    color: #fff;
    border-color: #0a0a0a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Dropdown variation */
.tc-pdp__var-select { max-width: 280px; }

/* ────────────────────────────────────────
   Static attribute indicators (single-value color swatches / size pills)
   ──────────────────────────────────────── */
.tc-pdp__attr-indicators {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.tc-pdp__attr-indicator {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* Color swatch: reuses .tc-pdp__var-swatch-circle from variation selectors.
   Apply "active" ring since it's the current/only value. */
.tc-pdp__attr-swatch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.tc-pdp__attr-swatch .tc-pdp__var-swatch-circle {
    border: 2px solid #0e1115;
}
.tc-pdp__attr-swatch-name {
    font-size: 13px;
    color: var(--tc-text);
    font-weight: 500;
}
/* Size pill: 3D raised white button, matching variation pills */
.tc-pdp__attr-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    width: fit-content;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    color: var(--tc-text);
    font-family: var(--tc-font);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
/* Brand: clean text display */
.tc-pdp__attr-brand {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-text);
}

/* ────────────────────────────────────────
   Quantity — ShopNest: width 12rem, input-group-lg, bordered
   ──────────────────────────────────────── */
.tc-pdp__qty-section {
    margin-top: 24px;
}
.tc-pdp__qty-ctrl {
    display: flex;
    align-items: center;
    border: 2px solid var(--tc-border);
    border-radius: 8px;
    width: 12rem;
    height: 48px;
}
.tc-pdp__qty-btn {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .15s;
    user-select: none;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.tc-pdp__qty-btn:hover { background: var(--tc-bg-subtle) !important; }
.tc-pdp__qty-btn .bi {
    font-size: 20px !important;
    color: #0e1115 !important;
    line-height: 1 !important;
    display: block !important;
    pointer-events: none;
}
.tc-pdp__qty-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    height: 100%;
    border: none;
    border-left: 2px solid var(--tc-border);
    border-right: 2px solid var(--tc-border);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--tc-text);
    background: #fff;
    font-family: var(--tc-font);
    -moz-appearance: textfield;
}
.tc-pdp__qty-input::-webkit-inner-spin-button,
.tc-pdp__qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tc-pdp__qty-select {
    height: 48px;
    min-width: 120px;
    max-width: 200px;
    border: 2px solid var(--tc-border);
    border-radius: 10px;
    padding: 0 36px 0 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--tc-font);
    color: var(--tc-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s;
}
.tc-pdp__qty-select:focus { border-color: var(--tc-accent, #2563eb); outline: none; }

/* ────────────────────────────────────────
   Cart + Wishlist — ShopNest: full-width dark pill, outlined wishlist pill
   ──────────────────────────────────────── */
.tc-pdp__cart-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .tc-pdp__cart-row { flex-direction: column; }
}
.tc-pdp__add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 500;
    background: #0e1115;
    color: #fff;
    border: 2px solid #0e1115;
    border-radius: 50px;
    cursor: pointer;
    transition: all .15s;
    font-family: var(--tc-font);
    white-space: nowrap;
}
.tc-pdp__add-btn:hover { background: #1a1f26; }
.tc-pdp__add-btn:disabled { opacity: .5; cursor: not-allowed; }
.tc-pdp__add-btn svg { flex-shrink: 0; }

.tc-pdp__wish-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid var(--tc-border);
    background: #fff;
    color: var(--tc-text);
    cursor: pointer;
    transition: all .15s;
    font-family: var(--tc-font);
    white-space: nowrap;
}
.tc-pdp__wish-btn:hover { border-color: var(--tc-error); color: var(--tc-error); }
.tc-pdp__wish-btn.active { background: var(--tc-error); border-color: var(--tc-error); color: #fff; }
.tc-pdp__wish-btn svg { flex-shrink: 0; pointer-events: none; }

/* ────────────────────────────────────────
   Delivery info — font-14, gap-2 items
   ──────────────────────────────────────── */
.tc-pdp__delivery {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tc-pdp__delivery-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--tc-text);
    margin: 0;
}
.tc-pdp__delivery-item svg { flex-shrink: 0; color: var(--tc-text-muted); }

/* ────────────────────────────────────────
   Sold Out button — disabled cart button
   ──────────────────────────────────────── */
.tc-pdp__add-btn--soldout {
    background: #e5e5e5 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border-color: #e5e5e5 !important;
}
.tc-pdp__add-btn--soldout:hover {
    background: #e5e5e5 !important;
}

/* ────────────────────────────────────────
   Stock Notification Box — OOS PDP card
   ──────────────────────────────────────── */
.tc-pdp__stocknotify {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tc-pdp__stocknotify-title {
    font-size: 16px;
    font-weight: 700;
    color: #1c2430;
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.tc-pdp__stocknotify-subtitle {
    font-size: 13px;
    color: #5a6270;
    margin: 0 0 18px 0;
    line-height: 1.5;
}
.tc-pdp__stocknotify-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.tc-pdp__stocknotify-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #f5f5f5;
    color: #737373;
}
.tc-pdp__stocknotify-tab--active {
    background: #2563EB;
    color: #fff;
}
.tc-pdp__stocknotify-tab--disabled {
    background: #1c2430;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}
.tc-pdp__stocknotify-tab i { font-size: 14px; }
.tc-pdp__stocknotify-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tc-pdp__stocknotify-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.tc-pdp__stocknotify-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.tc-pdp__stocknotify-btn {
    width: 100%;
    padding: 13px 0;
    background: #171717;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.15s;
}
.tc-pdp__stocknotify-btn:hover { background: #333; }
.tc-pdp__stocknotify-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.tc-pdp__stocknotify-privacy {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #737373;
    margin-top: 14px;
    line-height: 1.5;
}
.tc-pdp__stocknotify-privacy i {
    font-size: 14px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Message inside stock notify box (reuses existing classes) */
.tc-pdp__stocknotify .tc-pdp__notify-msg {
    font-size: 13px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
}

@media (max-width: 480px) {
    .tc-pdp__stocknotify { padding: 18px 16px; }
    .tc-pdp__stocknotify-title { font-size: 15px; }
}

/* Notify message variants (used by JS in stocknotify + old notify) */
.tc-pdp__notify-msg {
    font-size: 13px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
}
.tc-pdp__notify-msg--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.tc-pdp__notify-msg--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ────────────────────────────────────────
   Notify Me — product card button (grid + list)
   ──────────────────────────────────────── */
.product-card__cart-overlay--notify {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !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; }
.product-card__list-notify-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #171717;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.product-card__list-notify-btn:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* ── Catalog Mode: Inquiry buttons ── */
.product-card__cart-overlay--inquiry { display: flex !important; opacity: 1 !important; visibility: visible !important; }
.product-card__inquiry-btn {
    background: #2563EB !important;
    color: #fff !important;
    text-decoration: none !important;
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-card__inquiry-btn:hover { background: #1d4ed8 !important; }
.product-card__list-inquiry-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.product-card__list-inquiry-btn:hover { background: #1d4ed8; color: #fff; text-decoration: none; }
.tc-pdp__inquiry-btn {
    background: #2563EB !important;
    color: #fff !important;
    border-color: #2563EB !important;
}
.tc-pdp__inquiry-btn:hover { background: #1d4ed8 !important; border-color: #1d4ed8 !important; }

/* ── Price Per Unit ── */
.product-card__ppu {
    display: block;
    font-size: 11px;
    color: #737373;
    font-weight: 400;
    margin-top: 2px;
}
.tc-pdp__ppu {
    display: inline-block;
    font-size: 13px;
    color: #737373;
    font-weight: 400;
    margin-left: 8px;
}

/* ── Social Share Buttons ── */
.tc-pdp__social-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}
.tc-pdp__social-label {
    font-size: 13px;
    font-weight: 500;
    color: #737373;
    margin-right: 4px;
}
.tc-pdp__social-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.tc-pdp__social-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
    border-color: #d1d5db;
}
.tc-pdp__social-btn i { font-size: 15px; }
.tc-pdp__social-btn span { font-size: 12px; }
.tc-pdp__copy-link-btn { font-family: inherit; }

/* ── Age Verification Gate ── */
.tc-age-gate {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}
.tc-age-gate__card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 440px;
    width: 92%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.tc-age-gate__icon { font-size: 48px; color: #d97706; margin-bottom: 16px; }
.tc-age-gate__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #1c2430; }
.tc-age-gate__message { font-size: 14px; color: #5a6270; line-height: 1.5; margin-bottom: 24px; }
.tc-age-gate__actions { display: flex; gap: 12px; justify-content: center; }
.tc-age-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.tc-age-gate__btn--yes { background: #16a34a; color: #fff; }
.tc-age-gate__btn--yes:hover { background: #15803d; }
.tc-age-gate__btn--yes:disabled { opacity: 0.5; cursor: not-allowed; }
.tc-age-gate__btn--no { background: #f3f4f6; color: #4b5563; }
.tc-age-gate__btn--no:hover { background: #e5e7eb; }
.tc-age-gate__birthday, .tc-age-gate__checkbox { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tc-age-gate__label { font-size: 13px; font-weight: 500; color: #4b5563; }
.tc-age-gate__input {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    width: 200px;
    text-align: center;
}
.tc-age-gate__check-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5563; cursor: pointer; }
.tc-age-gate__check-label input { width: 18px; height: 18px; accent-color: #16a34a; }

/* ────────────────────────────────────────
   Divider + Meta — ShopNest: <hr> my-4, font-14, fw-semibold labels
   ──────────────────────────────────────── */
.tc-pdp__divider {
    border: none;
    border-top: 1px solid rgba(14,17,21,.2);
    margin: 24px 0;
}
.tc-pdp__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tc-pdp__meta-row {
    font-size: 14px;
    color: var(--tc-text);
    margin: 0;
}
.tc-pdp__meta-row strong {
    font-weight: 600;
}
.tc-pdp__meta a {
    color: var(--tc-text-muted);
    text-decoration: none;
}
.tc-pdp__meta a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════════
   PDP TABS — ShopNest: pill nav centered, bordered content
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-pdp__tabs {
    margin: 40px 0 48px;
}
.tc-pdp__tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    overflow-x: auto;
}
.tc-pdp__tab-btn {
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-text);
    background: #fff;
    border: 1px solid var(--tc-border);
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    font-family: var(--tc-font);
}
.tc-pdp__tab-btn:hover { border-color: #0e1115; }
.tc-pdp__tab-btn--active {
    color: #fff;
    background: #0e1115;
    border-color: #0e1115;
}
.tc-pdp__tab-content {
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    padding: 24px;
}
.tc-pdp__tab-panel { display: none; }
.tc-pdp__tab-panel--active {
    display: block;
    animation: tc-fadeIn .2s ease;
}
@keyframes tc-fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section headings — hidden in tab mode, visible in stacked mode */
.tc-pdp__section-heading { display: none; }
.tc-pdp__tabs--stacked .tc-pdp__tab-nav { display: none !important; }
.tc-pdp__tabs--stacked .tc-pdp__tab-content { border: none; padding: 0; }
.tc-pdp__tabs--stacked .tc-pdp__tab-panel {
    display: block !important;
    padding: 24px;
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    margin-bottom: 24px;
}
.tc-pdp__tabs--stacked .tc-pdp__section-heading {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--tc-text);
}
/* Option modifier hint */
.tc-product-option__mod {
    color: #737373;
    font-size: 12px;
    margin-left: 4px;
}

/* Description tab */
.tc-pdp__tab-panel[data-panel="description"] {
    font-size: 14px;
    color: #4e5562;
    line-height: 1.8;
}
.tc-pdp__tab-panel[data-panel="description"] p { margin: 0 0 12px; }
.tc-pdp__tab-panel[data-panel="description"] h5,
.tc-pdp__tab-panel[data-panel="description"] h6 { color: var(--tc-text); margin: 20px 0 8px; }
.tc-pdp__tab-panel[data-panel="description"] ul { padding-left: 20px; margin: 8px 0 16px; }
.tc-pdp__tab-panel[data-panel="description"] li { color: #4e5562; margin-bottom: 4px; }

/* Reviews in tab */
.tc-pdp__reviews .tc-reviews__summary { margin-bottom: 32px; }
.tc-review__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e3e4e5;
    color: var(--tc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    flex-shrink: 0;
}
.tc-review__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.tc-review__meta { display: flex; align-items: center; gap: 12px; }
.tc-review__author { font-size: 14px; display: block; }
.tc-review__date { font-size: 13px; display: block; }
.tc-review__content { font-size: 14px; color: #4e5562; line-height: 1.7; }

/* Sizing chart */
.tc-pdp__sizing-notes {
    font-size: 14px; color: #4e5562; line-height: 1.7; margin-bottom: 12px;
    padding: 12px 16px; background: var(--tc-bg-subtle); border-radius: 8px; border: 1px solid var(--tc-border);
}
.tc-pdp__sizing-unit { font-size: 12px; color: var(--tc-text-muted); margin-bottom: 12px; }
.tc-pdp__sizing-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-pdp__sizing-table th, .tc-pdp__sizing-table td { padding: 10px 14px; text-align: center; border: 1px solid var(--tc-border); }
.tc-pdp__sizing-table th { background: var(--tc-bg-subtle); font-weight: 600; }
.tc-pdp__sizing-table tbody tr:hover { background: var(--tc-bg-hover); }

/* ── Shared features table ── */
.tc-features-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tc-features-table th, .tc-features-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--tc-border); }
.tc-features-table th { font-weight: 500; color: var(--tc-text-muted); width: 35%; background: var(--tc-bg-subtle); }
.tc-features-table td { color: var(--tc-text); }
.tc-features-table tbody tr:hover { background: var(--tc-bg-hover); }

/* ══════════════════════════════════════════════════════════════════════════════
   PDP — RECOMMENDED PRODUCTS CAROUSEL
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-pdp__related { padding-top: 40px; border-top: 1px solid var(--tc-border); }
.tc-pdp__related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.tc-pdp__related-title { font-size: 22px; font-weight: 700; margin: 0; }

/* Carousel nav arrows — ShopNest style: 40px circle, bordered */
.tc-carousel__nav {
    display: flex;
    gap: 12px;
}
.tc-carousel__arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--tc-border);
    color: #0d0c0c;
    cursor: pointer;
    transition: all .15s;
}
.tc-carousel__arrow:hover {
    border-color: #0e1115;
    background: #0e1115;
    color: #fff;
}

/* Carousel container — horizontal scroll, no scrollbar */
.tc-carousel {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tc-carousel::-webkit-scrollbar { display: none; }

.tc-carousel__track {
    display: flex;
    gap: 24px;
}
.tc-carousel__slide {
    flex: 0 0 calc(25% - 18px);
    min-width: 220px;
}
@media (max-width: 1200px) {
    .tc-carousel__slide { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 768px) {
    .tc-carousel__slide { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 480px) {
    .tc-carousel__slide { flex: 0 0 80%; min-width: 0; }
}


/* ══════════════════════════════════════════════════════════════════════════════
   PRODUCT OPTIONS
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-product-option {
    margin-bottom: 16px;
}
.tc-product-option__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}
.tc-product-option__required {
    color: var(--tc-error);
    margin-left: 2px;
}
.tc-product-option__select {
    max-width: 300px;
}
.tc-product-option__radios,
.tc-product-option__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tc-product-option__radio-label,
.tc-product-option__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 0;
}
.tc-product-option__input {
    max-width: 300px;
}
.tc-product-option__textarea {
    max-width: 400px;
}
.tc-product-option__file {
    font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-reviews__heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
}
.tc-reviews__summary {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tc-border);
}
@media (max-width: 600px) {
    .tc-reviews__summary { flex-direction: column; gap: 16px; }
}
.tc-reviews__summary-score {
    text-align: center;
    min-width: 120px;
}
.tc-reviews__avg {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: var(--tc-text);
}
.tc-reviews__count {
    font-size: 13px;
    display: block;
    margin-top: 4px;
}
.tc-reviews__summary-bars {
    flex: 1;
    max-width: 400px;
}
.tc-reviews__bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.tc-reviews__bar-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--tc-text-muted);
    min-width: 40px;
}
.tc-reviews__bar-track {
    flex: 1;
    height: 8px;
    background: #F0F0F0;
    border-radius: 4px;
    overflow: hidden;
}
.tc-reviews__bar-fill {
    height: 100%;
    background: #FBBF24;
    border-radius: 4px;
    transition: width .3s ease;
}
.tc-reviews__bar-count {
    font-size: 12px;
    min-width: 24px;
    text-align: right;
}

/* Stars */
.tc-stars {
    color: #FBBF24;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Single review */
.tc-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tc-review {
    padding: 20px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-bg);
}
.tc-review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.tc-review__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tc-review__author {
    font-size: 14px;
    font-weight: 600;
}
.tc-review__date {
    font-size: 12px;
}
.tc-review__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}
.tc-review__content {
    font-size: 14px;
    line-height: 1.6;
    color: #404040;
}

/* Review toolbar */
.tc-reviews__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Star picker (review form) */
.tc-star-picker {
    display: flex;
    gap: 4px;
}
.tc-star-picker__star {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 24px;
    color: #D4D4D4;
    transition: color .15s;
}
.tc-star-picker__star.active,
.tc-star-picker__star:hover {
    color: #FBBF24;
}
.tc-star-picker__icon {
    pointer-events: none;
}
.tc-star-picker__label {
    font-size: 12px;
    margin-top: 4px;
}

/* Review form */
.tc-review-form-wrap {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tc-border);
}
.tc-review-form__heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
}
.tc-review-form__fieldset {
    border: none;
    padding: 0;
    margin: 0 0 16px;
}
.tc-review-form__legend {
    padding: 0;
    margin-bottom: 6px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CART
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-cart__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.5px;
    margin: 0 0 24px;
}
.tc-cart__empty {
    text-align: center;
    padding: 64px 24px;
}
.tc-cart__empty p {
    font-size: 16px;
    color: var(--tc-text-muted);
    margin: 0 0 16px;
}

.tc-cart__table {
    width: 100%;
    border-collapse: collapse;
}
.tc-cart__table thead th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--tc-text-muted);
    background: var(--tc-bg-subtle);
    border-bottom: 2px solid var(--tc-border);
    text-align: left;
}
.tc-cart__table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--tc-border);
    vertical-align: middle;
    font-size: 14px;
}

/* Cart item image */
.tc-cart-item__image {
    width: 72px;
    height: 72px;
    border-radius: var(--tc-radius);
    object-fit: cover;
    border: 1px solid var(--tc-border);
}
.tc-cart-item__name {
    font-weight: 500;
}
.tc-cart-item__options {
    font-size: 12px;
    color: var(--tc-text-muted);
    margin-top: 4px;
}
.tc-cart-item__remove {
    background: transparent;
    border: none;
    color: var(--tc-text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    transition: color var(--tc-transition);
}
.tc-cart-item__remove:hover {
    color: var(--tc-error);
}

/* Cart totals */
.tc-cart-totals {
    max-width: 400px;
    margin-left: auto;
    margin-top: 24px;
    padding: 24px;
    background: var(--tc-bg-subtle);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
}
.tc-cart-totals__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--tc-border);
}
.tc-cart-totals__row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    padding-top: 12px;
}
.tc-cart-totals__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .tc-cart__table thead { display: none; }
    .tc-cart__table,
    .tc-cart__table tbody,
    .tc-cart__table tr,
    .tc-cart__table td {
        display: block;
    }
    .tc-cart__table tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--tc-border);
    }
    .tc-cart__table td {
        padding: 4px 0;
        border: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   CHECKOUT — Styles moved to separate checkout.css (loaded on checkout page only)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════════
   ACCOUNT
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-account-dashboard {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .tc-account-dashboard { grid-template-columns: 1fr; }
}
.tc-account__sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tc-account__nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--tc-text);
    text-decoration: none;
    border-radius: var(--tc-radius-sm);
    transition: background var(--tc-transition);
}
.tc-account__nav-link:hover {
    background: var(--tc-bg-hover);
}
.tc-account__nav-link--active {
    background: var(--tc-bg-hover);
    font-weight: 600;
    color: var(--tc-accent);
}
.tc-account__content {
    min-width: 0;
}
.tc-account__heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   WISHLIST
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-wishlist__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.5px;
    margin: 0 0 24px;
}
.tc-wishlist__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tc-gap);
}
@media (max-width: 1024px) {
    .tc-wishlist__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .tc-wishlist__grid { grid-template-columns: repeat(2, 1fr); }
}
.tc-wishlist__empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--tc-text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════════
   LOADING / SPINNER
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--tc-border);
    border-top-color: var(--tc-accent);
    border-radius: 50%;
    animation: tc-spin .6s linear infinite;
}
@keyframes tc-spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.tc-text-center { text-align: center; }
.tc-mt-1 { margin-top: 8px; }
.tc-mt-2 { margin-top: 16px; }
.tc-mt-3 { margin-top: 24px; }
.tc-mb-1 { margin-bottom: 8px; }
.tc-mb-2 { margin-bottom: 16px; }
.tc-mb-3 { margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tc-breadcrumb a {
    color: var(--tc-text);
    text-decoration: none;
    transition: color .15s;
}
.tc-breadcrumb a:hover { color: var(--tc-accent); }
.tc-breadcrumb__current { color: #b0b0b0; }
.tc-breadcrumb .bi-chevron-right { font-size: 10px; color: #b0b0b0; }

/* ══════════════════════════════════════════════════════════════════════════════
   SHOP TOOLBAR (legacy, kept for shop.js compat)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-shop__toolbar-left,
.tc-shop__toolbar-right { display: contents; }
.tc-shop__filter-btn { display: none; }

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER CHIPS + CARDS (active filters — ShopNest style)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-shop__active-filters,
.tc-filter-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 400;
    background: transparent;
    border: 1px solid var(--tc-border);
    border-radius: 50px;
    color: var(--tc-text);
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--tc-font);
}
.tc-chip:hover { border-color: #0e1115; }
.tc-chip .bi-x-lg { font-size: 10px; margin-left: 2px; }
.tc-chip--color .bi-circle-fill { font-size: 10px; }

/* Filter card (ShopNest: bordered rounded card per section) */
.tc-filter-card {
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
}
.tc-filter-card:last-child { margin-bottom: 0; }
.tc-filter-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.tc-filter-card__header h5,
.tc-filter-card__header h6 { font-size: 16px; font-weight: 600; margin: 0; }
.tc-filter-card__clear {
    font-size: 14px;
    color: var(--tc-text-muted);
    text-decoration: underline;
}
.tc-chip__remove {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 14px;
    line-height: 1;
    color: var(--tc-text-muted);
    cursor: pointer;
    transition: color var(--tc-transition);
}
.tc-chip__remove:hover {
    color: var(--tc-error);
}
.tc-chip--clear {
    background: transparent;
    border-color: var(--tc-error);
    color: var(--tc-error);
    cursor: pointer;
    font-weight: 600;
}
.tc-chip--clear:hover {
    background: var(--tc-error);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════════
   OFFCANVAS FILTER PANEL
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
    opacity: 0;
    transition: opacity .25s ease;
}
.tc-offcanvas-overlay:not([hidden]) {
    opacity: 1;
}

.tc-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 340px;
    max-width: 90vw;
    background: var(--tc-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.tc-offcanvas--open {
    transform: translateX(0);
}

.tc-offcanvas__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--tc-border);
    flex-shrink: 0;
}
.tc-offcanvas__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--tc-text);
}
.tc-offcanvas__close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--tc-text-muted);
    transition: color var(--tc-transition);
    display: flex;
}
.tc-offcanvas__close:hover {
    color: var(--tc-text);
}

.tc-offcanvas__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.tc-offcanvas__footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--tc-border);
    flex-shrink: 0;
}
.tc-offcanvas__footer .tc-btn {
    flex: 1;
}

.tc-offcanvas__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER SECTIONS (inside offcanvas)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tc-border);
}
.tc-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.tc-filter-section__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-text);
    margin: 0 0 12px;
}

/* Price range inputs */
.tc-filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tc-filter-range .tc-input--sm {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
}
.tc-filter-range__sep {
    color: var(--tc-text-muted);
    flex-shrink: 0;
}

/* Checkbox filters */
.tc-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    cursor: pointer;
    transition: color var(--tc-transition);
}
.tc-filter-check:hover {
    color: var(--tc-accent);
}
.tc-filter-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--tc-accent);
    cursor: pointer;
    flex-shrink: 0;
}
.tc-filter-check__label {
    flex: 1;
}
.tc-filter-check__count {
    color: var(--tc-text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   SHOP LOADING OVERLAY
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-shop__loading {
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.7);
    z-index: 100;
    display: none;
}
.tc-shop__loading:not([hidden]) {
    display: flex;
}
.tc-spinner--lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

/* (Old tc-product-card hover styles removed — now using tc-pcard) */

/* ══════════════════════════════════════════════════════════════════════════════
   INPUT SMALL VARIANT
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-input--sm {
    padding: 8px 10px;
    font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — COLOR SWATCHES
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tc-filter-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--tc-radius);
    cursor: pointer;
    transition: border-color var(--tc-transition);
    min-width: 48px;
}
.tc-filter-swatch:hover {
    border-color: var(--tc-border);
}
.tc-filter-swatch--active {
    border-color: var(--tc-accent);
}
.tc-filter-swatch__color {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--tc-border);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    transition: transform var(--tc-transition), box-shadow var(--tc-transition);
}
.tc-filter-swatch:hover .tc-filter-swatch__color {
    transform: scale(1.1);
}
.tc-filter-swatch--active .tc-filter-swatch__color {
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.2), inset 0 0 0 1px rgba(0,0,0,.06);
}
.tc-filter-swatch__label {
    font-size: 10px;
    color: var(--tc-text-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tc-filter-swatch--active .tc-filter-swatch__label {
    color: var(--tc-accent);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — SLIDER (dual range)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-slider {
    padding: 4px 0;
}
.tc-filter-slider__labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.tc-filter-slider__val {
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-text);
}
.tc-filter-slider__track {
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}
.tc-filter-slider__input {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    margin: 0;
    height: 6px;
}
.tc-filter-slider__input::-webkit-slider-runnable-track {
    height: 6px;
    background: var(--tc-border);
    border-radius: 3px;
}
.tc-filter-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tc-accent);
    border: 3px solid #fff;
    box-shadow: var(--tc-shadow);
    cursor: pointer;
    margin-top: -7px;
    position: relative;
    z-index: 1;
}
.tc-filter-slider__input::-moz-range-track {
    height: 6px;
    background: var(--tc-border);
    border-radius: 3px;
    border: none;
}
.tc-filter-slider__input::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tc-accent);
    border: 3px solid #fff;
    box-shadow: var(--tc-shadow);
    cursor: pointer;
}
.tc-filter-slider__input:first-child {
    z-index: 2;
}
.tc-filter-slider__input:last-child {
    z-index: 3;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — CARD TITLE (shared)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--tc-text);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — CATEGORY LIST (ShopNest style)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-catlist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tc-filter-catlist__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--tc-text);
    text-decoration: none;
    transition: color var(--tc-transition);
    border-bottom: none;
}
.tc-filter-catlist__item:hover {
    color: var(--tc-accent);
}
.tc-filter-catlist__item--active {
    color: var(--tc-accent);
    font-weight: 600;
}
.tc-filter-catlist__name {
    flex: 1;
}
.tc-filter-catlist__count {
    color: var(--tc-text-muted);
    font-size: 13px;
    font-weight: 400;
    min-width: 28px;
    text-align: right;
}
.tc-filter-catlist__item--active .tc-filter-catlist__count {
    color: var(--tc-accent);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — COLOR CHECKBOXES (ShopNest style — colored circle input + label)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-colors {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tc-filter-color-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--tc-text);
    transition: color var(--tc-transition);
}
.tc-filter-color-check:hover {
    color: var(--tc-accent);
}
.tc-filter-color-check__input {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--tc-border);
    background: var(--swatch-color, #ccc);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tc-filter-color-check__input:checked {
    border-color: var(--tc-text);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tc-text);
}
.tc-filter-color-check__input:hover {
    border-color: var(--tc-text-muted);
}
.tc-filter-color-check__label {
    flex: 1;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FILTER — SIZE PILLS (ShopNest style — outline dark buttons)
   ══════════════════════════════════════════════════════════════════════════════ */
.tc-filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tc-filter-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    color: var(--tc-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
.tc-filter-size-pill:hover {
    border-color: #a3a3a3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 3px 6px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.tc-filter-size-pill--active {
    background: linear-gradient(to bottom, #2a2a2a, #171717);
    color: #fff;
    border-color: #0a0a0a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}
.tc-filter-size-pill--active:hover {
    background: linear-gradient(to bottom, #333, #1a1a1a);
    border-color: #111;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CART DRAWER — Offcanvas slide-out panel (ShopNest style)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Overlay */
.tc-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background .3s ease;
}
.tc-drawer-overlay--active {
    background: rgba(0, 0, 0, .45);
    pointer-events: auto;
}

/* Panel */
.tc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    width: 420px;
    max-width: 92vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.tc-drawer--open {
    transform: translateX(0);
}

/* Header */
.tc-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.tc-drawer__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.2px;
    margin: 0;
    color: #111;
}
.tc-drawer__count {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    margin-left: 6px;
}
.tc-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    transition: all .15s;
}
.tc-drawer__close:hover {
    background: #f5f5f5;
    color: #111;
}

/* Body — scrollable item list */
.tc-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.tc-drawer__body::-webkit-scrollbar {
    width: 4px;
}
.tc-drawer__body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* Empty state */
.tc-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.tc-drawer__empty p {
    margin: 16px 0 8px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
}
.tc-drawer__shop-link {
    font-size: 13px;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tc-drawer__shop-link:hover {
    color: #000;
}

/* Cart item row */
.tc-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.tc-drawer-item:last-child {
    border-bottom: none;
}

/* Thumbnail */
.tc-drawer-item__img-wrap {
    width: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f8f8;
}
.tc-drawer-item__img {
    width: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.tc-drawer-item__img-placeholder {
    width: 100%;
    background: #eee;
}

/* Info */
.tc-drawer-item__info {
    flex: 1;
    min-width: 0;
}
.tc-drawer-item__name {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-drawer-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.tc-drawer-item__opt {
    font-size: 11px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}
.tc-drawer-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tc-drawer-item__price {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}
.tc-drawer-item__qty {
    font-size: 13px;
    color: #888;
}

/* Remove button */
.tc-drawer-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: #bbb;
    flex-shrink: 0;
    display: flex;
    transition: all .15s;
    margin-top: 4px;
}
.tc-drawer-item__remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Footer — subtotal + buttons */
.tc-drawer__footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}
.tc-drawer__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
    color: #111;
}
.tc-drawer__subtotal strong {
    font-size: 18px;
    font-weight: 700;
}
.tc-drawer__actions {
    display: flex;
    gap: 10px;
}
.tc-drawer__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s;
}
.tc-drawer__btn--outline {
    background: #fff;
    color: #111;
    border: 1.5px solid #ddd;
}
.tc-drawer__btn--outline:hover {
    border-color: #111;
    background: #fafafa;
}
.tc-drawer__btn--primary {
    background: #111;
    color: #fff;
    border: 1.5px solid #111;
}
.tc-drawer__btn--primary:hover {
    background: #333;
    border-color: #333;
}

/* ── Added to cart button flash ─────────────────────── */
.tc-btn--added {
    background: #16a34a !important;
    color: #fff !important;
    border-color: #16a34a !important;
    pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .tc-drawer {
        width: 100vw;
        max-width: 100vw;
    }
    .tc-drawer__header { padding: 16px 18px; }
    .tc-drawer__body   { padding: 12px 18px; }
    .tc-drawer__footer { padding: 16px 18px; }
    .tc-drawer-item__img-wrap {
        width: 64px;
    }
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CART PAGE — Full shopping cart (ShopNest style)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Box-sizing + float reset */
#tc-cart,
#tc-cart *,
#tc-cart *::before,
#tc-cart *::after {
    box-sizing: border-box !important;
    float: none !important;
}

/* Full-bleed: break out of ANY constrained parent */
#tc-cart {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 max(24px, calc((100vw - 1152px) / 2)) !important;
}

/* Shared container */
.tc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page header banner */
.tc-cartpage__header {
    background: var(--tc-lightBg, #f9fafb);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}
.tc-cartpage__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.5px;
    margin: 0 0 8px;
    color: var(--tc-text, #111);
}

.tc-cartpage__content {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Two-column grid */
.tc-cartpage__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1024px) {
    .tc-cartpage__grid {
        grid-template-columns: 1fr;
    }
}

/* Items header */
.tc-cartpage__items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.tc-cartpage__items-count {
    font-size: 15px;
    font-weight: 500;
    color: var(--tc-text, #111);
}
.tc-cartpage__continue-link {
    font-size: 13px;
    color: var(--tc-muted, #666);
    text-decoration: none;
}
.tc-cartpage__continue-link:hover {
    color: var(--tc-text, #111);
}

/* Cart item row — clean grid layout */
.tc-cartpage__item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--tc-border, #eee);
}
.tc-cartpage__item:first-child {
    padding-top: 0;
}

/* Thumbnail */
.tc-cartpage__item-img-link {
    flex-shrink: 0;
}
.tc-cartpage__item-img {
    width: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-cartpage__item-img--placeholder {
    background: #f0f0f0;
}

/* Info column — name, price, options, sku, remove link */
.tc-cartpage__item-info {
    min-width: 0;
}
.tc-cartpage__item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--tc-text, #111);
    text-decoration: none;
    display: block;
    line-height: 1.4;
    margin-bottom: 2px;
}
.tc-cartpage__item-name:hover {
    text-decoration: underline;
}
.tc-cartpage__item-unit-price {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 6px;
}
.tc-cartpage__item-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}
.tc-cartpage__item-opt {
    font-size: 11px;
    color: #777;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}
.tc-cartpage__item-sku {
    font-size: 11px;
    color: #aaa;
    display: block;
    margin-bottom: 6px;
}
.tc-cartpage__item-remove-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s;
    margin-top: 4px;
}
.tc-cartpage__item-remove-link:hover {
    color: #dc2626;
}

/* Quantity — aligned in row */
.tc-cartpage__item-qty {
    align-self: center;
}

/* Quantity spinner */
.tc-cartpage__qty-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--tc-border, #ddd);
    border-radius: 8px;
    overflow: hidden;
}
.tc-cartpage__qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--tc-text, #111);
    transition: background .15s;
}
.tc-cartpage__qty-btn:hover {
    background: #f0f0f0;
}
.tc-cartpage__qty-input {
    width: 44px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--tc-text, #111);
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}
.tc-cartpage__qty-input::-webkit-outer-spin-button,
.tc-cartpage__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.tc-cartpage__qty-select {
    height: 40px;
    min-width: 80px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    padding: 0 28px 0 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--tc-font);
    color: var(--tc-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s;
}
.tc-cartpage__qty-select:focus { border-color: var(--tc-accent, #2563eb); outline: none; }

/* Line total — right aligned in grid */
.tc-cartpage__item-total {
    align-self: center;
    text-align: right;
    min-width: 80px;
}
.tc-cart__line-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--tc-text, #111);
}

/* Mobile: cart items stack */
@media (max-width: 600px) {
    .tc-cartpage__item {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }
    .tc-cartpage__item-qty {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .tc-cartpage__item-qty::before {
        content: 'Qty';
        font-size: 12px;
        color: #999;
        font-weight: 500;
    }
    .tc-cartpage__item-total {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .tc-cartpage__item-total::before {
        content: 'Total';
        font-size: 12px;
        color: #999;
        font-weight: 500;
    }
    .tc-cartpage__item-img {
        width: 70px;
    }
}

/* ── Sidebar cards ── */

.tc-cartpage__summary-card,
.tc-cartpage__promo-card,
.tc-cartpage__notes-card {
    background: var(--tc-lightBg, #f9fafb);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
}

.tc-cartpage__summary-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--tc-text, #111);
}

.tc-cartpage__summary-rows {
    border-bottom: 1px solid var(--tc-border, #e5e5e5);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.tc-cartpage__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--tc-text, #444);
    margin-bottom: 10px;
}
.tc-cartpage__summary-row:last-child { margin-bottom: 0; }
.tc-cartpage__summary-row em {
    font-style: italic;
    color: #999;
    font-size: 13px;
}
.tc-cartpage__discount {
    color: #dc2626;
    font-weight: 500;
}

.tc-cartpage__summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--tc-text, #111);
    margin-bottom: 20px;
}
.tc-cartpage__summary-total strong {
    font-size: 20px;
}

.tc-cartpage__checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.tc-cartpage__checkout-btn:hover {
    background: #333;
    color: #fff;
}

/* Promo code */
.tc-cartpage__promo-label {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--tc-text, #111);
}
.tc-cartpage__promo-label i {
    margin-right: 6px;
}
.tc-cartpage__promo-row {
    display: flex;
    gap: 8px;
}
.tc-cartpage__promo-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--tc-border, #ddd);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: var(--tc-text, #111);
}
.tc-cartpage__promo-input:focus {
    border-color: #111;
}
.tc-cartpage__promo-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.tc-cartpage__promo-btn:hover {
    background: #333;
}

/* Notes */
.tc-cartpage__notes-label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--tc-text, #111);
}
.tc-cartpage__notes-label small {
    font-weight: 400;
    color: #999;
}
.tc-cartpage__notes-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--tc-border, #ddd);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    background: #fff;
    color: var(--tc-text, #111);
}
.tc-cartpage__notes-input:focus {
    border-color: #111;
}

/* Empty state */
.tc-cartpage__empty {
    text-align: center;
    padding: 80px 20px;
}
.tc-cartpage__empty svg {
    margin-bottom: 20px;
}
.tc-cartpage__empty h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--tc-text, #111);
}
.tc-cartpage__empty p {
    font-size: 15px;
    color: #888;
    margin: 0 0 24px;
}
.tc-cartpage__empty-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #111;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.tc-cartpage__empty-btn:hover {
    background: #333;
    color: #fff;
}

/* Messages */
.tc-cart__msg {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    margin-top: 8px;
}
.tc-cart__msg--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.tc-cart__msg--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Mobile: stack items vertically */
@media (max-width: 768px) {
    .tc-cartpage__item {
        flex-wrap: wrap;
        gap: 12px;
    }
    .tc-cartpage__item-info {
        flex-basis: calc(100% - 110px);
    }
    .tc-cartpage__item-price,
    .tc-cartpage__item-qty,
    .tc-cartpage__item-total {
        text-align: left;
    }
    .tc-cartpage__item-price-label,
    .tc-cartpage__item-qty-label,
    .tc-cartpage__item-total-label {
        display: block;
    }
    .tc-cartpage__item-price { width: auto; }
    .tc-cartpage__item-total { width: auto; }
    .tc-cartpage__item-qty   { width: auto; }
}


/* (Checkout CSS moved to separate checkout.css — loaded only on /checkout/) */


/* ═══════════════════════════════════════════════════════════════════════════
   ORDER RECEIVED (THANK YOU) PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-order-received,
.tc-order-received *,
.tc-order-received *::before,
.tc-order-received *::after {
    box-sizing: border-box;
}

.tc-order-received {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Success banner ────────────────────────────────────────────────── */
.tc-order-received__banner {
    text-align: center;
    padding: 44px 20px 32px;
}
.tc-order-received__check {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 2px solid #bbf7d0;
}
.tc-order-received__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin: 0 0 6px;
    color: #171717;
    line-height: 1.3;
}
.tc-order-received__subtitle {
    font-size: 14px;
    color: #737373;
    margin: 0;
    line-height: 1.5;
}

/* ── Details grid ──────────────────────────────────────────────────── */
.tc-order-received__details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
@media (max-width: 640px) {
    .tc-order-received__details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tc-order-received__detail {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.tc-order-received__detail-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #a3a3a3;
    font-weight: 500;
    margin-bottom: 6px;
}
.tc-order-received__detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #171717;
    word-break: break-word;
}
.tc-order-received__detail-value--total {
    font-size: 17px;
}
.tc-order-received__status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: .2px;
}

/* ── Shared card ───────────────────────────────────────────────────── */
.tc-order-received__card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}
.tc-order-received__card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #171717;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* ── Items table ───────────────────────────────────────────────────── */
.tc-order-received__items-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tc-order-received__items-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 360px;
}
.tc-order-received__items-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #a3a3a3;
    font-weight: 500;
    padding: 0 0 10px;
    border-bottom: none;
}
.tc-ort__th-qty,
.tc-ort__th-total { text-align: right; }
.tc-ort__th-qty   { width: 60px; }
.tc-ort__th-total  { width: 100px; }

.tc-order-received__items-table tbody td {
    padding: 12px 0;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #f5f5f5;
    vertical-align: top;
}
.tc-ort__qty-val  { text-align: right; color: #737373; }
.tc-ort__total-val { text-align: right; font-weight: 500; }

.tc-ort__product-name {
    display: block;
    font-weight: 500;
    color: #171717;
}
.tc-ort__sku {
    display: block;
    font-size: 11px;
    color: #a3a3a3;
    margin-top: 2px;
}
.tc-ort__options {
    display: block;
    font-size: 12px;
    color: #737373;
    margin-top: 3px;
}

/* Footer rows */
.tc-order-received__items-table tfoot th {
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    padding: 8px 0;
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
}
.tc-order-received__items-table tfoot td {
    text-align: right;
    font-size: 14px;
    color: #333;
    padding: 8px 0;
    border-bottom: none;
}
.tc-order-received__items-table tfoot tr:first-child th,
.tc-order-received__items-table tfoot tr:first-child td {
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}
.tc-ort__grand-total th,
.tc-ort__grand-total td {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding-top: 12px !important;
    border-top: 1.5px solid #e5e5e5 !important;
    color: #171717 !important;
}

/* ── Addresses ─────────────────────────────────────────────────────── */
.tc-order-received__addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 640px) {
    .tc-order-received__addresses {
        grid-template-columns: 1fr;
    }
}
.tc-order-received__addresses .tc-order-received__card {
    margin-bottom: 0;
}
.tc-order-received__addr-body {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: #525252;
}
.tc-order-received__addr-meta {
    color: #737373;
    font-size: 13px;
}

/* ── Guest registration ────────────────────────────────────────────── */
.tc-order-received__create-account {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}
.tc-order-received__reg-fields {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.tc-order-received__reg-fields > div {
    flex: 1;
    min-width: 160px;
}
.tc-order-received__reg-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
}
.tc-order-received__reg-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

/* ── Actions ───────────────────────────────────────────────────────── */
.tc-order-received__actions {
    text-align: center;
    padding-top: 8px;
}

/* ── Block theme overrides ─────────────────────────────────────────── */
body.titancart-order-received .entry-content,
body.titancart-order-received .wp-site-blocks > *:not(header):not(footer) {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   SEARCH RESULTS PAGE
   ══════════════════════════════════════════════════════════════════════════════ */

.tc-search {
    max-width: var(--tc-container);
    margin: 0 auto;
    padding: 0 var(--tc-gap);
    color: var(--tc-text);
    line-height: 1.6;
}

/* Banner */
.tc-search__banner {
    text-align: center;
    padding: 40px 0 32px;
}
.tc-search__banner-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111;
}
.tc-search__breadcrumb {
    font-size: 13px;
    color: #666;
}
.tc-search__breadcrumb a {
    color: #444;
    text-decoration: none;
}
.tc-search__breadcrumb a:hover {
    text-decoration: underline;
}
.tc-search__breadcrumb .tc-sep {
    margin: 0 6px;
    color: #bbb;
}

/* Search content */
.tc-search__content {
    padding-top: 40px;
    padding-bottom: 48px;
}

/* Inline search form */
.tc-search__form {
    margin-bottom: 28px;
}
.tc-search__input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f8f8;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 6px 8px 6px 18px;
    max-width: 640px;
    margin: 0 auto;
    transition: border-color 0.15s;
}
.tc-search__input-wrap:focus-within {
    border-color: #111;
    background: #fff;
}
.tc-search__input-wrap i {
    color: #999;
    font-size: 17px;
    flex-shrink: 0;
}
.tc-search__input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #111;
    outline: none;
    padding: 8px 4px;
    font-family: inherit;
}
.tc-search__input-wrap input::placeholder {
    color: #999;
}
.tc-search__input-wrap .tc-btn {
    flex-shrink: 0;
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}
.tc-search__input-wrap .tc-btn:hover {
    background: #333;
}

/* Inline search form on results page (SR5/SR14) */
.tc-search__inline-form {
    margin-bottom: 24px;
}
.tc-search__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    background: var(--tc-bg);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 6px 6px 6px 14px;
    transition: border-color var(--tc-transition);
}
.tc-search__input-wrap:focus-within {
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.tc-search__input-wrap i {
    color: var(--tc-text-muted);
    font-size: 16px;
    flex-shrink: 0;
}
.tc-search__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--tc-font);
    color: var(--tc-text);
    background: transparent;
    min-width: 0;
}
.tc-search__input::placeholder {
    color: var(--tc-text-muted);
}

/* Results count */
.tc-search__count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Empty state */
.tc-search__empty {
    text-align: center;
    padding: 56px 24px;
    color: #888;
}
.tc-search__empty i {
    font-size: 48px;
    color: #ccc;
    display: block;
    margin-bottom: 16px;
}
.tc-search__empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}
.tc-search__empty p {
    font-size: 14px;
    color: #666;
    max-width: 420px;
    margin: 0 auto 20px;
}
.tc-search__empty .tc-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
}
.tc-search__empty .tc-btn:hover {
    background: #333;
}

/* Pagination dots */
.tc-pagination__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #888;
}

@media (max-width: 600px) {
    .tc-search__banner-title {
        font-size: 19px;
    }
    .tc-search__input-wrap {
        padding: 4px 6px 4px 14px;
    }
    .tc-search__input-wrap input {
        font-size: 14px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   Product Compare
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Compare toggle on cards ── */
.tc-compare-toggle--active {
    background: var(--tc-accent, #2563eb) !important;
    color: #fff !important;
    border-color: var(--tc-accent, #2563eb) !important;
}

/* ── Compare button on PDP ── */
.tc-pdp__compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--tc-border, #e5e5e5);
    border-radius: 999px;
    background: #fff;
    color: var(--tc-text, #0a0a0a);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--tc-font);
    cursor: pointer;
    transition: all .15s ease;
}
.tc-pdp__compare-btn:hover {
    border-color: var(--tc-accent, #2563eb);
    color: var(--tc-accent, #2563eb);
}
.tc-pdp__compare-btn.tc-compare-toggle--active {
    background: var(--tc-accent, #2563eb);
    border-color: var(--tc-accent, #2563eb);
    color: #fff;
}

/* ── Floating Compare Bar ── */
.tc-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: #1a1a2e;
    color: #fff;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.tc-compare-bar--visible { transform: translateY(0); }
.tc-compare-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.tc-compare-bar__items { display: none; } /* Future: show mini product thumbs */
.tc-compare-bar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tc-compare-bar__count {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}
.tc-compare-bar__btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--tc-font);
    transition: all .15s;
}
.tc-compare-bar__btn--compare {
    background: #fff;
    color: #1a1a2e;
}
.tc-compare-bar__btn--compare:hover { background: #f0f0f0; }
.tc-compare-bar__btn--clear {
    background: transparent;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.2);
}
.tc-compare-bar__btn--clear:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

/* ── Compare Toast ── */
.tc-compare-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--tc-font);
    z-index: 10000;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    white-space: nowrap;
}
.tc-compare-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Compare Modal ── */
.tc-compare-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    backdrop-filter: blur(3px);
}
.tc-compare-modal-overlay--open { opacity: 1; visibility: visible; }
.tc-compare-modal {
    background: #fff;
    border-radius: 16px;
    width: 95vw;
    max-width: 960px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    transform: translateY(20px);
    transition: transform .25s;
}
.tc-compare-modal-overlay--open .tc-compare-modal { transform: translateY(0); }
.tc-compare-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--tc-border, #e5e5e5);
}
.tc-compare-modal__header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.tc-compare-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.tc-compare-modal__close:hover { color: #333; }
.tc-compare-modal__body {
    flex: 1;
    overflow: auto;
    padding: 0;
}
.tc-compare-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #999;
    font-size: 14px;
}

/* ── Compare Table ── */
.tc-compare-table-wrap { overflow-x: auto; }
.tc-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tc-compare-table th,
.tc-compare-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--tc-border, #e5e5e5);
    vertical-align: top;
    min-width: 180px;
}
.tc-compare-table thead th { border-bottom: 2px solid var(--tc-border, #e5e5e5); }
.tc-compare-table__label {
    font-weight: 600;
    color: var(--tc-muted, #737373);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    min-width: 120px !important;
    width: 120px;
}
.tc-compare-table__product {
    text-align: center !important;
    position: relative;
}
.tc-compare-table__img {
    width: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.tc-compare-table__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-text, #0a0a0a);
    text-decoration: none;
    line-height: 1.4;
}
.tc-compare-table__name:hover { color: var(--tc-accent, #2563eb); }
.tc-compare-table__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f5f5f5;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-compare-table__remove:hover { background: #e5e5e5; color: #333; }
.tc-compare-table tbody tr:nth-child(even) { background: #fafafa; }
.tc-compare-table tbody td:not(.tc-compare-table__label) { text-align: center; }
@media (max-width: 600px) {
    .tc-compare-modal { width: 100vw; max-width: 100vw; border-radius: 12px 12px 0 0; max-height: 90vh; }
    .tc-compare-table th,
    .tc-compare-table td { padding: 10px 12px; min-width: 140px; font-size: 13px; }
    .tc-compare-table__img { width: 72px; }
}
