/*
 * BikeStudio Light Theme
 * White/light version of the e-shop
 */

/* ===== CSS VARIABLES ===== */
:root {
    --bg-body: #f5f5f5;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-input: #ffffff;
    --bg-header: #ffffff;
    --bg-footer: #1a1a1a;
    --bg-benefits: #f9f9f9;
    --bg-tab: #f0f0f0;
    --bg-tab-active: transparent;

    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --accent-light: rgba(231, 76, 60, 0.08);
    --accent-glow: rgba(231, 76, 60, 0.15);

    --green: #27ae60;
    --green-light: rgba(39, 174, 96, 0.1);

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #999999;
    --text-white: #1a1a1a;

    --border: #e0e0e0;
    --border-light: #eeeeee;
    --border-accent: #e74c3c;

    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;

    --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(231, 76, 60, 0.1);

    --font: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Fira Sans', sans-serif;

    --container-width: 1200px;
    --header-height: 64px;
}

/* Widen content area on large desktops so product grids breathe. */
@media (min-width: 1600px) { :root { --container-width: 1480px; } }
@media (min-width: 1920px) { :root { --container-width: 1760px; } }
@media (min-width: 2400px) { :root { --container-width: 2000px; } }


/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #fff;
    /*background: url(/.new2/_i/b2.webp) no-repeat fixed;*/
        
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--accent);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin: 0 0 12px 0;
}


/* ===== CONTAINER (override Skeleton) ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}


/* ===== HEADER ===== */
.site-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 100px;
    height: auto;
}

.site-header .twelve.columns {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-height);
    flex-wrap: nowrap;
}

.site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
}
.site-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-height);
    width: 100%;
    flex-wrap: nowrap;
}
.site-header-row .site-logo { flex: 0 0 auto; }
.site-search-wrap {
    flex: 0 0 auto;
    width: 60%;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}


/* Logo */
.site-header .logo,
.site-header a[href="/"] img,
.site-header h1 {
    font-size: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    height: 150px;
}

.site-logo .logo-icon {
    width: 300px;
    height: 150px;
    background: url(/_i/pnmg.png) 0 35px no-repeat;
    background-size: 162px 110px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.site-logo .logo-text {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main menu bar (full-width row under the logo/search/cart row) */
.main-menu-bar {
    background: var(--surface, #16213e);
    border-top: 1px solid var(--border, #2a3658);
    border-bottom: 1px solid var(--border, #2a3658);
    width: 100%;
}
.main-menu-bar .container {
    padding: 0 20px;
}
.main-menu-bar #topmenul {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    align-items: center;
    width: 100%;
}
.main-menu-bar #topmenul li.nv a,
.main-menu-bar #topmenul li.nv a:link,
.main-menu-bar #topmenul li.nv a:visited,
.main-menu-bar #topmenul li.nv a:active {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.main-menu-bar #topmenul li.nv a:hover,
.main-menu-bar #topmenul li.nv a:focus {
    color: #f26823;
    border-bottom-color: #f26823;
}

/* Nav links */
#topmenul,
.site-header ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

#topmenul li a,
.site-header nav a,
li.nv a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

#topmenul li a:hover,
.site-header nav a:hover,
li.nv a:hover {
    color: var(--text-white);
    border-bottom-color: var(--accent);
}

/* Header search */
.site-search {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}

.site-search input {
    width: 100%;
    padding: 9px 9px 9px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: none;
}

.site-search input::placeholder {
    color: var(--text-muted);
    padding-left:  56px;
}

.site-search input:focus {
    border-color: var(--border);
    box-shadow: none;
    background: var(--bg-surface);
}

.search-icon {
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    display: block;
}

.search-icon circle,
.search-icon path {
    stroke: var(--text-muted);
}

/* Search results dropdown */
.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 8px 8px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-hover);
    margin-top: 2px;
}

.sr-category {
    background: var(--bg-surface);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.12s;
}

.sr-item:hover {
    background: var(--accent-light);
}

.sr-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-surface);
}

.sr-noimg {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.sr-info {
    flex: 1;
    min-width: 0;
}

.sr-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.sr-brand {
    font-size: 12px;
    color: var(--text-muted);
}

.sr-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.sr-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Account link */
.account-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.account-link:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.account-link .fa-user {
    font-size: 15px;
}

.account-link .account-name {
    font-weight: 500;
}

/* Cart icon */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    padding: 4px;
}

.cart-link:hover {
    color: var(--accent);
}

