/*
Theme Name: EGlobe Systems Theme
Theme URI: https://eglobe.lk/theme
Author: EGlobe Team
Author URI: https://eglobe.lk
Description: A high-performance cyber-themed dark mode WordPress theme for computer builder shops.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aethertech
*/

/* ==========================================================================
   AETHERTECH SYSTEMS - CSS STYLESHEET
   Description: Cyberpunk & modern high-tech aesthetic styling for e-commerce
   ========================================================================== */

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

/* --- Root Variables --- */
:root {
    /* Colors */
    --bg-primary: #07090e;
    --bg-secondary: #0c1017;
    --bg-tertiary: #121722;
    --bg-glass: rgba(12, 16, 23, 0.75);
    
    --accent-red: #00f0ff;
    --accent-red-rgb: 0, 240, 255;
    --accent-red-hover: #00d5e8;
    --accent-blue: #00f0ff;
    --accent-blue-rgb: 0, 240, 255;
    --accent-blue-hover: #00cce6;

    /* TechNova Cyan System */
    --accent-cyan: #00f0ff;
    --accent-cyan-rgb: 0, 240, 255;
    --accent-cyan-hover: #00d5e8;
    --border-glass-cyan: rgba(0, 240, 255, 0.2);
    --shadow-cyan-glow: 0 0 25px rgba(0, 240, 255, 0.35);
    
    --text-primary: #f5f6f9;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(0, 240, 255, 0.25);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-main: 0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.25);
    --shadow-glow-blue: 0 0 20px rgba(0, 240, 255, 0.35);
    
    /* Layout Constants */
    --header-height: 85px;
    --max-width: 1320px;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient-red, .text-gradient-blue {
    color: #ffffff;
}

.section-title-wrap {
    margin-bottom: 48px;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
}

.glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #00f0ff;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.glow-btn:hover::before {
    left: 100%;
}

/* Ensure all button icons across the site maintain non-collapsing spacing and vertical centering */
.glow-btn i,
.pill-btn i,
.pill-btn-outline i,
.outline-btn i,
.modal-btn-primary i,
.thank-you-submit-btn i,
.upsell-checkout-btn i,
.upsell-add-btn i {
    flex-shrink: 0;
    line-height: 1;
}

button.admin-form-input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Price range preset buttons */
.price-preset-btn {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.price-preset-btn:hover, .price-preset-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
    box-shadow: var(--shadow-glow);
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.08);
}

.glow-btn:active {
    transform: translateY(0);
}

.glow-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.glow-btn.secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header:not(.header-floating-pill) {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.header.scrolled:not(.header-floating-pill) {
    height: 70px;
    background: var(--bg-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #0284c7;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar-container:not(.pill-search-container) {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 16px;
    transition: var(--transition-fast);
    width: 220px;
}

.search-bar-container:focus-within:not(.pill-search-container) {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    width: 260px;
}

.search-input {
    width: 100%;
    font-size: 13px;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon-btn {
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
}

.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.cart-btn:hover {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-glow);
    color: var(--accent-red);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   HERO / BANNER
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 650px;
    padding-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 9, 12, 0.95) 20%, rgba(8, 9, 12, 0.7) 50%, rgba(8, 9, 12, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    font-size: 8px;
    color: var(--accent-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 24px;
    z-index: 4;
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.categories {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 250px;
}

.category-img-container {
    height: 60%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.category-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover .category-img-container img {
    transform: scale(1.1);
}

.category-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

.category-arrow {
    align-self: flex-end;
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.category-card:hover {
    border-color: var(--accent-red-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.category-card:hover .category-arrow {
    color: var(--accent-red);
    transform: translateX(3px);
}

/* ==========================================================================
   PRODUCT LISTING & CONTROLS
   ========================================================================== */
.shop-section {
    padding: 110px 0 60px;
}

.shop-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    color: white;
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.sort-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.sort-select {
    height: 38px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.sort-select:hover, .sort-select:focus {
    border-color: var(--accent-blue);
}

/* --- Themed Select Dropdown (replaces native OS list) --- */
.tn-select {
    position: relative;
    display: inline-block;
}

.inquiry-form-group .tn-select,
.admin-form-group .tn-select {
    display: block;
    width: 100%;
}

.tn-select-native {
    display: none;
}

.tn-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    font-family: inherit;
    line-height: 1.2;
}

.sort-select.tn-select-trigger {
    min-width: 190px;
}

.tn-select-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tn-select-chevron {
    font-size: 11px;
    color: var(--accent-cyan);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.tn-select.is-open .tn-select-chevron {
    transform: rotate(180deg);
}

.tn-select.is-open .tn-select-trigger {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.2);
}

.tn-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: rgba(12, 16, 23, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass-cyan);
    border-radius: 10px;
    box-shadow: var(--shadow-main), 0 0 20px rgba(var(--accent-cyan-rgb), 0.12);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.tn-select.drop-up .tn-select-menu {
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(4px);
}

.tn-select.is-open .tn-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tn-select-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.tn-select-menu li.is-active {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    color: var(--text-primary);
}

.tn-select-menu li.is-selected {
    color: var(--accent-cyan);
    font-weight: 600;
}

.tn-select-menu li.is-selected::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
}

.tn-select-menu li[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Product Cards Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-img-box {
    position: relative;
    height: 220px;
    background: #0f1118;
    overflow: hidden;
    cursor: pointer;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.sale,
.product-badge.onsale,
.onsale,
.wc-block-grid__product-onsale,
.badge-flash-sale,
.badge-sale {
    display: none !important;
}

.product-badge.hot {
    background: var(--accent-red);
    color: white;
}

.product-badge.new {
    background: var(--accent-blue);
    color: #08090c;
}

.product-rating {
    display: none !important;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-name:hover {
    color: var(--accent-red);
}

.product-specs-list {
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-spec-item {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.product-spec-item i {
    font-size: 10px;
    color: var(--accent-blue);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-price-before {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
    display: block;
}

.product-badge.discount {
    background: #e21b1b;
    color: white;
}

.add-inquiry-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.add-inquiry-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    color: white;
}

.add-inquiry-btn.added {
    background: var(--bg-tertiary);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* Price on Inquiry Tags & WhatsApp Inquiry Buttons */
.product-price-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading, inherit);
    font-size: 13.5px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.12);
}

.price-wrap.price-wrap-inquiry {
    min-height: 38px;
    justify-content: center;
}

.add-inquiry-btn.zero-price-inquiry-btn {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    gap: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(37, 211, 102, 0.28));
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #25d366;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.12);
    box-sizing: border-box;
}

.add-inquiry-btn.zero-price-inquiry-btn i {
    font-size: 17px;
    flex-shrink: 0;
}

.add-inquiry-btn.zero-price-inquiry-btn:hover {
    background: #25d366;
    border-color: #25d366;
    color: #050b14;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.modal-price-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
}

.zero-price-inquiry-link {
    background: rgba(37, 211, 102, 0.15) !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
    color: #25d366 !important;
}

.zero-price-inquiry-link:hover {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
}

.product-pricing-box-inquiry {
    border-color: rgba(56, 189, 248, 0.3) !important;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), transparent) !important;
}

.add-inquiry-btn.added:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #000000;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.no-products-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
}

.no-products-msg i {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.detail-modal {
    width: 100%;
    max-width: 840px;
    max-height: 86vh;
    background: rgba(13, 19, 30, 0.98);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.98);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
    box-sizing: border-box;
    overflow: hidden;
}

.modal-overlay.active .detail-modal {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--accent-cyan);
    z-index: 30;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.modal-close-btn:hover {
    color: #ffffff;
    background: #0284c7;
    border-color: #00f0ff;
    transform: rotate(90deg) scale(1.08);
}

.modal-scrollable {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px 16px 28px;
    box-sizing: border-box;
    width: 100%;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    align-items: start;
    min-width: 0;
    width: 100%;
}

.detail-img-box {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(6, 10, 18, 0.95) 100%);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    min-width: 0;
    box-sizing: border-box;
}

.detail-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.detail-img-box:hover img {
    transform: scale(1.04);
}

.detail-info-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.detail-category {
    font-size: 11px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 800;
}

.detail-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    color: #ffffff;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-rating {
    display: none !important;
}

.detail-price {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-price-before {
    font-size: 15px;
    color: #64748b;
    text-decoration: line-through;
    font-weight: 500;
}

.modal-price-current {
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 26px;
    font-family: var(--font-heading);
}

.detail-desc {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.detail-specs-table {
    width: 100%;
    margin-bottom: 4px;
    border-collapse: collapse;
    table-layout: fixed;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.detail-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-specs-table tr:last-child {
    border-bottom: none;
}

.detail-specs-table td {
    padding: 7px 10px;
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-specs-table td.spec-name {
    color: #94a3b8;
    font-weight: 600;
    width: 36%;
    background: rgba(255, 255, 255, 0.015);
}

.detail-specs-table td.spec-val {
    color: #ffffff;
    font-weight: 600;
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(10, 15, 24, 0.95);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    box-sizing: border-box;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

.detail-actions .glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 0 24px;
    white-space: nowrap;
}

.modal-btn-primary {
    flex: 0 0 auto;
    min-width: 180px;
}

.modal-btn-secondary {
    flex: 0 0 auto;
    padding: 0 20px !important;
}

.detail-actions #modal-add-btn.in-cart {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #00f0ff !important;
    border: 1px solid #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35) !important;
}

/* ==========================================================================
   CART DRAWER / INQUIRY PANEL
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 12, 0.6);
    backdrop-filter: blur(8px);
    z-index: 100050 !important;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 100051 !important;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    visibility: hidden;
    pointer-events: none;
}

.cart-drawer.active {
    right: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header-title i {
    color: var(--accent-red);
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: white;
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

/* --- Cart Item Card --- */
.cart-item {
    display: flex;
    gap: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--accent-blue);
}

.cart-item.cart-item-highlight {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45) !important;
    animation: cartItemHighlightPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cartItemHighlightPulse {
    0% {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.8);
        transform: translateY(-2px) scale(1.02);
    }
    50% {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
        transform: translateY(0) scale(1);
    }
    100% {
        border-color: var(--border-color);
        box-shadow: none;
    }
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #0f1118;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 20px;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.quantity-val {
    width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-remove-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}

.cart-item-remove-btn:hover {
    color: var(--accent-red);
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    color: var(--text-secondary);
    text-align: center;
}

.cart-empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-total-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-blue);
}

.cart-checkout-btn {
    width: 100%;
}

/* ==========================================================================
   INQUIRY SUBMISSION SECTION
   ========================================================================== */
.inquiry-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.inquiry-info-panel h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.inquiry-info-panel p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

/* --- Inquiry Order Summary --- */
.inquiry-summary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.summary-list {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 6px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 12px;
}

.summary-item-name {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 70%;
}

.summary-item-price {
    font-weight: 600;
}

.summary-empty-msg {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.summary-total-val {
    color: var(--accent-red);
}

/* --- Form Fields --- */
.inquiry-form-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.form-title {
    font-size: 22px;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: var(--accent-red);
    font-size: 11px;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-error .form-input, .form-group.has-error .form-textarea {
    border-color: var(--accent-red);
}

.inquiry-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   ABOUT / FEATURES SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 0;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 12px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
    padding: 0 8px;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1.1;
    margin-bottom: 6px;
    white-space: nowrap;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-normal);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--border-color-glow);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
    background: var(--accent-red);
    color: white;
    box-shadow: var(--shadow-glow);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
}

.contact-details-list {
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-text h5 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail-text p {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 0;
}

.map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(90%);
}

.contact-form-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 38px 42px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    box-shadow: var(--shadow-main);
}

.contact-form-header {
    margin-bottom: 22px;
}

.contact-form-title {
    font-size: 26px;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-form-subtitle {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

.contact-quick-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-grid .form-group-msg {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.contact-form-grid .form-group-msg textarea {
    flex: 1;
    min-height: 140px;
    resize: vertical;
}

.contact-form-actions {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-form-feedback {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    flex: 1;
    line-height: 1.4;
}

.contact-form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.contact-form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

@media (max-width: 640px) {
    .contact-form-card {
        padding: 24px 18px;
        height: auto;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-form-actions .glow-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    color: white;
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--accent-red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 13.5px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-red);
    transform: translateX(4px);
}

.footer-col p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex-grow: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-primary);
}

.newsletter-input:focus {
    border-color: var(--accent-blue);
}

.newsletter-btn {
    width: 42px;
    height: 42px;
    background: var(--accent-red);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-glow);
}

.newsletter-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-payment-icons {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-red);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    width: 320px;
    box-shadow: var(--shadow-main);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--accent-blue);
}

.toast-icon {
    font-size: 18px;
    color: var(--accent-red);
}

.toast.success .toast-icon {
    color: var(--accent-blue);
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.toast-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   MOBILE NAVIGATION BACKDROP & OVERLAY
   ========================================================================== */
.mobile-nav-search {
    display: none;
    width: 90%;
    max-width: 340px;
    margin-bottom: 10px;
    position: relative;
}

.mobile-nav-search .search-input {
    width: 100%;
    padding: 12px 45px 12px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-primary);
}

.mobile-nav-search .search-icon-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 9, 12, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    z-index: 98;
    transition: opacity 0.3s ease;
}

