/*
    Terra Skin Extended Styles
    Consolidated from various Blade templates
*/

:root {
    /* Kinetic Minimalist Palette */
    --ts-primary: #AB3600; /* Function Core */
    --ts-primary-container: #FF5F1F; /* Neon Orange CTA */
    --ts-on-primary: #FFFFFF;

    --ts-on-surface: #1A1C1C; /* Ink Black */
    --ts-surface: #F9F9F9;
    --ts-surface-container-lowest: #FFFFFF;
    --ts-surface-container-low: #F3F3F4;
    --ts-surface-container-high: #EBEBEB;
    --ts-surface-container-highest: #E2E2E2;

    /* Legacy compatibility mappings */
    --ts-accent: var(--ts-primary-container);
    --ts-dark: var(--ts-on-surface);
    --ts-white: #FFFFFF;
    --ts-gray: #4B5563;
    --ts-gray-light: #9CA3AF;

    --ts-success: #10B981;
    --ts-danger: #EF4444;

    /* Kinetic Effects */
    --ts-gradient-primary: linear-gradient(135deg, #AB3600 0%, #FF5F1F 100%);
    --ts-shadow-ambient: 0 8px 24px rgba(26, 28, 28, 0.08);

    /* Sharp Architectural Geometry */
    --ts-radius: 4px;
    --ts-radius-sm: 2px;
    --ts-radius-md: 4px;
    --ts-radius-lg: 4px;
    --ts-radius-xl: 4px;

    /* Editorial Typography */
    --ts-font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --ts-font-display: 'Inter', sans-serif;
    --ts-letter-spacing-tight: -0.02em;
    --ts-letter-spacing-wide: 0.05em;

    /* Custom Gradients */
    --ts-gradient: linear-gradient(135deg, #AB3600 0%, #FF5F1F 100%);
    --ts-gradient-warm: linear-gradient(135deg, #FF5F1F 0%, #AB3600 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--ts-font-main);
    background: var(--ts-surface);
    color: var(--ts-on-surface);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    letter-spacing: var(--ts-letter-spacing-tight);
    font-weight: 800;
}

.container {
    max-width: 1240px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Layout Utilities */
.ts-flex-center { display: flex; align-items: center; justify-content: center; }
.ts-aspect-square { aspect-ratio: 1 / 1; }
.ts-aspect-video { aspect-ratio: 16 / 9; }
.ts-img-cover { object-fit: cover; width: 100%; height: 100%; }
.ts-z-10 { z-index: 10; }
.text-ts-primary { color: var(--ts-primary-container) !important; }
.bg-ts-primary { background: var(--ts-primary-container) !important; }

.form-control, .form-select {
    border-radius: var(--ts-radius);
    border: 1.5px solid #e2e8f0;
    min-height: 46px;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 12px;
}
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.25em;
    border-color: #d9e2ef;
    cursor: pointer;
}
.form-control:focus, .form-select:focus {
    border-color: var(--ts-accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
    outline: 0;
}
.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
    border-color: var(--ts-accent);
}
.form-check-input:checked {
    background-color: var(--ts-accent);
    border-color: var(--ts-accent);
}
.form-control::placeholder { color: #94a3b8; }

/* Global Selection/Highlight Color (Eliminate Blue) */
::selection {
    background: var(--ts-accent);
    color: var(--ts-dark);
}
::-moz-selection {
    background: var(--ts-accent);
    color: var(--ts-dark);
}

/* Base Button Architecture */
.btn {
    border-radius: 8px; /* Refined semi-pill */
    font-weight: 800;
    padding: 12px 24px;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    z-index: 1;
}

.btn:active {
    transform: scale(0.97);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.7rem;
    border-radius: 6px;
}

/* Primary - The Hero Button */
.btn-ts-primary {
    background: var(--ts-primary-container); /* Neon Orange Highlight */
    color: var(--ts-white);
    border: 2px solid var(--ts-primary-container);
}

.btn-ts-primary:hover {
    background: var(--ts-on-surface); /* Shift to Black */
    border-color: var(--ts-on-surface);
    color: var(--ts-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Accent - The Specialized CTA */
.btn-ts-accent {
    background: var(--ts-on-surface);
    color: var(--ts-white);
    border: 2px solid var(--ts-on-surface);
}

.btn-ts-accent:hover {
    background: var(--ts-on-surface);
    border-color: var(--ts-on-surface);
    color: var(--ts-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Outline - The Subtle Utility */
.btn-ts-outline {
    background: transparent;
    color: var(--ts-on-surface);
    border: 2px solid rgba(26, 28, 28, 0.15);
}

.btn-ts-outline:hover {
    background: var(--ts-on-surface);
    border-color: var(--ts-on-surface);
    color: var(--ts-white) !important;
    transform: translateY(-2px);
}

/* Dark - The Secondary Core */
.btn-ts-dark {
    background: rgba(26, 28, 28, 0.05);
    color: var(--ts-on-surface);
    border: 2px solid transparent;
}

.btn-ts-dark:hover {
    background: var(--ts-on-surface);
    color: var(--ts-white) !important;
    transform: translateY(-2px);
}

/* Glass Variant - Premium translucency */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ts-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.text-uppercase { text-transform: uppercase !important; }
.text-none { text-transform: none !important; }

/* ===== TOP BAR ===== */
.ts-topbar {
    background: var(--ts-dark);
    color: var(--ts-white);
    font-size: 0.8rem;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.ts-topbar a { color: var(--ts-gray-light); text-decoration: none; transition: color 0.2s; }
.ts-topbar a:hover { color: var(--ts-white); }

/* ===== NAVBAR ===== */
.ts-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
    padding: 10px 0;
}
.ts-navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.ts-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.3s;
}
.ts-logo:hover {
    opacity: 0.75;
    transform: scale(0.98);
}
.ts-brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: 0.35em;
    color: var(--ts-dark);
    text-transform: uppercase;
    margin-bottom: 4px;
    margin-right: -0.35em;
}
.ts-brand-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.42rem;
    letter-spacing: 0.85em;
    color: var(--ts-dark);
    text-transform: uppercase;
    margin-right: -0.85em;
    opacity: 0.7;
}
/* Inverted logo for dark backgrounds (footer) */
.ts-footer .ts-brand-name {
    color: var(--ts-white);
}
.ts-footer .ts-brand-tagline {
    color: var(--ts-white);
    opacity: 0.5;
}

.ts-logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.3s;
}

@media (max-width: 768px) {
    .ts-logo-image { height: 45px; }
}
@media (max-width: 480px) {
    .ts-logo-image { height: 38px; }
}

/* Redefine dropdown item states to eliminate Bootstrap blue */
.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    background-color: #fff !important;
}
.dropdown-item {
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    color: var(--ts-dark) !important;
}
.dropdown-item:active,
.dropdown-item.active {
    background-color: var(--ts-accent) !important;
    color: var(--ts-white) !important;
}
.dropdown-item:focus {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: var(--ts-dark) !important;
}
.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
    color: var(--ts-dark) !important;
}

.ts-nav-link {
    font-weight: 700;
    color: var(--ts-on-surface) !important;
    padding: 8px 12px !important;
    font-size: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: var(--ts-letter-spacing-wide);
    text-transform: uppercase;
    text-decoration: none !important;
}
.ts-nav-link:hover, .ts-nav-link.active {
    color: var(--ts-primary-container) !important;
}
.ts-nav-link::before { display: none !important; }

/* Nav link styling consolidated in .ts-nav-link */
/* All underlines removed */

.ts-nav-icons a {
    color: var(--ts-dark);
    font-size: 1.25rem;
    padding: 8px 10px;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
    border-radius: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .ts-nav-icons a { padding: 6px 6px; font-size: 1.15rem; }
    .ts-nav-icons { gap: 4px !important; }
}

.ts-nav-icons a:hover { color: var(--ts-accent); background: rgba(0, 0, 0, 0.05); }

.ts-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ts-gradient-warm);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 95, 31, 0.3);
    line-height: 1;
}

