:root {
    --tau-dark: #070b12;
    --tau-light: #f6f9fc;
    --tau-cyan: #00d4ff;
    --tau-cyan-soft: #65e7ff;
    --tau-red: #ff3b30;
    --tau-white: #ffffff;
    --tau-grey: #a8b4c4;
    --tau-text-subtle: #7f8da3;
    --tau-panel: #101a2a;
    --tau-panel-2: #142033;
    --tau-border-soft: rgba(101, 231, 255, 0.16);
    --tau-green: #39d98a;
    --tau-shadow-deep: 0 18px 60px rgba(0, 0, 0, 0.38);
    --tau-site-padding: clamp(1rem, 4vw, 2rem);
    --tau-content-max: 1240px;
}

body {
    background-color: var(--tau-dark);
    color: var(--tau-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Layout Constraints */
.col-full {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--tau-content-max) !important;
    padding-left: var(--tau-site-padding) !important;
    padding-right: var(--tau-site-padding) !important;
    margin-left: auto;
    margin-right: auto;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--tau-white);
}

/* Site Header & Title */
.site-header {
    background-color: #04070c;
    border-bottom: 1px solid #1a2436;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.site-branding .site-title a {
    color: var(--tau-white);
    text-decoration: none;
}

/* Primary Navigation */
.main-navigation ul li a {
    color: var(--tau-light);
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-navigation ul li a:hover {
    color: var(--tau-cyan);
}

/* Header Cart */
.site-header-cart .cart-contents {
    color: var(--tau-light);
}

.site-header-cart .cart-contents:hover {
    color: var(--tau-cyan);
}

/* General Links */
a {
    color: var(--tau-cyan);
    text-decoration: none;
}

a:hover {
    color: var(--tau-cyan-soft);
}

/* Product Cards */
ul.products li.product {
    background: #111a28;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

ul.products li.product .woocommerce-loop-product__title {
    color: var(--tau-white);
}

ul.products li.product .price {
    color: var(--tau-cyan);
}

/* Buttons */
button.button.alt,
input.button.alt,
.woocommerce a.button.alt {
    background-color: #1a2436;
    color: var(--tau-white);
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #2d3748;
}

button.button.alt:hover,
input.button.alt:hover,
.woocommerce a.button.alt:hover {
    background-color: #e60000;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.4);
    color: var(--tau-white);
}

/* Checkout Layout */
.woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
}

/* Footer Adjustment */
.site-footer {
    background-color: #04070c;
    border-top: 1px solid #1a2436;
    color: var(--tau-grey);
}

.site-info {
    text-align: center;
    padding: 2rem 0;
    color: var(--tau-grey);
    font-size: 0.875rem;
}

/* Hide the default page title on the Storefront homepage */
.page-template-template-homepage .entry-header {
    display: none;
}

/* Homepage Tag Sections */
.tautech-tag-section {
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #1a2436;
}

.tautech-tag-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--tau-white);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tautech-tag-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Carousel Header & Navigation */
.tautech-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.tautech-section-header .section-title {
    margin-bottom: 0;
}

.tautech-carousel-nav .nav-btn {
    background: transparent;
    border: 1px solid var(--tau-cyan);
    color: var(--tau-cyan);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0 !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
    line-height: 1 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    border-radius: 50% !important;
}

.tautech-carousel-nav .nav-btn:hover {
    background: var(--tau-cyan);
    color: var(--tau-dark);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.tautech-carousel-nav .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #333;
    color: #333;
}

/* Swiper Overrides for WooCommerce */
.tautech-carousel {
    padding-bottom: 20px;
    overflow: hidden;
}

.tautech-carousel ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tautech-carousel ul.products::before,
.tautech-carousel ul.products::after {
    display: none !important;
    /* Remove Storefront clearfix */
}

.tautech-carousel li.product {
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
}

.tautech-carousel li.product.swiper-slide {
    display: block !important;
    flex-shrink: 0;
    height: auto;
}

/* Hide Shop by Brand Section */
.storefront-product-section.storefront-woocommerce-brands,
.storefront-product-section.storefront-brands,
section.storefront-brands {
    display: none !important;
}