.nav-mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 550px;
    }
    .hero-title {
        font-size: 40px;
    }
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-text {
        order: 1;
    }
    .about-stats {
        margin-top: 24px;
        justify-content: space-around;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .shop-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .shop-sidebar {
        position: static;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    html, body {
        overflow-x: hidden;
    }
    .header.scrolled {
        height: 70px;
    }
    .nav-links {
        display: flex !important;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 30px 20px;
        gap: 24px;
        z-index: 99;
        border-top: 1px solid var(--border-color);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        overflow-y: auto;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .mobile-nav-search {
        display: flex;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
    }
    .search-bar-container {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-card {
        height: 200px;
    }
    .category-info {
        padding: 12px;
    }
    .category-name {
        font-size: 15px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-img-box {
        height: 160px;
    }
    .product-details {
        padding: 12px;
    }
    .product-name {
        font-size: 14px;
        min-height: 2.6em;
    }
    .product-price {
        font-size: 16px;
    }
    .product-spec-item {
        font-size: 11px;
    }
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-input, .form-select, .form-textarea, .search-input {
        font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    }
    .slider-controls {
        bottom: 20px;
        right: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    .section-title {
        font-size: 26px;
    }
    .section-title-wrap {
        margin-bottom: 28px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .category-card {
        height: 180px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-img-box {
        height: 140px;
    }
    .product-details {
        padding: 10px;
    }
    .product-specs-list {
        display: none; /* Hide detailed specs preview on small phones to keep card clean */
    }
    .modal-scrollable {
        padding: 20px 16px;
    }
    .detail-modal {
        width: 95%;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-actions .glow-btn {
        flex: 1;
        width: auto;
        max-width: 155px;
        height: 38px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
        justify-content: center;
        white-space: nowrap;
    }
    .inquiry-form-card, .contact-form-card {
        padding: 20px 16px;
    }
    .about-stats {
        padding: 14px 8px;
        gap: 6px;
    }
    .stat-item {
        padding: 0 4px;
    }
    .stat-num {
        font-size: 20px;
    }
    .stat-label {
        font-size: 9.5px;
        letter-spacing: 0.2px;
    }
}

/* ==========================================================================
   SHOP SPLIT LAYOUT AND SIDEBAR MENU
   ========================================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .shop-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.shop-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-box {
    margin-bottom: 30px;
}

.sidebar-box:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 0;
}

.sidebar-link {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-link i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.sidebar-link:hover, .sidebar-link.active {
    color: #ffffff;
    background: rgba(0, 240, 255, 0.08);
}

.sidebar-link:hover i, .sidebar-link.active i {
    color: var(--accent-cyan);
}

.sidebar-link.text-red i {
    color: var(--accent-cyan);
}

.sidebar-link.text-yellow i {
    color: #ffb800;
}

.sidebar-link.active.text-red {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.sidebar-link.active.text-yellow {
    background: rgba(255, 184, 0, 0.08);
    color: #ffb800;
}

.sidebar-link.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.sidebar-link.active i {
    color: var(--accent-cyan);
}

/* Catalog main overrides */
.shop-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 20px;
    gap: 16px;
    position: relative;
    z-index: 20;
}

.shop-controls-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalog-results-info {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Shop Catalog Search Box */
.shop-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(10, 15, 24, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 10px;
    padding: 0 16px;
    height: 38px;
    min-height: 38px;
    flex: 1;
    width: 100%;
    max-width: 380px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.shop-search-box:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.05);
}

.shop-search-box .search-icon {
    color: var(--accent-cyan);
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.shop-search-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: none !important;
    padding: 0 !important;
}

.shop-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.shop-search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin-left: 6px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.shop-search-clear:hover {
    color: var(--accent-cyan);
}

.shop-search-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.shop-search-clear-btn:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   DUAL THUMB PRICE RANGE SLIDER STYLES
   ========================================================================== */
.price-filter-container {
    padding: 5px 0;
}

.price-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.price-field {
    flex: 1;
}

.price-field label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.price-field input {
    width: 100%;
    padding: 8px 10px;
    background: rgba(12, 16, 23, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-field input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    outline: none;
}

.dual-range-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 8px;
    margin: 16px 0 14px 0;
    box-sizing: border-box;
}

.range-track {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.range-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    max-width: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.65), rgba(37, 99, 235, 0.65));
    box-shadow: 0 0 4px rgba(14, 165, 233, 0.2);
    pointer-events: none;
}

.dual-range-container input[type="range"] {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

#price-slider-min {
    z-index: 3;
}

#price-slider-max {
    z-index: 4;
}

.dual-range-container input[type="range"]:active,
.dual-range-container input[type="range"]:hover {
    z-index: 5;
}

.dual-range-container input[type="range"]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0284c7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 6px rgba(2, 132, 199, 0.3);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dual-range-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 10px rgba(2, 132, 199, 0.5);
}

.dual-range-container input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0284c7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 6px rgba(2, 132, 199, 0.3);
    pointer-events: auto;
    cursor: pointer;
}

.price-display-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-weight: 500;
}

.price-display-label span:last-child {
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: var(--font-heading);
}

.quick-price-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.price-preset-btn {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(12, 16, 23, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-preset-btn:hover {
    border-color: var(--accent-cyan);
    color: #ffffff;
    background: rgba(0, 240, 255, 0.1);
}

.price-preset-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #06090e;
    font-weight: 700;
}

/* ==========================================================================
   MODERN NUMBERED PAGINATION STYLES
   ========================================================================== */
.shop-pagination-wrap {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pagination-info {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination-info strong {
    color: #ffffff;
    font-weight: 700;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 16, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-btn:hover:not(:disabled):not(.active) {
    background: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.page-btn.active {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    cursor: default;
}

.page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(8, 10, 15, 0.4);
}

.page-btn-nav {
    gap: 6px;
    padding: 0 16px;
}

.page-dots {
    min-width: 28px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
    user-select: none;
}

/* ==========================================================================
   CART NOTIFICATION ANIMATIONS
   ========================================================================== */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); box-shadow: 0 0 10px var(--accent-red); }
    100% { transform: scale(1); }
}

.cart-badge.pop {
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes btnBump {
    0% { transform: scale(1); }
    30% { transform: scale(0.85); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cart-btn.bump {
    animation: btnBump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   MOBILE FILTER SIDEBAR DRAWER OVERRIDES
   ========================================================================== */
.sidebar-mobile-header {
    display: none;
}

.mobile-filter-trigger-btn {
    display: none;
}

@media (max-width: 992px) {
    .sidebar-mobile-header {
        display: flex !important;
    }
    
    .shop-sidebar {
        position: fixed !important;
        top: 0;
        left: -320px; /* Hide off screen */
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary) !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
        z-index: 10000 !important;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 0 !important;
        border-top: none;
        border-bottom: none;
        border-left: none;
        border-right: 1px solid var(--border-color);
        padding: 24px !important;
        visibility: hidden;
        pointer-events: none;
    }
    
    .shop-sidebar.active {
        left: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(8, 9, 12, 0.7);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        z-index: 9999;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-filter-trigger-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 48px;
        padding: 0 16px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
        cursor: pointer;
        transition: var(--transition-fast);
    }
    
    .mobile-filter-trigger-btn:hover {
        border-color: var(--accent-red);
        color: var(--accent-red);
    }
}

/* ==========================================================================
   TECHNOVA GLASSMORPHISM DESIGN SYSTEM STYLES
   ========================================================================== */

.text-cyan {
    color: var(--accent-cyan) !important;
}

.section-tag-cyan {
    color: var(--accent-cyan) !important;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
}

/* --- Mobile Navigation Drawer (Hidden on Desktop View) --- */
.mobile-nav-drawer {
    display: none;
}

/* --- Floating Pill Header Navigation --- */
.header-floating-pill {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 1280px;
    height: auto;
    z-index: 1000;
    background: rgba(10, 14, 22, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 9999px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .header-floating-pill {
    top: 46px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-floating-pill {
        top: 60px;
    }
}

/* Dynamic Header Spacing Block for Page Templates (Removed for Seamless Top Section Floating Header) */
.header-spacing-block {
    display: none !important;
    height: 0 !important;
}

.pill-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px;
    width: 100%;
}

.pill-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text-accent {
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    margin-left: 2px;
}

.logo-icon-glow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.pill-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pill-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(245, 246, 249, 0.75);
    transition: var(--transition-fast);
}

.pill-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.pill-link.active {
    color: var(--accent-cyan) !important;
    background: transparent !important;
    font-weight: 600;
}

.pill-link.active::after {
    display: block !important;
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.9), 0 0 18px rgba(0, 240, 255, 0.6);
}

.pill-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(10, 15, 24, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 9999px;
    padding: 6px 36px 6px 16px;
    transition: var(--transition-normal);
    width: 170px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.12);
}

.pill-search-container:focus-within {
    width: 200px;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.08);
}

.pill-search-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    font-size: 13px;
    color: var(--text-primary);
    box-shadow: none !important;
}

.pill-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.pill-search-container .search-icon-btn {
    position: absolute;
    right: 12px;
    color: rgba(0, 240, 255, 0.75);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.pill-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.pill-icon-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

.pill-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-cyan);
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* --- TechNova Hero Section --- */
.technova-hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 0 50px 0;
    overflow: hidden;
    background: #06090e;
}

.hero-backdrop-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img, .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.95) contrast(1.05);
}

.hero-bg-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    filter: brightness(1) contrast(1.02);
}

.hero-bg-banner.active {
    opacity: 1;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.3) 0%, rgba(6, 9, 14, 0.05) 45%, rgba(6, 9, 14, 0.85) 80%, #06090e 100%);
    pointer-events: none;
}

.hero-container-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.hero-content-technova {
    max-width: 900px;
    margin-top: 140px;
    margin-bottom: 20px;
}

.hero-slide-text {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-slide-text.active {
    display: flex;
    animation: slideFadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.technova-hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8);
}

