/*
Theme Name: TurboTech
Theme URI: https://elevationgroup.pl
Author: Elevation Group
Author URI: https://elevationgroup.pl
Description: Motyw WordPress/WooCommerce dla PHU Turbo Tech oparty o projekt statyczny.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: turbotech
*/

/* ============================
   Turbo Tech â Static Styles
   ============================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    --background: #000000;
    --foreground: #ffffff;
    --card: #0f1114;
    --card-2: #0b0d10;
    --popover: #111111;
    --primary: #e31e24;
    --primary-600: #c11a1f;
    --primary-700: #9c161a;
    --primary-foreground: #ffffff;
    --secondary: #15171b;
    --muted: #1a1c20;
    --muted-foreground: #9ba1ab;
    --accent: #e31e24;
    --border: #23262d;
    --border-strong: #2e323a;
    --input: #131519;
    --ring: #e31e24;
    --radius: 0.625rem;
    --radius-lg: 1rem;

    --section-1: #000000;
    --section-2: #000000;

    --container-max: 1440px;
    --header-h: 0px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-glow:
        0 0 0 1px rgba(227, 30, 36, 0.35), 0 8px 30px rgba(227, 30, 36, 0.18);
    --shadow-card: var(--shadow-md);
    --radius-md: var(--radius);
    --primary-dark: var(--primary-600);
    --transition-smooth:
        transform 0.15s ease, background-color 0.2s ease,
        border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;

    --grad-primary: linear-gradient(135deg, #e31e24 0%, #ff4a50 100%);
    --grad-dark: linear-gradient(180deg, #000000 0%, #000000 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family:
        "Manrope",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: none;
}

body.home-page {
    position: relative;
    background-color: #000;
    background-image:
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.54) 38%,
            rgba(0, 0, 0, 0) 78%
        ),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(rgba(227, 30, 36, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 30, 36, 0.045) 1px, transparent 1px);
    background-repeat: repeat;
    background-size:
        100% 100%,
        96px 96px,
        96px 96px,
        384px 384px,
        384px 384px;
    background-position: center top;
    background-attachment: scroll;
}

body.home-page::before {
    display: none;
}

body.home-page > * {
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
ul {
    list-style: none;
}
input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        transform 0.15s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--primary-foreground);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
}
.btn-primary:hover {
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.5);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-strong);
    color: var(--foreground);
}
.btn-outline:hover {
    background-color: var(--secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--foreground);
    border-color: var(--border);
}
.btn-secondary:hover {
    background-color: #20232a;
    border-color: var(--border-strong);
}

.btn-ghost {
    background: transparent;
    color: var(--muted-foreground);
}
.btn-ghost:hover {
    color: var(--primary);
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1rem;
}
.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
}
.btn-icon {
    padding: 0.5rem;
    aspect-ratio: 1 / 1;
}
.btn-block {
    width: 100%;
}

.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}
.icon-sm {
    width: 0.875rem;
    height: 0.875rem;
}
.icon-lg {
    width: 1.25rem;
    height: 1.25rem;
}
.icon-xl {
    width: 1.5rem;
    height: 1.5rem;
}

/* ============ Header ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(7, 8, 10, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.topbar {
    background-color: #0b0d10;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.topbar a,
.topbar span.tb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    transition: color 0.2s;
}
.topbar a:hover {
    color: var(--primary);
}
.topbar .dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #16a34a;
    box-shadow: 0 0 8px #16a34a;
    display: inline-block;
    font-size: 0;
    overflow: hidden;
}
@media (max-width: 768px) {
    .topbar .hide-sm {
        display: none;
    }
}

/* Main header row: logo | search | actions */
.header-main {
    padding: 1rem 0;
}
.header-main .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.logo img {
    height: 4rem;
    width: auto;
}
.logo-text {
    display: none;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.logo-text small {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
@media (min-width: 1024px) {
    .logo-text {
        display: flex;
    }
}

/* Search bar */
.header-search {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.header-search input {
    width: 100%;
    padding: 0.85rem 3.25rem 0.85rem 3rem;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--foreground);
    font-size: 0.95rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background-color 0.2s;
}
.header-search input::placeholder {
    color: var(--muted-foreground);
}
.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #15181c;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}
.header-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    pointer-events: none;
}
.header-search button[type="submit"] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--grad-primary);
    color: white;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.4);
    transition:
        transform 0.15s ease,
        box-shadow 0.2s;
}
.header-search button[type="submit"]:hover {
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.55);
}

/* Header actions (account + cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}
.header-action:hover {
    background-color: var(--secondary);
    color: var(--foreground);
    border-color: var(--border);
}
.header-action .ha-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    background: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    border: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
}
.header-action:hover .ha-icon {
    background: rgba(227, 30, 36, 0.12);
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--primary);
}
.header-action .ha-text {
    display: none;
    flex-direction: column;
    line-height: 1.1;
}
.header-action .ha-text small {
    font-size: 0.7rem;
    color: var(--muted-foreground);
}
.header-action .ha-text strong {
    font-size: 0.85rem;
    font-weight: 600;
}
.header-action .badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: var(--grad-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--background);
}
@media (min-width: 1024px) {
    .header-action .ha-text {
        display: flex;
    }
}

/* Mobile menu toggle (replaces actions on mobile only as auxiliary) */
.menu-toggle,
.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}
.menu-toggle:hover,
.search-toggle:hover,
.menu-toggle.is-open,
.search-toggle[aria-expanded="true"] {
    background: rgba(227, 30, 36, 0.12);
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--primary);
}
@media (min-width: 768px) {
    .menu-toggle,
    .search-toggle {
        display: none;
    }
}