/* Button Overrides - Removed legacy block */

/* ===== CARDS ===== */
.ts-card {
    background: var(--ts-surface-container-lowest);
    border-radius: var(--ts-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: 100%;
}
.ts-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ts-shadow-ambient);
}
.ts-card-img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
}
.ts-card .ts-card-body {
    padding: 20px;
}
/* ===== BADGES & OVERLAYS ===== */
.ts-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    pointer-events: none;
}
.ts-badge {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
}
.ts-badge-sale {
    background: var(--ts-accent);
    color: var(--ts-white);
}
.ts-badge-customizable {
    background: var(--ts-secondary);
    color: white;
}
.ts-badge-new {
    background: var(--ts-primary);
    color: white;
}
.ts-price {
    font-family: var(--ts-font-display);
    color: var(--ts-primary);
    font-weight: 700;
    font-size: 1.2rem;
}
.ts-price-original {
    text-decoration: line-through;
    color: var(--ts-gray-light);
    font-size: 0.9rem;
    margin-left: 8px;
}
.ts-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.ts-wishlist-btn:hover {
    transform: scale(1.1);
    background: white;
}
.ts-wishlist-btn i {
    color: var(--ts-gray-light);
    transition: all 0.3s;
}
.ts-wishlist-btn:hover i, .ts-wishlist-btn.active i {
    color: var(--ts-danger);
}
.ts-wishlist-btn i.bi-heart-fill {
    color: var(--ts-danger);
}