.technova-hero-subtitle {
    font-size: 21px;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* --- Hero Banner Promo Slide (Card Display) --- */
.hero-content-technova.hero-slide-banner {
    max-width: 1100px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.hero-slide-banner {
    display: none;
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-slide-banner.active {
    display: flex;
    animation: slideFadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-banner-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.35);
    background: rgba(12, 16, 23, 0.9);
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-banner-card:hover {
    transform: translateY(-3px) scale(1.008);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 240, 255, 0.5);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

/* --- Slide Indicators --- */
.hero-slide-indicators {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    pointer-events: auto;
}

.slide-indicator {
    width: 4px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-indicator.active {
    background: var(--accent-cyan);
    height: 40px;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}

/* --- Slide Controls --- */
.hero-slide-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 100;
    pointer-events: auto;
}

.hero-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    pointer-events: auto;
}

.hero-control-btn:hover {
    background: var(--accent-cyan);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: scale(1.05);
}

.pill-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.pill-btn {
    border-radius: 9999px !important;
    padding: 14px 38px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.glow-btn-cyan {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #00f0ff !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.glow-btn-cyan:hover {
    transform: translateY(-2px);
    background: rgba(0, 240, 255, 0.08) !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
}

.glow-btn-glass {
    background: transparent !important;
    border: 1px solid rgba(0, 240, 255, 0.5) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.glow-btn-glass:hover {
    background: rgba(0, 240, 255, 0.08) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
}

/* --- Glassmorphic Categories & Sections --- */
.categories-glass {
    padding: 90px 0 60px 0;
    background: linear-gradient(180deg, #06090e 0%, #0a0e17 100%);
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.glass-card {
    background: rgba(15, 22, 34, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.25);
    background: rgba(20, 30, 46, 0.75);
}

/* --- Mobile Responsive Glassmorphic Categories ("Shop by Category") --- */
@media (max-width: 768px) {
    .categories-glass {
        padding: 40px 0 35px 0 !important;
    }

    .categories-grid-modern {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .categories-grid-modern .category-card {
        height: auto !important;
        min-height: 0 !important;
        padding: 12px 16px !important;
        border-radius: 18px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        gap: 14px !important;
        background: rgba(15, 22, 34, 0.75) !important;
        border: 1px solid rgba(0, 240, 255, 0.18) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .categories-grid-modern .category-img-container {
        width: 85px !important;
        height: 68px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: rgba(255, 255, 255, 0.05) !important;
        position: relative !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .categories-grid-modern .category-img-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        transition: transform 0.3s ease !important;
    }

    .categories-grid-modern .category-card:hover .category-img-container img,
    .categories-grid-modern .category-card:active .category-img-container img {
        transform: scale(1.06) !important;
    }

    .categories-grid-modern .category-info {
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 !important;
        width: auto !important;
        gap: 10px !important;
    }

    .categories-grid-modern .category-info > div {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .categories-grid-modern .category-name {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .categories-grid-modern .category-count {
        font-size: 12px !important;
        color: var(--text-muted) !important;
        line-height: 1.2 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .categories-grid-modern .category-arrow {
        font-size: 13px !important;
        color: var(--accent-cyan) !important;
        background: rgba(0, 240, 255, 0.1) !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: transform 0.2s ease, background 0.2s ease !important;
    }
}

@media (max-width: 480px) {
    .categories-grid-modern {
        gap: 10px !important;
    }

    .categories-grid-modern .category-card {
        padding: 10px 14px !important;
        border-radius: 16px !important;
        gap: 12px !important;
    }

    .categories-grid-modern .category-img-container {
        width: 75px !important;
        height: 60px !important;
        border-radius: 12px !important;
    }

    .categories-grid-modern .category-name {
        font-size: 15px !important;
    }

    .categories-grid-modern .category-count {
        font-size: 11.5px !important;
    }

    .categories-grid-modern .category-arrow {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
}

.shop-glass-section {
    padding: 70px 0;
    background: #0a0e17;
}

.products-grid-glass .product-card {
    background: rgba(15, 22, 34, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 240, 255, 0.15) !important;
    border-radius: 20px !important;
}

.products-grid-glass .product-card:hover {
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2) !important;
}

.glass-about-section {
    padding: 60px 0 30px 0;
    background: linear-gradient(180deg, #0a0e17 0%, #06090e 100%);
}

.glass-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.glass-img-wrapper img {
    border-radius: 20px;
    width: 100%;
}

.pill-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.glass-stat {
    flex: 1;
    background: rgba(15, 22, 34, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(12px);
}

/* --- Mobile Responsive Fix for About Us Section (Engineering Legacy) --- */
@media (max-width: 768px) {
    .glass-about-section {
        padding: 45px 0 30px 0 !important;
    }

    .about-intro-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin-bottom: 0 !important;
    }

    .about-text {
        text-align: center !important;
    }

    .about-text .section-tag {
        display: inline-block !important;
        margin: 0 auto 12px auto !important;
    }

    .about-text h3 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    .about-text p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    .pill-stats,
    .about-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin: 20px 0 24px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .glass-stat,
    .stat-item {
        background: rgba(15, 22, 34, 0.75) !important;
        border: 1px solid rgba(0, 240, 255, 0.2) !important;
        padding: 12px 6px !important;
        border-radius: 14px !important;
        text-align: center !important;
        backdrop-filter: blur(12px) !important;
    }

    .stat-num {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: var(--accent-cyan) !important;
        margin-bottom: 4px !important;
    }

    .stat-label {
        font-size: 11px !important;
        color: var(--text-muted) !important;
        line-height: 1.2 !important;
    }

    .about-text .pill-btn {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 14px 20px !important;
    }

    .about-visual {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .glass-img-wrapper {
        border-radius: 16px !important;
        overflow: hidden !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15) !important;
        max-height: 280px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .glass-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        max-height: 280px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 16px !important;
        display: block !important;
    }

    .glass-contact-section {
        padding: 40px 0 50px 0 !important;
    }

    .glass-contact-section h3 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .glass-contact-section p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .contact-details-list {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 28px !important;
    }

    .contact-detail-item {
        background: rgba(15, 22, 34, 0.75) !important;
        border: 1px solid rgba(0, 240, 255, 0.2) !important;
        border-radius: 16px !important;
        padding: 16px !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 14px !important;
        margin-bottom: 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    .contact-detail-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: rgba(0, 240, 255, 0.1) !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        color: #00f0ff !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .contact-detail-text h5 {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #00f0ff !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        margin-bottom: 4px !important;
    }

    .contact-detail-text p {
        font-size: 14px !important;
        color: #ffffff !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        margin: 0 !important;
        word-break: break-word !important;
    }

    .glass-contact-section .pill-btn {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 14px 20px !important;
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    .glass-about-section {
        padding: 40px 0 25px 0 !important;
    }

    .about-text h3 {
        font-size: 22px !important;
    }

    .about-text p {
        font-size: 13.5px !important;
    }

    .pill-stats,
    .about-stats {
        gap: 6px !important;
    }

    .glass-stat,
    .stat-item {
        padding: 10px 4px !important;
        border-radius: 12px !important;
    }

    .stat-num {
        font-size: 16.5px !important;
    }

    .stat-label {
        font-size: 10px !important;
    }

    .glass-img-wrapper {
        max-height: 240px !important;
    }

    .glass-img-wrapper img {
        max-height: 240px !important;
    }

    .glass-contact-section {
        padding: 35px 0 40px 0 !important;
    }

    .glass-contact-section h3 {
        font-size: 21px !important;
    }

    .contact-detail-item {
        padding: 14px !important;
        border-radius: 14px !important;
        gap: 12px !important;
    }

    .contact-detail-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    .contact-detail-text h5 {
        font-size: 11px !important;
    }

    .contact-detail-text p {
        font-size: 13px !important;
    }
}

.glass-contact-section {
    padding: 40px 0 60px 0;
    background: #06090e;
}

.contact-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* --- Responsive Floating Pill Navbar & Hero --- */
@media (max-width: 1024px) {
    .pill-nav-links {
        display: none;
    }
    
    .technova-hero-title {
        font-size: 48px;
    }
    
    .technova-hero-subtitle {
        font-size: 18px;
    }
    
    .hero-content-technova {
        margin-top: 160px;
    }
}

@media (max-width: 768px) {
    .header-floating-pill {
        width: calc(100% - 20px) !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        border-radius: 9999px !important;
    }
    
    .pill-search-container {
        display: none;
    }
    
    .technova-hero-title {
        font-size: 36px;
    }
    
    .technova-hero-subtitle {
        font-size: 16px;
    }
    
    .pill-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .pill-btn {
        flex: 1;
        width: auto;
        max-width: 155px;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        text-align: center;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .hero-content-technova {
        margin-top: 120px;
    }
}

/* ==========================================
   DEALS & OFFERS PAGE STYLES
   ========================================== */
.deals-page-main {
    padding-top: 20px;
    background: #06090e;
    color: #ffffff;
    min-height: 100vh;
}

.deals-hero-section {
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.badge-flash-sale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 9999px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.deals-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.deals-hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.deals-countdown-box {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 24px;
    padding: 24px 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
}

.countdown-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #64748b;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 36px;
    font-weight: 800;
    font-family: 'Space Grotesk', monospace;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block small {
    font-size: 10px;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 2px;
    font-weight: 700;
    letter-spacing: 1px;
}

.time-colon {
    opacity: 0.6;
    margin-top: -12px;
}

.deals-grid-section {
    padding: 40px 0 80px;
}

.deals-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.deal-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 9999px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.deal-filter-btn:hover, .deal-filter-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.deal-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.deal-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.15);
}

.deal-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 9999px;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.4);
}

.deal-badge-tag.tag-purple {
    background: #a855f7;
    box-shadow: 0 3px 10px rgba(168, 85, 247, 0.4);
}

.deal-badge-tag.tag-cyan {
    background: var(--accent-cyan);
    color: #000000;
    box-shadow: 0 3px 10px rgba(0, 240, 255, 0.4);
}

.deal-badge-tag.tag-discount {
    background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
    color: #050b14;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- Deals Top-Right Live Countdown Badge --- */
.deal-countdown-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 15, 26, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 9px;
    border-radius: 9999px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.2);
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.deal-countdown-badge i {
    color: var(--accent-cyan);
    font-size: 11.5px;
}

.deal-countdown-badge .countdown-timer-text {
    font-family: var(--font-heading), monospace;
    font-weight: 700;
    color: #e2e8f0;
}

.deal-countdown-badge.upcoming {
    background: rgba(30, 16, 55, 0.9);
    border-color: rgba(168, 85, 247, 0.65);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 12px rgba(168, 85, 247, 0.35);
    color: #f3e8ff;
}

.deal-countdown-badge.upcoming i {
    color: #c084fc;
    animation: pulseHourglass 2s infinite ease-in-out;
}

@keyframes pulseHourglass {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15) rotate(15deg); opacity: 1; }
}

.deal-countdown-badge.urgent {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 158, 11, 0.3);
}

.deal-countdown-badge.urgent i {
    color: #f59e0b;
}

.deal-countdown-badge.expired {
    border-color: rgba(239, 68, 68, 0.6);
    color: #ef4444;
}

.deal-countdown-badge.expired i {
    color: #ef4444;
}

.deal-card.deal-card-expired {
    pointer-events: none !important;
    opacity: 0 !important;
    transform: scale(0.9) translateY(15px) !important;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quick-pct-pill {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-pct-pill:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: var(--accent-cyan);
    color: #ffffff;
    transform: translateY(-1px);
}

.deal-img-wrap {
    height: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
    overflow: hidden;
}

.deal-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.deal-card:hover .deal-img {
    transform: scale(1.05);
}

.deal-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.deal-category {
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.deal-rating {
    color: #cbd5e1;
    font-weight: 600;
}

.text-warning {
    color: #f59e0b;
}

.deal-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    height: 40px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.deal-specs {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
    height: 32px;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.deal-details-box {
    margin-bottom: 8px;
    flex-shrink: 0;
}

.deal-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.deal-price-box,
.deal-price-stack {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 26px;
}

.deal-price-current {
    font-size: 19px;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.2;
}

.deal-price-original {
    font-size: 12.5px;
    color: #64748b;
    text-decoration: line-through;
    line-height: 1.2;
}

.deal-savings {
    font-size: 10px;
    font-weight: 800;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
}

.deal-actions {
    width: 100%;
    margin-top: auto;
}

.deal-cta-btn {
    width: 100%;
    height: 42px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.stock-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.stock-progress-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}

.stock-progress-fill {
    height: 100%;
    background: var(--accent-cyan);
    border-radius: 9999px;
}

.stock-progress-fill.warning-fill {
    background: #f59e0b;
}

.deals-promo-section {
    padding: 40px 0 80px;
}

.promo-glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.promo-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 12px;
}

.promo-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.promo-content p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 28px;
}

/* ==========================================
   FEATURED PRODUCTS SECTION STYLES
   ========================================== */
.featured-products-section {
    padding: 80px 0 60px;
    background: #06090e;
}

.featured-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.featured-heading {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.pill-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.pill-btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateX(2px);
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.featured-product-card {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.featured-product-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.12);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    z-index: 2;
}

.badge-blue {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.badge-purple {
    background: #7c3aed;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.featured-card-img-wrap {
    height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    overflow: hidden;
    padding: 16px;
}

.featured-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.featured-product-card:hover .featured-card-img {
    transform: scale(1.06);
}

.featured-card-info {
    display: flex;
    flex-direction: column;
}

.featured-card-category {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.featured-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 4px 0 6px;
}

.featured-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}

.rating-count {
    font-size: 12px;
    color: #64748b;
    margin-left: 4px;
}

.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.featured-card-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.featured-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #4f46e5;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.featured-cart-btn:hover {
    background: var(--accent-cyan);
    color: #000000;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
    transform: scale(1.08);
}

/* ==========================================
   FEATURED HARDWARE DEALS SECTION STYLES
   ========================================== */
.hardware-deals-section {
    padding: 70px 0 60px;
    background: #06090e;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.hardware-deals-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.hardware-deals-heading {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.hardware-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .hardware-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.hardware-deal-card {
    background: rgba(12, 17, 26, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.hardware-deal-card:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.hardware-deal-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.1);
}

.card-img-box {
    position: relative;
    width: 100%;
    height: 210px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
}

.discount-badge,
.product-badge.discount {
    display: none !important;
}

.rating-badge,
.deal-rating {
    display: none !important;
}

.card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.hardware-deal-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 4px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.card-title:hover {
    color: var(--accent-cyan);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.specs-list li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.4;
}

.specs-list .bullet {
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.card-price-row {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-stack {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 12px;
    color: #64748b;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.cart-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-icon-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 14px rgba(2, 132, 199, 0.5);
    transform: scale(1.05);
}

.cart-icon-btn.added,
.add-inquiry-btn.added {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4) !important;
}

/* ==========================================
   SUBMIT ORDER BUTTON STYLES (EMPTY OUTLINE)
   ========================================== */
#submit-inquiry-btn, .inquiry-submit-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 12px !important;
    padding: 16px 32px !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

#submit-inquiry-btn:hover,
.inquiry-submit-btn:hover,
#submit-inquiry-btn:focus,
.inquiry-submit-btn:focus,
#submit-inquiry-btn:active,
.inquiry-submit-btn:active {
    background: transparent !important;
    border-color: #00f0ff !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

/* ==========================================================================
   COMPREHENSIVE FULL-PAGE MOBILE RESPONSIVE SYSTEM (TABLETS & PHONES)
   ========================================================================== */

@media (max-width: 992px) {
    .header-floating-pill {
        width: calc(100% - 32px) !important;
        top: 14px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 4px 12px !important;
    }

    .technova-hero-title {
        font-size: 34px !important;
    }

    .hardware-deals-section {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-item {
        flex: 1 1 40%;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }

    /* --- Floating Navigation & Mobile Menu --- */
    .header-floating-pill {
        width: calc(100% - 20px) !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        border-radius: 9999px !important;
        padding: 4px 12px !important;
    }

    .pill-logo {
        font-size: 16px !important;
    }

    .logo-icon-glow {
        width: 30px !important;
        height: 30px !important;
    }

    .pill-search-container {
        display: none !important;
    }

    .pill-link {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .pill-link.active::after {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    /* --- Hero Section & Actions --- */
    .hero.technova-hero {
        min-height: 480px !important;
        padding: 110px 0 60px !important;
    }

    .technova-hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .technova-hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .hero-actions.pill-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        gap: 10px !important;
    }

    .hero-actions.pill-actions .glow-btn {
        flex: 1 !important;
        width: auto !important;
        max-width: 155px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        justify-content: center !important;
        white-space: nowrap !important;
        border-radius: 9999px !important;
        box-sizing: border-box !important;
    }

    /* --- Featured Hardware Deals Section --- */
    .hardware-deals-section {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .hardware-deals-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .hardware-deals-header-row .glow-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* --- Shop Page & Grids --- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .product-card {
        border-radius: 16px !important;
    }

    .product-img-box {
        height: 150px !important;
    }

    .product-details {
        padding: 12px !important;
    }

    .product-name {
        font-size: 13px !important;
        min-height: 2.5em !important;
    }

    .product-price {
        font-size: 15px !important;
    }

    .product-specs-list {
        display: none !important;
    }


    .deal-card {
        border-radius: 16px !important;
    }

    .deal-img-wrap {
        height: 190px !important;
    }

    .deal-content {
        padding: 18px !important;
    }

    .deal-title {
        font-size: 16px !important;
        min-height: auto !important;
    }

    .deal-specs {
        font-size: 11px !important;
        min-height: auto !important;
    }

    /* --- Compact & User-Friendly Product Modal Popup on Mobile --- */
    .modal-overlay {
        padding: 12px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 100060 !important;
    }

    .detail-modal {
        width: 100% !important;
        max-width: 400px !important;
        max-height: 80vh !important;
        height: auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background: rgba(12, 17, 26, 0.98) !important;
        border: 1px solid rgba(0, 240, 255, 0.3) !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85) !important;
        position: relative !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .modal-scrollable {
        padding: 12px 14px 8px 14px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .detail-img-box {
        width: 100% !important;
        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;
        border-radius: 10px !important;
        background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(5, 9, 16, 0.95) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .detail-img-box img {
        max-width: 100% !important;
        max-height: 112px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }

    .modal-close-btn {
        top: 8px !important;
        right: 8px !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        border-radius: 50% !important;
        background: rgba(8, 12, 20, 0.9) !important;
        border: 1px solid rgba(0, 240, 255, 0.4) !important;
        color: #00f0ff !important;
        font-size: 12px !important;
        z-index: 25 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
    }

    .detail-info-box {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    .detail-category {
        font-size: 9.5px !important;
        font-weight: 800 !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        color: #00f0ff !important;
        margin: 0 0 2px 0 !important;
        display: block !important;
    }

    .detail-title {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        margin: 0 0 6px 0 !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .detail-price {
        margin: 0 0 8px 0 !important;
        padding: 0 0 6px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .modal-price-current {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #00f0ff !important;
    }

    .modal-price-before {
        font-size: 11.5px !important;
        color: #64748b !important;
        text-decoration: line-through !important;
    }

    .detail-desc {
        font-size: 11.5px !important;
        color: #94a3b8 !important;
        line-height: 1.4 !important;
        margin: 0 0 8px 0 !important;
        overflow-wrap: break-word !important;
    }

    .detail-specs-table {
        width: 100% !important;
        margin: 0 0 6px 0 !important;
        border-collapse: collapse !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: rgba(255, 255, 255, 0.02) !important;
    }

    .detail-specs-table tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .detail-specs-table td {
        padding: 5px 8px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .detail-specs-table td.spec-name {
        width: 34% !important;
        color: #94a3b8 !important;
        font-weight: 600 !important;
        background: rgba(255, 255, 255, 0.015) !important;
    }

    .detail-specs-table td.spec-val {
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    .detail-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 10px 14px !important;
        background: rgba(8, 12, 20, 0.98) !important;
        border-top: 1px solid rgba(0, 240, 255, 0.25) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 20 !important;
    }

    .detail-actions .glow-btn {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .modal-btn-primary {
        flex: 1 1 auto !important;
        width: auto !important;
    }

    .modal-btn-secondary {
        flex: 0 0 auto !important;
        width: auto !important;
        padding: 0 14px !important;
    }

    /* --- Cart Drawer --- */
    .cart-drawer {
        width: 100% !important;
        right: -100% !important;
    }

    .cart-drawer.active {
        right: 0 !important;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .stat-item {
        flex: 1 1 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   THANK YOU PAGE & FEATURED RECOMMENDATIONS STYLING
   ========================================================================== */
.thank-you-page-main {
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 10%, rgba(0, 240, 255, 0.06) 0%, transparent 60%), var(--bg-primary);
}

.thank-you-hero-section {
    padding-bottom: 70px;
}

.thank-you-header {
    width: 100%;
    max-width: 100%;
    margin: 0 0 32px 0;
    text-align: left;
}

.success-badge-wrapper {
    display: none !important;
}

.success-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, rgba(0, 240, 255, 0.05) 70%, transparent 100%);
    animation: pulseGlow 2.4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.18); opacity: 1; }
}

.success-icon-box {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(12, 16, 23, 0.95) 100%);
    border: 2px solid #00f0ff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
}

.thank-you-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.thank-you-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Order Summary Full Page Card */
.order-summary-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: rgba(12, 16, 23, 0.95);
    border: none !important;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #00f0ff;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.order-ref-id {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
}

.order-time-badge {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-card-body {
    padding: 36px 40px;
}

.order-client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.client-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.info-val {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    word-break: break-word;
}

/* Ordered Products Table / List */
.ordered-items-wrapper {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.items-section-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #ffffff;
}

.ordered-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ordered-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.ordered-item-row:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.04);
}

.ordered-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ordered-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
}

.ordered-item-info {
    display: flex;
    flex-direction: column;
}

.ordered-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.ordered-item-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.ordered-item-total {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #00f0ff;
}

.empty-items-notice {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* Card Footer & Actions */
.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 28px;
}

.order-total-box {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.total-amount {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
}

.order-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Featured Section on Thank You Page */
.thank-you-featured-section {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* --- Thank You / Order Confirmation Page Mobile Responsiveness (<= 768px) --- */
@media (max-width: 768px) {
    .thank-you-page-main {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .thank-you-hero-section {
        padding-bottom: 40px !important;
    }

    .thank-you-header {
        margin-bottom: 20px !important;
    }

    .thank-you-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .thank-you-subtitle {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .order-summary-card {
        border-radius: 14px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .order-card-header {
        padding: 16px 18px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .order-meta-left {
        width: 100% !important;
    }

    .order-status-badge {
        font-size: 10px !important;
        letter-spacing: 1px !important;
        margin-bottom: 2px !important;
    }

    .order-ref-id {
        font-size: 18px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }

    .order-time-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 2px !important;
    }

    .order-card-body {
        padding: 18px 16px !important;
    }

    .order-client-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding-bottom: 18px !important;
    }

    .info-label {
        font-size: 11px !important;
    }

    .info-val {
        font-size: 13px !important;
    }

    .ordered-items-wrapper {
        padding: 18px 0 !important;
    }

    .items-section-title {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }

    .ordered-item-row {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .ordered-item-img {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }

    .ordered-item-name {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    .ordered-item-meta {
        font-size: 11px !important;
    }

    .ordered-item-total {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .order-card-footer {
        padding-top: 18px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .total-label {
        font-size: 12px !important;
    }

    .total-amount {
        font-size: 22px !important;
        font-weight: 800 !important;
    }

    .thank-you-inquiry-box {
        margin-top: 20px !important;
        padding-top: 18px !important;
    }

    .inquiry-box-title {
        font-size: 16px !important;
        gap: 8px !important;
    }

    .inquiry-box-subtitle {
        font-size: 12px !important;
    }

    .inquiry-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .inquiry-form-group.full-width {
        grid-column: span 1 !important;
    }

    .inquiry-form-input,
    .inquiry-form-select,
    .inquiry-form-textarea {
        padding: 10px 14px !important;
        font-size: 16px !important;
    }

    .thank-you-submit-btn {
        padding: 12px 18px !important;
        font-size: 14px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .thank-you-featured-section {
        padding-top: 36px !important;
    }
}

/* ==========================================================================
   AUTOMATIC BRAND LOGO SLIDER (HERO SUB-SECTION)
   ========================================================================== */
.brand-slider-section {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brand-slider-inner {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.brand-ticker-wrapper {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.brand-ticker-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: brandTickerScroll 35s linear infinite;
    will-change: transform;
}

.brand-ticker-track:hover {
    animation-play-state: paused;
}

.brand-logo-card {
    flex-shrink: 0;
    width: 140px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.brand-logo-card:hover {
    background: #ffffff;
    border-color: #00f0ff;
    box-shadow: 0 4px 18px rgba(0, 240, 255, 0.25);
    transform: translateY(-2px);
}

.brand-logo-img {
    max-width: 110px;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logo-card:hover .brand-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

@keyframes brandTickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 991px) {
    .brand-ticker-track {
        gap: 32px;
        animation-duration: 25s;
    }

    .brand-logo-card {
        width: 120px;
        height: 48px;
    }

    .brand-logo-img {
        max-width: 90px;
        max-height: 32px;
    }
}

/* ==========================================
   BEFORE YOU CHECKOUT UPSELL MODAL STYLES
   ========================================== */
.upsell-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100060 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.upsell-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.upsell-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 92%;
    max-width: 680px;
    max-height: 88vh;
    background: #0d121b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 100061 !important;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.upsell-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.upsell-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #0d121b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.upsell-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.upsell-modal-title {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
    margin: 0;
}

.upsell-timer-box {
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-countdown {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ef4444;
}

.upsell-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upsell-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.upsell-modal-body {
    padding: 20px 24px;
    background: #0d121b;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

.upsell-modal-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.upsell-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upsell-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
    transition: all 0.2s ease;
}

.upsell-item-row:last-child {
    border-bottom: none;
}

.upsell-item-row:hover {
    background: rgba(0, 240, 255, 0.03);
}

.upsell-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.upsell-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 4px;
}

.upsell-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upsell-item-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

.upsell-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.upsell-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.upsell-old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.upsell-current-price {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.upsell-save-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: #10b981;
    color: #ffffff;
    border-radius: 3px;
}

.upsell-add-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.upsell-add-btn:hover {
    background: #00f0ff;
    color: #06090e;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.upsell-add-btn.added {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
}

/* FOOTER SECTION UNDER BORDER - WHITE BACKGROUND */
.upsell-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb;
    gap: 16px;
}

.upsell-decline-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    background: #ffffff;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upsell-decline-btn:hover {
    background: #f3f4f6;
    color: #111827;
    border-color: #9ca3af;
}

.upsell-checkout-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);
    color: #06090e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upsell-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.6);
    filter: brightness(1.08);
}

@media (max-width: 600px) {
    .upsell-modal {
        width: 95% !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        border-radius: 16px !important;
    }

    .upsell-modal-header {
        padding: 14px 16px !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .upsell-header-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        flex: 1 !important;
    }

    .upsell-modal-title {
        font-size: 18px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    .upsell-timer-box {
        padding: 4px 8px !important;
        font-size: 11px !important;
        width: fit-content !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .upsell-close-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 50% !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .upsell-modal-body {
        padding: 12px 16px !important;
    }

    .upsell-item-row {
        padding: 12px !important;
        gap: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        border-radius: 12px !important;
    }

    .upsell-item-left {
        width: 100% !important;
        gap: 12px !important;
    }

    .upsell-item-img {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
    }

    .upsell-item-title {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .upsell-item-right {
        width: 100% !important;
        margin-top: 4px !important;
    }

    .upsell-add-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    .upsell-modal-footer {
        padding: 14px 16px !important;
        gap: 10px !important;
        flex-direction: column-reverse !important;
    }

    .upsell-decline-btn, .upsell-checkout-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        justify-content: center !important;
    }
}

/* ==========================================
   TOAST NOTIFICATION POPUP (BOTTOM RIGHT)
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: 90%;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(12, 16, 23, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(16px);
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.25);
}

.toast-icon {
    font-size: 20px;
    color: #00f0ff;
    margin-top: 2px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.toast-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #ffffff;
}

/* ==========================================
   OFFICIAL BRAND LOGO STYLES
   ========================================== */
.brand-header-logo {
    height: 26px;
    max-height: 26px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-header-logo:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.7));
}

.hero-brand-logo-wrap {
    display: none !important;
}

.hero-company-subtag {
    display: none !important;
}

.hero-brand-logo {
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.6));
    animation: logoGlowFloat 3s ease-in-out infinite alternate;
}

@keyframes logoGlowFloat {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.5));
    }
    100% {
        transform: translateY(-6px) scale(1.04);
        filter: drop-shadow(0 0 32px rgba(0, 240, 255, 0.85));
    }
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-brand-logo {
    height: 30px;
    max-height: 30px;
    width: auto;
    max-width: 105px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.35));
    margin-bottom: 0;
}

.footer-company-title {
    display: none !important;
}

.header-company-name {
    display: none !important;
}

@media (max-width: 991px) {
    .header-company-name {
        display: none;
    }
}

@media (max-width: 768px) {
    .brand-header-logo {
        height: 28px;
    }
    .hero-brand-logo {
        height: 48px;
    }
}

/* ==========================================
   THANK YOU PAGE INQUIRY FORM STYLES
   ========================================== */
.thank-you-inquiry-box {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-box-header {
    margin-bottom: 24px;
}

.inquiry-box-title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.inquiry-box-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.inquiry-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-form-group.full-width {
    grid-column: span 2;
}

.inquiry-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-star {
    color: #ef4444;
}

.inquiry-form-input,
.inquiry-form-select,
.inquiry-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.inquiry-form-input:focus,
.inquiry-form-select:focus,
.inquiry-form-textarea:focus {
    outline: none;
    border-color: #00f0ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.inquiry-form-select option {
    background: #0d121b;
    color: #ffffff;
}

.inquiry-form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.thank-you-submit-btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    justify-content: center;
}

@media (max-width: 600px) {
    .inquiry-form-grid {
        grid-template-columns: 1fr;
    }
    .inquiry-form-group.full-width {
        grid-column: span 1;
    }
}

.order-client-grid {
    display: none !important;
}

/* ==========================================
   GOOGLE reCAPTCHA WIDGET & BADGE STYLING
   ========================================== */
.contact-recaptcha-wrapper,
.thank-you-recaptcha-wrapper {
    margin-top: 10px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-recaptcha-wrapper.v3-wrapper,
.thank-you-recaptcha-wrapper.v3-wrapper {
    margin-top: 6px;
    margin-bottom: 4px;
}

.recaptcha-v3-badge-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    width: fit-content;
    max-width: 100%;
}

.recaptcha-v3-badge-notice i {
    color: #00f0ff;
    font-size: 13px;
}

.recaptcha-v3-badge-notice a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.recaptcha-v3-badge-notice a:hover {
    color: #00f0ff;
}

.g-recaptcha {
    display: inline-block;
}

@media (max-width: 360px) {
    .g-recaptcha {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

/* ==========================================
   CONFIRMED THANK YOU SUCCESS BOX STYLES
   ========================================== */
.thank-you-success-box {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 78, 59, 0.25) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.success-icon-wrap {
    font-size: 38px;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-banner-title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
    margin: 0 0 4px 0;
}

.success-banner-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.confirmation-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 28px;
}

.conf-card-title {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conf-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.conf-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.conf-detail-item.full-span {
    grid-column: span 2;
}

.conf-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.conf-val {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    word-break: break-word;
}

.confirmation-actions-box {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
}

.confirmation-actions-box .glow-btn,
.confirmation-actions-box .outline-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.glow-btn-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
    border: none !important;
}

.glow-btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6) !important;
}

@media (max-width: 600px) {
    .success-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .conf-details-grid {
        grid-template-columns: 1fr;
    }
    .conf-detail-item.full-span {
        grid-column: span 1;
    }
    .confirmation-actions-box {
        flex-direction: column;
        width: 100%;
    }
    .confirmation-actions-box a,
    .confirmation-actions-box button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   THANK YOU PAGE ORDER TOTAL RIGHT ALIGNMENT
   ========================================== */
.order-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 24px;
}

.order-total-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.order-total-box .total-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: block;
}

.order-total-box .total-amount {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
}

/* ==========================================
   ADMIN QUICK ADD PRODUCT SIDE PANEL DRAWER
   ========================================== */
.admin-quick-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.9));
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 9999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 165, 233, 0.35), 0 0 15px rgba(0, 240, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.admin-quick-fab:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 165, 233, 0.5), 0 0 25px rgba(0, 240, 255, 0.4);
}

.admin-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 18, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.admin-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    background: rgba(10, 15, 25, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 240, 255, 0.25);
    z-index: 10001;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.admin-drawer.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 9, 16, 0.5);
}

.admin-drawer-title {
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.admin-drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.admin-drawer-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.admin-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.admin-product-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-star {
    color: #f43f5e;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-form-input,
.admin-form-select,
.admin-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form-select option {
    background: #0d131f;
    color: #ffffff;
}

.admin-form-input:focus,
.admin-form-select:focus,
.admin-form-textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.04);
}

.admin-form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.admin-form-actions button {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
}

/* ==========================================================================
   HIGH-PERFORMANCE MOBILE RESPONSIVE SYSTEM
   Strictly scoped to <= 1024px, <= 768px, <= 480px (Desktop view is 100% untouched)
   ========================================================================== */

/* --- TABLET ADAPTATION (<= 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-container-centered {
        max-width: 100%;
    }

    .products-grid,
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* --- MOBILE LANDSCAPE & PORTRAIT (<= 768px) --- */
@media (max-width: 768px) {

    /* 1. Global iOS Form Auto-Zoom Prevention */
    input, select, textarea {
        font-size: 16px !important; /* Prevents auto-zoom on mobile safari/chrome */
    }

    /* 2. Floating Glass Pill Header & Navigation Drawer */
    .header.header-floating-pill {
        position: fixed !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 0 !important;
        padding: 8px 14px !important;
        height: auto !important;
        background: rgba(8, 12, 20, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        border-radius: 9999px !important;
        z-index: 9999 !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
        box-sizing: border-box !important;
    }

    .pill-nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .brand-header-logo {
        height: 34px !important;
        width: auto;
    }

    /* Desktop search bar & desktop nav links hidden on mobile header pill */
    .pill-search-container,
    #desktop-nav-links {
        display: none !important;
    }

    .pill-nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
        z-index: 100;
    }

    .pill-icon-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(0, 240, 255, 0.2);
        cursor: pointer !important;
        position: relative !important;
        z-index: 101 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
    }

    .pill-icon-btn * {
        pointer-events: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid var(--accent-cyan);
        border-radius: 50%;
        color: var(--accent-cyan);
        font-size: 18px;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .mobile-menu-btn:active {
        transform: scale(0.92);
        background: rgba(0, 240, 255, 0.25);
    }

    /* Mobile Navigation Drawer */
    .mobile-nav-drawer,
    .nav-links.pill-nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: rgba(8, 12, 22, 0.98) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border-left: 1px solid rgba(0, 240, 255, 0.3) !important;
        z-index: 100000 !important;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.95) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 20px 20px 30px 20px !important;
        gap: 10px !important;
        transform: translateX(105%) !important;
        transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease, visibility 0.35s ease !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .mobile-nav-drawer.active,
    .nav-links.pill-nav-links.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 16px !important;
        margin-bottom: 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-drawer-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--accent-cyan) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
    }

    .mobile-drawer-close-btn {
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        border-radius: 50% !important;
        color: #ffffff !important;
        font-size: 16px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .mobile-drawer-close-btn:active {
        transform: scale(0.9) rotate(90deg);
        background: var(--accent-cyan);
        color: #000;
    }

    .mobile-nav-search {
        display: none !important;
    }

    .nav-link.pill-link {
        display: flex;
        align-items: center;
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .nav-link.pill-link:hover,
    .nav-link.pill-link.active {
        background: rgba(0, 240, 255, 0.12);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
        transform: translateX(4px);
    }

    .nav-mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(4, 7, 13, 0.82);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 3. Hero Section Adaptation (Mobile Responsive Only) */
    .hero.technova-hero {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 340px !important;
        max-height: 480px !important;
        padding-top: 75px !important;
        padding-bottom: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: #06090e !important;
        box-sizing: border-box !important;
    }

    .hero-backdrop-container {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        z-index: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #06090e !important;
    }

    .hero-bg-video,
    .hero-bg-img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding: 50px 4px 30px 4px !important;
        box-sizing: border-box !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    /* Completely hide underlying background video when promo poster slide is active */
    .hero-bg-banner.active ~ .hero-bg-video,
    .banner-slide-active .hero-bg-video {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }

    .hero-bg-banner {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        z-index: 2 !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        transition: opacity 0.4s ease !important;
    }

    .hero-bg-banner.active {
        opacity: 1 !important;
        z-index: 5 !important;
    }

    .hero.technova-hero.banner-slide-active {
        background: #06090e !important;
        padding-top: 65px !important;
        padding-bottom: 25px !important;
        height: auto !important;
        min-height: 240px !important;
    }

    .hero-gradient-overlay {
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(180deg, rgba(6, 9, 14, 0.6) 0%, rgba(6, 9, 14, 0.2) 40%, rgba(6, 9, 14, 0.82) 85%, #06090e 100%) !important;
        z-index: 3 !important;
        pointer-events: none !important;
    }

    .hero-container-centered {
        position: relative !important;
        z-index: 4 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        margin: 0 auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .hero-content-technova {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .technova-hero-title {
        font-size: clamp(19px, 5.2vw, 24px) !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin-bottom: 6px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
        padding: 0 4px !important;
    }

    .technova-hero-subtitle {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.88) !important;
        margin-bottom: 14px !important;
        max-width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9) !important;
    }

    .pill-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .glow-btn.pill-btn {
        flex: 1 !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        border-radius: 9999px !important;
        box-sizing: border-box !important;
    }

    /* Move indicators to bottom-center on mobile */
    .hero-slide-indicators {
        position: absolute !important;
        top: auto !important;
        right: auto !important;
        left: 50% !important;
        bottom: 8px !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

    .slide-indicator {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.35) !important;
        border: 1px solid rgba(0, 240, 255, 0.4) !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
    }

    .slide-indicator.active {
        width: 24px !important;
        height: 8px !important;
        border-radius: 10px !important;
        background: #00f0ff !important;
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.8) !important;
    }

    .hero-slide-controls {
        display: none !important; /* Hide prev/next manual side arrows on touch screens for clean view */
    }

    /* 4. Mobile Shop Page Section & Controls Bar */
    .shop-section {
        padding-top: 85px !important;
        padding-bottom: 50px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .shop-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 15px !important;
        gap: 0 !important;
    }

    .shop-main {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 16px !important;
    }

    .shop-controls-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 14px !important;
        background: rgba(13, 19, 32, 0.88) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(0, 240, 255, 0.22) !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-bottom: 20px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    /* Live Catalog Search Bar - Placed Top on Mobile */
    .shop-search-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        background: rgba(10, 15, 24, 0.95) !important;
        border: 1px solid rgba(0, 240, 255, 0.35) !important;
        border-radius: 12px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        order: 1 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    .shop-search-box:focus-within {
        border-color: #00f0ff !important;
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.4) !important;
        background: rgba(0, 240, 255, 0.08) !important;
    }

    .shop-search-box .search-icon {
        font-size: 16px !important;
        margin-right: 10px !important;
        color: #00f0ff !important;
    }

    .shop-search-input {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .shop-search-input::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    /* Equal 2-Column Action Buttons Row below Search Bar */
    .shop-controls-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        order: 2 !important;
    }

    /* Left Action Button: Filters Trigger */
    .mobile-filter-trigger-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        padding: 0 12px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        background: rgba(0, 240, 255, 0.12) !important;
        border: 1px solid rgba(0, 240, 255, 0.35) !important;
        border-radius: 10px !important;
        color: #00f0ff !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 12px rgba(0, 240, 255, 0.12) !important;
    }

    .mobile-filter-trigger-btn i {
        font-size: 15px !important;
    }

    .mobile-filter-trigger-btn:hover,
    .mobile-filter-trigger-btn:active {
        background: rgba(0, 240, 255, 0.22) !important;
        border-color: #00f0ff !important;
        box-shadow: 0 4px 18px rgba(0, 240, 255, 0.3) !important;
    }

    /* Right Action Button: Sort Dropdown Container */
    .sort-group {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 10px !important;
        padding: 0 28px 0 12px !important;
        box-sizing: border-box !important;
        transition: all 0.3s ease !important;
    }

    .sort-group:focus-within,
    .sort-group:hover {
        border-color: rgba(0, 240, 255, 0.4) !important;
        background: rgba(0, 240, 255, 0.06) !important;
    }

    /* Custom Chevron Arrow on far right of Sort button */
    .sort-group::after {
        content: "\f078" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        position: absolute !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #00f0ff !important;
        font-size: 11px !important;
        pointer-events: none !important;
    }

    .sort-label {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        pointer-events: none !important;
    }

    .sort-label i {
        color: #00f0ff !important;
        font-size: 12px !important;
    }

    .sort-select {
        flex: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        padding: 0 !important;
        outline: none !important;
        cursor: pointer !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .sort-select option {
        background: #0d1320 !important;
        color: #ffffff !important;
    }

    .sort-group .tn-select {
        flex: 1 !important;
        min-width: 0 !important;
        height: 100% !important;
        position: static !important;
    }

    .sort-group .tn-select-chevron {
        display: none !important;
    }

    .sort-group .tn-select.is-open .tn-select-trigger {
        box-shadow: none !important;
    }

    /* 5. Global Product Grids & Cards Mobile System (2-Column Mobile App Layout for ALL Product Cards) */
    .container,
    .container-wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .hardware-deals-grid,
    .products-grid,
    /* 5. Global Product Grids & Cards Mobile System (2-Column Mobile App Layout for ALL Product Cards) */
    .container,
    .container-wide {
        padding-left: 14px !important;
        padding-right: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .hardware-deals-grid,
    .products-grid,
    .shop-products-grid,
    .deals-grid,
    .top-rated-grid,
    .related-products-grid,
    .products-grid-glass {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .product-card,
    .hardware-deal-card,
    .deal-card,
    .featured-product-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        background: rgba(13, 19, 30, 0.95) !important;
        border: 1px solid rgba(0, 240, 255, 0.16) !important;
        border-radius: 14px !important;
        padding: 10px !important;
        position: relative !important;
        overflow: hidden !important;
        height: 100% !important;
        min-height: 260px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    }

    .product-card:active,
    .hardware-deal-card:active,
    .deal-card:active,
    .featured-product-card:active {
        transform: scale(0.985) !important;
        border-color: rgba(0, 240, 255, 0.4) !important;
    }

    .product-img-box,
    .card-img-box,
    .deal-img-wrap {
        position: relative !important;
        width: 100% !important;
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(6, 10, 18, 0.9) 100%) !important;
        border-radius: 10px !important;
        padding: 6px !important;
        margin-bottom: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        cursor: pointer !important;
    }

    .product-img-box img,
    .card-img-box img,
    .card-img,
    .deal-img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transition: transform 0.3s ease !important;
    }

    .product-badge,
    .discount-badge,
    .deal-badge-tag {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        font-size: 9.5px !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
        font-weight: 800 !important;
        background: #ef4444 !important;
        color: #ffffff !important;
        z-index: 3 !important;
        line-height: 1.1 !important;
        border: none !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
        max-width: 85% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }

    .deal-countdown-badge {
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        font-size: 9px !important;
        padding: 2.5px 6px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        z-index: 4 !important;
        line-height: 1.1 !important;
        gap: 3px !important;
        background: rgba(10, 15, 26, 0.95) !important;
        border: 1px solid rgba(0, 240, 255, 0.35) !important;
    }

    .deal-countdown-badge i {
        font-size: 9px !important;
    }

    .product-details,
    .card-body,
    .deal-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        justify-content: space-between !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 0 !important;
    }

    .product-category,
    .card-category,
    .deal-category {
        font-size: 9.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        color: #00f0ff !important;
        margin: 0 0 2px 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
    }

    .product-name,
    .card-title,
    .deal-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        color: #ffffff !important;
        margin: 0 0 6px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        word-break: break-word !important;
        cursor: pointer !important;
    }

    /* Hide heavy 3-bullet specs list on mobile 2-column view to keep card layout clean and tight */
    .product-specs-list,
    .specs-list,
    .deal-specs,
    .deal-details-box,
    .deal-savings,
    .deal-meta {
        display: none !important;
    }

    .product-footer,
    .card-price-row,
    .deal-footer,
    .deal-price-box {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 4px !important;
        margin-top: auto !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .price-wrap,
    .price-stack,
    .deal-price-stack {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        gap: 1px !important;
    }

    .product-price-before,
    .old-price,
    .deal-price-original {
        font-size: 10px !important;
        color: #64748b !important;
        text-decoration: line-through !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        margin: 0 !important;
    }

    .product-price,
    .current-price,
    .deal-price-current {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        font-family: var(--font-heading, inherit) !important;
        color: #00f0ff !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        margin: 0 !important;
    }

    .add-inquiry-btn:not(.zero-price-inquiry-btn),
    .cart-icon-btn:not(.zero-price-inquiry-link):not(.glow-btn-whatsapp),
    .deal-cta-btn:not(.glow-btn-whatsapp) {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 9px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        background: rgba(0, 240, 255, 0.12) !important;
        border: 1px solid rgba(0, 240, 255, 0.35) !important;
        color: #00f0ff !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 2px 8px rgba(0, 240, 255, 0.15) !important;
    }

    .deal-actions {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .deal-cta-btn:not(.glow-btn-whatsapp) .deal-cta-text {
        display: none !important;
    }

    /* Mobile Inquiry Button (Price on Inquiry products) - Full Width & User-Friendly */
    .add-inquiry-btn.zero-price-inquiry-btn,
    .deal-cta-btn.glow-btn-whatsapp,
    .card-price-row .glow-btn-whatsapp {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.28)) !important;
        border: 1px solid rgba(37, 211, 102, 0.45) !important;
        color: #25d366 !important;
        cursor: pointer !important;
        padding: 0 10px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.15) !important;
        box-sizing: border-box !important;
        flex: 1 1 100% !important;
    }

    .add-inquiry-btn.zero-price-inquiry-btn span,
    .deal-cta-btn.glow-btn-whatsapp .deal-cta-text,
    .card-price-row .glow-btn-whatsapp span {
        display: inline !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #25d366 !important;
        white-space: nowrap !important;
    }

    .add-inquiry-btn.zero-price-inquiry-btn i,
    .deal-cta-btn.glow-btn-whatsapp i,
    .card-price-row .glow-btn-whatsapp i {
        font-size: 15px !important;
        color: #25d366 !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    .add-inquiry-btn.zero-price-inquiry-btn:active,
    .deal-cta-btn.glow-btn-whatsapp:active,
    .card-price-row .glow-btn-whatsapp:active {
        background: #25d366 !important;
        color: #050b14 !important;
        border-color: #25d366 !important;
    }

    .add-inquiry-btn.zero-price-inquiry-btn:active span,
    .deal-cta-btn.glow-btn-whatsapp:active .deal-cta-text,
    .card-price-row .glow-btn-whatsapp:active span,
    .add-inquiry-btn.zero-price-inquiry-btn:active i,
    .deal-cta-btn.glow-btn-whatsapp:active i,
    .card-price-row .glow-btn-whatsapp:active i {
        color: #050b14 !important;
    }

    .add-inquiry-btn.added,
    .cart-icon-btn.added,
    .deal-cta-btn.added {
        background: #00f0ff !important;
        color: #000000 !important;
        border-color: #00f0ff !important;
        box-shadow: 0 0 12px rgba(0, 240, 255, 0.6) !important;
    }

    .add-inquiry-btn:active,
    .cart-icon-btn:active,
    .deal-cta-btn:active {
        transform: scale(0.92) !important;
    }

    /* 5. Touch-Friendly Category Scrolling Bar */
    .category-filter-bar,
    .shop-categories-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
        scrollbar-width: none !important;
    }

    .category-filter-bar::-webkit-scrollbar,
    .shop-categories-pills::-webkit-scrollbar {
        display: none !important;
    }

    .cat-pill-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 999px !important;
    }

    /* Mobile Catalog Pagination System */
    .shop-pagination-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        margin-top: 28px !important;
        padding-top: 22px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pagination-info {
        font-size: 13.5px !important;
        text-align: center !important;
        color: var(--text-secondary) !important;
        width: 100% !important;
    }

    .pagination-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 0 !important;
        scrollbar-width: none !important;
    }

    .pagination-controls::-webkit-scrollbar {
        display: none !important;
    }

    .page-btn {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 13.5px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .page-btn-nav {
        gap: 5px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        min-width: 60px !important;
        flex-shrink: 0 !important;
    }

    .page-dots {
        min-width: 18px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        color: var(--text-muted) !important;
    }

    /* 6. Cart Drawer & Modal Full-Width Mobile Optimization */
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        border-left: none !important;
    }

    .cart-drawer.active {
        right: 0 !important;
    }

    .cart-header {
        padding: 16px 20px !important;
        background: rgba(10, 15, 25, 0.98) !important;
        border-bottom: 1px solid var(--border-color) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .cart-close-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(0, 240, 255, 0.3) !important;
        color: var(--accent-cyan) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        transition: transform 0.2s ease, background 0.2s ease !important;
    }

    .cart-close-btn:active {
        background: rgba(0, 240, 255, 0.25) !important;
        transform: scale(0.92) !important;
    }

    .quick-view-modal .modal-content {
        width: 94% !important;
        max-height: 88vh !important;
        padding: 18px !important;
        border-radius: 16px !important;
        margin: 10px auto !important;
    }

    /* 7. Modern User-Friendly Mobile Footer Layout */
    .footer {
        padding-top: 36px !important;
        padding-bottom: 24px !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 16px !important;
        align-items: start !important;
        text-align: left !important;
    }

    .footer-brand {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 4px !important;
    }

    .footer-brand .logo,
    .footer-logo-wrap {
        display: inline-flex !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
    }

    .footer-brand p {
        max-width: 340px !important;
        margin: 0 auto 16px auto !important;
        text-align: center !important;
        color: var(--text-secondary) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .footer-brand .social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .footer-col {
        min-width: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-col:nth-child(2) {
        grid-column: 1 / 2 !important;
    }

    .footer-col:nth-child(3) {
        grid-column: 2 / 3 !important;
    }

    .footer-col:nth-child(4) {
        grid-column: 1 / -1 !important;
        margin-top: 6px !important;
    }

    .footer-col h4 {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: #00f0ff !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        margin-bottom: 12px !important;
        position: relative !important;
        padding-bottom: 6px !important;
        text-align: center !important;
        display: inline-block !important;
    }

    .footer-col h4::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 22px !important;
        height: 2px !important;
        background: #00f0ff !important;
    }

    .footer-col p {
        text-align: center !important;
    }

    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    .footer-link {
        font-size: 13.5px !important;
        color: rgba(255, 255, 255, 0.75) !important;
        transition: color 0.2s ease !important;
        display: inline-block !important;
        text-align: center !important;
    }

    .footer-link:hover,
    .footer-link:active {
        color: #00f0ff !important;
    }

    .newsletter-form {
        display: flex !important;
        gap: 8px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .newsletter-input {
        flex: 1 !important;
        background: rgba(15, 22, 34, 0.9) !important;
        border: 1px solid rgba(0, 240, 255, 0.25) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 12px 14px !important;
        font-size: 13.5px !important;
        outline: none !important;
    }

    .newsletter-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        background: #00f0ff !important;
        color: #000000 !important;
        font-size: 15px !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-top: 20px !important;
        margin-top: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }

    .copyright {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        text-align: center !important;
    }

    .footer-payment-icons {
        font-size: 11px !important;
        color: rgba(0, 240, 255, 0.75) !important;
        text-align: center !important;
    }
}