.main-navigation ul li.tautech-mega-menu {
    position: static; /* Enables full-width dropdown relative to header container */
}

/* Hide default Storefront sub-menu if mega menu is active (Desktop only) */
@media screen and (min-width: 768px) {
    .tautech-mega-menu ul.sub-menu {
        display: none !important;
    }
}


.main-navigation {
    position: relative; /* Ensure the navigation container provides context if header doesn't */
}

/* Standard Storefront Sub-menus */
.main-navigation ul ul.sub-menu {
    background-color: #0b111a !important;
    border-top: 2px solid var(--tau-cyan) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    padding: 0.5rem 0 !important;
    min-width: 200px;
    z-index: 9999;
}

.main-navigation ul ul.sub-menu li a {
    color: var(--tau-grey) !important;
    padding: 0.5rem 1.5rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    background: transparent !important;
}

.main-navigation ul ul.sub-menu li a:hover {
    color: var(--tau-white) !important;
    background-color: rgba(0, 212, 255, 0.1) !important;
}

.tautech-mega-menu .mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0b111a; /* slightly lighter than dark body to stand out */
    border-top: 2px solid var(--tau-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s, transform 0.2s ease;
    transform: translateY(10px);
    z-index: 9999;
}

.main-navigation ul li.tautech-mega-menu:hover .mega-menu-dropdown,
.main-navigation ul li.tautech-mega-menu:focus-within .mega-menu-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

a.mega-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tau-cyan) !important;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

a.mega-menu-title:hover {
    color: var(--tau-white) !important;
}