/* Header nav row (below main) */
.header-nav {
    background-color: rgba(11, 13, 16, 0.6);
    border-top: 1px solid var(--border);
}
.header-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 3.25rem;
}
.nav-desktop {
    display: none;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.nav-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-desktop-menu li {
    margin: 0;
}
.nav-desktop a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--foreground);
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    transition:
        color 0.2s,
        background-color 0.2s;
}
.nav-desktop a:hover {
    color: var(--primary);
    background-color: rgba(227, 30, 36, 0.08);
}
.nav-desktop a.active,
.nav-desktop .current-menu-item > a,
.nav-desktop .current-menu-ancestor > a {
    color: var(--primary);
}
.nav-desktop a.active::after,
.nav-desktop .current-menu-item > a::after,
.nav-desktop .current-menu-ancestor > a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: -2px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.nav-extras {
    display: none;
    align-items: center;
    gap: 1rem;
    font-size: 0.825rem;
    color: var(--muted-foreground);
}
.pill-info {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: rgba(227, 30, 36, 0.08);
    border: 1px solid rgba(227, 30, 36, 0.25);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
    .nav-extras {
        display: flex;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-desktop {
        display: flex;
    }
}

/* Mobile nav drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    width: min(88vw, 23rem);
    height: 100dvh;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(8, 9, 12, 0.98);
    border-left: 1px solid var(--border-strong);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.nav-mobile.open {
    transform: translateX(0);
}
.nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
}
.nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-mobile-list li {
    margin: 0;
}
.nav-mobile a,
.nav-submenu-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.95rem 1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-align: left;
}
.nav-mobile .menu-item-has-children > a::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-left: 1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.nav-mobile .menu-item-has-children.open > a::after {
    transform: rotate(225deg);
}
.nav-mobile a:hover,
.nav-submenu-trigger:hover,
.nav-mobile-close:hover {
    color: var(--primary);
    background-color: var(--secondary);
    border-color: var(--border);
}
.nav-submenu {
    display: grid;
    gap: 0.25rem;
}
.nav-submenu-trigger svg {
    transition: transform 0.2s ease;
}
.nav-submenu.open .nav-submenu-trigger svg {
    transform: rotate(180deg);
}
.nav-submenu-panel {
    max-height: 0;
    padding-left: 0.75rem;
    overflow: hidden;
    transition: max-height 0.24s ease;
}
.nav-submenu.open .nav-submenu-panel {
    max-height: 28rem;
}
.nav-submenu-panel a {
    padding: 0.72rem 1rem;
    color: var(--muted-foreground);
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-mobile .sub-menu {
    display: flex;
    max-height: 0;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0 0 0 0.75rem;
    list-style: none;
    overflow: hidden;
    transition: max-height 0.24s ease;
}
.nav-mobile .menu-item-has-children.open > .sub-menu {
    max-height: 28rem;
}
.nav-mobile .sub-menu a {
    padding: 0.72rem 1rem;
    color: var(--muted-foreground);
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-mobile .current-menu-item > a,
.nav-mobile .current-menu-ancestor > a {
    color: var(--primary);
}
.nav-mobile .btn {
    justify-content: center;
    margin-top: 0.75rem;
}
.nav-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.nav-mobile-backdrop.open {
    display: block;
}
body.nav-drawer-open {
    overflow: hidden;
}
/* Override body.home-page > * { position: relative } so the drawer stays fixed */
body.home-page > .nav-mobile {
    position: fixed;
    z-index: 80;
}
body.home-page > .nav-mobile-backdrop {
    position: fixed;
    z-index: 70;
}
body.home-page > .back-to-top {
    position: fixed;
    z-index: 999;
}
@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
    .nav-mobile-backdrop {
        display: none !important;
    }
}

/* On small screens, header grid collapses */
@media (max-width: 767px) {
    .header-nav {
        display: none;
    }
    .header-main .container {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.75rem;
    }
    .logo {
        grid-column: 1;
        grid-row: 1;
    }
    .logo img {
        height: 2.25rem;
    }
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
    .header-search {
        display: none;
    }
    .header-search.mobile-show {
        display: block;
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        margin-top: 0.75rem;
    }
    .header-action .ha-text {
        display: none;
    }
    .header-action {
        padding: 0;
    }
    .header-action .ha-icon {
        width: 2.4rem;
        height: 2.4rem;
    }
    .nav-extras {
        display: none;
    }
}

/* ============ Hero ============ */
.hero {
    position: relative;
    background: var(--grad-dark);
    overflow: hidden;
    padding: 5rem 0 4rem;
}
@media (min-width: 1024px) {
    .hero {
        padding-block: 250px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.68) 43%,
            rgba(0, 0, 0, 0.34) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.38) 0%,
            rgba(0, 0, 0, 0.72) 100%
        );
}

.hero-inner {
    position: relative;
    max-width: 58rem;
    margin: 0;
    text-align: left;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.12);
}
.badge-pill .pulse {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.6);
    animation: pulse 1.8s infinite;
    font-size: 0;
    overflow: hidden;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(227, 30, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0);
    }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hero h1 .accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-style: italic;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0 0 2.5rem;
    max-width: 44rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.stats-section {
    padding: 0 0 4rem;
}
@media (min-width: 1024px) {
    .stats-section {
        padding-bottom: 6rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.hero-stat {
    background: rgba(11, 13, 16, 0.7);
    padding: 1.5rem 1rem;
    text-align: center;
}
.hero-stat .v {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.hero-stat .l {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}
@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-stat .v {
        font-size: 2.25rem;
    }
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1rem 1.25rem;
    background: rgba(11, 13, 16, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s;
}
.feature-item:hover {
    border-color: rgba(227, 30, 36, 0.5);
}
.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: rgba(227, 30, 36, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.feature-item h3 {
    font-weight: 700;
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
}
.feature-item p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin: 0;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
    .hero h1 {
        font-size: 3.25rem;
    }
}
@media (min-width: 768px) {
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}

/* ============ Section common ============ */
.section {
    padding: 4rem 0;
}
@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}
.section-1 {
    background-color: var(--section-1);
}
.section-2 {
    background-color: var(--section-2);
}

.home-page .hero,
.home-page .section-1,
.home-page .section-2,
.home-page .stats-section,
.home-page .cta-section,
.home-page {
    background: transparent;
    background-color: transparent;
}

.home-page .hero-bg::after {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.54) 48%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.24) 0%,
            rgba(0, 0, 0, 0.48) 100%
        );
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .eyebrow-line {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-header .eyebrow-line::before,
.section-header .eyebrow-line::after {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}
.section-header p {
    color: var(--muted-foreground);
    max-width: 44rem;
    margin: 0 auto;
    font-size: 1.0625rem;
}
@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* ============ Brand grid ============ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.brand-card {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.brand-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        120% 60% at 50% 100%,
        rgba(227, 30, 36, 0.18),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.brand-card:hover {
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--primary);
}
.brand-card:hover::before {
    opacity: 1;
}
.brand-card .brand-logo {
    width: 4.5rem;
    height: 4.5rem;
    position: relative;
    z-index: 1;
}
.brand-card img.brand-logo {
    width: 6rem;
    height: 4.5rem;
    object-fit: contain;
    filter: grayscale(0.1);
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}
.brand-card:hover img.brand-logo {
    filter: grayscale(0);
    transform: scale(1.05);
}
.brand-card span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--foreground);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}
.brand-card:hover span {
    color: var(--primary);
}
.brand-card .brand-count {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============ Section header w/ button ============ */
.section-header-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}
.section-header-row .eyebrow-line {
    margin-bottom: 0.5rem;
}
.featured-header {
    display: block;
}
.featured-header .eyebrow-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}
.featured-header .eyebrow-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--primary);
    opacity: 0.55;
}
.featured-title-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}
.section-header-row h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.section-header-row p {
    color: var(--muted-foreground);
}
@media (min-width: 768px) {
    .section-header-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .featured-title-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .section-header-row h2 {
        font-size: 2.5rem;
    }
}