.cart-link svg {
    stroke: currentColor;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    padding: 0 4px;
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 40px;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f26823;
    margin-bottom: 16px;
    font-weight: 600;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-scroll {  
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 32px;
    height: 48px;
    border: 2px solid var(--text-muted);
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}


.hero-scroll span {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font);
}

.btn-primary {
    background: #e8591a;
    color: #fff;
}

.btn-primary:hover { 
    color: #fff;
    background: #666;
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background:  #666; 
    color: white;
}

.btn-outline:hover { 
    color: white;
}

.btn-cart {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: var(--font);
}

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

.btn-cart:disabled {
    background: #333;
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}


/* ===== BENEFITS BAR ===== */
.benefits-section {
    background: var(--bg-benefits);
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 2px 0 0;
}


/* ===== SECTION HEADERS ===== */
.section {
    padding: 60px 0;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

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

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.view-all:hover {
    color: var(--accent);
}


/* ===== CATEGORY CARDS (homepage) ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    text-decoration: none;
}

.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.category-card .card-overlay {
    position: relative;
    z-index: 2;
    padding: 24px 20px;
    background: white;
    text-align: center;
    /*linear-gradient(transparent, rgba(155,155,155,0.85));*/
}

.category-card h3 {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
    margin: 0 0 12px;
    text-align: center;
}

.category-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 10px;
    line-height: 1.4;
    text-align: center;
}

.category-card .explore-link {
    font-size: 15px;
    font-weight: 700;
    color: #f26823;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.category-card:hover .explore-link {
    gap: 8px;
}


/* ===== PRODUCT CARDS ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.product-card:hover {
    border-color: #ccc;
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card .card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-surface);
    position: relative;
}

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

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

/* Discount badge */
.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* Stock badge on card */
.badge-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.badge-stock.in-stock {
    color: var(--green);
    background: var(--green-light);
}

.badge-stock.no-stock {
    color: var(--accent);
    background: var(--accent-light);
}

.product-card .card-body {
    padding: 14px 16px 18px;
}

/* Star rating */
.card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.card-rating .stars {
    color: var(--accent);
    font-size: 12px;
}

.card-rating .rating-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.card-rating .rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.product-card .card-brand {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0 6px;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-card .card-price .old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.product-card .card-stock {
    font-size: 11px;
    margin-top: 4px;
}

.card-stock.in-stock {
    color: var(--green);
}

.card-stock.no-stock {
    color: var(--accent);
}

.card-variants {
    display: inline-block;
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.card-variants-list {
    margin-top: 4px;
}

.card-variant-line {
    font-size: 11px;
    line-height: 1.5;
}

.card-variant-line.in-stock {
    color: var(--green);
}

.card-variant-line.no-stock {
    color: var(--accent);
}

.card-variant-more {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}


/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    margin: 60px 0;
}

.promo-banner img.promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: 48px;
    max-width: 500px;
}

.promo-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.promo-content h2 {
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 4px;
}

.promo-content .promo-discount {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 16px;
}

.promo-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}


/* ===== NEWSLETTER ===== */
.newsletter {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.newsletter .section-label {
    margin-bottom: 8px;
}

.newsletter .section-title {
    margin-bottom: 12px;
}

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

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 460px;
    margin: 0 auto;
    gap: 0;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--border);
}

.newsletter-form button {
    padding: 12px 20px;
    background: #f26823;
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    transition: background 0.2s;
    flex: 0 0 auto;
}

.newsletter-form button:hover {
    background: #d95a1b;
}

.newsletter-form .newsletter-captcha {
    flex: 0 0 100%;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-form .newsletter-captcha strong {
    color: var(--text-primary);
    font-weight: 700;
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 4px;
}

.newsletter-form .newsletter-captcha input[type="number"] {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font);
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}
.newsletter-form .newsletter-captcha input[type="number"]::-webkit-outer-spin-button,
.newsletter-form .newsletter-captcha input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.newsletter-form .newsletter-captcha input[type="number"]:focus {
    border-color: #f26823;
}

.newsletter-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 14px;
}

.newsletter-flash {
    max-width: 460px;
    margin: 0 auto 16px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}
