/* =============================================
   OspreyX Thermal — Dark Thermal Theme
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --ot-bg:            #0f1117;
    --ot-bg-card:       rgba(255,255,255,0.04);
    --ot-bg-card-hover: rgba(255,255,255,0.07);
    --ot-surface:       #161822;
    --ot-surface-2:     #1c1f2e;
    --ot-border:        rgba(255,255,255,0.08);
    --ot-border-hover:  rgba(255,255,255,0.14);
    --ot-accent:        #ff6b2b;
    --ot-accent-hover:  #ff8a55;
    --ot-accent-glow:   rgba(255,107,43,0.25);
    --ot-thermal-red:   #ff3d3d;
    --ot-thermal-yellow:#ffb84d;
    --ot-heading:       #f0f2f8;
    --ot-body:          #c0c5d6;
    --ot-muted:         #7a8099;
    --ot-success:       #34d399;
    --ot-shadow:        0 2px 8px rgba(0,0,0,0.3);
    --ot-shadow-md:     0 4px 20px rgba(0,0,0,0.4);
    --ot-shadow-lg:     0 8px 40px rgba(0,0,0,0.5);
    --ot-radius:        12px;
    --ot-radius-sm:     8px;
    --ot-radius-lg:     20px;
    --ot-transition:    0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ot-bg);
    color: var(--ot-body);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--ot-heading); font-weight: 700; line-height: 1.2; }
a { color: var(--ot-accent); text-decoration: none; transition: color var(--ot-transition); }
a:hover { color: var(--ot-accent-hover); }
img { max-width: 100%; height: auto; }

/* --- Utility --- */
.text-accent { color: var(--ot-accent) !important; }
.text-thermal-red { color: var(--ot-thermal-red) !important; }
.text-muted-ot { color: var(--ot-muted) !important; }
.bg-surface { background: var(--ot-surface) !important; }
.bg-surface-2 { background: var(--ot-surface-2) !important; }
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 120px 0; }

.thermal-gradient-text {
    background: linear-gradient(135deg, var(--ot-thermal-yellow), var(--ot-accent), var(--ot-thermal-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--ot-transition);
}
.glass-card:hover {
    background: var(--ot-bg-card-hover);
    border-color: var(--ot-border-hover);
    box-shadow: var(--ot-shadow-md);
    transform: translateY(-2px);
}
.glass-card-static {
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* --- Buttons --- */
.btn-thermal {
    background: var(--ot-accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--ot-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--ot-transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-thermal:hover {
    background: var(--ot-accent-hover);
    color: #fff;
    box-shadow: 0 0 20px var(--ot-accent-glow);
    transform: translateY(-1px);
}
.btn-thermal-outline {
    background: transparent;
    color: var(--ot-accent);
    border: 1.5px solid var(--ot-accent);
    padding: 11px 28px;
    border-radius: var(--ot-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--ot-transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-thermal-outline:hover {
    background: rgba(255,107,43,0.1);
    color: var(--ot-accent-hover);
    border-color: var(--ot-accent-hover);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Top Bar --- */
.top-bar {
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--ot-border);
    padding: 6px 0;
    font-size: 0.82rem;
    color: var(--ot-muted);
}
.top-bar a { color: var(--ot-body); }
.top-bar a:hover { color: var(--ot-accent); }

/* --- Navbar --- */
.navbar-ot {
    background: rgba(15,17,23,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ot-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}
.navbar-ot .navbar-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ot-heading) !important;
    letter-spacing: -0.02em;
}
.navbar-ot .navbar-brand .brand-accent { color: var(--ot-accent); }
.navbar-ot .nav-link {
    color: var(--ot-body) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 20px 16px !important;
    transition: color var(--ot-transition);
}
.navbar-ot .nav-link:hover,
.navbar-ot .nav-link.active { color: var(--ot-accent) !important; }
.navbar-ot .navbar-toggler {
    border: 1px solid var(--ot-border);
    padding: 6px 10px;
}
.navbar-ot .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(192,197,214,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-ot .dropdown-menu {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-sm);
    box-shadow: var(--ot-shadow-lg);
    margin-top: 0;
}
.navbar-ot .dropdown-item {
    color: var(--ot-body);
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all var(--ot-transition);
}
.navbar-ot .dropdown-item:hover {
    background: rgba(255,107,43,0.1);
    color: var(--ot-accent);
}
.cart-badge {
    background: var(--ot-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -8px;
    left: -5px;
}

/* --- Hero --- */
.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,107,43,0.08) 0%, transparent 60%),
                var(--ot-bg);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,43,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ot-body);
    max-width: 560px;
    line-height: 1.6;
}

/* --- Product Hero (Detail Page) --- */
.product-hero {
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,107,43,0.06) 0%, transparent 50%),
                var(--ot-bg);
}
.product-hero-img {
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(255,107,43,0.15));
    transition: transform 0.4s ease;
}
.product-hero-img:hover { transform: scale(1.03); }
.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: var(--ot-body);
    white-space: nowrap;
}
.spec-badge svg { width: 14px; height: 14px; fill: var(--ot-accent); }