/* ============ Product cards ============ */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.product-grid.featured {
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .product-grid,
    .product-grid.featured {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid.featured {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: linear-gradient(180deg, var(--card), var(--card-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}
.product-card:hover {
    border-color: rgba(227, 30, 36, 0.5);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(227, 30, 36, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(
            80% 60% at 50% 100%,
            rgba(227, 30, 36, 0.1),
            transparent 60%
        ),
        var(--secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}
.product-image-inner {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(227, 30, 36, 0.55);
    transition: transform 0.5s ease;
}
.product-card:hover .product-image-inner:has(svg) {
    transform: rotate(45deg);
}
.product-image-inner svg {
    width: 80%;
    height: 80%;
}
.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.product-card:hover .product-photo {
    transform: scale(1.06);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.2)
    );
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}
.product-badge.bestseller {
    background-color: var(--foreground);
    color: var(--background);
}
.product-badge.promocja {
    background: var(--grad-primary);
    color: white;
}
.product-badge.nowosc {
    background-color: #16a34a;
    color: #fff;
}

.product-body {
    padding: 1rem 1.1rem 0.5rem;
}
.product-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}
.product-meta .brand {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.product-meta .sep,
.product-meta .model {
    color: var(--muted-foreground);
}

.product-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.65rem;
    transition: color 0.2s;
    letter-spacing: -0.005em;
}
.product-title a {
    color: inherit;
}
.product-card:hover .product-title {
    color: var(--primary);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    background: var(--secondary);
    font-weight: 600;
}
.tag.tag-power {
    color: var(--primary);
    border-color: rgba(227, 30, 36, 0.3);
    background: rgba(227, 30, 36, 0.08);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.product-footer {
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px dashed var(--border);
}
.product-price {
    display: flex;
    flex-direction: column;
}
.product-price .now {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}
.product-price .now del {
    display: block;
    margin-bottom: 0.1rem;
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration-thickness: 1px;
}
.product-price .now ins {
    color: var(--foreground);
    text-decoration: none;
}
.product-price .old {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

/* ============ Why Us ============ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.why-card {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: attr(data-num);
    position: absolute;
    top: -1.5rem;
    right: -0.5rem;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(227, 30, 36, 0.06);
    line-height: 1;
    pointer-events: none;
}
.why-card:hover {
    border-color: rgba(227, 30, 36, 0.5);
    box-shadow: var(--shadow-md);
}
.why-card:hover::before {
    color: rgba(227, 30, 36, 0.12);
}
.why-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: rgba(227, 30, 36, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.why-card:hover .why-icon {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.4);
}
.why-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.why-card p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============ About ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
}
.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
}
.about-content p {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.about-list svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.about-media {
    position: relative;
    overflow: hidden;
    min-height: 24rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card-2);
    box-shadow: var(--shadow-md);
}
.about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.34)),
        linear-gradient(90deg, rgba(227, 30, 36, 0.14), transparent 44%);
    pointer-events: none;
}
.about-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    max-height: 650px;
}
@media (min-width: 1024px) {
    .about-media {
        min-height: 32rem;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.stat-card {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s;
}
.stat-card:hover {
    border-color: rgba(227, 30, 36, 0.5);
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
    line-height: 1;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .stat-value {
        font-size: 3.25rem;
    }
}
.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============ Video ============ */
.video-section {
    position: relative;
}
.video-section .section-header {
    margin-bottom: 2.5rem;
}
.video-frame {
    position: relative;
    overflow: hidden;
    width: min(100%, 980px);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 1;
}
.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 767px) {
    .video-frame {
        border-radius: var(--radius);
    }
}

/* ============ Testimonials ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial {
    position: relative;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s;
}
.testimonial:hover {
    border-color: rgba(227, 30, 36, 0.4);
}
.testimonial .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    color: rgba(227, 30, 36, 0.18);
}
.testimonial .stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}
.testimonial .stars svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}
.testimonial blockquote {
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-size: 0.95rem;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.testimonial .author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial .avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--grad-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.testimonial .author {
    font-weight: 700;
}
.testimonial .car {
    font-size: 0.825rem;
    color: var(--muted-foreground);
}
.testimonial .date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ============ CTA ============ */
.cta-section {
    position: relative;
    overflow: hidden;
    background-color: var(--section-2);
    padding: 5rem 0;
}
@media (min-width: 1024px) {
    .cta-section {
        padding: 7rem 0;
    }
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.58)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62)),
        url("https://turbotech-shop.com/wp-content/uploads/2026/05/pexels-jakob-rosen-114876126-9737535-scaled.jpg") center/cover no-repeat;
    z-index: 0;
}
.cta-section .container {
    position: relative;
    z-index: 1;
}
.cta-inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(15, 17, 20, 0.7),
        rgba(11, 13, 16, 0.7)
    );
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}
@media (min-width: 1024px) {
    .cta-inner {
        padding: 4rem 3rem;
    }
}
.cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .cta-inner h2 {
        font-size: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .cta-inner h2 {
        font-size: 3rem;
    }
}
.cta-inner h2 .accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.cta-inner > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0 auto 2rem;
    max-width: 44rem;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.cta-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s;
    font-weight: 500;
}
.cta-contact a:hover {
    color: var(--primary);
}
.cta-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}
@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
    .cta-contact {
        flex-direction: row;
        gap: 2.5rem;
    }
}