.newsletter-flash--success { background: #27ae60; color: #fff; }
.newsletter-flash--warning { background: #f39c12; color: #fff; }
.newsletter-flash--danger  { background: #ea5455; color: #fff; }


/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 60px;
    color: #aaaaaa;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand .footer-logo  {
    width: 150px;
    height: 110px;
    background: url(/_i/bw2.png) left no-repeat;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
}

.footer-brand .footer-logo .logo-text {
    font-weight: 700;
    font-size: 15px;
    color: #f0f0f0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f0f0f0;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 13px;
    color: #888888;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888888;
}

.footer-contact i,
.footer-contact svg {
    color: #f26823;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: #888888;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--accent);
}


/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.breadcrumb-bar a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    color: var(--accent);
}

.breadcrumb-bar .sep {
    margin: 0 6px;
    color: var(--text-muted);
}

.breadcrumb-bar .current {
    color: var(--text-primary);
}


/* ===== PRODUCT DETAIL PAGE ===== */
/* Product detail: white-background wrapper */
html { scroll-behavior: smooth; }

.product-page-bg {
    background: #ffffff;
    color: #111;
    width: 100%;
    padding: 24px 0 48px;
}
.product-page-bg h1,
.product-page-bg h2,
.product-page-bg h3,
.product-page-bg h4 { color: #111; }
.product-page-bg h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 4px 0 14px;
}
.product-page-bg .product-breadcrumb {
    font-size: 13px;
    color: #666;
    margin: 0 0 6px;
}
.product-page-bg .product-breadcrumb a,
.product-page-bg .product-breadcrumb a:link,
.product-page-bg .product-breadcrumb a:visited {
    color: #666;
    text-decoration: none;
}
.product-page-bg .product-breadcrumb a:hover {
    color: #f26925;
    text-decoration: underline;
}
.product-page-bg .product-breadcrumb .sep {
    margin: 0 6px;
    color: #bbb;
}
.product-page-bg a { color: #0a66c2; }
.product-page-bg a:hover { color: #064a8a; }
.product-page-bg .main-image {
    background: #ffffff;
    border: none;
}
.product-page-bg .thumbnail-carousel .thumb {
    border-color: transparent;
}
.product-page-bg .thumbnail-carousel .thumb.active {
    border-color: #f26925;
}
.product-page-bg .thumbnail-carousel .thumb:hover {
    border-color: #f2692580;
}
.product-page-bg .short-description {
    background: #f2f6fb !important;
    border-left-color: #f26925 !important;
    color: #111;
}
.product-page-bg .short-description .more-link,
.product-page-bg .short-description .more-link:link,
.product-page-bg .short-description .more-link:visited {
    display: inline-block;
    margin-left: 6px;
    font-weight: 600;
    color: #f26925;
    text-decoration: underline;
    white-space: nowrap;
}
.product-page-bg .short-description .more-link:hover {
    color: #c4521a;
}
.btn-ask-availability,
.btn-ask-availability:link,
.btn-ask-availability:visited {
    display: inline-block;
    background: #fff;
    border: 1px solid #f26925;
    color: #f26925;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.btn-ask-availability:hover {
    background: #f26925;
    color: #fff;
}

/* Compact + uniform variant rows.
   Both in-stock (qty + cart) and out-of-stock (ask-availability) cells are
   normalized to the same 34px content height, and the row itself is forced
   to the same height so stray margins/line-heights can't break alignment. */
.variants-table tbody tr { height: 58px; }
.variants-table tbody td {
    vertical-align: middle;
    line-height: 1.3;
}
.variants-table form {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}
.variants-table .btn-cart,
.variants-table .btn-ask-availability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
    border-radius: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    vertical-align: middle;
    margin: 0;
}
.variants-table .btn-cart {
    background: #f26925;
    color: #fff;
    border: 1px solid #f26925;
}
.variants-table .btn-cart:hover {
    background: #c4521a;
    border-color: #c4521a;
    box-shadow: none;
}
.variants-table form input[type=number] {
    width: 56px;
    height: 34px;
    padding: 0 6px;
    margin: 0;
    font-size: 13px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: 4px;
    vertical-align: middle;
}
.product-page-bg .product-price-main { color: #111; }
.product-page-bg .param-table,
.product-page-bg .param-table td,
.product-page-bg .param-table th {
    color: #111;
    border-color: #e3e3e3;
}

.product-gallery {
    margin-bottom: 20px;
}

.main-image {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    padding: 32px 16px;
}

.main-image img {
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    display: block;
    margin: 0 auto;
}

.thumbnail-carousel {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumbnail-carousel .thumb {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    transition: border-color 0.2s;
    background: var(--bg-surface);
    padding: 4px;
    box-sizing: border-box;
}

.thumbnail-carousel .thumb:hover,
.thumbnail-carousel .thumb.active {
    border-color: var(--border);
}

.thumbnail-carousel .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product info */
.product-brand {
    color: var(--text-muted);
    margin: 10px 0;
    font-size: 14px;
}

.product-brand a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: bold;
}

.product-brand a:hover {
    color: var(--accent);
}

.product-price-main {
    font-size: 32px;
    color: var(--accent);
    font-weight: 800;
    margin: 15px 0;
}

.product-price-main .old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 12px;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0 20px;
}

.stock-yes {
    color: var(--green);
    font-weight: bold;
}

.stock-no {
    color: var(--accent);
}

/* Quantity selector */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s;
}

.qty-selector button:hover {
    background: var(--bg-card-hover);
}

.qty-selector input {
    width: 48px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font);
}