.theme-wishlist-btn:hover {
    background: transparent !important;
    color: var(--ts-danger) !important;
}
.theme-wishlist-btn.active i, .theme-wishlist-btn:hover i {
    color: var(--ts-danger) !important;
}

.ts-quick-add {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ts-dark);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--ts-radius);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 5;
}
.ts-card:hover .ts-quick-add {
    bottom: 12px;
}

/* ===== SECTION STYLES ===== */
.ts-section {
    padding: 80px 0;
}

.ts-auth-section {
    padding: 28px 0 60px;
}

@media (max-width: 576px) {
    .ts-auth-section {
        padding: 20px 0 50px;
    }
}
.ts-section-title {
    font-family: var(--ts-font-display);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--ts-dark);
}
.ts-section-subtitle {
    color: var(--ts-gray);
    font-size: 1.05rem;
    margin-bottom: 48px;
}
.ts-section-line {
    width: 60px;
    height: 4px;
    background: var(--ts-gradient-primary);
    border-radius: 0;
    margin-bottom: 32px;
}

/* ===== HERO ===== */
.ts-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #000000;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ts-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.ts-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
}
.ts-hero-title {
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 3.8rem;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 24px;
}
.ts-hero-title span {
    background: var(--ts-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ts-text-gradient {
    background: var(--ts-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ts-hero-text {
    color: #4b5563;
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 480px;
}
.ts-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}
.ts-hero-stat h4 {
    font-family: var(--ts-font-display);
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
}
.ts-hero-stat p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

/* ===== CATEGORY CARDS ===== */
.ts-category-card {
    background: var(--ts-surface-container-lowest);
    border-radius: var(--ts-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none !important;
    display: block;
}
.ts-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ts-shadow-ambient);
}
.ts-category-icon {
    width: 64px;
    height: 64px;
    background: var(--ts-surface-container-low);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--ts-on-surface);
    transition: all 0.3s;
}
.ts-category-card:hover .ts-category-icon {
    background: var(--ts-primary-container);
    color: var(--ts-on-primary);
}

/* ===== BUILD YOUR SKIN ===== */
.ts-customizer-section {
    background: #000000;
    position: relative;
    overflow: hidden;
}
.ts-customizer-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* ===== REVIEWS ===== */
.ts-review-card {
    background: white;
    border-radius: var(--ts-radius-lg);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.04);
}
.ts-stars {
    color: var(--ts-accent);
    font-size: 0.9rem;
}

/* ===== NEWSLETTER ===== */
.ts-newsletter {
    background: var(--ts-gradient);
    border-radius: var(--ts-radius-xl);
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}
.ts-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.ts-newsletter input {
    border: none;
    padding: 14px 20px;
    border-radius: var(--ts-radius);
    font-size: 0.95rem;
    width: 100%;
    min-height: 46px;
}

/* ===== FOOTER ===== */
.ts-footer {
    background: #000000;
    color: rgba(255,255,255,0.7);
    padding: 100px 0 40px;
    position: relative;
    border-top: 5px solid var(--ts-accent);
}
.ts-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.ts-footer h5 {
    color: white;
    font-family: var(--ts-font-display);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
    padding-bottom: 12px;
}
.ts-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--ts-accent);
}
.ts-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
}
.ts-footer a:hover {
    color: var(--ts-accent);
    transform: translateX(8px);
}
.ts-footer-social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.ts-footer-social-icon:hover {
    background: var(--ts-accent);
    color: var(--ts-dark) !important;
    transform: translateY(-5px) scale(1.1);
    border-color: var(--ts-accent);
}
.ts-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    margin-top: 60px;
}
.ts-footer-bottom a {
    display: inline !important;
    padding: 0 !important;
    color: var(--ts-accent);
}
.ts-footer-bottom a:hover {
    text-decoration: underline;
    transform: none;
}