/* ============ Footer ============ */
.footer {
    background-color: #000000;
    border-top: 1px solid var(--border);
}
.footer-inner {
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    }
}

.footer-col h3 {
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.footer-col p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.footer-col img {
    width: 256px;
    height: auto;
    margin-bottom: 1rem;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col a {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--primary);
}

/* Social media icons in footer */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1rem;
}

.footer-socials a,
.footer-col .footer-socials a {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 9999px;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary) !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.footer-socials a svg,
.footer-col .footer-socials a svg {
    color: var(--primary) !important;
    fill: currentColor;
    stroke: currentColor;
}

.footer-socials a:hover,
.footer-col .footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.32);
}

.footer-socials a:hover svg,
.footer-col .footer-socials a:hover svg {
    color: #ffffff !important;
    fill: currentColor;
    stroke: currentColor;
}

.footer-socials .icon-lg {
    width: 1.45rem;
    height: 1.45rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}
.footer-contact-list svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}
.footer-bottom .legal {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom a:hover {
    color: var(--primary);
}

/* ============ Static Content Pages ============ */
.content-section {
    background-color: #000000;
    padding: 4rem 0;
}
@media (min-width: 1024px) {
    .content-section {
        padding: 5rem 0;
    }
}

.contact-layout,
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 3rem;
    }
    .about-page-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }
}

.info-panel,
.contact-form {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .info-panel,
    .contact-form,
    .about-panel {
        padding: 2rem;
    }
}

.info-panel h2,
.contact-form h2,
.about-panel h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-list li,
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}
.contact-list svg,
.contact-card svg {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.contact-list strong,
.contact-card strong {
    display: block;
    margin-bottom: 0.15rem;
}
.contact-list span,
.contact-list a,
.contact-card span,
.contact-card a {
    color: var(--muted-foreground);
}
.contact-list a:hover,
.contact-card a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.contact-map {
    position: relative;
    overflow: hidden;
    min-height: 22rem;
    margin-top: 2rem;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.contact-map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 22rem;
    filter: grayscale(1) invert(0.9) contrast(0.9) brightness(0.72);
}

@media (min-width: 768px) {
    .contact-map {
        min-height: 28rem;
        margin-top: 3rem;
    }

    .contact-map iframe {
        height: 28rem;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.form-field.full {
    grid-column: 1 / -1;
}
.form-field label {
    font-size: 0.875rem;
    font-weight: 700;
}
.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    border-radius: var(--radius);
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
}
.form-field textarea {
    min-height: 9rem;
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

.contact-form .fluentform {
    margin-top: 0.25rem;
}

.contact-form .frm-fluent-form > fieldset {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .contact-form .frm-fluent-form > fieldset {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form .frm-fluent-form .ff-field_container,
.contact-form .frm-fluent-form .ff-el-group {
    margin-bottom: 0;
}

.contact-form .frm-fluent-form .ff-field_container:has(textarea),
.contact-form .frm-fluent-form .ff-el-group:has(textarea),
.contact-form .frm-fluent-form .ff_submit_btn_wrapper,
.contact-form .frm-fluent-form .ff-message-success,
.contact-form .frm-fluent-form .ff-errors-in-stack {
    grid-column: 1 / -1;
}

.contact-form .frm-fluent-form .ff-el-input--label {
    display: block;
    margin-bottom: 0.45rem;
}

.contact-form .frm-fluent-form .ff-el-input--label label {
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
}

.contact-form
    .frm-fluent-form
    .ff-el-input--label.ff-el-is-required.asterisk-right
    label::after,
.contact-form
    .frm-fluent-form
    .ff-el-input--label.ff-el-is-required.asterisk-left
    label::before {
    color: var(--primary);
}

.contact-form .frm-fluent-form .ff-el-form-control,
.contact-form .frm-fluent-form input[type="text"],
.contact-form .frm-fluent-form input[type="email"],
.contact-form .frm-fluent-form input[type="tel"],
.contact-form .frm-fluent-form textarea,
.contact-form .frm-fluent-form select {
    width: 100%;
    min-height: auto;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    color: var(--foreground);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.8rem 0.9rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-form .frm-fluent-form textarea.ff-el-form-control,
.contact-form .frm-fluent-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-form .frm-fluent-form .ff-el-form-control::placeholder,
.contact-form .frm-fluent-form textarea::placeholder {
    color: #69707b;
    opacity: 1;
}

.contact-form .frm-fluent-form .ff-el-form-control:focus,
.contact-form .frm-fluent-form input[type="text"]:focus,
.contact-form .frm-fluent-form input[type="email"]:focus,
.contact-form .frm-fluent-form input[type="tel"]:focus,
.contact-form .frm-fluent-form textarea:focus,
.contact-form .frm-fluent-form select:focus {
    outline: none;
    background: #15181d;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

.contact-form .frm-fluent-form .ff_submit_btn_wrapper {
    margin-top: 0;
}

.contact-form .frm-fluent-form .ff-btn-submit,
.contact-form .frm-fluent-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0.95rem 2rem;
    background: var(--grad-primary) !important;
    border: 1px solid transparent !important;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
    color: var(--primary-foreground) !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.55;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.contact-form .frm-fluent-form .ff-btn-submit:hover,
.contact-form .frm-fluent-form button[type="submit"]:hover {
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.5);
    opacity: 1;
}

.contact-form .frm-fluent-form .ff-btn-submit:active,
.contact-form .frm-fluent-form button[type="submit"]:active {
    transform: translateY(1px);
}

.contact-form .frm-fluent-form .text-danger,
.contact-form .frm-fluent-form .ff-el-is-error .text-danger {
    color: #ff6b70;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.contact-form .frm-fluent-form .ff-el-is-error .ff-el-form-control {
    border-color: #ff6b70;
    box-shadow: 0 0 0 3px rgba(255, 107, 112, 0.14);
}

.contact-form .frm-fluent-form .ff-message-success,
.contact-form .frm-fluent-form .ff-errors-in-stack,
.contact-form .fluentform .ff-message-success,
.contact-form .fluentform .ff-errors-in-stack {
    background: rgba(15, 17, 20, 0.9);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--foreground);
    margin: 0;
    padding: 0.9rem 1rem;
}

.contact-form .frm-fluent-form .ff-message-success,
.contact-form .fluentform .ff-message-success {
    border-color: rgba(70, 190, 120, 0.45);
}

.contact-form .frm-fluent-form .ff-errors-in-stack,
.contact-form .fluentform .ff-errors-in-stack {
    border-color: rgba(255, 107, 112, 0.5);
}
.form-note {
    color: var(--muted-foreground);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.about-lead {
    color: var(--muted-foreground);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.about-stats {
    margin-top: 3rem;
}
.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
.about-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.about-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.about-card p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.content-page {
    max-width: 920px;
    margin: 0 auto;
}
.content-page h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
}
.content-page h2:first-child {
    margin-top: 0;
}
.content-page p,
.content-page li {
    color: var(--muted-foreground);
}
.content-page p {
    margin-bottom: 1rem;
}
.content-page ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}
.content-page li + li {
    margin-top: 0.45rem;
}
.content-page a {
    color: var(--foreground);
    text-decoration: underline;
    text-decoration-color: rgba(227, 30, 36, 0.55);
    text-underline-offset: 0.2em;
}
.content-page a:hover {
    color: var(--primary);
}
.legal-note {
    border: 1px solid rgba(227, 30, 36, 0.35);
    border-radius: var(--radius);
    background: rgba(227, 30, 36, 0.08);
    padding: 1rem;
}

/* ============ Products Page ============ */
.page-header {
    position: relative;
    background: #000000;
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
    overflow: hidden;
}
.page-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}
.page-header .breadcrumb a:hover {
    color: var(--primary);
}
.page-header .breadcrumb .sep {
    opacity: 0.5;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) {
    .page-header h1 {
        font-size: 2.75rem;
    }
}
.page-header p {
    color: var(--muted-foreground);
    font-size: 1.0625rem;
    max-width: 50rem;
}

.products-layout {
    padding: 2rem 0 4rem;
}

/* Products toolbar (full-width, drawer-driven filters) */
.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
}
.products-toolbar .left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.products-toolbar .right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.products-toolbar p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}
.products-toolbar p strong {
    color: var(--foreground);
    font-weight: 700;
}
.toolbar-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    font-size: 0;
    overflow: hidden;
}

.btn-filter {
    background: var(--grad-primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.35);
}
.btn-filter:hover {
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.5);
}
.btn-filter .pill {
    margin-left: 0.4rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.7rem;
    border-radius: 9999px;
    padding: 0.1rem 0.5rem;
    font-weight: 700;
}

