/* ==========================================
   SPORTS TRITON SHOWROOM SYSTEM  v1.2
   Premium UI Design
   ========================================== */

:root {
    --st-red: #e31e24;
    --st-red-hover: #c1121f;
    --st-ink: #101828;
    --st-muted: #667085;
    --st-border: #e4e7ec;
    --st-bg-subtle: #f9fafb;
}

/* ═══════════════════════ MODAL ═══════════════════════ */
.showroom-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2100;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.showroom-modal.active { opacity: 1; visibility: visible; }
.showroom-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(16,24,40,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.showroom-modal-container {
    position: relative; width: 92%; max-width: 960px; max-height: 88vh;
    background: #fff; border-radius: 24px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 40px 80px -12px rgba(16,24,40,0.35);
    overflow: hidden; z-index: 2;
    display: flex; flex-direction: column;
    transform: scale(0.92) translateY(30px);
    transition: transform 0.45s cubic-bezier(0.34,1.4,0.64,1);
}
.showroom-modal.active .showroom-modal-container { transform: scale(1) translateY(0); }
.showroom-modal-container::-webkit-scrollbar { width: 6px; }
.showroom-modal-container::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 3px; }

/* ═══════════════════════ MODAL CLOSE ═══════════════════════ */
.showroom-modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 20;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
    color: var(--st-muted); font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(16,24,40,0.08);
}
.showroom-modal-close:hover { background: #fff; color: var(--st-ink); transform: rotate(90deg) scale(1.05); }

/* ═══════════════════════ MODAL CONTENT ═══════════════════════ */
.showroom-modal-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    overflow-y: auto; max-height: 88vh;
}
.showroom-modal-content::-webkit-scrollbar { width: 6px; }
.showroom-modal-content::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 3px; }