/* --- Product Showcase Cards --- */
.showcase-card {
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ot-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.showcase-card:hover {
    border-color: rgba(255,107,43,0.2);
    box-shadow: 0 8px 40px rgba(255,107,43,0.08);
    transform: translateY(-4px);
}
.showcase-card:hover::before { opacity: 1; }
.showcase-card-img {
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    transition: transform 0.4s ease;
}
.showcase-card:hover .showcase-card-img { transform: scale(1.05); }

/* --- Image Gallery --- */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 2px solid var(--ot-border);
    border-radius: var(--ot-radius-sm);
    cursor: pointer;
    transition: all var(--ot-transition);
    background: var(--ot-bg-card);
    padding: 4px;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--ot-accent);
    box-shadow: 0 0 12px var(--ot-accent-glow);
}
.gallery-main {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--ot-radius);
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    padding: 20px;
}

/* --- Variant Configurator --- */
.configurator {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    padding: 32px;
}
.config-option {
    padding: 12px 16px;
    border: 1.5px solid var(--ot-border);
    border-radius: var(--ot-radius-sm);
    cursor: pointer;
    transition: all var(--ot-transition);
    background: var(--ot-bg-card);
}
.config-option:hover {
    border-color: var(--ot-border-hover);
    background: var(--ot-bg-card-hover);
}
.config-option.selected {
    border-color: var(--ot-accent);
    background: rgba(255,107,43,0.08);
    box-shadow: 0 0 0 1px var(--ot-accent);
}
.config-option .option-label { font-weight: 600; color: var(--ot-heading); font-size: 0.92rem; }
.config-option .option-desc { font-size: 0.8rem; color: var(--ot-muted); margin-top: 2px; }
.config-option .option-price { font-size: 0.82rem; color: var(--ot-accent); font-weight: 600; }
.config-price-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ot-heading);
}

/* --- Specs Table --- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid var(--ot-border);
}
.specs-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
}
.specs-table td:first-child {
    color: var(--ot-muted);
    font-weight: 500;
    width: 40%;
}
.specs-table td:last-child {
    color: var(--ot-heading);
}

/* --- Comparison Table --- */
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table th {
    background: var(--ot-surface);
    color: var(--ot-heading);
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--ot-accent);
}
.compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ot-border);
    font-size: 0.9rem;
    vertical-align: top;
}
.compare-table tr:hover td {
    background: var(--ot-bg-card);
}

/* --- Value Props --- */
.value-prop {
    text-align: center;
    padding: 30px 20px;
}
.value-prop-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,107,43,0.1);
    border: 1px solid rgba(255,107,43,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.value-prop-icon svg { width: 24px; height: 24px; stroke: var(--ot-accent); fill: none; stroke-width: 2; }
.value-prop h5 { font-size: 1rem; margin-bottom: 8px; }
.value-prop p { font-size: 0.88rem; color: var(--ot-muted); margin: 0; }

/* --- Application Cards --- */
.app-card {
    border-radius: var(--ot-radius);
    overflow: hidden;
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    transition: all 0.3s ease;
}
.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ot-shadow-md);
    border-color: var(--ot-border-hover);
}
.app-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.app-card-body { padding: 20px; }
.app-card-body h5 { font-size: 1rem; margin-bottom: 8px; }
.app-card-body p { font-size: 0.85rem; color: var(--ot-muted); margin: 0; }

/* --- Accessory Card --- */
.accessory-card {
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.accessory-card:hover {
    border-color: var(--ot-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--ot-shadow);
}
.accessory-card-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 14px;
    opacity: 0.9;
}
.accessory-card h6 { font-size: 0.9rem; margin-bottom: 8px; min-height: 2.4em; }
.accessory-card .price { color: var(--ot-accent); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.accessory-card .btn-thermal { width: 100%; justify-content: center; margin-top: auto; }

/* --- Benefit Blocks --- */
.benefit-block {
    padding: 40px 0;
}
.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,107,43,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.benefit-icon svg { width: 24px; height: 24px; stroke: var(--ot-accent); fill: none; stroke-width: 2; }

/* --- Trust Banner --- */
.trust-banner {
    background: var(--ot-surface);
    border-top: 1px solid var(--ot-border);
    border-bottom: 1px solid var(--ot-border);
    padding: 40px 0;
}
.trust-item {
    text-align: center;
    padding: 10px;
}
.trust-item svg { width: 32px; height: 32px; stroke: var(--ot-accent); fill: none; stroke-width: 1.5; margin-bottom: 10px; }
.trust-item h6 { font-size: 0.9rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.8rem; color: var(--ot-muted); margin: 0; }

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,107,43,0.08) 0%, transparent 60%),
                var(--ot-bg);
}