/* Active filter chips */
.active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.25rem;
    min-height: 0;
}
.active-chips:empty {
    display: none;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem 0.35rem 0.85rem;
    background: rgba(227, 30, 36, 0.12);
    border: 1px solid rgba(227, 30, 36, 0.3);
    color: var(--foreground);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.chip button {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 9999px;
    background: rgba(227, 30, 36, 0.4);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.chip button:hover {
    background: var(--primary);
}
.chip a {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 9999px;
    background: rgba(227, 30, 36, 0.4);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.chip a:hover {
    background: var(--primary);
}
.chip button svg {
    width: 0.7rem;
    height: 0.7rem;
}
.chip-clear {
    margin-left: 0.25rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}
.chip-clear:hover {
    color: var(--primary);
}

/* Select */
.select {
    background: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    width: 220px;
    cursor: pointer;
}
.select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

/* Empty state */
.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.empty-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
}
.empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.empty p {
    color: var(--muted-foreground);
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

/* ============ Filter Drawer (used for both mobile + desktop) ============ */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    max-width: 28rem;
    background: linear-gradient(180deg, var(--card), var(--card-2));
    border-right: 1px solid var(--border);
    z-index: 70;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 30px 0 60px rgba(0, 0, 0, 0.5);
}
.drawer.open {
    transform: translateX(0);
}
.drawer .turbotech-filter-form {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--card-2);
}
.drawer-header h2 {
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.drawer-header h2 .pill {
    background: var(--grad-primary);
    color: white;
    font-size: 0.7rem;
    border-radius: 9999px;
    padding: 0.1rem 0.55rem;
    font-weight: 700;
}
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.5rem 1.5rem;
}
.drawer-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    background: var(--card-2);
}
.drawer-footer .btn {
    min-width: 0;
}

/* Filter group accordion (used inside drawer) */
.filter-group {
    border-bottom: 1px solid var(--border);
}
.filter-group:last-child {
    border-bottom: none;
}
.filter-group-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--foreground);
    text-align: left;
    transition: color 0.2s;
}
.filter-group-trigger:hover {
    color: var(--primary);
}
.filter-group-trigger .group-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.filter-group-trigger .group-label .group-count {
    font-size: 0.7rem;
    color: var(--primary);
    background: rgba(227, 30, 36, 0.12);
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    font-weight: 700;
}
.filter-group-trigger .chevron {
    transition: transform 0.25s;
    color: var(--muted-foreground);
}
.filter-group.open .chevron {
    transform: rotate(180deg);
    color: var(--primary);
}
.filter-group-content {
    display: none;
    padding-bottom: 1.25rem;
}
.filter-group.open .filter-group-content {
    display: block;
}
.filter-group-content > div + div {
    margin-top: 0.6rem;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-radius: var(--radius);
    transition: background 0.15s;
}
.filter-row:hover {
    background: rgba(255, 255, 255, 0.02);
}
.filter-row .check-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
}
.filter-row .check-label input[type="checkbox"] {
    appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid var(--border-strong);
    border-radius: 0.3rem;
    background: var(--input);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}