ul.mega-menu-subcategories {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

ul.mega-menu-subcategories li {
    margin-bottom: 0.5rem !important;
    display: block !important;
    float: none !important;
}

ul.mega-menu-subcategories li a {
    color: var(--tau-grey) !important;
    font-weight: normal !important;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    padding: 0 !important;
}

ul.mega-menu-subcategories li a:hover {
    color: var(--tau-white) !important;
    padding-left: 5px !important;
}

@media (max-width: 767px) {
    .tautech-mega-menu .mega-menu-dropdown {
        position: static;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        border-top: none;
        padding-left: 1rem;
        background: transparent;
    }
    .main-navigation ul li.tautech-mega-menu:hover .mega-menu-dropdown,
    .main-navigation ul li.tautech-mega-menu:focus-within .mega-menu-dropdown,
    .main-navigation ul li.tautech-mega-menu .mega-menu-dropdown.toggled-on,
    .main-navigation ul li.tautech-mega-menu [aria-expanded="true"] ~ .mega-menu-dropdown {
        display: block;
    }
    .mega-menu-container {
        display: block;
        padding: 0;
    }
    .mega-menu-column {
        margin-bottom: 1.5rem;
    }
}

/* Child Categories Section */
.tautech-child-categories {
    margin-bottom: 3rem;
    padding: 1rem 0;
    width: 100%;
}

.tautech-child-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.tautech-category-card {
    background: rgba(17, 26, 40, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.tautech-category-card:hover {
    transform: translateY(-8px);
    background: rgba(17, 26, 40, 0.8);
    border-color: var(--tau-cyan);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.category-card-image {
    width: 90px;
    height: 90px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: #04070c;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tautech-category-card:hover .category-card-image img {
    transform: scale(1.15);
}

.category-card-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2436, #04070c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--tau-cyan);
    border: 2px solid rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.category-card-title {
    font-size: 1.15rem;
    margin: 0 0 0.4rem 0;
    color: var(--tau-white);
    font-weight: 700;
    transition: color 0.3s ease;
}

.tautech-category-card:hover .category-card-title {
    color: var(--tau-cyan);
}

.category-card-count {
    font-size: 0.8rem;
    color: var(--tau-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .tautech-child-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .tautech-category-card {
        padding: 1rem;
    }
    
    .category-card-image,
    .category-card-icon {
        width: 70px;
        height: 70px;
    }
}

/* --- WooCommerce Product Tabs & Attributes --- */
.woocommerce-tabs ul.tabs {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2rem 0 0 !important;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce-tabs ul.tabs li a {
    color: var(--tau-grey) !important;
    font-weight: 600 !important;
    padding: 1rem 0 !important;
    border-bottom: 2px solid transparent !important;
    display: block;
    background: transparent !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--tau-cyan) !important;
    border-bottom-color: var(--tau-cyan) !important;
}

.woocommerce-Tabs-panel {
    background: rgba(17, 26, 40, 0.4) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 2.5rem !important;
    color: var(--tau-light) !important;
}

#tab-additional_information h2:first-of-type {
    display: none; /* Hide redundant "Additional information" title if it matches tab */
}

.shop_attributes {
    border: none !important;
    width: 100% !important;
}

.shop_attributes th {
    color: var(--tau-white) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    font-weight: 700 !important;
    padding: 1rem !important;
    border-radius: 6px 0 0 6px;
    width: 30%;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.shop_attributes td {
    color: var(--tau-grey) !important;
    font-style: normal !important;
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.shop_attributes tr:last-child th,
.shop_attributes tr:last-child td {
    border-bottom: none !important;
}

/* --- WooCommerce Checkout & Blocks --- */
.wc-block-components-checkout-step,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar,
.wc-block-components-panel {
    background-color: #111a28 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    color: var(--tau-light) !important;
}

/* Order Summary Items */
.wc-block-components-totals-item,
.wc-block-components-product-summary,
.wc-block-components-order-summary-item {
    color: var(--tau-light) !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: var(--tau-white) !important;
}

/* Inputs & Form Elements */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-textarea-control textarea,
.wc-block-components-select-control select {
    background-color: #04070c !important;
    border: 1px solid #2d3748 !important;
    color: var(--tau-white) !important;
    border-radius: 8px !important;
    padding: 1.25rem 1rem !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox-control input:focus {
    border-color: var(--tau-cyan) !important;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
    outline: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox-control label {
    color: var(--tau-grey) !important;
    background: transparent !important;
}

/* Checkbox & Radio */
.wc-block-components-checkbox-control__input,
.wc-block-components-radio-control__input {
    accent-color: var(--tau-cyan) !important;
}

/* Traditional Checkout Fallbacks */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #04070c !important;
    border: 1px solid #2d3748 !important;
    color: var(--tau-white) !important;
    padding: 0.85rem !important;
    border-radius: 8px !important;
}

.woocommerce-checkout label {
    color: var(--tau-grey) !important;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-color: #04070c !important;
    border: 1px solid #2d3748 !important;
    height: 45px !important;
    border-radius: 8px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--tau-white) !important;
    line-height: 45px !important;
}

/* Error Messages & Notices */
.woocommerce-error, 
.woocommerce-message, 
.woocommerce-info {
    background-color: #111a28 !important;
    border-top: 3px solid var(--tau-cyan) !important;
    color: var(--tau-white) !important;
    border-radius: 12px;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    list-style: none !important;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    margin-bottom: 0;
}

/* Legacy Checkout Order Table */
.woocommerce-checkout-review-order-table {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: rgba(17, 26, 40, 0.2);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-color: rgba(255, 255, 255, 0.05) !important;
    padding: 1.25rem !important;
    color: var(--tau-light) !important;
}

.woocommerce-checkout-review-order-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--tau-white) !important;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .order-total {
    color: var(--tau-cyan) !important;
    font-weight: 700;
}

/* Legacy Payment Section */
#payment {
    background: #111a28 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-top: 2rem;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

#payment div.payment_box {
    background-color: #04070c !important;
    color: var(--tau-grey) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
}

#payment div.payment_box::before {
    border-bottom-color: #04070c !important;
}

#payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-privacy-policy-text {
    color: var(--tau-grey) !important;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Shop Page Category Section Polish */
.tautech-child-categories {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 4rem;
}

.category-card-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--tau-white);
}

.category-card-count {
    font-size: 0.85rem;
    color: var(--tau-cyan);
    font-weight: 600;
    opacity: 0.8;
}

/* --- Conversion-focused storefront polish --- */
body {
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.10), transparent 34rem),
        radial-gradient(circle at 80% 18%, rgba(255, 42, 42, 0.06), transparent 30rem),
        var(--tau-dark) !important;
}