/* --- Cart --- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th {
    color: var(--ot-muted);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ot-border);
    text-align: left;
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--ot-border);
    vertical-align: middle;
}
.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--ot-radius-sm);
    background: var(--ot-bg-card);
    padding: 4px;
}
.cart-qty-input {
    width: 60px;
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-sm);
    color: var(--ot-heading);
    text-align: center;
    padding: 6px;
    font-size: 0.9rem;
}
.cart-qty-input:focus {
    outline: none;
    border-color: var(--ot-accent);
}
.cart-remove-btn {
    background: none;
    border: none;
    color: var(--ot-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color var(--ot-transition);
    padding: 4px 8px;
}
.cart-remove-btn:hover { color: var(--ot-thermal-red); }
.cart-summary {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 28px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}
.cart-summary-row.total {
    border-top: 2px solid var(--ot-accent);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ot-heading);
}

/* --- Checkout Modal --- */
.modal-ot .modal-content {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    color: var(--ot-body);
}
.modal-ot .modal-header {
    border-bottom: 1px solid var(--ot-border);
}
.modal-ot .modal-header .modal-title { color: var(--ot-heading); }
.modal-ot .btn-close { filter: invert(1) brightness(0.7); }
.modal-ot .modal-footer { border-top: 1px solid var(--ot-border); }

/* --- Forms --- */
.form-control-ot {
    background: var(--ot-bg);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-sm);
    color: var(--ot-heading);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--ot-transition);
    width: 100%;
}
.form-control-ot:focus {
    outline: none;
    border-color: var(--ot-accent);
    box-shadow: 0 0 0 3px var(--ot-accent-glow);
}
.form-control-ot::placeholder { color: var(--ot-muted); }
.form-label-ot {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ot-body);
    margin-bottom: 6px;
    display: block;
}
textarea.form-control-ot { min-height: 120px; resize: vertical; }

/* --- Filter Tabs --- */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-tab {
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid var(--ot-border);
    background: transparent;
    color: var(--ot-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--ot-transition);
}
.filter-tab:hover {
    border-color: var(--ot-accent);
    color: var(--ot-accent);
}
.filter-tab.active {
    background: var(--ot-accent);
    border-color: var(--ot-accent);
    color: #fff;
}

/* --- Decision Guide --- */
.decision-card {
    background: var(--ot-bg-card);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 28px;
    border-left: 3px solid var(--ot-accent);
}
.decision-card h5 { margin-bottom: 12px; }
.decision-card ul { list-style: none; padding: 0; margin: 0; }
.decision-card li {
    padding: 6px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.decision-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ot-accent);
    flex-shrink: 0;
    margin-top: 8px;
}

/* --- Footer --- */
.footer-ot {
    background: var(--ot-surface);
    border-top: 1px solid var(--ot-border);
    padding: 60px 0 30px;
    font-size: 0.88rem;
}
.footer-ot h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--ot-heading);
}
.footer-ot a {
    color: var(--ot-muted);
    display: block;
    padding: 4px 0;
    transition: color var(--ot-transition);
}
.footer-ot a:hover { color: var(--ot-accent); }
.footer-bottom {
    border-top: 1px solid var(--ot-border);
    padding-top: 20px;
    margin-top: 40px;
    color: var(--ot-muted);
    font-size: 0.8rem;
}

/* --- Toast --- */
.toast-ot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--ot-surface);
    border: 1px solid var(--ot-accent);
    border-radius: var(--ot-radius-sm);
    padding: 14px 24px;
    color: var(--ot-heading);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(255,107,43,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast-ot.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-ot .toast-icon { color: var(--ot-accent); font-size: 1.2rem; }

/* --- Included List --- */
.included-list { list-style: none; padding: 0; margin: 0; }
.included-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--ot-border);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.included-list li::before {
    content: '✓';
    color: var(--ot-success);
    font-weight: 700;
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}
.section-header p {
    color: var(--ot-muted);
    font-size: 1.05rem;
}