/* ===== BREADCRUMB ===== */
.ts-breadcrumb {
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
    padding: 16px 0;
}
.ts-breadcrumb a {
    color: var(--ts-gray);
    text-decoration: none;
    font-size: 0.88rem;
}
.ts-breadcrumb a:hover { color: var(--ts-primary); }
.ts-breadcrumb .active { color: var(--ts-dark); font-weight: 500; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 4s ease-in-out infinite 2s;
}

@keyframes pulse-custom {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}
.animate-pulse {
    animation: pulse-custom 2s ease-in-out infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.ts-announcement-bar .marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}
.ts-announcement-bar:hover .marquee-content {
    animation-play-state: paused;
}

.ls-1 { letter-spacing: 0.1em; }
.ls-2 { letter-spacing: 0.2em; }
.ls-tight { letter-spacing: -0.02em; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.extra-small { font-size: 0.7rem; }
.backdrop-blur { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== CHECKOUT ACCORDIONS (Theme Integrated) ===== */
.ts-checkout-accordion {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--ts-radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--ts-white);
    box-shadow: var(--ts-shadow);
}
.ts-accordion-header {
    background: var(--ts-dark);
    color: var(--ts-white);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    user-select: none;
    font-family: var(--ts-font-display);
}
.ts-accordion-header i { font-size: 1.25rem; }
.ts-accordion-content {
    background: var(--ts-white);
    padding: 24px;
}

.btn-ts-theme-sm {
    background: var(--ts-gradient);
    color: var(--ts-white);
    border: none;
    padding: 9px 20px;
    border-radius: var(--ts-radius);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    font-family: var(--ts-font-display);
}
.btn-ts-theme-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
    color: var(--ts-white);
}

.ts-address-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.ts-address-table th {
    font-family: var(--ts-font-display);
    font-weight: 700;
    color: var(--ts-gray);
    padding: 8px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}
.ts-address-row {
    background: var(--ts-bg);
    transition: all 0.2s ease;
}
.ts-address-row td {
    padding: 16px 12px;
    font-size: 0.88rem;
    vertical-align: top;
    color: var(--ts-dark);
}
.ts-address-row:hover {
    background: #F1F5F9;
    transform: scale(1.005);
}
.ts-address-radio {
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
    accent-color: var(--ts-primary);
}

.ts-checkout-label {
    font-family: var(--ts-font-display);
    font-weight: 600;
    color: var(--ts-dark-light);
    margin-bottom: 8px;
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ===== ALERTS ===== */
.ts-alert {
    border-radius: var(--ts-radius);
    padding: 14px 20px;
    font-size: 0.93rem;
    border: none;
}

/* ===== TOAST NOTIFICATIONS ===== */
.ts-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
}
.animate-slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Global Transition */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.transition-all {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ts-hero-title { font-size: 2.4rem; }
    .ts-hero-stats { gap: 20px; flex-wrap: wrap; }
    .ts-section { padding: 50px 0; }
    .ts-section-title { font-size: 1.7rem; }
    .ts-newsletter { padding: 36px 24px; }
    .ts-nav-icons a { padding: 8px 10px; }
}

@media (max-width: 576px) {
    .ts-hero-title { font-size: 1.85rem; }
    .ts-hero { min-height: 65vh; padding-top: 40px; }
    .ts-hero-text { font-size: 0.95rem; }
    .btn-ts-primary, .btn-ts-outline { padding: 10px 20px; font-size: 0.85rem; }
    .container { padding-left: 15px; padding-right: 15px; }
    .ts-toast { left: 15px; right: 15px; max-width: none; }
    .ts-section { padding: 40px 0; }
    .ts-section-title { font-size: 1.55rem; }
    .row { --bs-gutter-x: 1rem; }
}

@media (max-width: 380px) {
    .ts-hero-title { font-size: 1.65rem; }
    .ts-nav-icons { gap: 2px !important; }
    .ts-nav-icons a { font-size: 1.05rem; }
    .ts-logo-image { height: 34px; }
}

/* ===== TOAST ===== */
.ts-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ts-bg); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    border-radius: 4px;
}