/* --- SMALL MOBILE PHONES (<= 480px) --- */
@media (max-width: 480px) {
    .container,
    .container-wide {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .header.header-floating-pill {
        top: 6px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        padding: 6px 10px !important;
    }

    .brand-header-logo {
        height: 30px !important;
    }

    .hardware-deals-grid,
    .products-grid,
    .shop-products-grid,
    .deals-grid,
    .top-rated-grid,
    .related-products-grid,
    .products-grid-glass {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .product-card,
    .hardware-deal-card,
    .deal-card,
    .featured-product-card {
        padding: 10px !important;
        border-radius: 14px !important;
        min-height: 255px !important;
        box-sizing: border-box !important;
    }

    .product-img-box,
    .card-img-box,
    .deal-img-wrap {
        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;
        border-radius: 10px !important;
    }

    .product-img-box img,
    .card-img-box img,
    .card-img,
    .deal-img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    .product-category,
    .card-category,
    .deal-category {
        font-size: 9px !important;
    }

    .product-name,
    .card-title,
    .deal-title {
        font-size: 12.5px !important;
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }

    .product-price,
    .current-price,
    .deal-price-current {
        font-size: 13px !important;
    }

    .product-price-before,
    .old-price,
    .deal-price-original {
        font-size: 9.5px !important;
    }

    .add-inquiry-btn:not(.zero-price-inquiry-btn),
    .cart-icon-btn:not(.zero-price-inquiry-link):not(.glow-btn-whatsapp),
    .deal-cta-btn:not(.glow-btn-whatsapp) {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .technova-hero-title {
        font-size: 22px !important;
    }

    .page-btn {
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 6px !important;
        font-size: 12.5px !important;
    }

    .page-btn-nav {
        padding: 0 8px !important;
        font-size: 12px !important;
        min-width: 52px !important;
    }

    .page-dots {
        min-width: 12px !important;
        font-size: 13px !important;
    }

    /* Modal <= 480px optimization */
    .detail-modal {
        max-width: calc(100% - 16px) !important;
        max-height: 80vh !important;
        border-radius: 14px !important;
    }

    .modal-scrollable {
        padding: 10px 12px 6px 12px !important;
    }

    .detail-img-box {
        height: 110px !important;
        min-height: 110px !important;
        max-height: 110px !important;
        padding: 4px !important;
    }

    .detail-img-box img {
        max-height: 100px !important;
    }

    .detail-title {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .modal-price-current {
        font-size: 17px !important;
    }

    .modal-close-btn {
        top: 6px !important;
        right: 6px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 11px !important;
    }

    .detail-specs-table td {
        padding: 4px 6px !important;
        font-size: 10.5px !important;
    }

    .detail-actions {
        padding: 8px 12px !important;
    }

    .detail-actions .glow-btn {
        height: 36px !important;
        min-height: 36px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   WHATSAPP BUTTON & INQUIRY STYLES (0777 802534)
   ========================================================================== */
.glow-btn-whatsapp {
    background: rgba(37, 211, 102, 0.12) !important;
    border: 1px solid rgba(37, 211, 102, 0.45) !important;
    color: #25D366 !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glow-btn-whatsapp:hover {
    background: #25D366 !important;
    color: #050b14 !important;
    border-color: #25D366 !important;
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-2px);
}

.floating-whatsapp-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
}

.floating-whatsapp-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.floating-wa-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: floatingWaPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}

@keyframes floatingWaPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.floating-wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0f172a;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    text-align: right;
}

.floating-whatsapp-btn:hover .floating-wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .floating-whatsapp-wrap {
        bottom: 20px;
        right: 20px;
    }
    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

/* ==========================================================================
   OFFICIAL PRINT RECEIPT (Hidden on screen)
   ========================================================================== */
.print-receipt-header,
.print-receipt-footer {
    display: none;
}

/* ==========================================================================
   PRINT STYLES FOR ORDER CONFIRMATION / INVOICE RECEIPT
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 12mm 8mm 12mm;
    }

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }

    html,
    body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
        font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 9.5pt !important;
        line-height: 1.4 !important;
        width: 100% !important;
    }

    /* Hide all web UI chrome, navigation, headers, footers, side drawers & overlays */
    header,
    .header,
    .header-floating-pill,
    #header,
    .floating-pill-header,
    .pill-nav-container,
    .mobile-nav-drawer,
    #nav-links,
    footer,
    .footer,
    .thank-you-header,
    .thank-you-featured-section,
    .confirmation-actions-box,
    .print-btn,
    .thank-you-inquiry-box,
    .success-banner,
    .cart-drawer,
    .cart-drawer-overlay,
    .upsell-modal,
    .upsell-modal-overlay,
    .modal-overlay,
    .detail-modal,
    .quick-add-product-drawer,
    .quick-add-product-overlay,
    .toast-container,
    #toast-container,
    .g-recaptcha,
    .grecaptcha-badge,
    div.grecaptcha-badge,
    .contact-recaptcha-wrapper,
    .thank-you-recaptcha-wrapper,
    .recaptcha-v3-badge-notice,
    .no-print {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        position: static !important;
    }

    .thank-you-page-main,
    .thank-you-hero-section {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Order Summary Card transformed into crisp printable invoice */
    #thank-you-order-card,
    #thank-you-order-card.glass-card {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 14px 18px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* Official Invoice / Receipt Header */
    .print-receipt-header {
        display: block !important;
        border-bottom: 2px solid #0284c7 !important;
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-header-grid {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .print-brand-col {
        flex: 1 !important;
    }

    .print-logo-row {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 4px !important;
    }

    .print-brand-logo {
        height: 38px !important;
        width: auto !important;
        object-fit: contain !important;
        filter: brightness(0) !important;
    }

    .print-company-name {
        font-family: var(--font-heading, sans-serif) !important;
        font-size: 13pt !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.5px !important;
    }

    .print-company-tagline {
        font-size: 7.5pt !important;
        color: #64748b !important;
        margin: 2px 0 0 0 !important;
        font-weight: 500 !important;
    }

    .print-company-address {
        font-size: 8pt !important;
        color: #475569 !important;
        margin: 4px 0 0 0 !important;
        line-height: 1.3 !important;
    }

    .print-company-address i {
        color: #0284c7 !important;
        margin-right: 3px !important;
    }

    .print-meta-col {
        text-align: right !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 2px !important;
    }

    .print-receipt-badge {
        display: inline-block !important;
        background: #0284c7 !important;
        color: #ffffff !important;
        font-size: 8.5pt !important;
        font-weight: 800 !important;
        padding: 3px 10px !important;
        border-radius: 4px !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 4px !important;
    }

    .print-meta-item {
        font-size: 8pt !important;
        color: #475569 !important;
        line-height: 1.3 !important;
    }

    .print-meta-item strong {
        color: #0f172a !important;
        font-weight: 600 !important;
    }

    /* Order Reference Top Banner */
    .order-card-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
        padding: 8px 14px !important;
        margin-bottom: 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .order-meta-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .order-status-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: #166534 !important;
        background: #dcfce7 !important;
        border: 1px solid #86efac !important;
        border-radius: 4px !important;
        padding: 3px 8px !important;
        font-size: 8.5pt !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
    }

    .order-ref-id {
        font-family: var(--font-heading, sans-serif) !important;
        font-size: 13.5pt !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 !important;
    }

    .order-time-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: #475569 !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 4px !important;
        padding: 3px 8px !important;
        font-size: 8.5pt !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }

    /* Card Body Flex Re-ordering: Customer Info -> Ordered Products -> Total -> Warranty/Sign */
    .order-card-body {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        background: transparent !important;
    }

    /* 1. Customer Details (Positioned first) */
    .thank-you-success-box {
        display: flex !important;
        flex-direction: column !important;
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .confirmation-details-card,
    .confirmation-details-card.glass-panel {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 10px 14px !important;
        margin-bottom: 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .conf-card-title {
        font-family: var(--font-heading, sans-serif) !important;
        font-size: 9.5pt !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin: 0 0 8px 0 !important;
        padding-bottom: 5px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .conf-card-title i {
        color: #0284c7 !important;
    }

    .conf-details-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px 14px !important;
    }

    .conf-detail-item {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 4px !important;
        padding: 5px 10px !important;
        gap: 2px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .conf-detail-item.full-span {
        grid-column: span 2 !important;
    }

    .conf-label {
        color: #64748b !important;
        font-size: 7.5pt !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .conf-label i {
        color: #0284c7 !important;
    }

    .conf-val {
        color: #0f172a !important;
        font-size: 9pt !important;
        font-weight: 600 !important;
        word-break: break-word !important;
    }

    /* 2. Ordered Products Section (Positioned second) */
    .ordered-items-wrapper {
        order: 2 !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
        border-bottom: none !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .items-section-title {
        font-family: var(--font-heading, sans-serif) !important;
        font-size: 9.5pt !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
        padding-bottom: 5px !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .items-section-title i {
        color: #0284c7 !important;
    }

    .ordered-items-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .ordered-item-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 4px !important;
        padding: 6px 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .ordered-item-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .ordered-item-img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        object-fit: contain !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 4px !important;
        background: #ffffff !important;
        padding: 2px !important;
    }

    .ordered-item-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
    }

    .ordered-item-name {
        color: #0f172a !important;
        font-size: 9pt !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    .ordered-item-meta {
        color: #64748b !important;
        font-size: 8pt !important;
        font-weight: 500 !important;
    }

    .ordered-item-total {
        font-family: var(--font-heading, sans-serif) !important;
        color: #0f172a !important;
        font-size: 10pt !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .empty-items-notice {
        color: #64748b !important;
        font-size: 9pt !important;
        font-style: italic !important;
        padding: 8px !important;
        text-align: center !important;
    }

    /* 3. Total Box (Positioned third) */
    .order-card-footer {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 8px 14px !important;
        margin-bottom: 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .order-total-box {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .total-label {
        font-size: 10pt !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }

    .total-amount {
        font-family: var(--font-heading, sans-serif) !important;
        font-size: 12.5pt !important;
        font-weight: 800 !important;
        color: #0284c7 !important;
    }

    /* 4. Official Print Receipt Footer & Warranty (Positioned fourth) */
    .print-receipt-footer {
        order: 4 !important;
        display: block !important;
        border-top: 1.5px solid #cbd5e1 !important;
        padding-top: 8px !important;
        margin-top: 2px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-footer-grid {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        gap: 16px !important;
        margin-bottom: 6px !important;
    }

    .print-warranty-box {
        flex: 1 !important;
    }

    .print-terms-title {
        font-family: var(--font-heading, sans-serif) !important;
        color: #0f172a !important;
        font-size: 8pt !important;
        font-weight: 700 !important;
        margin: 0 0 2px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .print-terms-title i {
        color: #0284c7 !important;
    }

    .print-terms-desc {
        color: #64748b !important;
        font-size: 7pt !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .print-signature-box {
        width: 180px !important;
        text-align: center !important;
    }

    .print-sig-line {
        border-bottom: 1px dashed #94a3b8 !important;
        height: 28px !important;
        margin-bottom: 3px !important;
    }

    .print-sig-label {
        color: #64748b !important;
        font-size: 7pt !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }

    .print-footer-bottom-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid #e2e8f0 !important;
        padding-top: 5px !important;
        color: #94a3b8 !important;
        font-size: 7pt !important;
    }
}

/* ==========================================================================
   GOOGLE REVIEWS (TRUSTINDEX) SECTION
   ========================================================================== */
.glass-reviews-section {
    padding: 60px 0 70px 0;
    background: linear-gradient(180deg, #06090e 0%, #0a0f19 50%, #07090e 100%);
    position: relative;
    border-top: 1px solid rgba(0, 240, 255, 0.12);
}

.glass-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.45), transparent);
    pointer-events: none;
}

.glass-reviews-section .section-title-wrap {
    margin-bottom: 35px;
}

.google-reviews-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.google-reviews-container .ti-widget {
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .glass-reviews-section {
        padding: 40px 0 50px 0 !important;
    }
}

/* ==========================================================================
   GOOGLE REVIEWS (TRUSTINDEX & BUILT-IN SHOWCASE)
   ========================================================================== */
.eg-reviews-admin-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    margin-bottom: 25px;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: 10px;
    color: #bae6fd;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}
.eg-reviews-admin-tip .dashicons {
    color: #38bdf8;
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.eg-reviews-admin-tip code {
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-heading, monospace);
    font-size: 12px;
    color: #00f0ff;
}
.eg-reviews-admin-tip a {
    color: #00f0ff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.eg-reviews-admin-tip a:hover {
    color: #ffffff;
}

/* Built-in Reviews Showcase */
/* Built-in Reviews Showcase (Slider / Carousel) */
.eg-reviews-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.eg-reviews-slider-wrap {
    position: relative;
    width: 100%;
}

.eg-reviews-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.eg-reviews-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(12, 16, 23, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.eg-reviews-badge-title {
    font-size: 13.5px;
    color: var(--text-primary, #ffffff);
    display: flex;
    align-items: center;
    gap: 6px;
}

.eg-reviews-badge-title strong {
    color: #00f0ff;
    font-family: var(--font-heading, sans-serif);
    font-size: 15px;
    font-weight: 700;
}

.eg-reviews-nav-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eg-reviews-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(12, 16, 23, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #00f0ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    padding: 0;
}

.eg-reviews-arrow:hover {
    background: rgba(0, 240, 255, 0.18);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
}

.eg-reviews-arrow:active {
    transform: scale(0.94);
}

.eg-reviews-viewport {
    width: 100%;
    overflow: hidden;
    padding: 8px 4px 16px 4px;
}

.eg-reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.eg-review-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: rgba(12, 16, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 290px;
}

.eg-review-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eg-review-slide:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 240, 255, 0.12);
}

.eg-review-slide:hover::before {
    opacity: 1;
}

.eg-review-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.eg-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--avatar-gradient, linear-gradient(135deg, #00f0ff, #0077ff));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.eg-review-author {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eg-review-author__name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary, #ffffff);
}

.eg-google-check {
    flex-shrink: 0;
}

.eg-review-time {
    font-size: 12px;
    color: var(--text-muted, #64748b);
}

.eg-review-slide .eg-reviews-stars {
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: 17px;
    letter-spacing: 2px;
    line-height: 1;
}

.eg-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.eg-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #00f0ff;
    width: fit-content;
}

.eg-review-badge .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

/* Pagination Dots */
.eg-reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.eg-reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.eg-reviews-dot:hover {
    background: rgba(0, 240, 255, 0.5);
}

.eg-reviews-dot.is-active {
    width: 28px;
    background: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

@media (max-width: 1024px) {
    .eg-review-slide {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 640px) {
    .eg-review-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .eg-reviews-slider-header {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
}


/* GTM click tracking: make the labelled button (not its inner icon/text) the click target */
[data-gtm] > * {
    pointer-events: none;
}


/* ==========================================================================
   BLOG SYSTEM — page-blogs.php / single.php / archive.php
   ========================================================================== */

/* ── Blogs Page — Intro ─────────────────────────────────────────────────── */
.blogs-page { min-height: 80vh; }

.blogs-intro {
    padding: calc(var(--header-height) + 36px) 0 32px;
    text-align: center;
}
.blogs-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border: 1px solid rgba(0,240,255,.28);
    border-radius: 9999px;
    background: rgba(0,240,255,.06);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.blogs-intro-title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.4vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}
.blogs-intro-title span { color: var(--accent-cyan); }
.blogs-intro-badge + .blogs-intro-title { margin-top: 20px; }
.blogs-intro .single-breadcrumb { justify-content: center; margin-bottom: 22px; }
.blogs-intro-back { margin-top: 22px; }
.blogs-intro-sub {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(14.5px, 1.7vw, 17px);
    line-height: 1.7;
    text-wrap: balance;
    color: var(--text-secondary);
}

/* ── Blogs Page — Toolbar (topics + search) ─────────────────────────────── */
.blogs-grid-section { padding: 8px 0 80px; }

.blogs-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-secondary);
}

/* Topics — one scrollable row (no wrapping), fades out at the right edge */
.blogs-topics {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 6px;
    padding: 0 28px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.blogs-topics::-webkit-scrollbar { display: none; }

.blogs-topic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.blogs-topic:hover { color: var(--text-primary); background: rgba(255,255,255,.05); }
.blogs-topic:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 2px; }
.blogs-topic.is-active {
    color: var(--accent-cyan);
    border-color: rgba(0,240,255,.35);
    background: rgba(0,240,255,.1);
}
.blogs-topic-count {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(255,255,255,.08);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.blogs-topic.is-active .blogs-topic-count { background: rgba(0,240,255,.18); color: var(--accent-cyan); }

/* Search */
.blogs-search {
    position: relative;
    flex: 0 0 320px;
    max-width: 40%;
}

/* No topic pills yet — just the compact search field in the left corner, no panel behind it */
.no-topics .blogs-toolbar { padding: 0; border: 0; background: transparent; }

.blogs-search-icon {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: color var(--transition-fast);
}
.blogs-search:focus-within .blogs-search-icon { color: var(--accent-cyan); }
.blogs-search-input {
    width: 100%;
    height: 44px;
    padding: 0 46px 0 42px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14.5px;
    -webkit-appearance: none;
            appearance: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.blogs-search-input::placeholder { color: var(--text-muted); }
.blogs-search-input::-webkit-search-decoration,
.blogs-search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.blogs-search-input:focus {
    border-color: rgba(0,240,255,.5);
    box-shadow: 0 0 0 3px rgba(0,240,255,.1);
}
.blogs-search-kbd {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    min-width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 6px;
    background: rgba(255,255,255,.04);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}
.blogs-search-clear {
    position: absolute;
    right: 7px; top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.blogs-search-clear:hover { background: rgba(255,255,255,.14); color: var(--text-primary); }
.blogs-search-clear:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 1px; }
.blogs-search-input:not(:placeholder-shown) ~ .blogs-search-clear { display: inline-flex; }
.blogs-search-input:not(:placeholder-shown) ~ .blogs-search-kbd,
.blogs-search-input:focus ~ .blogs-search-kbd { display: none; }

/* Result count — visually hidden, announced to screen readers only */
.blogs-count {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Reset button (inside the "no results" message) */
.blogs-reset {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.blogs-reset:hover { color: var(--accent-cyan); border-color: rgba(0,240,255,.4); }
.blogs-reset:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 2px; }
.blogs-reset i { font-size: 11px; }
.blogs-no-results .blogs-reset { margin-top: 20px; }
.blogs-empty .glow-btn { margin-top: 20px; }

@media (hover: none) {
    .blogs-search-kbd { display: none; }
}
@media (max-width: 760px) {
    .blogs-intro   { padding: calc(var(--header-height) + 20px) 0 24px; }
    .blogs-toolbar { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 20px; }
    .blogs-search  { flex: none; width: 100%; max-width: none; }
    .blogs-topics  { flex: none; }
    .blogs-search-kbd { display: none; }
}

/* ── Blog Card Grid ─────────────────────────────────────────────────────── */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}
.blogs-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Blog Card ──────────────────────────────────────────────────────────── */
.blog-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(0,0,0,.5);
    border-color: rgba(0,240,255,.2);
}

/* Image — full-width landscape, like reference */
.blog-card-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}
.blog-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.25,.8,.25,1);
    display: block;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-no-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0d1520 0%, #121f30 50%, #0a1118 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 36px;
    color: rgba(0,240,255,.25);
}
.blog-card-no-img::after {
    content: 'No Image';
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.15);
}

/* Card Body */
.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* Meta: date | category — below image, like reference */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    flex-wrap: wrap;
}
.blog-card-meta-date {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.blog-card-meta-date i { font-size: 11px; }
.blog-card-meta-sep { color: var(--text-muted); }
.blog-card-meta-cat {
    color: var(--text-muted);
    font-weight: 500;
}

.blog-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.38;
    margin: 4px 0 0;
    font-family: var(--font-heading);
}
.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-title a:hover { color: var(--accent-cyan); }

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Read More — plain text link style, like reference */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    transition: color var(--transition-fast), gap var(--transition-fast);
    width: 100%;
}
.blog-read-more:hover { color: var(--accent-cyan); gap: 12px; }
.blog-read-more i { font-size: 11px; transition: transform var(--transition-fast); }
.blog-read-more:hover i { transform: translateX(3px); }

/* ── Empty / No-results ─────────────────────────────────────────────────── */
.blogs-empty, .blogs-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}
.blogs-empty-icon {
    font-size: 52px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}
.blogs-empty h3, .blogs-no-results h3 {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.blogs-empty p, .blogs-no-results p { color: var(--text-muted); font-size: 15px; }

/* ── Pagination ─────────────────────────────────────────────────────────── */
.blogs-pagination { margin-top: 56px; text-align: center; }
.blogs-pagination .page-numbers { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; }
.blogs-pagination .page-numbers li { list-style: none; }
.blogs-pagination .page-numbers a,
.blogs-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.blogs-pagination .page-numbers a:hover { border-color: var(--border-color-glow); color: var(--text-primary); }
.blogs-pagination .page-numbers .current {
    background: rgba(0,240,255,.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}
.blogs-pagination .page-numbers .dots {
    background: transparent; border-color: transparent; color: var(--text-muted);
}

/* Cards / messages hidden by the topic + search filter */
.blogs-grid > [hidden],
.blogs-no-results[hidden] { display: none !important; }


/* ==========================================================================
   SINGLE POST PAGE — single.php
   Same tokens as the listing (badge, card meta, chips, cards) so moving
   between the blog list and an article feels like one section.
   ========================================================================== */

.post-page {
    --post-measure: 680px;          /* reading column: ~75 characters a line at 18px */
    --post-gap: clamp(40px, 4.6vw, 72px); /* space between the image column and the text column */
    --post-text: #c9d2de;           /* body copy: a step brighter than --text-secondary for long reads */
    --text-muted: #74829a;          /* small grey text (read time, captions, labels) at 4.5:1+ on the dark surfaces */
    padding-top: calc(var(--header-height) + 32px); /* clears the fixed header (kept off .container: a ≤480px rule resets its padding with !important) */
    padding-bottom: 80px;           /* breathing room before the footer (same as the blog list) */
}
.post-page ::selection { background: rgba(0,240,255,.28); color: #fff; }

/* The theme's global body{overflow-x:hidden} turns <body> into a scroll container, which
   silently disables position:sticky (the title + image column). `clip` still blocks
   sideways scrolling but isn't a scroll container. Browsers without `clip` keep `hidden`. */
body.single-post { overflow-x: clip; }

/* ── Reading progress ───────────────────────────────────────────────────── */
.post-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 10001;
    pointer-events: none;
}
.post-progress[hidden] { display: none; }
.post-progress-bar {
    display: block;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), rgba(0,240,255,.55));
    box-shadow: 0 0 10px rgba(0,240,255,.45);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
body.admin-bar .post-progress { top: 32px; }

/* ── Page frame ─────────────────────────────────────────────────────────────
   Phones & small tablets: one centred reading column (back link, title, image, text
   all share the same left edge). Wider screens: the full site grid — title + byline
   centred across the top, then the cover image on the left and the article text on its right
   (see .post-split). .container supplies the 24px side gutters. */
.post-back-bar,
.post-article { max-width: calc(var(--post-measure) + 48px); }

/* "Back to Blog" sits in its own row above the title, on the content's left edge */
.post-back {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 9px;
    height: 40px;
    margin-bottom: 36px;
    padding: 0 17px 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.post-back i { font-size: 12px; transition: transform var(--transition-fast); }
.post-back:hover { color: var(--accent-cyan); border-color: rgba(0,240,255,.4); background: rgba(0,240,255,.06); }
.post-back:hover i { transform: translateX(-3px); }
.post-back:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 2px; }

/* Topic lives in the byline ("By EGlobe Team in GPUs"), styled like article links */
.post-topic {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0,240,255,.5);
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.post-topic:hover { color: var(--accent-cyan); text-decoration-color: currentColor; }
.post-topic:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 2px; border-radius: 3px; }

/* ── Title row + image | text split ────────────────────────────────────── */
.post-header { margin-bottom: 36px; text-align: center; }  /* title + byline centred on the page */
.post-header .post-meta { justify-content: center; text-align: left; }

.post-split { display: flex; flex-direction: column; gap: 36px; } /* stacked: image → text */
.post-media,
.post-main { min-width: 0; }

@media (min-width: 900px) {
    .post-back-bar,
    .post-article { max-width: var(--max-width); } /* back to the site grid: in line with the logo bar and footer */

    .post-header {
        max-width: 960px;           /* long titles wrap instead of running the full 1320px line */
        margin: 0 auto 40px;        /* centred above the image | text row */
    }

    /* Image on the left, text on the right — both start on the same line under the title.
       Posts without a cover keep a single reading column. */
    .has-cover .post-split {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); /* ≈ 550px image | 660px text at full width */
        column-gap: var(--post-gap);
        align-items: start;
    }
    .post-main { max-width: var(--post-measure); }
}

/* Keep the image in view while the text scrolls — only when it fits the screen. */
@media (min-width: 900px) and (min-height: 560px) {
    .post-media {
        position: sticky;
        top: calc(var(--header-height) + 28px);
    }
    .post-media .post-cover-img {   /* image shrinks on shorter screens so it's never cut off */
        max-height: clamp(220px, calc(100vh - var(--header-height) - 110px), 600px);
    }
}

/* ── Title + byline ────────────────────────────────────────────────────── */
.post-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.7vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-primary);
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}
.post-avatar {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0,240,255,.35);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,240,255,.22), rgba(0,240,255,.06));
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}
/* Team byline: the white nav logo on a dark disc (same file as the header logo, so it's already cached) */
.post-avatar.is-team {
    border-color: rgba(0,240,255,.3);
    background: radial-gradient(circle at 50% 30%, rgba(0,240,255,.16), transparent 70%), var(--bg-tertiary);
}
.post-avatar.is-team img { width: 72%; height: auto; }
.post-meta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-author { font-size: 14.5px; color: var(--text-secondary); }
.post-author strong { color: var(--text-primary); font-weight: 700; }
.post-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.post-meta-line > time { color: var(--accent-cyan); font-weight: 500; }
.post-meta-dot { opacity: .7; }