.filter-row .check-label input[type="checkbox"]:hover {
    border-color: var(--primary);
}
.filter-row .check-label input[type="checkbox"]:checked {
    background: var(--grad-primary);
    border-color: var(--primary);
}
.filter-row .check-label input[type="checkbox"]:checked::after {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E")
        center/contain no-repeat;
}
.filter-row .count {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    background: var(--secondary);
}

.brand-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}
.brand-filter-card {
    position: relative;
    min-width: 0;
    min-height: 7.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.65rem;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}
.brand-filter-card:hover {
    border-color: rgba(227, 30, 36, 0.45);
    background: rgba(255, 255, 255, 0.04);
}
.brand-filter-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.brand-filter-card:has(input:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.brand-filter-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(227, 30, 36, 0.12);
    box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.22);
}
.brand-filter-logo {
    width: 3.75rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-filter-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}
.brand-filter-logo > span {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--foreground);
    font-weight: 800;
    font-size: 1.1rem;
}
.brand-filter-name {
    max-width: 100%;
    color: var(--foreground);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.brand-filter-count {
    color: var(--muted-foreground);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Price slider */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.price-range-inputs input {
    width: 100%;
    background: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}
.price-range-inputs input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

.price-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border-strong);
    border-radius: 9999px;
    outline: none;
}
.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 9999px;
    background: var(--grad-primary);
    cursor: pointer;
    border: 2px solid var(--background);
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.5);
}
.price-slider::-moz-range-thumb {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 9999px;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid var(--background);
}

.price-readout {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    font-weight: 600;
}

/* Counter pill */
.pill {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.7rem;
    border-radius: 9999px;
    padding: 0.1rem 0.55rem;
    font-weight: 700;
}

/* ============ Product Detail Page ============ */
.product-hero-detail {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(
            70% 45% at 20% 0%,
            rgba(227, 30, 36, 0.13),
            transparent 60%
        ),
        #000;
}

.woocommerce-notices-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem 0;
}

.product-hero-detail .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted-foreground);
    font-size: 0.825rem;
    margin-bottom: 1.5rem;
}

.product-hero-detail .breadcrumb a:hover {
    color: var(--primary);
}

.product-hero-detail .breadcrumb .sep {
    opacity: 0.5;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 3rem;
    }
}

.product-gallery {
    display: grid;
    gap: 1rem;
}

.product-main-image {
    position: relative;
    aspect-ratio: 1 / 0.82;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            75% 55% at 50% 100%,
            rgba(227, 30, 36, 0.14),
            transparent 65%
        ),
        var(--secondary);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main-image-trigger {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.product-thumb {
    aspect-ratio: 1 / 0.72;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--secondary);
    opacity: 0.72;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.product-thumb:active {
    transform: translateY(1px);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5rem 6rem;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-lightbox.open {
    display: flex;
}

body.product-lightbox-open {
    overflow: hidden;
}

.product-lightbox-stage {
    display: grid;
    gap: 1rem;
    justify-items: center;
    max-width: min(100%, 72rem);
    margin: 0;
}

.product-lightbox-stage img {
    max-height: calc(100vh - 12rem);
    width: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.product-lightbox-stage figcaption,
.product-lightbox-counter {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 700;
}

.product-lightbox-close,
.product-lightbox-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 9999px;
    background: rgba(15, 17, 20, 0.88);
    color: var(--foreground);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.product-lightbox-close:hover,
.product-lightbox-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(21, 23, 27, 0.98);
}

.product-lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
}

.product-lightbox-nav {
    top: 50%;
    width: 3.25rem;
    height: 3.25rem;
    transform: translateY(-50%);
}

.product-lightbox-prev {
    left: 1.5rem;
}

.product-lightbox-next {
    right: 1.5rem;
}

.product-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .product-lightbox {
        padding: 4.5rem 1rem;
    }

    .product-lightbox-stage img {
        max-height: calc(100vh - 11rem);
    }

    .product-lightbox-nav {
        top: auto;
        bottom: 1.25rem;
        width: 3rem;
        height: 3rem;
        transform: none;
    }

    .product-lightbox-prev {
        left: 1rem;
    }

    .product-lightbox-next {
        right: 1rem;
    }
}

.product-summary {
    min-width: 0;
}

.product-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-kicker span,
.product-brand-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(227, 30, 36, 0.35);
    border-radius: 9999px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary);
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-brand-link {
    gap: 0.42rem;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.product-brand-link:hover {
    border-color: rgba(227, 30, 36, 0.65);
    background: rgba(227, 30, 36, 0.16);
}

.product-brand-link img {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
}

.product-brand-link span {
    border: 0;
    background: transparent;
    padding: 0;
}

.product-summary h1 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.product-lead {
    color: var(--muted-foreground);
    font-size: 1.0625rem;
    max-width: 48rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.product-rating .stars {
    color: var(--primary);
    letter-spacing: 0.08em;
}

.product-purchase-box,
.product-panel,
.process-step {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.product-purchase-box {
    display: grid;
    gap: 1.1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.price-label {
    color: var(--muted-foreground);
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
}

.product-detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.product-detail-price strong,
.product-detail-price > .amount,
.product-detail-price ins,
.product-detail-price ins .amount {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--foreground);
    text-decoration: none;
}

.product-detail-price del,
.product-detail-price del .amount {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    font-weight: 700;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted-foreground);
    font-weight: 700;
}

.stock-status .dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: #16a34a;
    box-shadow: 0 0 16px rgba(22, 163, 74, 0.7);
}

.purchase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.purchase-actions .btn {
    flex: 1 1 13rem;
}

.purchase-actions form.cart {
    display: flex;
    flex: 999 1 20rem;
    gap: 0.75rem;
    margin: 0;
}

.purchase-actions form.cart .quantity {
    flex: 0 0 5.5rem;
}

.purchase-actions form.cart .qty {
    width: 100%;
    min-height: 100%;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--input);
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.purchase-actions form.cart .single_add_to_cart_button {
    flex: 1 1 13rem;
    min-height: 3.45rem;
    border-radius: var(--radius);
    background: var(--grad-primary);
    color: var(--primary-foreground);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
    font-size: 1rem;
}

.purchase-actions .added_to_cart {
    display: none;
}

.purchase-actions .variations_form,
.purchase-actions .grouped_form {
    display: grid;
}

.purchase-actions form.cart.variations_form,
.purchase-actions form.cart.grouped_form {
    display: grid;
    flex: 999 1 100%;
}

.purchase-actions .single_variation_wrap {
    display: grid;
    gap: 0.75rem;
}

.purchase-actions .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 0.75rem;
}