/* Variants table */
.variants-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.variants-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.variants-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-primary);
}

.variants-table tr:hover {
    background: var(--bg-card-hover);
}

/* Product detail badges */
.product-badges {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.product-badge i,
.product-badge svg {
    color: var(--accent);
    font-size: 16px;
}

.product-badge strong {
    color: var(--text-primary);
}

.product-badge span {
    color: var(--text-muted);
    font-size: 11px;
}


/* ===== PRODUCT TABS ===== */
.product-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-top: 40px;
}

.product-tabs .tab {
    flex: 1;
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    transition: color 0.2s, border-color 0.2s;
    background: transparent;
}

.product-tabs .tab:hover {
    color: var(--text-primary);
}

.product-tabs .tab.active {
    color: var(--text-white);
    border-color: var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    background: transparent;
}

.tab-content {
    padding: 24px 0;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}


/* ===== PARAMETERS TABLE ===== */
.param-group {
    margin-top: 20px;
}

.param-group h4 {
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    color: var(--text-primary);
}

.param-table {
    width: 100%;
    border-collapse: collapse;
}

.param-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-primary);
}

.param-table td:first-child {
    font-weight: bold;
    width: 40%;
    color: var(--text-secondary);
}

.param-table tr:hover {
    background: var(--bg-card-hover);
}


/* ===== CATEGORY PAGE ===== */
.page-heading {
    padding: 30px 0 20px;
}

.page-heading .section-label {
    margin-bottom: 4px;
}

.page-heading h1 {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

/* Layout */
.page-layout {
    display: flex;
    gap: 28px;
    margin-top: 20px;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar */
.filter-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.filter-section h4 {
    margin: 0 0 12px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 6px;
    font-weight: 700;
}

/* Category tree */
.cat-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-tree li {
    margin-bottom: 2px;
}

.cat-tree a {
    display: block;
    padding: 7px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}

.cat-tree a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.cat-tree a.active {
    color: var(--accent);
    font-weight: 600;
}

.cat-tree a.ancestor {
    color: var(--accent);
    font-weight: 600;
}

.cat-tree .children {
    list-style: none;
    padding-left: 16px;
    margin: 0;
}

/* Filters */
.filter-group {
    margin-bottom: 14px;
}

.filter-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group-title .toggle-icon {
    font-size: 11px;
    transition: transform 0.2s;
    color: var(--text-muted);
}

.filter-group-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.filter-group-values {
    max-height: 200px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.filter-group-values.collapsed {
    max-height: 0;
    overflow: hidden;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-check input[type="checkbox"] {
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-check:hover {
    color: var(--accent);
}

/* Price range */
.price-range-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.price-range-inputs input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--bg-input);
    color: var(--text-primary);
}

.price-range-inputs span {
    color: var(--text-muted);
    font-size: 13px;
}

/* Price range slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--bg-body);
}

/* Active filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.active-filter-tag:hover {
    background: var(--accent-hover);
}

.active-filter-tag .remove {
    font-weight: bold;
    margin-left: 4px;
}

.clear-all-filters {
    color: var(--accent);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}

/* Sort bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.sort-bar .result-count {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font);
}

/* Subcategories */
.subcategories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.subcat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    white-space: nowrap;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: none;
}

.subcat-card:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(231,76,60,0.12);
}

.subcat-card .name {
    font-weight: 600;
    font-size: 14px;
}

.subcat-card .count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.rozmer-pill { transition: border-color .15s, background .15s; }
.rozmer-pill:hover { border-color: var(--accent); }
.rozmer-pill.active { border-color: var(--accent); background: var(--accent-light); }
.rozmer-pill.active .name { color: var(--accent); }

/* Filter buttons */
.btn-filter {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s;
    margin-top: 8px;
    font-family: var(--font);
}

.btn-filter:hover {
    background: var(--accent-hover);
}

.btn-reset {
    width: 100%;
    padding: 8px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    margin-top: 6px;
    font-family: var(--font);
}

.btn-reset:hover {
    border-color: var(--border);
    color: var(--accent);
}

/* Loading */
.products-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    z-index: 10;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--accent);
}