/* ── Cover image (contained, so product shots & transparent PNGs never crop) ── */
.post-cover { margin: 0; }
.post-cover-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(0,240,255,.08), transparent 60%),
        var(--bg-secondary);
}
.post-cover-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(60vh, 520px);
    object-fit: contain;
}
.post-cover figcaption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ── Text column ───────────────────────────────────────────────────────── */
/* The post excerpt (when one is written) opens the text column as a larger intro paragraph */
.post-lead {
    margin: 0 0 28px;
    font-size: clamp(18px, 1.5vw, 20px);
    line-height: 1.65;
    color: var(--text-primary);
}

/* ── Table of contents ──────────────────────────────────────────────────── */
.post-toc-list { display: flex; flex-direction: column; gap: 2px; }
.post-toc-list a {
    display: block;
    padding: 7px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.45;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.post-toc-list a:hover { color: var(--text-primary); background: rgba(255,255,255,.04); }
.post-toc-list a.is-active { color: var(--accent-cyan); border-left-color: var(--accent-cyan); background: rgba(0,240,255,.06); }
.post-toc-list a:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: -2px; }
.post-toc-list .is-sub a { padding-left: 26px; font-size: 13px; }

.post-toc-inline {
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-secondary);
}
.post-toc-inline > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    list-style: none;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
}
.post-toc-inline > summary::-webkit-details-marker { display: none; }
.post-toc-inline > summary > i:first-child { color: var(--accent-cyan); font-size: 13px; }
.post-toc-inline > summary:focus-visible { outline: 2px solid rgba(0,240,255,.6); outline-offset: 2px; border-radius: 14px; }
.post-toc-count { margin-left: auto; color: var(--text-muted); font-family: var(--font-body); font-size: 12.5px; font-weight: 500; }
.post-toc-chevron { color: var(--text-muted); font-size: 11px; transition: transform var(--transition-fast); }
.post-toc-inline[open] .post-toc-chevron { transform: rotate(180deg); }
.post-toc-inline .post-toc-list { padding: 0 12px 14px; }