.purchase-actions table.variations,
.purchase-actions table.group_table {
    width: 100%;
    border-spacing: 0 0.6rem;
}

.purchase-actions table.variations th,
.purchase-actions table.variations td,
.purchase-actions table.group_table td {
    display: block;
    padding: 0;
    text-align: left;
}

.purchase-actions table.variations label {
    color: var(--muted-foreground);
    font-size: 0.85rem;
    font-weight: 800;
}

.purchase-actions table.variations select {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--input);
    color: var(--foreground);
    min-height: 3rem;
    padding: 0 0.85rem;
}

.purchase-actions .reset_variations {
    display: inline-block;
    margin-top: 0.45rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
}

.product-benefits {
    display: grid;
    gap: 0.75rem;
}

.product-benefits div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
    padding: 0.85rem 1rem;
}

.product-benefits svg,
.check-list li::before {
    color: var(--primary);
}

.product-detail-section {
    padding: 3rem 0;
}

.product-detail-section .section-header-row h2 {
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.product-section-title,
.product-description-panel h2.product-section-title,
.product-panel h2.product-section-title,
.product-detail-section .section-header-row h2.product-section-title {
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 800;
    margin: 0 0 1rem;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .product-info-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
    }
}

.product-panel {
    padding: 1.5rem;
}

.product-panel h2 {
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .product-panel h2,
    .product-detail-section .section-header-row h2 {
        font-size: 1.9rem;
    }

    .product-section-title,
    .product-description-panel h2.product-section-title,
    .product-panel h2.product-section-title,
    .product-detail-section .section-header-row h2.product-section-title {
        font-size: 1.9rem;
    }
}

.product-panel p {
    color: var(--muted-foreground);
}

.product-description-content {
    color: var(--muted-foreground);
}

.product-description-content > * + * {
    margin-top: 1rem;
}

.product-description-content ul,
.product-description-content ol {
    list-style: revert;
    padding-left: 1.25rem;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--foreground);
}

.check-list li::before {
    content: "â";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

.spec-list {
    display: grid;
    gap: 0.75rem;
}

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.75rem;
}

.spec-list div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-list dt {
    color: var(--muted-foreground);
}

.spec-list dd {
    font-weight: 800;
    text-align: right;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-step {
    padding: 1.35rem;
}

.process-step span {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.process-step h3 {
    margin: 0.45rem 0 0.4rem;
    font-size: 1.05rem;
}

.process-step p {
    color: var(--muted-foreground);
    font-size: 0.92rem;
}

.related-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* WordPress / WooCommerce integration */
.alignwide {
    max-width: min(1180px, calc(100vw - 48px));
    margin-left: auto;
    margin-right: auto;
}
.alignfull {
    width: 100%;
    max-width: none;
}
.wp-caption,
.gallery-caption {
    color: var(--muted-foreground);
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-result-count {
    color: var(--muted-foreground);
    font-size: 0.92rem;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 700;
    min-height: 44px;
    padding: 0.72rem 1rem;
    transition: var(--transition-smooth);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover {
    background: var(--primary-dark);
    color: var(--primary-foreground);
}
.wc-block-cart__submit-container
    .wc-block-cart__submit-button.wc-block-components-button,
.wc-block-components-checkout-place-order-button.wc-block-components-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem !important;
    border: 1px solid transparent !important;
    border-radius: var(--radius) !important;
    background: var(--grad-primary) !important;
    color: var(--primary-foreground) !important;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
    cursor: pointer;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    line-height: 1.55;
    text-decoration: none !important;
    transition:
        transform 0.15s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
    white-space: nowrap;
}
.wc-block-cart__submit-container
    .wc-block-cart__submit-button.wc-block-components-button:hover,
.wc-block-cart__submit-container
    .wc-block-cart__submit-button.wc-block-components-button:focus,
.wc-block-components-checkout-place-order-button.wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button.wc-block-components-button:focus {
    background: var(--grad-primary) !important;
    color: var(--primary-foreground) !important;
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.5);
}
.wc-block-cart__submit-container
    .wc-block-cart__submit-button.wc-block-components-button:active,
.wc-block-components-checkout-place-order-button.wc-block-components-button:active {
    transform: translateY(1px);
}
.wc-block-cart__submit-container .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button
    .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button__text {
    color: inherit;
    font: inherit;
    font-weight: inherit;
}

.wc-block-components-order-summary
    .wc-block-components-order-summary-item__quantity {
    background: var(--primary);
}
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
@media (min-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
}
.woocommerce ul.products li.product:hover {
    transform: none;
}
.woocommerce ul.products li.product .product-card {
    height: 100%;
}
.woocommerce ul.products li.product a img {
    width: 100%;
    object-fit: cover;
    margin: 0;
    background: var(--muted);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.35;
    padding: 1rem 1rem 0.5rem;
}
.woocommerce ul.products li.product .price {
    color: var(--primary);
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
    padding: 0 1rem 1rem;
}
.woocommerce ul.products li.product .button {
    margin: 0 1rem 1rem;
}
.woocommerce ul.products li.product .product-cart-button {
    margin: 0;
}
.woocommerce ul.products li.product .added_to_cart {
    display: none;
}
.woocommerce span.onsale {
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 999px;
    min-height: auto;
    min-width: auto;
    line-height: 1;
    padding: 0.5rem 0.75rem;
    font-weight: 800;
}
.woocommerce div.product div.images img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.woocommerce div.product .product_title {
    color: var(--foreground);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 900;
}
.woocommerce div.product form.cart .button {
    min-height: 52px;
}
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.button,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.alt {
    background: var(--grad-primary) !important;
    background-color: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
}
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button:hover,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button:focus,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button:active,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.button:hover,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.button:focus,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.button:active,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.alt:hover,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.alt:focus,
.woocommerce
    .product-hero-detail
    .purchase-actions
    form.cart
    button.single_add_to_cart_button.alt:active {
    background: linear-gradient(135deg, #c11a1f 0%, #e31e24 100%) !important;
    background-color: var(--primary-600) !important;
    color: var(--primary-foreground) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.5);
}
.woocommerce div.product form.cart div.quantity input.qty {
    min-height: 52px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.woocommerce-tabs.wc-tabs-wrapper,
.related.products,
.up-sells.upsells.products {
    margin-top: 3rem;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--primary);
    background: var(--card);
    color: var(--foreground);
    box-shadow: var(--shadow-card);
}
.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--primary);
}