/* left panel */
.showroom-modal-left {
    display: flex; flex-direction: column;
    background: linear-gradient(160deg,#f8f9fc,#f0f2f5);
    padding: 40px 32px 32px; min-height: 420px;
}
.showroom-modal-gallery { width: 100%; }

/* tab bar for gallery / video */
.st-modal-tabs {
    display: flex; gap: 4px; margin-bottom: 16px;
    background: rgba(255,255,255,0.6); padding: 4px;
    border-radius: 10px; align-self: flex-start;
}
.st-modal-tab {
    padding: 6px 16px; border-radius: 7px; border: none;
    background: transparent; color: var(--st-muted); font-size: 0.78rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
    font-family: inherit; display: flex; align-items: center; gap: 6px;
}
.st-modal-tab:hover { color: var(--st-ink); }
.st-modal-tab.active { background: #fff; color: var(--st-ink); box-shadow: 0 1px 4px rgba(16,24,40,0.08); }

/* gallery main */
.showroom-modal-gallery-main, .st-video-container {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 1/1; max-height: 380px; overflow: hidden;
    border-radius: 12px; background: rgba(255,255,255,0.5);
}
.st-video-container { display: none; }
.st-video-container iframe { width: 100%; height: 100%; border: none; border-radius: 12px; }
.showroom-modal-gallery-main img {
    max-width: 100%; max-height: 100%; object-fit: contain; cursor: pointer;
    transition: opacity 0.35s ease;
}
.showroom-modal-gallery-main img.loading { opacity: 0.4; }

/* gallery nav */
.gallery-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    color: var(--st-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; z-index: 5; font-size: 0.95rem;
    opacity: 0; box-shadow: 0 2px 8px rgba(16,24,40,0.08);
}
.showroom-modal-gallery-main:hover .gallery-nav-btn { opacity: 1; }
.gallery-nav-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); box-shadow: 0 4px 16px rgba(16,24,40,0.18); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* thumbs */
.showroom-modal-thumbs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding: 4px 2px; }
.showroom-modal-thumbs::-webkit-scrollbar { height: 3px; }
.showroom-modal-thumbs::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 2px; }
.thumb-item {
    flex: 0 0 60px; width: 60px; height: 60px; border: 2px solid transparent;
    border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0;
    background: #fff; transition: all 0.2s ease; position: relative;
}
.thumb-item::after { content: ''; position: absolute; inset: 0; border-radius: 8px; background: rgba(16,24,40,0.06); opacity: 0; transition: opacity 0.2s; }
.thumb-item:hover { border-color: #98a2b3; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16,24,40,0.1); }
.thumb-item:hover::after { opacity: 1; }
.thumb-item.active { border-color: var(--st-red); box-shadow: 0 0 0 3px rgba(227,30,36,0.15), 0 4px 12px rgba(16,24,40,0.1); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; display: block; position: relative; z-index: 1; }

/* share bar */
.showroom-modal-share {
    display: flex; align-items: center; gap: 8px; margin-top: 20px;
    padding-top: 16px; border-top: 1px solid rgba(16,24,40,0.06);
    font-size: 0.8rem; color: var(--st-muted);
}
.share-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--st-border); background: rgba(255,255,255,0.7);
    color: var(--st-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; font-size: 0.85rem;
}
.share-btn:hover { background: #fff; color: var(--st-ink); border-color: #98a2b3; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16,24,40,0.1); }
.share-btn[data-share="facebook"]:hover { color: #1877f2; border-color: #1877f2; }
.share-btn[data-share="line"]:hover { color: #06c755; border-color: #06c755; }

/* ═══════════════════════ RIGHT PANEL ═══════════════════════ */
.showroom-modal-right {
    display: flex; flex-direction: column;
    padding: 40px 36px 36px; background: #fff;
    overflow-y: auto; max-height: 88vh;
}
.showroom-modal-right::-webkit-scrollbar { width: 4px; }
.showroom-modal-right::-webkit-scrollbar-thumb { background: #e4e7ec; border-radius: 2px; }

.showroom-modal-brand {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.8px; color: var(--st-red); margin-bottom: 10px;
    padding: 4px 10px; background: rgba(227,30,36,0.06);
    border-radius: 4px; align-self: flex-start;
}
.showroom-modal-title {
    font-size: 2rem; font-weight: 800; color: var(--st-ink);
    margin-bottom: 10px; line-height: 1.2; letter-spacing: -0.5px;
}
.showroom-modal-desc {
    font-size: 0.95rem; color: #475467; line-height: 1.7; margin-bottom: 20px;
}
.showroom-modal-price {
    font-size: 1.3rem; font-weight: 700; color: #344054;
    background: linear-gradient(135deg,#f2f4f7,#eef0f3);
    padding: 10px 18px; border-radius: 100px; display: inline-block;
    align-self: flex-start; margin-bottom: 24px;
    border: 1px solid rgba(16,24,40,0.04);
}

/* wishlist & compare buttons in right panel */
.st-action-row {
    display: flex; gap: 12px; margin-bottom: 20px; align-items: center;
}
.st-action-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 8px; border: 1px solid var(--st-border);
    background: #fff; color: var(--st-muted); font-size: 0.82rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
    font-family: inherit;
}
.st-action-btn:hover { border-color: #98a2b3; color: var(--st-ink); }
.st-action-btn.active { color: var(--st-red); border-color: var(--st-red); background: rgba(227,30,36,0.04); }
.st-action-btn.active i { color: var(--st-red); }
.st-action-btn i { font-size: 0.9rem; }

/* ═══════════════════════ SWATCHES ═══════════════════════ */
.showroom-modal-swatches { margin-bottom: 20px; }
.showroom-modal-swatches h3 { font-size: 0.75rem; font-weight: 700; color: var(--st-ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.swatches-container { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-item {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid #d0d5dd; cursor: pointer; transition: all 0.2s ease; padding: 0; position: relative;
}
.swatch-item:hover { transform: scale(1.18); border-color: var(--st-ink); z-index: 2; }
.swatch-item:hover::after {
    content: attr(data-color); position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%); background: var(--st-ink); color: #fff;
    font-size: 0.65rem; font-weight: 600; padding: 4px 8px; border-radius: 4px;
    white-space: nowrap; z-index: 10; animation: tooltipIn 0.2s ease;
}
@keyframes tooltipIn { from { opacity: 0; transform: translateX(-50%) translateY(4px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.swatch-item.selected { border-color: var(--st-ink); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--st-ink); transform: scale(1.1); }

/* ═══════════════════════ QTY ═══════════════════════ */
.showroom-modal-qty { margin-bottom: 20px; }
.showroom-modal-qty h3 { font-size: 0.75rem; font-weight: 700; color: var(--st-ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.qty-selector { display: inline-flex; align-items: center; border: 1px solid #d0d5dd; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,0.04); }
.qty-btn { width: 42px; height: 42px; border: none; background: var(--st-bg-subtle); color: var(--st-ink); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; }
.qty-btn:hover { background: #eef0f3; }
.qty-btn:active { background: #e4e7ec; transform: scale(0.95); }
.qty-input { width: 52px; height: 42px; border: none; border-left: 1px solid #e4e7ec; border-right: 1px solid #e4e7ec; text-align: center; font-size: 1rem; font-weight: 700; color: var(--st-ink); background: #fff; outline: none; }

/* ═══════════════════════ SPECS ═══════════════════════ */
.showroom-modal-specs { margin-bottom: 28px; }
.showroom-modal-specs h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--st-ink); margin-bottom: 12px; letter-spacing: 0.5px; opacity: 0.7; }
.showroom-modal-specs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.showroom-modal-specs li {
    font-size: 0.88rem; color: #475467; display: flex; align-items: center;
    gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(16,24,40,0.03);
}
.showroom-modal-specs li:last-child { border-bottom: none; }
.showroom-modal-specs li::before {
    content: "✓"; color: #12b76a; font-weight: 900; font-size: 0.7rem;
    width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
    background: rgba(18,183,106,0.1); border-radius: 50%; flex-shrink: 0;
}

/* ═══════════════════════ ACTIONS ═══════════════════════ */
.showroom-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.showroom-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 18px; font-weight: 700; border-radius: 10px; text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1); font-size: 0.9rem;
    cursor: pointer; text-align: center; font-family: inherit; border: none; min-width: 0;
    position: relative; overflow: hidden;
}
.showroom-btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background 0.3s; }
.showroom-btn:hover::after { background: rgba(255,255,255,0.08); }
.showroom-btn:active { transform: scale(0.97); }
.showroom-btn-line { background: #06c755; color: #fff; box-shadow: 0 4px 14px rgba(6,199,85,0.3); }
.showroom-btn-line:hover { background: #05b04b; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,0.35); }
.showroom-btn-quote { background: var(--st-ink); color: #fff; box-shadow: 0 4px 14px rgba(16,24,40,0.18); }
.showroom-btn-quote:hover { background: #1d2939; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,24,40,0.25); }
.showroom-btn-cart { background: #fff; color: var(--st-ink); border: 2px solid #d0d5dd; }
.showroom-btn-cart:hover { background: var(--st-bg-subtle); border-color: var(--st-ink); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,24,40,0.1); }
.showroom-btn-pdf { background: #fff; color: var(--st-ink); border: 2px solid #d0d5dd; }
.showroom-btn-pdf:hover { background: var(--st-bg-subtle); border-color: var(--st-ink); transform: translateY(-2px); color: var(--st-red); }

/* ═══════════════════════ SIZE GUIDE MODAL ═══════════════════════ */
.st-sizeguide-modal {
    position: fixed; inset: 0; z-index: 2300;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.st-sizeguide-modal.active { opacity: 1; visibility: visible; }
.st-sizeguide-overlay { position: absolute; inset: 0; background: rgba(16,24,40,0.5); backdrop-filter: blur(8px); }
.st-sizeguide-container {
    position: relative; width: 90%; max-width: 640px; max-height: 85vh;
    background: #fff; border-radius: 20px; padding: 36px 32px 32px;
    box-shadow: 0 40px 80px -12px rgba(16,24,40,0.35); z-index: 2;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
    overflow-y: auto;
}
.st-sizeguide-modal.active .st-sizeguide-container { transform: scale(1) translateY(0); }
.st-sizeguide-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--st-bg-subtle); color: var(--st-muted); font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.st-sizeguide-close:hover { background: #eef0f3; color: var(--st-ink); }
.st-sizeguide-title { font-size: 1.3rem; font-weight: 800; color: var(--st-ink); margin-bottom: 20px; }
.st-sizeguide-table { width: 100%; border-collapse: collapse; }
.st-sizeguide-table th { background: var(--st-bg-subtle); color: var(--st-ink); font-size: 0.8rem; font-weight: 700; padding: 10px 12px; text-align: left; text-transform: uppercase; letter-spacing: 0.5px; }
.st-sizeguide-table td { padding: 10px 12px; font-size: 0.88rem; color: #475467; border-bottom: 1px solid #f2f4f7; }
.st-sizeguide-table tr:hover td { background: var(--st-bg-subtle); }

/* ═══════════════════════ COMPARISON BAR ═══════════════════════ */
.st-compare-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 2050;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
    border-top: 1px solid #e4e7ec;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1);
    box-shadow: 0 -8px 30px rgba(16,24,40,0.08);
}
.st-compare-bar.active { transform: translateY(0); }
.st-compare-items { display: flex; gap: 12px; flex: 1; }
.st-compare-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; background: var(--st-bg-subtle); border-radius: 8px;
    border: 1px solid #e4e7ec; font-size: 0.82rem; font-weight: 600; color: var(--st-ink);
}
.st-compare-item img { width: 36px; height: 36px; border-radius: 4px; object-fit: contain; background: #fff; }
.st-compare-item-remove { background: none; border: none; color: #98a2b3; cursor: pointer; font-size: 1rem; padding: 2px; }
.st-compare-item-remove:hover { color: var(--st-red); }
.st-compare-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.st-compare-btn { padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; font-family: inherit; border: none; transition: all 0.2s; }
.st-compare-btn-primary { background: var(--st-red); color: #fff; }
.st-compare-btn-primary:hover { background: var(--st-red-hover); transform: translateY(-2px); }
.st-compare-btn-clear { background: transparent; color: var(--st-muted); border: 1px solid #d0d5dd; }
.st-compare-btn-clear:hover { border-color: #98a2b3; color: var(--st-ink); }

/* comparison modal */
.st-compare-modal {
    position: fixed; inset: 0; z-index: 2300;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.st-compare-modal.active { opacity: 1; visibility: visible; }
.st-compare-modal-overlay { position: absolute; inset: 0; background: rgba(16,24,40,0.6); backdrop-filter: blur(12px); }
.st-compare-modal-container {
    position: relative; width: 94%; max-width: 1000px; max-height: 85vh;
    background: #fff; border-radius: 24px; padding: 36px 32px; z-index: 2;
    box-shadow: 0 40px 80px -12px rgba(16,24,40,0.35); overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
}
.st-compare-modal.active .st-compare-modal-container { transform: scale(1) translateY(0); }
.st-compare-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--st-bg-subtle); color: var(--st-muted); font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.st-compare-modal-close:hover { background: #eef0f3; color: var(--st-ink); }
.st-compare-table { width: 100%; border-collapse: collapse; }
.st-compare-table th, .st-compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #f2f4f7; font-size: 0.9rem; }
.st-compare-table th { background: var(--st-bg-subtle); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--st-muted); text-align: center; }
.st-compare-table td { color: #475467; }
.st-compare-table .st-compare-label { text-align: left; font-weight: 600; color: var(--st-ink); background: #fff; }
.st-compare-table img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto; border-radius: 8px; background: #f9fafb; }

/* ═══════════════════════ TOAST ═══════════════════════ */
.st-toast-container {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.st-toast {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
    background: var(--st-ink); color: #fff; border-radius: 12px; font-size: 0.9rem;
    font-weight: 600; font-family: inherit;
    box-shadow: 0 12px 40px rgba(16,24,40,0.25);
    pointer-events: auto;
    animation: toastIn 0.4s cubic-bezier(0.34,1.4,0.64,1) forwards;
    white-space: nowrap;
}
.st-toast.st-toast-out { animation: toastOut 0.35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(10px) scale(0.95); } }

/* ═══════════════════════ QUICK VIEW ═══════════════════════ */
.product-image { position: relative; }
.product-quick-view {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    color: #475467; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; opacity: 0; transform: translateY(-8px) scale(0.9);
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1); z-index: 3;
    box-shadow: 0 4px 12px rgba(16,24,40,0.08);
}
.product-card:hover .product-quick-view, .product-card:hover .st-wishlist-btn { opacity: 1; transform: translateY(0) scale(1); }
.product-quick-view:hover { background: var(--st-red); color: #fff; border-color: var(--st-red); transform: translateY(-2px) scale(1.05); }

/* wishlist heart on product card */
.st-wishlist-btn {
    position: absolute; top: 12px; left: 12px;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    color: #98a2b3; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; opacity: 0; transform: translateY(-8px) scale(0.9);
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1); z-index: 3;
    box-shadow: 0 4px 12px rgba(16,24,40,0.08);
}
.st-wishlist-btn.in-wishlist { opacity: 1; transform: translateY(0) scale(1); color: var(--st-red); background: rgba(255,255,255,0.95); border-color: var(--st-red); }
.st-wishlist-btn:hover { color: var(--st-red); border-color: var(--st-red); transform: translateY(-2px) scale(1.05); }

/* compare checkbox on card */
.st-compare-check {
    position: absolute; bottom: 12px; left: 12px; z-index: 3;
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
    padding: 4px 10px 4px 6px; border-radius: 6px;
    border: 1px solid rgba(16,24,40,0.08); font-size: 0.7rem;
    font-weight: 600; color: var(--st-muted); cursor: pointer;
    opacity: 0; transition: opacity 0.2s;
}
.product-card:hover .st-compare-check { opacity: 1; }
.st-compare-check input { accent-color: var(--st-red); margin: 0; cursor: pointer; }

/* ═══════════════════════ PRODUCT CARD ═══════════════════════ */
.product-card { position: relative; transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); cursor: pointer; }
.product-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: 9px;
    background: linear-gradient(135deg, rgba(227,30,36,0.08), transparent 40%, rgba(16,24,40,0.04));
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

/* ═══════════════════════ INQUIRY CART FLOAT ═══════════════════════ */
.inquiry-cart-float {
    position: fixed; bottom: 28px; left: 28px; z-index: 2000;
    animation: floatIn 0.6s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes floatIn { from { opacity: 0; transform: translateY(20px) scale(0.8); } to { opacity: 1; transform: translateY(0) scale(1); } }
.inquiry-cart-btn {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    background: var(--st-red); color: #fff; font-size: 1.4rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 28px rgba(227,30,36,0.35);
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1); position: relative;
}
.inquiry-cart-btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 40px rgba(227,30,36,0.4); }
.inquiry-cart-btn:active { transform: scale(0.95); }
.inquiry-cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--st-ink); color: #fff;
    font-size: 0.7rem; font-weight: 800; min-width: 22px; height: 22px;
    border-radius: 11px; display: flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid #fff;
    animation: badgePop 0.4s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes badgePop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* wishlist float */
.st-wishlist-float {
    position: fixed; bottom: 28px; left: 96px; z-index: 2000;
    animation: floatIn 0.6s cubic-bezier(0.34,1.4,0.64,1);
}
.st-wishlist-float-btn {
    width: 52px; height: 52px; border-radius: 50%; border: none;
    background: #fff; color: var(--st-red); font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(16,24,40,0.12);
    transition: all 0.25s; position: relative;
    border: 1px solid #e4e7ec;
}
.st-wishlist-float-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(16,24,40,0.18); }
.st-wishlist-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--st-red); color: #fff;
    font-size: 0.65rem; font-weight: 800; min-width: 20px; height: 20px;
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 2px solid #fff;
}

/* ═══════════════════════ INQUIRY CART MODAL ═══════════════════════ */
.inquiry-cart-modal, .st-wishlist-modal {
    position: fixed; inset: 0; z-index: 2200;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.inquiry-cart-modal.active, .st-wishlist-modal.active { opacity: 1; visibility: visible; }
.inquiry-cart-overlay, .st-wishlist-overlay { position: absolute; inset: 0; background: rgba(16,24,40,0.5); backdrop-filter: blur(8px); }
.inquiry-cart-container, .st-wishlist-container {
    position: relative; width: 90%; max-width: 500px; max-height: 75vh;
    background: #fff; border-radius: 20px;
    box-shadow: 0 40px 80px -12px rgba(16,24,40,0.35); z-index: 2;
    display: flex; flex-direction: column; overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
}
.inquiry-cart-modal.active .inquiry-cart-container,
.st-wishlist-modal.active .st-wishlist-container { transform: scale(1) translateY(0); }
.inquiry-cart-header, .st-wishlist-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid #f2f4f7;
    background: #fff; position: sticky; top: 0; z-index: 2;
}
.inquiry-cart-header h3, .st-wishlist-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--st-ink); margin: 0; display: flex; align-items: center; gap: 8px; }
.inquiry-cart-close, .st-wishlist-close {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: var(--st-bg-subtle); color: var(--st-muted);
    font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.inquiry-cart-close:hover, .st-wishlist-close:hover { background: #eef0f3; color: var(--st-ink); }
.inquiry-cart-body, .st-wishlist-body { flex: 1; overflow-y: auto; padding: 16px 24px; min-height: 120px; }
.inquiry-cart-body::-webkit-scrollbar, .st-wishlist-body::-webkit-scrollbar { width: 4px; }
.inquiry-cart-body::-webkit-scrollbar-thumb, .st-wishlist-body::-webkit-scrollbar-thumb { background: #e4e7ec; border-radius: 2px; }
.inquiry-cart-empty, .st-wishlist-empty {
    text-align: center; color: var(--st-muted); padding: 50px 0 40px;
    font-size: 0.9rem; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.inquiry-cart-empty::before { content: '\f07a'; font-family: 'Font Awesome 6 Free'; font-weight: 400; font-size: 2.5rem; color: #d0d5dd; }
.st-wishlist-empty::before { content: '\f004'; font-family: 'Font Awesome 6 Free'; font-weight: 400; font-size: 2.5rem; color: #d0d5dd; }
.inquiry-cart-list, .st-wishlist-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.inquiry-cart-item, .st-wishlist-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px; background: var(--st-bg-subtle); border-radius: 12px;
    border: 1px solid rgba(16,24,40,0.04); transition: all 0.2s;
}
.inquiry-cart-item:hover, .st-wishlist-item:hover { border-color: #d0d5dd; background: #f2f4f7; }
.inquiry-cart-item-img, .st-wishlist-item-img { width: 60px; height: 60px; border-radius: 8px; object-fit: contain; background: #fff; flex-shrink: 0; border: 1px solid #e4e7ec; }
.inquiry-cart-item-info, .st-wishlist-item-info { flex: 1; min-width: 0; }
.inquiry-cart-item-info strong, .st-wishlist-item-info strong { display: block; font-size: 0.9rem; color: var(--st-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-cart-item-info span, .st-wishlist-item-info span { font-size: 0.75rem; color: var(--st-muted); }
.inquiry-cart-item-info small, .st-wishlist-item-info small { display: block; font-size: 0.78rem; color: #475467; margin-top: 4px; font-weight: 600; }
.inquiry-cart-item-remove, .st-wishlist-item-remove {
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: transparent; color: #98a2b3; font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; flex-shrink: 0;
}
.inquiry-cart-item-remove:hover, .st-wishlist-item-remove:hover { background: #fee2e2; color: var(--st-red); transform: scale(1.1); }
.inquiry-cart-footer, .st-wishlist-footer {
    display: flex; gap: 10px; padding: 16px 24px;
    border-top: 1px solid #f2f4f7; background: #fff; position: sticky; bottom: 0;
}
.inquiry-cart-footer .btn, .st-wishlist-footer .btn { flex: 1; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-size: 0.95rem; font-weight: 600;
    border-radius: 10px; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1);
    text-decoration: none; font-family: inherit; border: none;
}
.btn-outline { background: transparent; color: var(--st-ink); border: 2px solid #d0d5dd; }
.btn-outline:hover { border-color: var(--st-ink); background: var(--st-bg-subtle); transform: translateY(-2px); }
.btn-red { background: var(--st-red); color: #fff; }
.btn-red:hover { background: var(--st-red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227,30,36,0.25); }

/* ═══════════════════════ RECENTLY VIEWED CAROUSEL ═══════════════════════ */
.st-recently-viewed {
    padding: 40px 0; background: var(--st-bg-subtle);
}
.st-recently-viewed .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.st-recently-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.st-recently-header h2 {
    font-size: 1.3rem; font-weight: 700; color: var(--st-ink); margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.st-recently-header h2 i { color: var(--st-red); }
.st-recently-scroll {
    display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px;
    scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.st-recently-scroll::-webkit-scrollbar { height: 4px; }
.st-recently-scroll::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 2px; }
.st-recently-card {
    flex: 0 0 140px; scroll-snap-align: start;
    background: #fff; border-radius: 12px; padding: 12px;
    border: 1px solid #e4e7ec; text-align: center;
    transition: all 0.2s; cursor: pointer;
}
.st-recently-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(16,24,40,0.1); border-color: #d0d5dd; }
.st-recently-card img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 8px; }
.st-recently-card strong { display: block; font-size: 0.75rem; color: var(--st-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-recently-card span { font-size: 0.65rem; color: var(--st-muted); }

/* ═══════════════════════ PRODUCT PAGE INQUIRY ═══════════════════════ */
.triton-showroom-inquiry-wrapper { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.triton-showroom-price-label { font-size: 1.25rem; font-weight: 700; color: #475467; }
.woocommerce div.product .triton-showroom-price-label { font-size: inherit; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 820px) {
    .showroom-modal-content { grid-template-columns: 1fr; }
    .showroom-modal-left { min-height: 280px; padding: 24px 20px 20px; }
    .showroom-modal-right { padding: 28px 24px; max-height: none; }
    .showroom-modal-gallery-main img { max-height: 240px; }
    .showroom-modal-title { font-size: 1.5rem; }
    .showroom-modal-actions { flex-direction: column; }
    .gallery-nav-btn { width: 34px; height: 34px; font-size: 0.8rem; opacity: 1; background: rgba(255,255,255,0.95); }
    .inquiry-cart-float { bottom: 20px; left: 20px; }
    .inquiry-cart-btn { width: 52px; height: 52px; font-size: 1.2rem; }
    .st-wishlist-float { bottom: 20px; left: 80px; }
    .st-wishlist-float-btn { width: 44px; height: 44px; font-size: 1rem; }
    .thumb-item { flex: 0 0 48px; width: 48px; height: 48px; }
    .st-compare-bar { flex-direction: column; gap: 12px; padding: 12px 16px; }
    .st-compare-items { width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
    .showroom-modal-container { width: 96%; border-radius: 16px; max-height: 92vh; }
    .showroom-modal-left { min-height: 220px; padding: 16px 14px 14px; }
    .showroom-modal-right { padding: 20px 18px; }
    .showroom-modal-title { font-size: 1.25rem; }
    .showroom-btn { font-size: 0.82rem; padding: 12px 14px; }
    .inquiry-cart-float { bottom: 16px; left: 16px; }
    .inquiry-cart-btn { width: 48px; height: 48px; font-size: 1.1rem; }
    .st-wishlist-float { bottom: 16px; left: 72px; }
    .st-wishlist-float-btn { width: 40px; height: 40px; font-size: 0.9rem; }
}