/* ── Article typography (handles block-editor and classic-editor markup) ── */
.post-body {
    color: var(--post-text);
    font-size: 18px;
    line-height: 1.75;
    overflow-wrap: break-word;
}
.post-body::after { content: ''; display: table; clear: both; }
.post-body > * { margin-top: 0; margin-bottom: 0; }
.post-body > * + * { margin-top: 1.35em; }
.post-body > * + :is(h1, h2, h3, h4) { margin-top: 2em; }
.post-body > :is(h1, h2, h3, h4) + * { margin-top: .75em; }
.post-body p:empty { display: none; }
.post-body :is(.wp-block-group, .wp-block-column, .wp-block-media-text__content, .wp-block-cover__inner-container, blockquote, .wp-block-details) > * + * { margin-top: .9em; }

.post-body :is(h1, h2, h3, h4, h5, h6) {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
    scroll-margin-top: calc(var(--header-height) + 28px);
}
/* A "Heading 1" block typed into the post would compete with the page title, so it reads as a section heading */
.post-body :is(h1, h2) {
    padding-left: 16px;
    border-left: 3px solid var(--accent-cyan);
    font-size: clamp(23px, 2.6vw, 29px);
}
.post-body h3 { font-size: clamp(19px, 2.1vw, 23px); }
.post-body h4 { font-size: 18px; }
.post-body :is(h5, h6) { font-size: 16px; }