/* WooCommerce account */
.woocommerce-account .content-section {
    padding-top: 2rem;
}

.woocommerce-account.logged-in .page-content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 8rem;
    float: none;
    width: auto;
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(20, 23, 28, 0.96), rgba(10, 12, 15, 0.98)),
        var(--card);
    box-shadow: var(--shadow-card);
}

.woocommerce-account .woocommerce-MyAccount-navigation::before {
    content: "Panel konta";
    display: block;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0.78rem 0.95rem 0.78rem 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    font-size: 0.94rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.7rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.42;
    transition: var(--transition-smooth);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.035);
    color: var(--foreground);
    transform: translateX(2px);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    border-color: rgba(227, 30, 36, 0.42);
    background: linear-gradient(
        135deg,
        rgba(227, 30, 36, 0.18),
        rgba(227, 30, 36, 0.06)
    );
    color: var(--foreground);
    box-shadow: inset 3px 0 0 var(--primary);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(227, 30, 36, 0.75);
    opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-content {
    min-width: 0;
    float: none;
    width: auto;
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(17, 19, 23, 0.94), rgba(10, 12, 15, 0.98)),
        var(--card);
    box-shadow: var(--shadow-card);
}

.woocommerce-account .woocommerce-MyAccount-content > * {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > p,
.woocommerce-account .woocommerce-MyAccount-content > form,
.woocommerce-account .woocommerce-MyAccount-content > address,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Addresses,
.woocommerce-account
    .woocommerce-MyAccount-content
    > .woocommerce-order-details,
.woocommerce-account
    .woocommerce-MyAccount-content
    > .woocommerce-customer-details,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-pagination,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error {
    margin: 1.25rem;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    margin: 0;
    padding: clamp(1.35rem, 2.4vw, 2rem);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            135deg,
            rgba(227, 30, 36, 0.16),
            rgba(255, 255, 255, 0.025) 46%,
            transparent
        ),
        #0b0d10;
    color: var(--muted-foreground);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.55;
}

.woocommerce-account .woocommerce-MyAccount-content strong {
    color: var(--foreground);
    font-weight: 800;
}

.woocommerce-account .woocommerce-MyAccount-content p:not(:first-of-type) {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
    color: var(--foreground);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(227, 30, 36, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.woocommerce-account .page-content > .woocommerce > h2 {
    max-width: 560px;
    margin: 0 auto 1rem;
    color: var(--foreground);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.woocommerce-account .woocommerce form.woocommerce-form-login {
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(17, 19, 23, 0.96), rgba(10, 12, 15, 0.98)),
        var(--card);
    box-shadow: var(--shadow-card);
}

.woocommerce-account .woocommerce-form-login .form-row {
    margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 1rem 1rem 0;
    color: var(--muted-foreground);
    font-weight: 700;
}

.woocommerce-account .woocommerce-form-login__submit {
    min-width: 150px;
}

.woocommerce-account .lost_password {
    max-width: 560px;
    margin: 1rem auto 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-Address-title h3,
.woocommerce-account .woocommerce-column__title {
    color: var(--foreground);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin: 1.25rem 1.25rem 0.85rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
    margin: 1.25rem;
    width: calc(100% - 2.5rem);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #0b0d10;
    color: var(--foreground);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
    border-color: var(--border);
    padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
    background: var(--secondary);
    color: var(--muted-foreground);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
    color: var(--foreground);
}

.woocommerce-account .woocommerce-MyAccount-content address,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .edit-account {
    color: var(--muted-foreground);
}

.woocommerce-account .woocommerce-Address {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #0b0d10;
}

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.woocommerce-account .woocommerce-Address-title h3 {
    margin: 0;
}

.woocommerce-account .woocommerce form .form-row label {
    color: var(--foreground);
    font-size: 0.88rem;
    font-weight: 700;
}

.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select,
.woocommerce-account .woocommerce .select2-container .select2-selection {
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--input);
    color: var(--foreground);
}

.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea {
    padding: 0.78rem 0.9rem;
}

.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

.woocommerce-account .woocommerce fieldset {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.woocommerce-account .woocommerce legend {
    padding: 0 0.5rem;
    color: var(--foreground);
    font-weight: 800;
}

@media (max-width: 900px) {
    .woocommerce-account.logged-in .page-content > .woocommerce {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
        grid-column: 1;
        grid-row: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        grid-column: 1;
        grid-row: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation::before {
        padding-bottom: 0.35rem;
        border-bottom: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-top: 0.35rem;
        scrollbar-width: thin;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        min-height: 42px;
        white-space: nowrap;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .woocommerce-account .content-section {
        padding-top: 1.25rem;
    }

    .woocommerce-account.logged-in .page-content > .woocommerce {
        gap: 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content > p,
    .woocommerce-account .woocommerce-MyAccount-content > form,
    .woocommerce-account .woocommerce-MyAccount-content > address,
    .woocommerce-account
        .woocommerce-MyAccount-content
        > .woocommerce-Addresses,
    .woocommerce-account
        .woocommerce-MyAccount-content
        > .woocommerce-order-details,
    .woocommerce-account
        .woocommerce-MyAccount-content
        > .woocommerce-customer-details,
    .woocommerce-account
        .woocommerce-MyAccount-content
        > .woocommerce-pagination,
    .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Message,
    .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
    .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
    .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error {
        margin: 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.shop_table {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

/* ============================
   Back to Top
   ============================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--card);
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        var(--transition-smooth),
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
    box-shadow: var(--shadow-md);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}