/* --- About / Contact --- */
.about-hero {
    padding: 80px 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,107,43,0.06) 0%, transparent 50%),
                var(--ot-bg);
}
.timeline-item {
    padding: 24px 0;
    border-left: 2px solid var(--ot-border);
    padding-left: 28px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 30px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ot-accent);
}
.contact-card {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 28px;
    text-align: center;
    transition: all var(--ot-transition);
}
.contact-card:hover { border-color: rgba(255,107,43,0.3); }
.contact-card svg { width: 28px; height: 28px; stroke: var(--ot-accent); fill: none; stroke-width: 1.5; margin-bottom: 12px; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-title { font-size: 2.4rem; }
    .section-pad { padding: 60px 0; }
    .section-pad-lg { padding: 80px 0; }
    .showcase-card { padding: 28px; }
    .product-hero { padding: 60px 0 40px; }
    /* Top bar: hide tagline, show contact only */
    .top-bar .container { justify-content: center !important; }
    .top-bar .container > span:first-child { display: none; }
}
@media (max-width: 767px) {
    /* --- Hero --- */
    .hero-section { min-height: auto; padding: 60px 0 40px; }
    .hero-title { font-size: 1.75rem; }
    .hero-sub { font-size: 0.95rem; }

    /* --- Sections --- */
    .section-pad { padding: 48px 0; }
    .section-pad-lg { padding: 60px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.4rem; }
    .cta-section { padding: 60px 0; }

    /* --- Buttons — larger touch targets on mobile --- */
    .btn-thermal, .btn-thermal-outline { padding: 14px 24px; font-size: 0.95rem; min-height: 48px; }
    .btn-sm { padding: 10px 18px; font-size: 0.85rem; min-height: 44px; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }

    /* --- Top bar: stack contact info --- */
    .top-bar { text-align: center; }
    .top-bar .container > span:last-child { font-size: 0.78rem; }

    /* --- Navbar --- */
    .navbar-ot .navbar-brand { font-size: 1.1rem; }
    .navbar-ot .nav-link { padding: 14px 16px !important; }

    /* --- Showcase cards --- */
    .showcase-card { padding: 20px; }
    .showcase-card-img { max-height: 180px; }

    /* --- Product hero (detail pages) --- */
    .product-hero { padding: 40px 0 30px; }
    .product-hero-img { max-height: 280px; }
    .gallery-main { max-height: 280px; padding: 12px; }
    .gallery-thumbs { flex-wrap: wrap; }
    .gallery-thumb { width: 56px; height: 56px; }
    .spec-badge { font-size: 0.75rem; padding: 5px 10px; }

    /* --- Configurator --- */
    .configurator { padding: 16px; }
    .config-option { padding: 14px; }
    .config-price-display { font-size: 1.6rem; }

    /* --- Comparison table --- */
    .compare-table th, .compare-table td { padding: 10px 8px; font-size: 0.8rem; }
    .compare-table { min-width: 520px; }

    /* --- Specs table --- */
    .specs-table td { padding: 10px 12px; font-size: 0.85rem; }
    .specs-table td:first-child { width: 45%; }

    /* --- Cart --- */
    .cart-table thead { display: none; }
    .cart-table tbody { display: block; }
    .cart-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 16px 0;
        border-bottom: 1px solid var(--ot-border);
        align-items: center;
    }
    .cart-table td { border: none; padding: 0; }
    /* Product cell spans full width */
    .cart-table td:first-child { grid-column: 1 / -1; }
    /* Price, qty, total, remove on second row */
    .cart-table td:nth-child(2),
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4) { font-size: 0.88rem; }
    .cart-item-img { width: 52px; height: 52px; }
    .cart-summary { padding: 20px; }

    /* --- Accessory cards: 2 per row on phones --- */
    .accessory-card { padding: 14px; }
    .accessory-card-img { height: 90px; }
    .accessory-card h6 { font-size: 0.82rem; min-height: 2em; }
    .accessory-card .price { font-size: 1rem; }

    /* --- Application cards --- */
    .app-card-img { height: 160px; }
    .app-card-body { padding: 14px; }

    /* --- Filter tabs --- */
    .filter-tabs { justify-content: center; gap: 6px; }
    .filter-tab { padding: 8px 14px; font-size: 0.8rem; }

    /* --- Forms — prevent iOS zoom (needs ≥16px) --- */
    .form-control-ot { font-size: 16px; padding: 12px 14px; }
    select.form-control-ot { font-size: 16px; }

    /* --- Value props --- */
    .value-prop { padding: 16px 10px; }
    .value-prop h5 { font-size: 0.9rem; }
    .value-prop p { font-size: 0.82rem; }

    /* --- Trust banner --- */
    .trust-item p { font-size: 0.75rem; }
    .trust-item h6 { font-size: 0.82rem; }

    /* --- Decision guide --- */
    .decision-card { padding: 20px; }
    .decision-card li { font-size: 0.85rem; }

    /* --- Toast — full width on mobile --- */
    .toast-ot { left: 16px; right: 16px; bottom: 16px; }

    /* --- Footer --- */
    .footer-ot { padding: 40px 0 20px; }
    .footer-ot .row > div { margin-bottom: 24px; }

    /* --- Modals --- */
    .modal-ot .modal-content { border-radius: var(--ot-radius); }
    .modal-ot .modal-body { padding: 16px; }
}