/* ===== UTILITIES & MODERN HELPERS ===== */
.ts-z-5 { z-index: 5 !important; }
.ts-z-10 { z-index: 10 !important; }

/* ===== CHECKOUT SPECIFIC ===== */
.ts-checkout-summary-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.ts-section input,
.ts-section textarea,
.ts-section select,
.ts-section button {
    font-family: var(--ts-font) !important;
}

.ts-address-card {
    border: 2px solid rgba(0,0,0,0.06);
    border-radius: var(--ts-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
    height: 100%;
    font-family: var(--ts-font);
}
.ts-address-card h6 {
    font-family: var(--ts-font-display);
    letter-spacing: -0.01em;
}
.ts-address-card:hover {
    border-color: var(--ts-accent);
    background: #fffcf0;
}
.ts-address-card.active {
    border-color: var(--ts-primary);
    background: #fffdf5;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.1);
}
.ts-address-card.active h6 {
    color: var(--ts-primary);
}
.ts-address-card.add-new {
    border: 2px dashed var(--ts-accent);
    min-height: 150px;
}
.ts-address-card.add-new:hover {
    border-style: solid;
    background: #f5f3ff;
}
.ts-address-check {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: var(--ts-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
}

/* ===== Customizer Background Preview ===== */
.ts-bg-preview-ink { background: #1E293B; }
.ts-bg-preview-primary { background: var(--ts-primary); }
.ts-bg-preview-sky { background: #0EA5E9; }
.ts-bg-preview-success { background: #10B981; }
.ts-bg-preview-warning { background: #F59E0B; }
.ts-bg-preview-danger { background: #EF4444; }
.ts-bg-preview-white { background: #FFFFFF; }

.ts-flex-center { display: flex; align-items: center; justify-content: center; }
.ts-img-cover { width: 100%; height: 100%; object-fit: cover; }
.ts-aspect-square { aspect-ratio: 1; }
.ts-aspect-video { aspect-ratio: 16/9; }

.ts-sticky-sidebar { position: sticky; top: 100px; z-index: 100; }
.ts-border-subtle { border-color: rgba(0,0,0,0.04) !important; }
.ts-border-dashed-light { border: 2px dashed rgba(255,255,255,0.15); }
.ts-transition-300 { transition: all 0.3s ease; }

.ts-font-display { font-family: var(--ts-font-display) !important; }
.ts-fw-semibold { font-weight: 600; }
.ts-fw-bold { font-weight: 700; }

.ts-text-xs { font-size: 0.7rem; }
.ts-text-sm { font-size: 0.85rem; }
.ts-text-md { font-size: 0.95rem; }
.ts-text-lg { font-size: 1.1rem; }
.ts-text-xl { font-size: 1.3rem; }
.ts-text-hero-lg { font-size: 2.5rem; }
.ts-text-muted-light { color: var(--ts-gray-light); }
.ts-text-white-60 { color: rgba(255,255,255,0.6); }

/* Icons & Boxes */
.ts-icon-hero { font-size: 5rem; }
.ts-icon-lg { font-size: 3rem; }
.ts-icon-md { font-size: 1.5rem; }
.ts-icon-sm { font-size: 1.2rem; }

.ts-box-24 { width: 24px; height: 24px; border-radius: 6px; }
.ts-box-32 { width: 32px; height: 32px; border-radius: 8px; }
.ts-box-36 { width: 36px; height: 36px; border-radius: 10px; }
.ts-box-42 { width: 42px; height: 42px; border-radius: 10px; }
.ts-box-48 { width: 48px; height: 48px; border-radius: 12px; }
.ts-box-50 { width: 50px; height: 50px; border-radius: 12px; }
.ts-box-60 { width: 60px; height: 60px; border-radius: 16px; }
.ts-box-64 { width: 64px; height: 64px; border-radius: 16px; }
.ts-box-80 { width: 80px; height: 80px; border-radius: 12px; }

/* Backgrounds & Gradients */
.ts-bg-gradient { background: var(--ts-gradient); }
.ts-bg-shipping-banner { background: var(--ts-gradient); padding: 16px 0; }
.ts-bg-soft-blue { background: linear-gradient(135deg, #f0f4ff, #e8ecf8); }
.ts-bg-soft-purple { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.ts-bg-light-section { background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFC 100%); }
.ts-bg-breadcrumb { background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%); padding: 16px 0; }

/* Custom Overrides */
.ts-hero-stat h4 { margin-bottom: 2px; }
.ts-hero-text { margin-bottom: 24px !important; }
.ts-newsletter h3 { font-family: var(--ts-font-display); }

/* Responsiveness Fixes */
@media (max-width: 576px) {
    .ts-hero-mockup.responsive-mockup {
        max-width: 280px;
        height: 380px;
    }
}

/* ===== OFFER TICKER BAR ===== */
.ts-offer-ticker {
    background: linear-gradient(90deg, #F59E0B 0%, #EF4444 50%, #F59E0B 100%);
    background-size: 200% 100%;
    animation: tickerGradient 4s ease infinite;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
@keyframes tickerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.ts-ticker-track {
    display: flex;
    animation: tickerScroll 25s linear infinite;
    width: max-content;
}
.ts-offer-ticker:hover .ts-ticker-track {
    animation-play-state: paused;
}
.ts-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 40px;
    letter-spacing: 0.02em;
}
.ts-ticker-item .ts-ticker-code {
    background: rgba(255,255,255,0.25);
    padding: 2px 10px;
    border-radius: 6px;
    font-family: var(--ts-font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px dashed rgba(255,255,255,0.5);
}
.ts-ticker-divider {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HOME PAGE SPECIALS ===== */
.ts-hero-mockup {
    width: 100%;
    max-width: 340px;
    height: 440px;
    background: linear-gradient(145deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
}
.ts-hero-float {
    position: absolute;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 14px;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.ts-hero-float-top { top: -10px; right: 20px; }
.ts-hero-float-bottom { bottom: 40px; left: -10px; }

.ts-feature-icon-box {
    width: 44px;
    height: 44px;
    background: var(--ts-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ===== OFFERS PARTIAL ===== */
.ts-offers-section {
    background: white;
    border-radius: var(--ts-radius-lg);
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}
.ts-offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ts-offer-card {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFBF5 60%, #FFF 100%);
    border: 1px dashed #F59E0B;
    border-radius: var(--ts-radius);
    padding: 14px 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ts-offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--ts-gradient-warm);
    border-radius: 2px;
}
.ts-offer-card-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ts-offer-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ts-offer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}
.ts-coupon-badge-box {
    width: 46px;
    height: 46px;
    background: var(--ts-gradient-warm);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    line-height: 1;
    flex-shrink: 0;
}
.ts-coupon-badge-value { font-weight: 800; font-size: 0.95rem; }
.ts-apply-offer-btn {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 50rem !important;
    transition: all 0.2s ease;
}
.ts-apply-offer-btn:hover {
    transform: scale(1.05);
}

.ts-offer-desc-text {
    font-size: 0.85rem;
    color: var(--ts-dark);
    margin-bottom: 0;
    font-weight: 500;
}
.ts-offer-min-order {
    font-size: 0.75rem;
    color: var(--ts-gray);
}

/* Mobile responsive adjustments for offers */
@media (max-width: 576px) {
    .ts-offers-section { padding: 14px; }
    .ts-coupon-badge-box { width: 40px; height: 40px; }
    .ts-coupon-badge-value { font-size: 0.8rem; }
    .ts-offer-card { padding: 10px 12px; }
    .ts-offer-top-row { gap: 8px; }
    .ts-apply-offer-btn {
        margin-left: 0;
        margin-top: 4px;
        width: 100%;
        padding: 6px 0 !important;
    }
    .ts-offer-desc p { font-size: 0.82rem !important; }
}

@media (max-width: 400px) {
    .ts-offer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

.ts-coupon-code-tag {
    background: rgba(255, 95, 31, 0.08);
    color: var(--ts-primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--ts-font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 1px dashed rgba(255, 95, 31, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}
.ts-coupon-code-tag:hover {
    background: var(--ts-primary);
    color: white;
}

.ts-footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ts-white) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}
.ts-footer-social-icon i {
    font-size: 1.1rem;
    line-height: 0;
    margin: 0 !important;
}
.ts-footer-social-icon:hover {
    background: var(--ts-primary);
    border-color: var(--ts-primary);
    color: white !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 95, 31, 0.25);
}

.ts-nav-search-input {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 18px;
    transition: all 0.2s;
}
.ts-nav-dropdown-menu {
    border: 1px solid rgba(255, 95, 31, 0.08) !important;
    box-shadow: 0 20px 60px rgba(255, 95, 31, 0.12), 0 0 1px rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    padding: 10px !important;
    min-width: 250px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1055;
}
/* ===== COMPREHENSIVE PAGINATION REFINEMENT ===== */
nav[aria-label="Pagination Navigation"],
.pagination {
    display: flex !important;
    padding-left: 0 !important;
    list-style: none !important;
    border-radius: 0.375rem !important;
    gap: 10px !important;
    border: none !important;
    align-items: center !important;
}

.pagination .page-item,
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border: none !important;
}

.pagination .page-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--ts-dark) !important;
    text-decoration: none !important;
    background-color: var(--ts-white) !important;
    border: 1px solid rgba(255, 95, 31, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05) !important;
}

.pagination .page-link:hover {
    z-index: 2 !important;
    color: var(--ts-white) !important;
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(255, 95, 31, 0.25) !important;
}

.pagination .page-item.active .page-link {
    z-index: 3 !important;
    color: var(--ts-white) !important;
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    box-shadow: 0 10px 15px -3px rgba(255, 95, 31, 0.3) !important;
}

.pagination .page-item.disabled .page-link {
    color: var(--ts-gray-light) !important;
    pointer-events: none !important;
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    opacity: 0.6 !important;
    box-shadow: none !important;
}

/* Fix for "Showing results" text usually seen with Laravel Paginator */
.pagination-wrapper .text-muted,
.ts-section .text-muted {
    font-size: 0.875rem !important;
}
.pagination-wrapper b,
.ts-section b {
    color: var(--ts-primary) !important;
}
.ts-nav-dropdown-item {
    border-radius: 14px !important;
    padding: 8px 12px !important;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    justify-content: flex-start !important;
    color: var(--ts-dark);
    border: 1px solid transparent;
    margin-bottom: 2px;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
}
.ts-nav-dropdown-item:last-child { margin-bottom: 0; }
.ts-nav-dropdown-item:hover {
    background-color: rgba(255, 95, 31, 0.06) !important;
    color: var(--ts-primary) !important;
    border-color: rgba(255, 95, 31, 0.12) !important;
    transform: translateX(2px);
}
.ts-nav-dropdown-label {
    font-size: 0.95rem;
    line-height: 1.2;
}

.ts-nav-dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 95, 31, 0.08);
    color: var(--ts-primary);
    transition: transform 0.2s;
}
.ts-nav-dropdown-item:hover .ts-nav-dropdown-icon {
    transform: scale(1.05);
}

.ts-nav-dropdown-icon i {
    font-size: 1rem;
    width: auto;
    height: auto;
    margin: 0 !important;
}

.ts-nav-dropdown-icon-profile { background: rgba(255, 95, 31, 0.08); color: var(--ts-primary); }
.ts-nav-dropdown-icon-orders { background: rgba(0, 0, 0, 0.05); color: var(--ts-dark); }
.ts-nav-dropdown-icon-wishlist { background: rgba(255, 95, 31, 0.06); color: var(--ts-primary); }
.ts-nav-dropdown-icon-admin { background: rgba(0, 0, 0, 0.05); color: var(--ts-dark); }
.ts-nav-dropdown-icon-logout { background: rgba(220,53,69,0.10); color: #dc3545; }

.ts-nav-dropdown-item:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.12) !important;
    background-color: rgba(255, 95, 31, 0.08) !important;
    color: var(--ts-primary) !important;
}

.ts-nav-dropdown-menu .dropdown-divider {
    margin: 8px 12px !important;
    border-color: rgba(255, 95, 31, 0.08) !important;
}

.ts-nav-icons .dropdown-toggle::after {
    display: none !important;
}

.ts-nav-dropdown-item-logout {
    color: #dc3545 !important;
    border-color: rgba(220,53,69,0.18) !important;
}

.ts-nav-dropdown-item-logout:hover {
    background-color: rgba(220, 53, 69, 0.08) !important;
    color: #dc3545 !important;
    border-color: rgba(220,53,69,0.25) !important;
}

.ts-nav-dropdown-item-logout:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.16) !important;
    background-color: rgba(220,53,69,0.08) !important;
    color: #dc3545 !important;
}

/* Customizer Mockup */
.ts-customizer-mockup-frame {
    width: 300px;
    height: 620px;
    border-radius: 44px;
    border: 3px solid #1E293B;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.2);
}

.ts-customizer-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1E293B;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.ts-customizer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.ts-customizer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-gray-light);
}

.ts-border-dashed {
    border: 2px dashed #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ts-border-dashed:hover {
    border-color: var(--ts-primary);
    background: rgba(108, 60, 225, 0.02);
}

/* Typography & Helpers */
.ts-text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ts-text-hero-lg { font-size: 2.5rem !important; }
@media (max-width: 768px) {
    .ts-text-hero-lg { font-size: 2rem !important; }
    .ts-customizer-mockup-frame {
        width: 260px;
        height: 540px;
    }
}

.ts-filter-offcanvas {
    height: 80vh !important;
    border-top: 5px solid var(--ts-accent) !important;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.15) !important;
}
.offcanvas-header .offcanvas-title {
    font-family: var(--ts-font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.ts-line-relaxed {
    line-height: 1.8 !important;
}

.ts-price-column {
    min-width: 100px !important;
}

.ts-admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.ts-bg-soft-purple-30 { background: rgba(0,0,0,0.05) !important; }
.ts-bg-soft-blue-30 { background: rgba(0,0,0,0.05) !important; }
.ts-bg-soft-amber-30 { background: rgba(0,0,0,0.05) !important; }
.ts-bg-soft-emerald-30 { background: rgba(0,0,0,0.05) !important; }

.ts-bg-soft-gradient-blue {
    background: linear-gradient(145deg, rgba(108,60,225,0.15), rgba(14,165,233,0.1)) !important;
}

.ts-z-10 { z-index: 10 !important; }

/* Flipkart Style Ratings */
.ts-rating-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#6C3CE1 calc(var(--ts-pct) * 1), #eee 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ts-rating-circle::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
}
.ts-rating-circle span {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: #6C3CE1;
    font-weight: 800;
}

.bg-success { background-color: #388e3c !important; }
.bg-warning { background-color: #ff9f00 !important; }
.bg-danger { background-color: #ff6161 !important; }

.ts-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
}

.last\:border-0:last-child { border-bottom: 0 !important; }
.last\:mb-0:last-child { margin-bottom: 0 !important; }

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.x-small { font-size: 0.75rem; }
.fw-900 { font-weight: 900; }
.min-h-20 { min-height: 20px; }

/* ===== COUPON UI ===== */
.ts-coupon-input {
    border: 1.5px dashed rgba(108, 60, 225, 0.4) !important;
    background-color: #fafafe !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    font-size: 0.95rem !important;
    height: 48px !important;
    color: #4b5563;
    transition: all 0.2s ease;
}
.ts-coupon-input:focus {
    border-style: solid !important;
    border-color: #6C3CE1 !important;
    background-color: white !important;
    box-shadow: 0 0 0 4px rgba(108, 60, 225, 0.12) !important;
}
.ts-coupon-btn {
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 0 24px !important;
    height: 48px !important;
    background-color: #1e293b !important;
    color: white !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ts-coupon-btn:hover {
    background-color: #000 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ts-coupon-btn:active {
    transform: translateY(0);
}

/* Final Catch-all to eliminate any residual Bootstrap blue */
.btn-primary, .badge-primary {
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    color: #fff !important;
}
.bg-primary {
    background-color: var(--ts-primary) !important;
}
.text-primary {
    color: var(--ts-accent) !important;
}
.btn-outline-primary {
    color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
}
.btn-outline-primary:hover {
    background-color: var(--ts-primary) !important;
    color: #fff !important;
}
.page-link, .page-item.active .page-link {
    color: var(--ts-dark) !important;
    border-color: #dee2e6 !important;
}
.page-item.active .page-link {
    background-color: var(--ts-accent) !important;
    border-color: var(--ts-accent) !important;
}
.nav-pills .nav-link.active, .nav-tabs .nav-link.active {
    background-color: var(--ts-primary) !important;
    color: #fff !important;
}
a {
    color: var(--ts-on-surface);
    transition: all 0.2s ease;
    text-decoration: none !important;
}
a:hover {
    color: var(--ts-primary-container);
}

/* Premium Solid Highlights (Always Visible) */
.ts-link-highlight {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    background: var(--ts-primary-container) !important;
    color: var(--ts-white) !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 10px rgba(255, 95, 31, 0.15);
}

.ts-link-highlight i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ts-link-highlight:hover {
    background: var(--ts-on-surface) !important;
    color: var(--ts-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ts-link-highlight:hover i {
    transform: translateX(4px);
}