.post-body :is(strong, b) { color: var(--text-primary); }
.post-body a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0,240,255,.45);
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.post-body a:hover { color: #6ff8ff; text-decoration-color: currentColor; }

.post-body :is(ul, ol) { padding-left: 1.4em; }
.post-body ul > li { list-style: disc; }
.post-body ol > li { list-style: decimal; }
.post-body li + li,
.post-body li > :is(ul, ol) { margin-top: .45em; }
.post-body li::marker { color: var(--accent-cyan); }

.post-body img { border-radius: 14px; }
.post-body :is(.wp-block-cover, .wp-block-cover-image) { border-radius: 16px; overflow: hidden; }
.post-body :is(.wp-block-cover, .wp-block-cover-image) img,
.post-body img.emoji { border-radius: 0; }

/* A Cover block with no text on it is just a picture (easy to insert by accident for a
   product shot): show the whole image — no 50% dim overlay, no cropping on phones. */
.post-body .wp-block-cover:has(> img.wp-block-cover__image-background):not(:has(.wp-block-cover__inner-container > :not(:empty))) {
    min-height: 0 !important;
    padding: 0;
    border: 1px solid var(--border-color);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(0,240,255,.08), transparent 60%),
        var(--bg-secondary);
}
.post-body .wp-block-cover:has(> img.wp-block-cover__image-background):not(:has(.wp-block-cover__inner-container > :not(:empty))) > :is(.wp-block-cover__background, .wp-block-cover__inner-container) {
    display: none;
}
.post-body .wp-block-cover:has(> img.wp-block-cover__image-background):not(:has(.wp-block-cover__inner-container > :not(:empty))) > img.wp-block-cover__image-background {
    position: static;
    width: 100%;
    height: auto;
    max-height: min(70vh, 600px);
    object-fit: contain;
}
.post-body figure { margin-left: 0; margin-right: 0; }
.post-body :is(figcaption, .wp-element-caption, .wp-caption-text) {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}
.post-body .wp-caption { max-width: 100%; }
.post-body .aligncenter,
.post-body :is(.aligncenter, .has-text-align-center) img { margin-left: auto; margin-right: auto; } /* theme makes img display:block, so text-align can't centre it */
.post-body .alignleft  { float: left;  max-width: 50%; margin: .35em 1.6em 1em 0; }
.post-body .alignright { float: right; max-width: 50%; margin: .35em 0 1em 1.6em; }
.post-body :is(.alignwide, .alignfull) { max-width: 100%; margin-left: 0; margin-right: 0; }