.tt-topbar {
    background: linear-gradient(90deg, #07111e, #101a2a 45%, #07111e);
    border-bottom: 1px solid var(--tau-border-soft);
    color: var(--tau-grey);
    font-size: 0.9rem;
}

.tt-topbar__inner {
    min-height: 42px;
    display: flex;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.tt-topbar__lead {
    color: var(--tau-white);
    font-weight: 800;
}

.tt-topbar span:not(:last-child)::after {
    content: "•";
    margin-left: 1rem;
    color: var(--tau-cyan);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(4, 7, 12, 0.92) !important;
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

.site-branding img {
    max-height: 58px;
    width: auto;
}

.site-search input[type="search"],
.woocommerce-product-search input[type="search"] {
    border: 1px solid rgba(0, 212, 255, 0.18) !important;
    background: #0b1320 !important;
    color: var(--tau-white) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-header-cart .cart-contents {
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 999px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    background: rgba(0, 212, 255, 0.06);
}

.tt-hero {
    padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 3rem);
}

.tt-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: start;
}

.tt-hero__grid::before,
.tt-hero__grid::after {
    content: none;
    display: none;
}

.tt-hero__content,
.tt-hero__panel {
    border: 1px solid var(--tau-border-soft);
    background:
        linear-gradient(145deg, rgba(14, 25, 42, 0.94), rgba(8, 13, 22, 0.94)),
        radial-gradient(circle at 90% 0%, rgba(0, 212, 255, 0.16), transparent 20rem);
    border-radius: 24px;
    box-shadow: var(--tau-shadow-deep);
}

.tt-hero__content {
    padding: clamp(1.6rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

.tt-hero__content::after {
    content: "";
    position: absolute;
    right: -7rem;
    top: -7rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.14);
}

.tt-kicker,
.tt-section-kicker {
    color: var(--tau-cyan-soft);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    margin: 0 0 0.7rem;
}

.tt-hero h1 {
    max-width: 760px;
    color: var(--tau-white);
    font-size: clamp(2rem, 5vw, 3.85rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
    margin: 0;
}

.tt-hero__copy {
    max-width: 700px;
    color: var(--tau-grey);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.58;
    margin: 1.1rem 0 1.5rem;
}

.tt-hero__actions,
.tt-hero__proof {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.tt-button,
.woocommerce a.button.tt-button {
    border-radius: 999px !important;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.tt-button--primary,
.woocommerce a.button.tt-button--primary {
    color: #04101a !important;
    background: linear-gradient(135deg, var(--tau-cyan), var(--tau-cyan-soft)) !important;
    box-shadow: 0 12px 34px rgba(0, 212, 255, 0.25);
}

.tt-button--ghost,
.woocommerce a.button.tt-button--ghost {
    color: var(--tau-white) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.tt-hero__proof {
    margin-top: 1.15rem;
    color: var(--tau-grey);
    font-size: 0.92rem;
}

.tt-hero__proof span,
.tt-shop-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.tt-hero__proof span::before,
.tt-shop-strip span::before {
    content: "✓";
    color: var(--tau-green);
    font-weight: 900;
    margin-right: 0.35rem;
}

.tt-hero__panel {
    padding: 1.15rem;
}

.tt-panel-title {
    margin: 0 0 0.85rem;
    color: var(--tau-white);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.tt-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.tt-category-grid a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 64px;
    padding: 0.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--tau-white) !important;
    font-weight: 800;
    line-height: 1.25;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tt-category-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 212, 255, 0.08);
}

.tt-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #061321;
    color: var(--tau-cyan-soft);
    border: 1px solid rgba(0, 212, 255, 0.24);
    font-size: 0.75rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.tt-shop-strip,
.tt-footer-trust {
    border: 1px solid var(--tau-border-soft);
    background: rgba(7, 16, 28, 0.82);
    border-radius: 18px;
    color: var(--tau-grey);
}

.tt-shop-strip {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    margin: 0 0 1.25rem;
}

.tt-footer-trust {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-top: 3rem;
}

.tt-footer-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.tt-footer-trust strong,
.tt-footer-trust span {
    display: block;
}

.tt-footer-trust strong {
    color: var(--tau-white);
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
}

.tt-footer-trust span {
    color: var(--tau-grey);
    font-size: 0.92rem;
    line-height: 1.48;
}

.tautech-section-header .section-title,
.tautech-tag-section .section-title,
.storefront-product-section .section-title {
    letter-spacing: -0.035em !important;
    text-transform: none !important;
    font-size: clamp(1.7rem, 3vw, 2.45rem) !important;
}

.tautech-section-header {
    align-items: flex-end;
}

.tautech-carousel {
    padding: 0.35rem 0.1rem 1.25rem !important;
}

.tautech-carousel ul.products {
    align-items: stretch !important;
}

.tautech-carousel li.product.swiper-slide {
    display: flex !important;
    flex-shrink: 0;
    height: auto;
}

ul.products li.product,
.tautech-carousel li.product {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(180deg, rgba(18, 28, 44, 0.97), rgba(10, 16, 26, 0.98)) !important;
    border-radius: 18px !important;
    padding: 1rem !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24) !important;
    overflow: hidden;
}

ul.products li.product:hover {
    border-color: rgba(0, 212, 255, 0.35) !important;
    box-shadow: 0 18px 50px rgba(0, 212, 255, 0.13) !important;
}

ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    background: #fff !important;
    border-radius: 14px !important;
    padding: 12px !important;
    margin-bottom: 0.85rem !important;
}

.tt-product-badge {
    align-self: flex-start;
    display: inline-flex;
    max-width: 100%;
    margin: 0 0 0.45rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.10);
    border: 1px solid rgba(0, 212, 255, 0.26);
    color: var(--tau-cyan-soft);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.75em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tau-white) !important;
    font-size: 0.98rem !important;
    font-weight: 780 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem !important;
}

ul.products li.product .price {
    color: var(--tau-cyan-soft) !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    margin-top: auto;
    margin-bottom: 0.85rem !important;
}

ul.products li.product .price del {
    color: #7f8da3 !important;
    opacity: 0.9 !important;
}

ul.products li.product .price ins {
    color: var(--tau-cyan-soft) !important;
    text-decoration: none;
}

ul.products li.product .button,
ul.products li.product a.button,
ul.products li.product button.button {
    width: 100% !important;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    background: linear-gradient(135deg, #00bce6, #65e7ff) !important;
    color: #03111c !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    padding: 0.75rem 0.8rem !important;
    margin-top: auto !important;
}

ul.products li.product .button:hover,
ul.products li.product a.button:hover,
ul.products li.product button.button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

ul.products li.product .tt-read-more,
ul.products li.product a.product_type_external,
ul.products li.product a.product_type_grouped,
ul.products li.product a.product_type_variable {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--tau-white) !important;
}

ul.products li.product .onsale,
ul.products li.product .tt-onsale {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    min-width: auto;
    min-height: auto;
    padding: 0.38rem 0.65rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: linear-gradient(135deg, var(--tau-red), #ff7a45) !important;
    color: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

@media (max-width: 920px) {
    .tt-hero__grid {
        grid-template-columns: 1fr;
    }

    .tt-footer-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 640px) {
    .tt-topbar__inner {
        justify-content: flex-start;
        font-size: 0.78rem;
    }

    .tt-footer-trust__grid {
        grid-template-columns: 1fr;
    }

    .tt-topbar span:not(:last-child)::after {
        margin-left: 0.55rem;
    }

    .tt-hero {
        padding-top: 1.25rem;
    }

    .tt-hero__content,
    .tt-hero__panel {
        border-radius: 18px;
    }

    .tt-hero__actions .tt-button {
        width: 100%;
    }

    .tt-category-grid {
        grid-template-columns: 1fr;
    }

    ul.products li.product img {
        height: 190px !important;
    }

    .tt-shop-strip {
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