.products-loading.show {
    display: flex;
}

.products-wrapper {
    position: relative;
    min-height: 200px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    padding: 16px 0;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.15s;
}

.pagination a:hover {
    border-color: var(--border);
    color: var(--accent);
}

.pagination .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--border);
}


/* ===== "YOU MAY ALSO LIKE" SECTION ===== */
.related-products {
    padding: 40px 0;
}

.related-products h2 {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
}


/* ===== FORMS (Cart, Transport, Customer, Checkout) ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font);
    transition: border-color 0.2s;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--border);
    outline: none;
    box-shadow: none;
}

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

label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: block;
}

/* Radio / Checkbox */
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--accent);
}

/* Form cards (transport/payment options) */
.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.option-card:hover {
    border-color: #444;
}

.option-card.selected,
.option-card input:checked ~ * {
    border-color: var(--border);
}


/* ===== TABLES (general) ===== */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-primary);
}

tr:hover {
    background: var(--bg-card-hover);
}


/* ===== FLASH MESSAGES ===== */
.flash {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.flash-success {
    background: var(--green-light);
    color: var(--green);
    border: 1px solid var(--green);
}

.flash-danger {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.flash-warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid #f1c40f;
}


/* ===== SKELETON OVERRIDES ===== */
.row {
    background: transparent !important;
}

.columns {
    color: var(--text-primary);
}

/* Override white backgrounds from inline styles */
[style*="background: white"],
[style*="background:white"],
[style*="background-color: white"],
[style*="background-color:white"] {
    background: transparent !important;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Header: compact top row, search wraps below */
    .site-header { min-height: 0; }
    .site-header-row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
        min-height: 0;
    }

    .site-logo { height: auto; flex: 0 0 auto; align-items: center; }
    .site-logo .logo-icon {
        width: 110px;
        height: 60px;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .site-logo .logo-text { display: none; }

    .site-header-actions { gap: 8px; margin-left: auto; }
    .account-link .account-name { display: none; }
    .account-link { padding: 6px; }

    .site-search-wrap {
        order: 10;
        flex: 1 0 100%;
    }
    .site-search { width: 100%; }

    /* Main menu: full-width row, equal-flex items */
    .main-menu-bar { border-top: 1px solid var(--border, #2a3658); }
    .main-menu-bar .container { padding: 0; }
    .main-menu-bar #topmenul {
        gap: 0;
        padding: 0;
        width: 100%;
    }
    .main-menu-bar #topmenul li.nv {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        border-right: 1px solid var(--border, #2a3658);
    }
    .main-menu-bar #topmenul li.nv:last-child { border-right: 0; }
    .main-menu-bar #topmenul li.nv a,
    .main-menu-bar #topmenul li.nv a:link,
    .main-menu-bar #topmenul li.nv a:visited {
        display: block;
        padding: 12px 4px;
        font-size: 12px;
        letter-spacing: 0;
        border-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero {
        min-height: 360px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .benefits-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .filter-toggle-mobile {
        display: block;
        width: 100%;
        padding: 10px;
        background: var(--accent);
        color: #fff;
        border: none;
        border-radius: var(--radius);
        font-size: 14px;
        cursor: pointer;
        margin-bottom: 12px;
        font-family: var(--font);
    }

    .sidebar-filters.mobile-hidden {
        display: none;
    }

    .promo-banner {
        min-height: 280px;
    }

    .promo-content {
        padding: 24px;
    }

    .promo-content h2 {
        font-size: 28px;
    }

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

    .newsletter-form input {
        border-right: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .newsletter-form button {
        border-radius: var(--radius);
        justify-content: center;
    }

    .product-tabs .tab {
        font-size: 11px;
        padding: 10px 8px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .benefits-bar {
        grid-template-columns: 1fr;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .filter-toggle-mobile {
        display: none;
    }
}


/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}


/* ===== SELECTION ===== */
::selection {
    background: var(--accent);
    color: #fff;
}


/* ===== CART PAGE ===== */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.cart-empty i { font-size: 48px; margin-bottom: 16px; display: block; color: var(--border); }
.cart-empty p { font-size: 16px; margin-bottom: 20px; }
.cart-empty a { color: var(--accent); text-decoration: none; font-weight: 600; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}
.cart-item + .cart-item { border-top: 1px solid var(--border); }

.cart-item-img { flex: 0 0 80px; width: 80px; height: 80px; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.cart-item-noimg {
    width: 80px; height: 80px; border-radius: var(--radius);
    background: var(--bg-tab); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 24px;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.cart-item-variant { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.cart-item-sku { font-size: 12px; color: var(--text-muted); }
.cart-item-stock-warning {
    font-size: 12px;
    color: #e67e22;
    margin-top: 6px;
    padding: 4px 0;
}
.cart-item-stock-warning i { margin-right: 4px; }

.cart-item-price {
    width: 100px;
    text-align: right;
    font-size: 14px;
    color: var(--text-primary);
}

.cart-item-qty { flex-shrink: 0; }
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    
    
}
.qty-btn {
    width: 34px;
    height: 34px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    user-select: none;
}
.qty-btn:hover { background: var(--accent); color: #fff; }
.qty-btn:active { background: #c0392b; color: #fff; }
.qty-btn:disabled { opacity: 0.3; cursor: default; background: #f0f0f0; color: #1a1a1a; }
.qty-input {
    width: 36px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    background: transparent;
    color: var(--text-primary);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.cart-item-total {
    width: 110px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-item-remove { width: 34px; text-align: center; }
.cart-item-remove a {
    color: var(--text-muted);
    font-size: 16px;
    transition: color 0.15s;
}
.cart-item-remove a:hover { color: var(--accent); }

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.cart-summary-total { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.cart-actions { display: flex; gap: 12px; align-items: center; }
.btn-continue {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-continue:hover { background: var(--accent-hover); color: #fff; }
.btn-update {
    padding: 12px 28px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.btn-update:hover { border-color: var(--border); color: var(--accent); }

@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 0;
        position: relative;
    }
    .cart-item-info {
        flex: 1 1 100%;
        min-width: 0;
        padding-right: 36px;
    }
    .cart-item-name {
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .cart-item-price { display: none; }
    .cart-item-qty {
        width: auto;
        flex: 0 0 auto;
    }
    .cart-item-total {
        width: auto;
        flex: 1 1 auto;
        text-align: right;
    }
    .cart-item-remove {
        position: absolute;
        top: 14px;
        right: 0;
        width: 28px;
    }
    .cart-summary { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 400px) {
    .cart-item { padding: 12px 0; gap: 8px; }
    .cart-item-info { padding-right: 32px; }
    .cart-item-name { font-size: 13px; line-height: 1.3; }
    .cart-item-total { font-size: 14px; }
    .qty-btn { width: 28px; height: 30px; font-size: 14px; }
    .qty-input { width: 44px; height: 30px; font-size: 13px; }
}


/* ===== TRANSPORT & CHECKOUT STEPS ===== */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.step-indicator .step { padding: 6px 12px; border-radius: var(--radius); }
.step-indicator .step.active { background: var(--accent); color: #fff; font-weight: 600; }
.step-indicator .step.done { color: var(--green); }

.transport-option,
.payment-option {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.transport-option:hover,
.payment-option:hover {
    border-color: #444;
}
.transport-option input:checked ~ *,
.payment-option input:checked ~ * {
    color: var(--text-white);
}
.transport-option.selected,
.payment-option.selected {
    border-color: var(--border);
}

.transport-option label,
.payment-option label {
    cursor: pointer;
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
}

.transport-option .price,
.payment-option .price {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Customer form */
.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.form-row > div {
    flex: 1;
}

/* Checkout summary */
.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.checkout-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-section h3 a {
    font-size: 12px;
    color: var(--accent);
    font-weight: 400;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-primary);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.btn-order {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    margin-top: 20px;
    font-family: var(--font);
}
.btn-order:hover { background: var(--accent-hover); }

/* Order success */
.order-success {
    text-align: center;
    padding: 40px 20px;
}
.order-success i { font-size: 48px; color: var(--green); margin-bottom: 16px; }
.order-success h2 { color: var(--text-white); margin-bottom: 12px; }
.order-success p { color: var(--text-secondary); }

.order-detail-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.order-detail-box h3 {
    font-size: 15px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

/* QR code section */
.qr-payment {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.qr-payment img {
    margin: 16px auto;
    display: block;
}


/* ===== LEGACY OVERRIDES ===== */
/* Override any remaining light backgrounds from old markup */
.aap { background: transparent !important; }
.tpd { background: transparent !important; }
.wet { background: transparent !important; }
.txtos { color: var(--text-primary); }
.txtost { color: var(--text-primary); }
.txtost h2 { color: var(--text-white); }

/* Old product list cards from index2.php */
.seznamvyrobku {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
}
.seznamvyrobku .ha1 a { color: var(--text-primary); }
.seznamvyrobku .ha1 a:hover { color: var(--accent); }
.seznamvyrobku em { color: var(--text-secondary); }
.seznamvyrobku em span { color: var(--accent); }

/* Search from index2 */
.search-results { background: var(--bg-card) !important; border-color: var(--accent) !important; }
.search-category { background: var(--bg-surface) !important; color: var(--text-muted) !important; border-color: var(--border) !important; }
.search-item { border-color: var(--border) !important; }
.search-item:hover { background: var(--accent-light) !important; }
.search-item-title { color: var(--text-primary) !important; }
.search-item-desc { color: var(--text-muted) !important; }
.search-item-price { color: var(--accent) !important; }
.search-no-results { color: var(--text-muted) !important; }
.search-item-image { border-color: var(--border) !important; }

/* Main menu */
.main-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 10px 0;
}
.main-menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.main-menu li a:hover,
.main-menu li a.act { color: var(--accent); }

/* Logo area */
#logo { padding: 10px 0; }
#logo h1.hidden { font-size: 0; line-height: 0; margin: 0; }

/* Header phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-phone a { color: var(--text-primary); font-weight: 600; }
.header-phone span { color: var(--text-muted); font-size: 12px; display: block; }

/* Search form in legacy header */
.srsr input[type="text"] {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: 8px 12px;
}
.srsr input[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 8px 16px;
    cursor: pointer;
}
.srsr input[type="submit"]:hover { background: var(--accent-hover); }

.search-loading { color: var(--accent) !important; }

/* ── Color filter swatches ── */
.color-filter-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-color-swatch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: border-color .15s, background .15s;
    background: var(--bg-surface);
}
.filter-color-swatch:hover {
    border-color: var(--border);
}
.filter-color-swatch input:checked ~ .color-dot {
    box-shadow: 0 0 0 2px var(--accent);
}
.filter-color-swatch input:checked ~ .color-label {
    color: var(--accent);
    font-weight: 600;
}
.color-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    flex-shrink: 0;
}
.color-label {
    display: none;
}

/* ── Category / brand description block ── */
.cat-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    max-width: 900px;
    margin: 6px 0 18px;
}
.brand-info-box {
    margin: 6px 0 18px;
}
.brand-info-box .brand-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}
.brand-info-box .cat-description { margin-top: 0; }

/* ── Color circles on product cards ── */
.card-colors {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
    min-height: 14px;
}
.card-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.15);
    display: inline-block;
}

/* ── Color circles on product detail ── */
.product-colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.product-color-circle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 6px;
    border-radius: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}
.product-color-circle .pcc-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.1);
    flex-shrink: 0;
}

/* Benefits / trust block on product detail (under variants) */
.benefits-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.benefit-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.benefit-body { min-width: 0; }
.benefit-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.benefit-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 2px;
}
.benefit.benefit-today .benefit-title { color: var(--accent); }
.benefit.benefit-today .benefit-icon  { filter: drop-shadow(0 0 4px rgba(242,105,37,.4)); }

/* Size guide (bike product detail) */
.size-guide h3 { margin-bottom: 4px; }
.size-guide .size-guide-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 6px; }
.size-guide .size-guide-intro { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
.size-guide .size-guide-input { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.size-guide .size-guide-input input {
    width: 180px;
    padding: 10px 12px;
    font-size: 15px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
}
.size-guide .size-guide-input input:focus { outline: none; border-color: var(--border); }
.size-guide .size-recommendation { font-size: 14px; color: var(--text-secondary); }
.size-guide .size-recommendation.ok { color: var(--accent); font-size: 15px; }
.size-guide .size-recommendation.warn { color: #e67e22; }
.size-guide .size-guide-h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 8px; }
.size-guide-table {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.size-guide-table th, .size-guide-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.size-guide-table thead th {
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 700;
}
.size-guide-table tbody tr:last-child td { border-bottom: none; }
.size-guide-table tbody tr.highlight td {
    background: rgba(242, 105, 37, 0.15);
    color: var(--text-primary);
    font-weight: 600;
}
.size-guide-table tbody tr.highlight td:first-child {
    color: var(--accent);
    font-weight: 800;
}
.size-guide-tip {
    max-width: 720px;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.size-guide-tip strong { color: var(--text-primary); }

/* Related products grid (product detail → "Mohlo by vás zajímat") — compact */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
    max-width: 720px;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: 12px;
    transition: none;
    display: block;
}
.related-card:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(231,76,60,0.12);
}
.related-card img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
}
.related-card .brand {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.related-card .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
    line-height: 1.35;
}
.related-card .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4px;
}

/* Per-variant color dots inside the variants table */
.variant-colors {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    vertical-align: middle;
}
.variant-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.15);
    display: inline-block;
}

/* Kill browser autofill orange/yellow border flash */
.site-search input:-webkit-autofill,
.site-search input:-webkit-autofill:hover,
.site-search input:-webkit-autofill:focus,
.site-search input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-input, #fff) inset !important;
    border-color: var(--border) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.site-search input {
    transition: border-color 0s !important;
}


/* ===== CHECKOUT (cart → transport → customer → checkout) ===== */
.checkout-steps {
    display: flex;
    gap: 12px;
    margin: 18px 0 28px;
    flex-wrap: wrap;
}
.checkout-steps .step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}
.checkout-steps .step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}
.checkout-steps .step.done {
    color: var(--text-primary);
    border-color: #2c7a45;
}
.checkout-steps .step.done .step-number {
    background: #27ae60;
    color: #fff;
}
.checkout-steps .step.active {
    background: rgba(242,104,35,0.12);
    border-color: #f26823;
    color: #f26823;
}
.checkout-steps .step.active .step-number {
    background: #f26823;
    color: #fff;
}

.summary-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    margin: 0 0 22px;
}
.summary-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.summary-section h2 i { color: #f26823; }
.summary-section h2 a {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: #f26823;
    text-decoration: none;
}
.summary-section h2 a:hover { text-decoration: underline; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.info-block { min-width: 0; }
.info-block-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}
.info-block-value {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.summary-item {
    display: grid;
    grid-template-columns: 1fr 80px 110px 130px;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.summary-item:last-of-type { border-bottom: none; }
.summary-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.summary-item-variant {
    font-size: 12px;
    color: var(--text-muted);
}
.summary-item-qty,
.summary-item-price { font-size: 13px; color: var(--text-secondary); text-align: right; }
.summary-item-total { font-size: 14px; font-weight: 700; color: var(--text-primary); text-align: right; }

@media (max-width: 700px) {
    .summary-item {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "info  total"
            "qty   price";
        row-gap: 4px;
    }
    .summary-item-info  { grid-area: info; }
    .summary-item-total { grid-area: total; }
    .summary-item-qty   { grid-area: qty; text-align: left; }
    .summary-item-price { grid-area: price; }
}

.totals-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.totals-row.total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.error-msg {
    background: rgba(234,84,85,0.12);
    border: 1px solid #ea5455;
    color: #ea5455;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin: 0 0 18px;
    font-size: 14px;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 28px 0 60px;
}
.btn-back {
    padding: 12px 22px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}
.btn-back:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}
.btn-order {
    padding: 14px 28px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}
.btn-order:hover { background: #219150; }
.btn-order:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.order-number-inline {
    color: #f26823;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* CMS text-page (page.php → /p/stranka/<slug>) */
.page-wrap {
    max-width: 860px;
    margin: 40px auto 60px;
    padding: 0 24px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.7;
}
.page-wrap h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--text-primary);
    letter-spacing: 0;
    line-height: 1.2;
}
.page-wrap .page-lead {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.55;
}
.page-content { font-size: 17px; line-height: 1.7; color: var(--text-primary); }
.page-content h2 {
    font-size: 28px;
    margin: 36px 0 16px;
    font-weight: 800;
    color: var(--text-primary);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0;
    line-height: 1.3;
}
.page-content h3 {
    font-size: 22px;
    margin: 28px 0 12px;
    font-weight: 700;
    color: #f26823;
    letter-spacing: 0;
    line-height: 1.3;
}
.page-content h4 {
    font-size: 18px;
    margin: 22px 0 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}
.page-content p  { margin: 0 0 14px; }
.page-content ul,
.page-content ol { margin: 0 0 16px 0; padding-left: 24px; }
.page-content li { margin: 4px 0; }
.page-content a  { color: #f26823; text-decoration: underline; }
.page-content a:hover { color: #d95a1b; }
.page-content strong { color: var(--text-primary); }
.page-content blockquote {
    border-left: 3px solid #f26823;
    margin: 18px 0;
    padding: 4px 16px;
    color: var(--text-secondary);
    background: rgba(242,104,35,0.04);
}
.page-updated {
    margin-top: 40px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Status timeline (order tracking) */
.status-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.status-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}
.status-timeline li {
    position: relative;
    padding: 10px 0 10px 50px;
    min-height: 40px;
}
.status-timeline .dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1;
}
.status-timeline li.is-latest .dot {
    background: #f26823;
    border-color: #f26823;
    box-shadow: 0 0 0 4px rgba(242,104,35,0.18);
}
.status-timeline .body { line-height: 1.4; }
.status-timeline .label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}
.status-timeline .time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