.post-body :is(iframe, video, embed, object) { max-width: 100%; }
.post-body video { height: auto; border-radius: 14px; }
.post-body .wp-block-embed iframe { width: 100%; border-radius: 14px; }

.post-body blockquote {
    margin-left: 0; margin-right: 0;
    padding: 18px 22px;
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 12px 12px 0;
    background: rgba(0,240,255,.05);
    color: var(--text-primary);
    font-size: 1.05em;
}
.post-body blockquote cite {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-style: normal;
}
.post-body .wp-block-pullquote {
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.post-body .wp-block-pullquote blockquote { padding: 0; border: 0; background: none; font-size: 1.2em; }

.post-body :is(code, kbd) {
    padding: .15em .45em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-tertiary);
    color: #7df9ff;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: .86em;
}
.post-body :is(pre, .wp-block-code) {
    padding: 18px 20px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    font-size: 14px;
    line-height: 1.65;
}
.post-body pre code { padding: 0; border: 0; background: none; color: var(--text-primary); font-size: inherit; }

.post-body .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-body > table { display: block; overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.post-body table th,
.post-body table td {
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}
.post-body table th { background: var(--bg-tertiary); color: var(--text-primary); font-weight: 700; }
.post-body .wp-block-table.is-style-stripes { border-bottom-color: var(--border-color); }
.post-body .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: rgba(255,255,255,.035); }

.post-body > :is(hr, .wp-block-separator) { margin-top: 2.2em; margin-bottom: 2.2em; }
.post-body :is(hr, .wp-block-separator) {
    height: 0;
    border: 0;
    border-top: 1px solid var(--border-color);
    background: none;
    opacity: 1;
}

.post-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.post-body .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--accent-cyan);
    border-radius: 10px;
    background: rgba(0,240,255,.08);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.post-body .wp-block-button__link:hover { background: rgba(0,240,255,.16); box-shadow: 0 0 22px rgba(0,240,255,.25); color: #fff; }
.post-body .wp-block-details summary { cursor: pointer; color: var(--text-primary); font-weight: 700; }

/* Multi-page posts (<!--nextpage-->) */
.post-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; font-size: 14px; }
.post-pages-label { color: var(--text-muted); font-weight: 600; margin-right: 4px; }
.post-pages > span:not(.post-pages-label),
.post-pages a > span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--border-color); border-radius: 10px;
    background: var(--bg-secondary); color: var(--text-secondary);
}
.post-pages > span:not(.post-pages-label) { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* ── Article footer: tags ───────────────────────────────────────────────── */
.post-footer {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}
.post-footer-label {
    margin-right: 4px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 13px;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.post-tag:hover { color: var(--accent-cyan); border-color: rgba(0,240,255,.4); }

/* ==========================================================================
   ARCHIVE INTRO HELPERS — archive.php
   ========================================================================== */

.single-breadcrumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--text-muted); margin-bottom: 18px;
}
.single-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); }
.single-breadcrumb a:hover { color: var(--accent-cyan); }
.single-breadcrumb-sep { font-size: 9px; color: var(--text-muted); opacity: .5; }
.single-breadcrumb-current { color: var(--text-secondary); }

.single-back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13.5px; font-weight: 600;
    color: var(--text-secondary); text-decoration: none;
    transition: all var(--transition-fast);
}
.single-back-btn:hover { border-color: var(--border-color-glow); color: var(--text-primary); }


/* ==========================================================================
   RESPONSIVE — BLOG SYSTEM
   ========================================================================== */

@media (max-width: 1100px) {
    .blogs-grid           { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .blogs-grid-3         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
    body.admin-bar .post-progress { top: 46px; }
}

@media (max-width: 768px) {
    .blogs-grid-section   { padding: 4px 0 56px; }
    .blogs-grid           { grid-template-columns: 1fr; gap: 22px; }
    .blogs-grid-3         { grid-template-columns: 1fr; }
    .blog-card-body       { padding: 20px; }
    .blog-card-title      { font-size: 17px; }

    .post-page            { padding-top: calc(var(--header-height) + 18px); }
    .post-back            { height: 38px; margin-bottom: 24px; font-size: 13px; }
    .post-split           { gap: 28px; }
    .post-meta            { margin-top: 18px; }
    .post-header          { margin-bottom: 24px; }
    .post-cover-frame     { border-radius: 14px; }
    .post-cover-img       { max-height: min(55vh, 420px); }
    .post-lead            { margin-bottom: 22px; }
    .post-body            { font-size: 17px; line-height: 1.75; }
    .post-footer          { margin-top: 40px; }
    .post-page            { padding-bottom: 56px; }
}

@media (max-width: 600px) {
    body.admin-bar .post-progress { top: 0; }
    .post-body :is(.alignleft, .alignright) { float: none; max-width: 100%; margin: 0 auto; }
}

@media (max-width: 480px) {
    .blogs-grid           { gap: 18px; }
    .blog-card-body       { padding: 16px; }
    .blog-card-title      { font-size: 16px; }
    .blogs-pagination .page-numbers a,
    .blogs-pagination .page-numbers span { padding: 8px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .post-back i { transition: none; }
}
