/* Shopper Frenzy Template CSS - #0140652025 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobil / Safari fehér sáv: html+body háttér + NE 100dvh (iOS chrome gap) */
html {
    background-color: #ffffff;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
    /* ~10px a monitor széleitől – ne legyen nagy üres sáv */
    padding: 10px;
    min-height: 100%;
}

@media (max-width: 768px) {
    html {
        background-color: #ffffff;
        height: 100%;
        overscroll-behavior-y: none;
    }

    body {
        padding: 0;
        background: #ffffff;
        overscroll-behavior-y: none;
        /* iOS: fill-available a layout viewport-hoz – 100dvh fehér gap-et okozhat */
        min-height: 100%;
        min-height: -webkit-fill-available;
    }

    [id$="template-wrapper"] {
        max-width: 100%;
        padding: 10px;
        background: #ffffff;
        min-height: 100%;
        min-height: -webkit-fill-available;
    }
}

/* Main template wrapper – teljes szélesség (korábban 95% → középen összenyomódott) */
[id$="template-wrapper"] {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    [id$="template-wrapper"] {
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
}

.container {
    margin: 0 auto;
}

/* No padding for menu container */
[id$="top-menu"] .container {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

a {
    color: #0B55C4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer link colors - do not override */
.flb-footer a {
    color: #fff !important;
}

.flb-footer a:hover {
    text-decoration: underline !important;
}

/* Header */
[id$="header"] {
    background: #ffffff;
    border-bottom: none;
    padding: 20px 0;
    border-radius: 10px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

[id$="header"] .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Desktop Search Bar */
.desktop-search {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    gap: 0;
}

.desktop-search-field {
    display: flex;
    flex: 1;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.desktop-search-field:focus-within {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(var(--shop-primary-rgb), 0.12);
}

.desktop-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 8px 11px 18px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #222;
}

.desktop-search input:focus {
    border: none;
    box-shadow: none;
}

.desktop-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    width: 14px;
    margin-right: 4px;
    background: var(--shop-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.3 5.7a1 1 0 0 0-1.4 0L12 10.6 7.1 5.7a1 1 0 0 0-1.4 1.4l4.9 4.9-4.9 4.9a1 1 0 1 0 1.4 1.4l4.9-4.9 4.9 4.9a1 1 0 0 0 1.4-1.4L13.4 12l4.9-4.9a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.3 5.7a1 1 0 0 0-1.4 0L12 10.6 7.1 5.7a1 1 0 0 0-1.4 1.4l4.9 4.9-4.9 4.9a1 1 0 1 0 1.4 1.4l4.9-4.9 4.9 4.9a1 1 0 0 0 1.4-1.4L13.4 12l4.9-4.9a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    cursor: pointer;
}

.desktop-search button,
.desktop-search .fl-search-button {
    padding: 0 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--shop-primary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#desktop-search-btn {
    background: transparent;
    border: none;
    color: var(--shop-primary);
}

.desktop-search button:hover,
.desktop-search .fl-search-button:hover,
#desktop-search-btn:hover {
    background: rgba(var(--shop-primary-rgb), 0.08);
    color: var(--shop-primary-dark);
    border: none;
}

.desktop-search button i {
    font-size: 16px;
}

/* Fenykeplabor-specifikus desktop kereső */
.desktop-search.desktop-search--fenykep {
    max-width: 560px;
}

.desktop-search.desktop-search--fenykep input {
    font-size: 14px;
    padding: 12px 8px 12px 18px;
}

.desktop-search.desktop-search--fenykep .fl-search-button {
    padding: 0 16px;
}

.desktop-search.desktop-search--fenykep .fl-search-button i {
    font-size: 15px;
}

/* Desktop Search Dropdown — ultra modern */
.desktop-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #fff;
    border: none;
    border-radius: 28px;
    max-height: 540px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 1000;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    margin-top: 0;
    padding: 6px 0 10px;
    -webkit-overflow-scrolling: touch;
}

.desktop-search-dropdown::-webkit-scrollbar {
    width: 5px;
}

.desktop-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
    margin: 18px 0;
}

.desktop-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.14);
    border-radius: 999px;
}

.desktop-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.24);
}

.desktop-search-dropdown.active {
    display: block;
    animation: dsdPopIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dsdPopIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dsd-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 10px 6px;
}

.desktop-search-item {
    display: flex;
    gap: 14px;
    padding: 12px 14px;
    border: none;
    border-radius: 18px;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    align-items: center;
    background: transparent;
}

.desktop-search-item:hover {
    background: rgba(var(--shop-primary-rgb), 0.06);
    box-shadow: 0 4px 14px rgba(var(--shop-primary-rgb), 0.08);
}

.desktop-search-item:last-child {
    border-bottom: none;
}

.desktop-search-image {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 16px;
    border: none;
    flex-shrink: 0;
    background: #f4f4f5;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

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

.desktop-search-title {
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.desktop-search-price {
    color: var(--shop-primary);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: -0.01em;
}

.desktop-search-arrow {
    flex-shrink: 0;
    font-size: 11px;
    color: #ccc;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.desktop-search-item:hover .desktop-search-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--shop-primary);
}

.desktop-search-loading,
.desktop-search-empty {
    padding: 36px 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.desktop-search-empty {
    flex-direction: column;
}

.desktop-search-empty i {
    font-size: 22px;
    color: #ddd;
    margin-bottom: 4px;
}

.dsd-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(var(--shop-primary-rgb), 0.18);
    border-top-color: var(--shop-primary);
    border-radius: 50%;
    animation: dsdSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes dsdSpin {
    to { transform: rotate(360deg); }
}

.desktop-search-load-more {
    margin: 4px 12px 2px;
    padding: 12px 16px;
    text-align: center;
    background: #f6f6f7;
    color: var(--shop-primary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.desktop-search-load-more:hover {
    background: rgba(var(--shop-primary-rgb), 0.1);
    color: var(--shop-primary-dark);
}

.desktop-search-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 12px 4px;
    padding: 13px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    background: var(--shop-primary);
    transition: background 0.15s, box-shadow 0.15s;
}

.desktop-search-all:hover {
    background: var(--shop-primary-dark);
    box-shadow: 0 8px 20px rgba(var(--shop-primary-rgb), 0.28);
}

.desktop-search-all i {
    font-size: 11px;
}

/* Suggest bar */
.dsd-suggest-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px 12px;
    border-bottom: none;
    background: transparent;
}

.dsd-suggest-label {
    font-size: 11px;
    font-weight: 600;
    color: #9a9a9a;
    letter-spacing: 0.04em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dsd-suggest-label i {
    color: var(--shop-primary);
    font-size: 11px;
    opacity: 0.85;
}

.dsd-suggest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
}

.desktop-search-dropdown .dsd-suggest-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    border: none;
    background: #f2f2f3;
    font-size: 12.5px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.desktop-search-dropdown .dsd-suggest-chip i {
    font-size: 11px;
    color: var(--shop-primary);
    opacity: 0.9;
    flex-shrink: 0;
}

.desktop-search-dropdown .dsd-suggest-chip:hover {
    background: rgba(var(--shop-primary-rgb), 0.12);
    color: var(--shop-primary-dark, #c44d00);
    box-shadow: 0 2px 8px rgba(var(--shop-primary-rgb), 0.12);
}

.desktop-search-dropdown .dsd-suggest-chip:hover i {
    opacity: 1;
}

/* Filter bar */
.dsd-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 10px;
    border-bottom: none;
    background: transparent;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.dsd-total {
    font-size: 12px;
    font-weight: 500;
    color: #9a9a9a;
    margin-right: 4px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dsd-total i {
    font-size: 10px;
    opacity: 0.7;
}

.desktop-search-dropdown .dsd-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: none;
    background: #f0f0f1;
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.desktop-search-dropdown .dsd-chip i {
    font-size: 11px;
    opacity: 0.85;
}

.desktop-search-dropdown .dsd-chip:hover {
    background: #e6e6e8;
    color: #333;
}

.desktop-search-dropdown .dsd-chip.active {
    background: var(--shop-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(var(--shop-primary-rgb), 0.28);
}

.desktop-search-dropdown .dsd-chip.active i {
    opacity: 1;
}

.dsd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
}

.desktop-search-dropdown .dsd-chip.active .dsd-badge {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.desktop-search-section-title {
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 8px 15px 4px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.desktop-search-cat {
    font-size: 10px;
    font-weight: 600;
    color: var(--shop-primary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.desktop-search-cat i {
    font-size: 9px;
    opacity: 0.85;
}

.desktop-search-cat--article {
    color: #1a6fa8;
}

.desktop-search-desc {
    font-size: 12px;
    color: #888;
    margin: 2px 0 3px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.desktop-search-item--article {
    background: transparent;
}

.desktop-search-item--article:hover {
    background: rgba(26, 111, 168, 0.06);
    box-shadow: 0 4px 14px rgba(26, 111, 168, 0.08);
}

.desktop-search-image--article {
    object-fit: cover;
    border-radius: 16px;
}

.desktop-search-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f5f6f8, #eceff3);
    border: none;
    border-radius: 16px;
    color: #c5cad3;
    font-size: 16px;
}

/* Mobile Search Icon - Hidden on desktop */
.mobile-search-icon {
    display: none !important;
}

/* Hide any module search icons on desktop - only show desktop search bar */
@media (min-width: 769px) {
    .header-icon[title="KeresĂ©s"],
    a[onclick*="openSearchModal"] {
        display: none !important;
    }
    .mobile-search-icon {
        display: none !important;
    }
}

/* Header Right - Utility Icons */
[id$="header-right"] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 45px;
}

[id$="header-right"] .module {
    display: inline-flex;
    align-items: center;
    height: 100%;
    overflow: visible;
}

[id$="header-right"] .module-content {
    padding: 0 !important;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Header utility icon styling */
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--shop-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    gap: 8px;
}

[id$="theme-toggle"] {
    background: #555555;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[id$="theme-toggle"] i {
    color: #ffffff;
    font-size: 18px;
}

[id$="theme-toggle"]:hover {
    background: #777777;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Footer trust + quotes + meta */
.footer-trust {
    margin-top: 8px;
    padding: 22px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto auto;
    align-items: center;
    gap: 18px 28px;
    margin-bottom: 22px;
}

.footer-trust-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.footer-trust-mark {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    color: #4285f4;
    font-size: 18px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
}

.footer-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-trust-copy strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.footer-trust-copy span {
    font-size: 12px;
    color: #a8a8a8;
}

.footer-trust-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-trust-score {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1;
}

.footer-trust-rating-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #b5b5b5;
}

.footer-trust-stars {
    color: #f4b400;
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 1;
}

.footer-trust-link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-trust-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    text-decoration: none !important;
}

.footer-quotes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.footer-quote {
    margin: 0;
    padding: 4px 22px 4px 18px;
    border-left: 2px solid rgba(255, 103, 13, 0.55);
    min-width: 0;
}

.footer-quote + .footer-quote {
    margin-left: 6px;
}

.footer-quote p {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #e4e4e4;
}

.footer-quote cite {
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    color: #9f9f9f;
}

.footer-quote cite::before {
    content: '— ';
    font-weight: 400;
    opacity: 0.7;
}

.footer-meta {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px 24px;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 8px 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #c8c8c8;
    min-width: 0;
}

.footer-payments-label {
    flex: 0 0 100%;
    color: #8f8f8f;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 2px;
}

.footer-pay-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dddddd;
    white-space: nowrap;
}

.footer-pay-item i {
    font-size: 12px;
    color: #ff670d;
}

.footer-pay-sep {
    color: #666;
}

.footer-meta .copyright {
    margin: 0;
    text-align: right;
    font-size: 12px;
    color: #9a9a9a;
    white-space: nowrap;
}

.footer-meta .copyright p {
    margin: 0;
}

.theme-toggle-footer {
    justify-self: end;
}

@media (max-width: 1100px) {
    .footer-quotes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-quote + .footer-quote {
        margin-left: 0;
    }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .footer-quotes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 8px;
    }

    .footer-quote {
        padding: 4px 12px 4px 14px;
    }

    .footer-quote p {
        font-size: 12.5px;
    }

    .footer-quote + .footer-quote {
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .footer-trust-head {
        grid-template-columns: 1fr auto;
        gap: 14px 16px;
    }

    .footer-trust-link {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }

    .footer-meta {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .footer-meta .copyright {
        order: 3;
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .footer-trust {
        padding-top: 18px;
    }

    .footer-trust-head {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .footer-trust-rating {
        width: 100%;
    }

    .footer-trust-copy span {
        display: block;
    }

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

    .footer-quote {
        padding: 2px 4px 2px 14px;
    }

    .footer-quote + .footer-quote {
        margin-left: 0;
    }

    .footer-quote p {
        font-size: 13px;
    }

    .footer-meta {
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .footer-payments-label {
        flex-basis: 100%;
    }

    .footer-pay-sep {
        display: none;
    }

    .footer-pay-item {
        width: calc(50% - 6px);
        min-width: 140px;
        white-space: normal;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    [id$="footer"] {
        padding: 22px 0 16px;
    }

    [id$="footer"] > .container {
        padding: 0 16px;
    }

    .footer-trust-score {
        font-size: 24px;
    }

    .footer-trust-copy strong {
        font-size: 14px;
    }

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

    .theme-toggle-footer {
        justify-self: start;
    }

    .footer-pay-item {
        width: 100%;
        min-width: 0;
    }

    .footer-menu .nav-menu {
        gap: 6px 14px;
    }
}

.footer-payment-logos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-payment-logos--barion-official {
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
}

.footer-pay-logo {
    display: inline-block;
    height: 22px;
    width: auto;
    max-width: 78px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-pay-logo.footer-pay-logo--barion-smart,
.footer-pay-logo--barion-smart {
    height: 48px !important;
    max-width: min(100%, 360px) !important;
    width: auto !important;
}

.header-icon .user-greeting,
.header-icon .login-label {
    display: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 769px) {
    .header-icon .user-greeting,
    .header-icon .login-label {
        display: inline-block;
    }

    .header-icon:has(.user-greeting),
    .header-icon:has(.login-label) {
        width: auto;
        padding: 0 20px;
        border-radius: 25px;
        background: var(--shop-primary);
    }
}

.header-icon:has(.user-greeting):hover,
.header-icon:has(.login-label):hover {
    background: var(--shop-primary-dark);
    box-shadow: 0 4px 12px rgba(var(--shop-primary-rgb), 0.4);
}

.header-icon:hover {
    background: var(--shop-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--shop-primary-rgb), 0.4);
}

.header-icon i {
    font-size: 20px;
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Phone button - orange background */
.header-phone {
    background: var(--shop-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--shop-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--shop-primary-rgb), 0.4);
}

.header-phone i {
    font-size: 16px;
}

.header-contact-mini {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 6px 12px;
    color: inherit;
    line-height: 1.1;
    transition: all 0.2s ease;
}

.header-contact-mini:hover {
    background: var(--shop-primary-verylight);
    border-color: var(--shop-primary-pale-border);
}

.header-contact-mini-label {
    font-size: 10px;
    color: #777;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.header-contact-mini-phone {
    font-size: 13px;
    font-weight: 800;
    color: var(--shop-primary);
}

@media (max-width: 1024px) {
    .header-contact-mini {
        display: none !important;
    }

    /* Hide header phone module on mobile as well */
    .header-phone-slot {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .header-phone-slot {
        display: none !important;
    }
}

 .cart-module {
     display: inline-flex;
     align-items: center;
     overflow: visible;
 }

 .cart-module .cart-link {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     text-decoration: none;
     color: white;
     padding: 0 20px;
     height: 45px;
     background: #28a745;
     border-radius: 25px;
     transition: all 0.3s ease;
     position: relative;
     white-space: nowrap;
 }

 .cart-module .cart-link::before,
 .cart-module .cart-link::after {
     display: none !important;
     content: none !important;
 }

 .cart-module .cart-link:hover {
     background: #218838;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
     text-decoration: none;
 }

 .cart-module .cart-link i {
     font-size: 20px;
 }

 .cart-module .cart-link i::before,
 .cart-module .cart-link i::after {
     display: inline-block !important;
 }

 .cart-module .cart-badge {
     position: absolute;
     top: 2px;
     right: 2px;
     background: #ff0000;
     color: white;
     border-radius: 50%;
     width: 20px;
     height: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 11px;
     font-weight: bold;
     z-index: 10000;
 }

 .cart-module .cart-total {
     font-weight: 600;
     font-size: 14px;
     white-space: nowrap;
 }

@media (max-width: 768px) {
    /* Hide desktop search bar on mobile */
    .desktop-search {
        display: none !important;
    }

    /* Show mobile search icon */
    .mobile-search-icon {
        display: inline-flex !important;
    }

    /* Header container - ensure flex and alignment */
    [id$="header"] {
        padding: 15px 0 !important;
    }

    [id$="header"] .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 0 15px !important;
        gap: 10px !important;
    }

    /* Logo on mobile - bigger */
    [id$="logo"] {
        flex: 0 0 auto !important;
        max-width: 60% !important;
    }

    [id$="logo"] h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    [id$="logo"] img {
        max-height: 80px !important;
        width: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    /* Header icons - properly aligned */
    [id$="header-right"] {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
    }

    .header-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-icon i {
        font-size: 16px !important;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50%;
        font-size: 16px !important;
    }

    /* Cart module fix on mobile */
    .cart-module {
        display: flex !important;
        align-items: center !important;
    }

    .cart-module .cart-link {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }

    .cart-module .cart-link i {
        font-size: 16px !important;
    }

    .cart-module .cart-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        top: 1px !important;
        right: 1px !important;
    }

    .cart-module .cart-total {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .cart-module .cart-link {
        background: #28a745 !important;
        color: #ffffff !important;
    }
}

[id$="logo"] {
    flex: 0 0 auto;
}

[id$="logo"] h1 {
    font-size: 32px;
    color: #0B55C4;
    margin: 0;
    line-height: 1;
}

[id$="logo"] h1 a {
    color: #0B55C4;
    text-decoration: none;
}

[id$="logo"] img {
    max-height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

[id$="search-box"] {
    float: right;
    margin-top: 10px;
}

/* Top Menu - Orange theme with mobile support */
[id$="top-menu"] {
    background: var(--shop-primary) !important;
    color: #fff;
    padding: 0 !important;
    border: none;
    position: relative;
    margin: 0 !important;
}

[id$="top-menu"] .container {
    position: relative;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Mobile hamburger toggle - hidden by default, menu.css handles it */
.mobile-menu-toggle {
    display: none;
}

/* Old nav-menu styles removed - menu.css handles all menu styling now */

/* FontAwesome 5 icons in menu */
.menu-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Breadcrumb - Compact with horizontal scroll */
[id$="breadcrumb"] {
    background: #f5f5f5;
    padding: 8px 0;
    color: #6a6363;
    border-bottom: 1px solid #e0e0e0;
    font-size: 11px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

[id$="breadcrumb"] .container {
    max-width: 100% !important;
    padding: 0 15px !important;
    white-space: nowrap;
}

[id$="breadcrumb"] .breadcrumb-nav {
    display: inline-block;
    white-space: nowrap;
}

/* Mobile breadcrumb */
@media (max-width: 768px) {
    [id$="breadcrumb"] {
        padding: 8px 0;
        font-size: 10px;
    }
    [id$="breadcrumb"] .container {
        padding: 0 10px !important;
    }
}

[id$="breadcrumb"] a {
    color: var(--shop-primary);
    text-decoration: none;
}

[id$="breadcrumb"] a:hover {
    text-decoration: underline;
}

[id$="breadcrumb"] .breadcrumb-sep {
    color: #999;
    margin: 0 5px;
}

/* Scrollbar styling for breadcrumb */
[id$="breadcrumb"]::-webkit-scrollbar {
    height: 6px;
}

[id$="breadcrumb"]::-webkit-scrollbar-track {
    background: #e0e0e0;
}

[id$="breadcrumb"]::-webkit-scrollbar-thumb {
    background: var(--shop-primary);
    border-radius: 3px;
}

[id$="breadcrumb"]::-webkit-scrollbar-thumb:hover {
    background: var(--shop-primary-dark);
}

/* Main Content */
[id$="main-content"] {
    padding: 0px 0;
    background: transparent;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

[id$="left-column"] {
    width: 220px;
    flex-shrink: 0;
}

[id$="content-main"] {
    flex: 1;
    background: transparent;
    min-width: 0;
}

 [id$="content-main"] .component-content {
     min-width: 0;
 }

 .homepage-h1 {
     margin: 8px 0 14px;
     padding: 0 10px;
     text-align: center;
 }

 .homepage-h1-title {
     margin: 0;
     font-size: clamp(15px, 1.5vw, 20px);
     line-height: 1.35;
     font-weight: 500;
     letter-spacing: 0;
     color: #444;
     display: inline-block;
     max-width: 980px;
     padding: 4px 10px 8px;
 }

 .homepage-h1-title::after {
     content: '';
     display: block;
     width: 48px;
     height: 1px;
     margin: 8px auto 0;
     background: rgba(11, 85, 196, 0.28);
     border-radius: 1px;
 }

 @media (max-width: 768px) {
     .homepage-h1 {
         margin: 6px 0 12px;
         padding: 0 6px;
     }
     .homepage-h1-title {
         font-size: 16px;
         line-height: 1.35;
     }
     .homepage-h1-title::after {
         width: 42px;
         margin-top: 7px;
     }
 }

 html[data-theme='dark'] .homepage-h1-title {
     color: #f0f0f0;
 }

 html[data-theme='dark'] .homepage-h1-title::after {
     background: rgba(255, 143, 163, 0.28);
 }

 [id$="right-column"] {
     width: 220px;
     flex-shrink: 0;
 }

/* Modules */
.module {
    background: #ffffff;
    border: none;
    /* margin-bottom: 20px; */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.module-title {
    background: var(--shop-primary);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.module-content {
    padding: 5px;
}

/* Remove padding from breadcrumb module */
[id$="breadcrumb"] .module-content {
    padding: 0;
}

.module-content ul {
    list-style: none;
    padding: 0;
}

.module-content ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.module-content ul li:last-child {
    border-bottom: none;
}

.module-content ul li a {
    color: #333;
    text-decoration: none;
}

.module-content ul li a:hover {
    color: #0B55C4;
}

/* Articles */
.article {
    margin-bottom: 30px;
    /* Only vertical padding so content lines up horizontally with modules */
    padding: 25px 0;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.article h1.article-title {
    margin: 0 0 10px 0;
    padding: 0 12px;
    text-align: center;
    font-size: clamp(18px, 1.7vw, 26px);
    line-height: 1.26;
    color: #333333;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.article h1.article-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 8px auto 0;
    background: linear-gradient(90deg, var(--shop-primary) 0%, #ff8fa3 100%);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .article h1.article-title {
        padding: 0 10px;
        line-height: 1.28;
    }
    .article h1.article-title::after {
        width: 52px;
        margin-top: 9px;
    }
}

html[data-theme='dark'] .article h1.article-title {
    color: #f0f0f0;
}

html[data-theme='dark'] .article h1.article-title::after {
    background: var(--shop-primary);
}

[id$="main-content"] .content-wrapper [id$="content-main"] > .component-content > article.article {
    padding-top: 12px;
}

.article h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333333;
}

.article h2 a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article h2 a:hover {
    color: var(--shop-primary);
    text-decoration: none;
}

.article .meta {
    color: #999;
    font-size: 11px;
    margin-bottom: 15px;
}

.article .meta span {
    margin-right: 15px;
}

.article .content {
    line-height: 1.8;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
}

 .article .content img,
 .article .content table,
 .article .content iframe,
 .article .content video {
     max-width: 100%;
 }

.article .read-more {
    color: #0B55C4;
    text-decoration: none;
    font-weight: bold;
}

.article .read-more:hover {
    text-decoration: underline;
}

/* Bottom Modules */
[id$="bottom-modules"] {
    background: #f0f0f0;
    padding: 30px 0;
    border-top: 1px solid #ddd;
}

.bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.bottom-module {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Footer */
[id$="footer"] {
    background: linear-gradient(180deg, #262626 0%, #1d1d1d 100%);
    color: #ffffff;
    padding: 28px 0 20px;
    margin-top: 10px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

[id$="footer"] > .container {
    max-width: 1100px;
    padding: 0 24px;
}

[id$="footer"] a {
    color: #fff;
    text-decoration: none;
}

[id$="footer"] a:hover {
    text-decoration: underline;
}

.footer-menu {
    margin-bottom: 6px;
}

.footer-menu .nav-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-menu .nav-menu li {
    display: inline-block;
    margin-right: 0;
}

.footer-menu .nav-menu a {
    font-size: 13px;
    color: #d8d8d8 !important;
    text-decoration: none !important;
}

.footer-menu .nav-menu a:hover {
    color: #ffffff !important;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #9a9a9a;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    [id$="left-column"],
    [id$="right-column"] {
        width: 100%;
    }

    /* Mobile menu styles handled by menu.css */
}

/* Main article content in the primary content area: remove extra side padding
   so hero articles align with full-width modules (desktop + mobile). */
[id$="main-content"] .content-wrapper [id$="content-main"] > .component-content > article.article > .content {
    padding-left: 0;
    padding-right: 0;
}

/* CRITICAL: Force remove menu padding - must be at end of file */
[id$="top-menu"],
[id$="top-menu"] .container,
div[id$="top-menu"],
div[id$="top-menu"] .container,
body [id$="top-menu"],
body [id$="top-menu"] .container {
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[id$="top-menu"] .container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Submenu styles removed - menu.css handles all submenu behavior */

html[data-theme='dark'] body {
    background: #121212;
}

html[data-theme='dark'] [id$="template-wrapper"] {
    background: #1e1e1e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
}

html[data-theme='dark'] [id$="header"] {
    background: #1f1f1f;
}

html[data-theme='dark'] [id$="breadcrumb"] {
    background: #1a1a1a;
    border-bottom-color: #333333;
}

html[data-theme='dark'] [id$="breadcrumb"] a {
    color: #ff8fa3;
}

html[data-theme='dark'] .module {
    background: #1f1f1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

html[data-theme='dark'] .module-title {
    background: var(--shop-primary);
}

html[data-theme='dark'] [id$="bottom-modules"] {
    background: #181818;
    border-top-color: #333333;
}

html[data-theme='dark'] .bottom-module {
    background: #1f1f1f;
    border-color: #333333;
}

html[data-theme='dark'] .desktop-search-field {
    background: #1f1f1f;
    border-color: #3a3a3a;
}

html[data-theme='dark'] .desktop-search-field:focus-within {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(var(--shop-primary-rgb), 0.2);
}

html[data-theme='dark'] .desktop-search input {
    color: #f0f0f0;
}

html[data-theme='dark'] .desktop-search-dropdown {
    background: #1c1c1e;
    border-color: transparent;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
}

html[data-theme='dark'] .desktop-search-item {
    border-bottom-color: transparent;
}

html[data-theme='dark'] .desktop-search-item:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

html[data-theme='dark'] .desktop-search-title {
    color: #f0f0f0;
}

html[data-theme='dark'] .desktop-search-price {
    color: var(--shop-primary);
}

html[data-theme='dark'] .desktop-search-loading,
html[data-theme='dark'] .desktop-search-empty {
    color: #bbbbbb;
}

html[data-theme='dark'] .desktop-search-load-more {
    background: #2a2a2c;
    color: var(--shop-primary);
    border-top-color: transparent;
}

html[data-theme='dark'] .desktop-search-load-more:hover,
html[data-theme='dark'] .desktop-search-all:hover {
    background: var(--shop-primary);
    color: #fff;
}

html[data-theme='dark'] .desktop-search-all {
    background: var(--shop-primary);
    color: #fff;
}

html[data-theme='dark'] .dsd-filter-bar,
html[data-theme='dark'] .dsd-suggest-bar {
    background: transparent;
    border-bottom-color: transparent;
}

html[data-theme='dark'] .dsd-total,
html[data-theme='dark'] .dsd-suggest-label {
    color: #999;
}

html[data-theme='dark'] .desktop-search-dropdown .dsd-chip {
    background: #2a2a2c;
    border-color: transparent;
    color: #ddd;
}

html[data-theme='dark'] .desktop-search-dropdown .dsd-chip.active {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

html[data-theme='dark'] .desktop-search-dropdown .dsd-suggest-chip {
    background: #2a2a2c;
    border-color: transparent;
    color: #ccc;
}

html[data-theme='dark'] .desktop-search-arrow {
    color: #555;
}

html[data-theme='dark'] [id$="footer"] {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    color: #dddddd;
}

html[data-theme='dark'] [id$="footer"] a {
    color: #ffffff;
}

html[data-theme='dark'] .copyright {
    color: #999999;
}

html[data-theme='dark'] .module .module-content {
    color: #e8e8e8;
}

html[data-theme='dark'] [id$="logo"] h1,
html[data-theme='dark'] [id$="logo"] h1 a {
    color: #ffffff;
}

html[data-theme='dark'] .module-content ul li {
    border-bottom-color: #333333;
}

html[data-theme='dark'] .module-content a {
    color: #ff8fa3;
}

html[data-theme='dark'] .module-content a:hover {
    color: #ffc2cf;
}

 .order-success-page {
     max-width: 1200px;
     margin: 40px auto;
     padding: 0 20px;
 }

 .order-success-page .os-hero {
     text-align: center;
     margin: 10px auto 40px;
     padding: 30px 20px;
     background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
     border-radius: 16px;
     border: 1px solid #d1fae5;
     box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
 }

 .order-success-page .os-hero-icon {
     margin: 0 auto 20px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .order-success-page .os-hero-icon i {
     font-size: 88px;
     color: #10b981;
 }

 .order-success-page .os-hero-title {
     font-size: 32px;
     line-height: 1.2;
     margin: 0 0 10px 0;
     color: #222;
     font-weight: 800;
 }

 .order-success-page .os-hero-subtitle {
     font-size: 16px;
     margin: 0;
     color: #555;
     line-height: 1.5;
 }

 .order-success-page .os-grid {
     display: grid;
     grid-template-columns: repeat(12, minmax(0, 1fr));
     gap: 20px;
     align-items: stretch;
 }

 .order-success-page .os-card {
     background: #ffffff;
     border: 1px solid #e5e7eb;
     border-radius: 12px;
     box-shadow: 0 1px 2px rgba(0,0,0,0.05);
     padding: 24px;
     transition: box-shadow 0.2s ease;
     display: flex;
     flex-direction: column;
 }

 .order-success-page .os-card:hover {
     box-shadow: 0 4px 6px rgba(0,0,0,0.07);
 }

 .order-success-page .os-card-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     margin-bottom: 18px;
     padding-bottom: 14px;
     border-bottom: 2px solid #f3f4f6;
 }

 .order-success-page .os-card-title {
     font-size: 15px;
     font-weight: 600;
     color: #1f2937;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .order-success-page .os-card-title i {
     font-size: 18px;
     color: #4b5563;
 }

 .order-success-page .os-card-actions {
     margin-top: auto;
     padding-top: 16px;
     border-top: 1px solid #f3f4f6;
 }

 .order-success-page .os-card--status {
     grid-column: span 4;
     background: #fafafa;
 }

 .order-success-page .os-card--payment {
     grid-column: span 4;
     background: #f8fafc;
 }

 .order-success-page .os-card--invoice {
     grid-column: span 4;
     background: #fafafa;
 }

 .order-success-page .os-card--addresses {
     grid-column: span 8;
     background: #f9fafb;
 }

 .order-success-page .os-card--note {
     grid-column: span 4;
 }

 .order-success-page .os-card--coupon {
     grid-column: span 4;
     background: #fafafa;
 }

 .order-success-page .os-card--totals {
     grid-column: span 4;
     background: #f8fafc;
 }

 .order-success-page .os-card--cancel {
     grid-column: span 8;
     background: #fef9f5;
 }

 .order-success-page .os-card--items {
     grid-column: span 12;
     background: #fafafa;
 }

 @media (max-width: 920px) {
     .order-success-page .os-card--status,
     .order-success-page .os-card--payment,
     .order-success-page .os-card--invoice,
     .order-success-page .os-card--note,
     .order-success-page .os-card--coupon,
     .order-success-page .os-card--totals {
         grid-column: span 6;
     }
     .order-success-page .os-card--addresses,
     .order-success-page .os-card--cancel {
         grid-column: span 12;
     }
 }

 @media (max-width: 560px) {
     .order-success-page .os-hero-title {
         font-size: 24px;
     }
     .order-success-page .os-card--status,
     .order-success-page .os-card--payment,
     .order-success-page .os-card--invoice,
     .order-success-page .os-card--note,
     .order-success-page .os-card--coupon,
     .order-success-page .os-card--totals {
         grid-column: span 12;
     }
 }

 .order-success-page .os-kv {
     flex: 1;
 }

 .order-success-page .os-kv-row {
     display: flex;
     align-items: baseline;
     justify-content: space-between;
     gap: 16px;
     padding: 10px 0;
     border-top: 1px solid #f3f4f6;
 }

 .order-success-page .os-kv-row:first-child {
     border-top: none;
 }

 .order-success-page .os-kv-k {
     color: #6b7280;
     font-weight: 600;
     font-size: 14px;
 }

 .order-success-page .os-kv-v {
     color: #111827;
     text-align: right;
     font-size: 14px;
 }

 .order-success-page .os-kv-row--total {
     padding: 14px 0;
     margin-top: 8px;
     border-top: 2px solid #e5e7eb;
 }

 .order-success-page .os-kv-row--total .os-kv-k,
 .order-success-page .os-kv-row--total .os-kv-v {
     font-size: 18px;
     font-weight: 800;
 }

 .order-success-page .os-strong {
     font-weight: 800;
 }

 .order-success-page .os-total {
     color: #0B55C4;
 }

 .order-success-page .os-muted {
     color: #777;
 }

 .order-success-page .os-badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 7px 16px;
     border-radius: 8px;
     font-size: 13px;
     font-weight: 600;
     border: none;
     white-space: nowrap;
 }

 .order-success-page .os-badge i {
     font-size: 14px;
 }

 .order-success-page .os-badge--success {
     background: #d1fae5;
     color: #065f46;
 }

 .order-success-page .os-badge--warning {
     background: #fef3c7;
     color: #92400e;
 }

 .order-success-page .os-badge--danger {
     background: #fee2e2;
     color: #991b1b;
 }

 .order-success-page .os-badge--info {
     background: #dbeafe;
     color: #1e40af;
 }

 .order-success-page .os-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     padding: 12px 20px;
     border-radius: 8px;
     font-weight: 600;
     font-size: 15px;
     text-decoration: none;
     border: none;
     cursor: pointer;
     transition: all 0.15s ease;
 }

 .order-success-page .os-btn i {
     font-size: 16px;
 }

 .order-success-page .os-btn--primary {
     background: #0B55C4;
     color: #fff;
     box-shadow: 0 1px 3px rgba(11, 85, 196, 0.3);
 }

 .order-success-page .os-btn--primary:hover {
     background: #0846a4;
     text-decoration: none;
     transform: translateY(-1px);
     box-shadow: 0 4px 8px rgba(11, 85, 196, 0.35);
 }

 .order-success-page .os-btn--secondary {
     background: #f3f4f6;
     color: #374151;
     border: 1px solid #e5e7eb;
 }

 .order-success-page .os-btn--secondary:hover {
     background: #e5e7eb;
     text-decoration: none;
     transform: translateY(-1px);
 }

 .order-success-page .os-btn--danger {
     background: #dc2626;
     color: #fff;
     box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
 }

 .order-success-page .os-btn--danger:hover {
     background: #b91c1c;
     transform: translateY(-1px);
     box-shadow: 0 4px 8px rgba(220, 38, 38, 0.35);
 }

 .order-success-page .os-btn--disabled {
     background: #e5e7eb;
     color: #6b7280;
     cursor: default;
 }

 .order-success-page .os-alert {
     margin: 20px 0 0 0;
     padding: 16px 20px;
     border-radius: 14px;
     border: 1px solid transparent;
     text-align: center;
 }

 .order-success-page .os-alert--inline {
     text-align: left;
 }

 .order-success-page .os-alert-title {
     font-weight: 900;
     margin-bottom: 6px;
 }

 .order-success-page .os-alert-text {
     margin-top: 6px;
 }

 .order-success-page .os-alert-actions {
     margin-top: 10px;
     display: flex;
     justify-content: center;
 }

 .order-success-page .os-alert--success {
     background: #e6ffed;
     color: #2e7d32;
     border-color: #b6f1c8;
 }

 .order-success-page .os-alert--warning {
     background: #fff7e6;
     color: #8a5a00;
     border-color: #ffe3a3;
 }

 .order-success-page .os-alert--danger {
     background: #fef2f2;
     color: #7f1d1d;
     border-color: #fecaca;
 }

 .order-success-page .os-alert--payment-urgent {
     background: #fff0f0;
     color: #7f1d1d;
     border: 2px solid #ef4444;
     box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15), 0 8px 24px rgba(220, 38, 38, 0.12);
     padding: 24px 20px;
 }

 .order-success-page .bpayment-countdown-number {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     min-width: 64px;
     height: 64px;
     font-size: 40px;
     font-weight: 900;
     line-height: 1;
     color: #fff;
     background: #dc2626;
     border-radius: 50%;
     box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
     vertical-align: middle;
     margin: 0 6px;
     animation: bpayment-countdown-pulse 1s ease-in-out infinite;
 }

 @keyframes bpayment-countdown-pulse {
     0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35); }
     50% { transform: scale(1.08); box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5); }
 }

 .order-success-page .os-address-grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 20px;
 }

 @media (max-width: 720px) {
     .order-success-page .os-address-grid {
         grid-template-columns: 1fr;
     }
 }

 .order-success-page .os-subtitle {
     font-size: 14px;
     font-weight: 600;
     color: #374151;
     margin-bottom: 12px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .order-success-page .os-subtitle i {
     font-size: 16px;
     color: #6b7280;
 }

 .order-success-page .os-address-name {
     font-weight: 700;
     font-size: 15px;
     margin-bottom: 8px;
     color: #111827;
 }

 .order-success-page .os-address-line {
     color: #374151;
     line-height: 1.6;
     margin-bottom: 4px;
 }

 .order-success-page .os-address-meta {
     margin-top: 12px;
     color: #6b7280;
     font-size: 14px;
     line-height: 1.6;
 }

 .order-success-page .os-items-table-wrap {
     overflow-x: auto;
 }

 .order-success-page .os-items-table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
 }

 .order-success-page .os-items-table thead th {
     text-align: left;
     font-size: 13px;
     text-transform: uppercase;
     letter-spacing: 0.8px;
     color: #6b7280;
     font-weight: 700;
     padding: 12px 12px;
     border-bottom: 2px solid #e5e7eb;
 }

 .order-success-page .os-items-table tbody td {
     padding: 14px 12px;
     border-bottom: 1px solid #f3f4f6;
     vertical-align: middle;
 }

 .order-success-page .os-col-image {
     width: 64px;
 }

 .order-success-page .os-col-qty {
     width: 110px;
     white-space: nowrap;
 }

 .order-success-page .os-col-price,
 .order-success-page .os-col-sum {
     width: 140px;
     white-space: nowrap;
 }

 .order-success-page .os-item-image {
     width: 60px;
     height: 60px;
     object-fit: contain;
     border: 1px solid #e5e7eb;
     border-radius: 12px;
     background: #fff;
     cursor: zoom-in;
     display: block;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

 .order-success-page .os-item-image-wrap {
     width: 60px;
     height: 60px;
     display: block;
     position: relative;
     cursor: zoom-in;
 }

 .order-success-page .os-item-image-wrap--noimage {
     cursor: default;
 }

 .order-success-page .os-item-image-fallback {
     width: 60px;
     height: 60px;
     border: 1px solid #e5e7eb;
     border-radius: 12px;
     background: #f9fafb;
     color: #9ca3af;
     display: none;
     align-items: center;
     justify-content: center;
     font-size: 22px;
 }

 .order-success-page .os-item-image-wrap--noimage .os-item-image-fallback {
     display: flex;
 }

 .order-success-page .os-item-image:hover {
     transform: scale(1.05);
     box-shadow: 0 4px 12px rgba(0,0,0,0.1);
 }

 .order-success-page .os-item-image--placeholder {
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     color: #888;
     background: #f5f5f5;
 }

 .order-success-page .os-item-name {
     font-weight: 600;
     color: #111827;
     font-size: 15px;
     line-height: 1.4;
 }

 .order-success-page .os-item-meta {
     font-size: 12px;
     margin-top: 2px;
 }

 .order-success-page .os-actions {
     display: flex;
     gap: 12px;
     justify-content: center;
     margin: 32px 0 20px;
     flex-wrap: wrap;
 }

 .order-image-modal-backdrop {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.75);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 9999;
     padding: 20px;
 }

 .order-image-modal-backdrop.active {
     display: flex;
 }

 .order-image-modal {
     background: #ffffff;
     border-radius: 12px;
     max-width: min(1100px, 96vw);
     max-height: 90vh;
     width: auto;
     box-shadow: 0 10px 25px rgba(0,0,0,0.4);
     position: relative;
     overflow: auto;
     padding: 14px;
 }

 .order-image-modal img {
     display: block;
     max-width: 100%;
     max-height: calc(90vh - 28px);
     width: auto;
     height: auto;
     object-fit: contain;
 }

 .order-image-modal-fallback {
     width: min(1100px, 96vw);
     height: min(600px, calc(90vh - 28px));
     display: flex;
     align-items: center;
     justify-content: center;
     background: #f9fafb;
     border-radius: 10px;
     color: #9ca3af;
     font-size: 80px;
 }

 .order-image-modal-close {
     position: absolute;
     top: 10px;
     right: 12px;
     font-size: 26px;
     line-height: 1;
     color: #333;
     cursor: pointer;
     background: rgba(255,255,255,0.85);
     border-radius: 10px;
     padding: 4px 10px;
 }

 .flb-badge-special {
     position: absolute;
     top: 15px;
     left: 15px;
     background: #FF0000;
     color: white;
     padding: 8px 15px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 700;
     z-index: 10;
     box-shadow: 0 2px 8px rgba(255,0,0,0.4);
 }

 .flb-badge-new {
     position: absolute;
     top: 15px;
     left: 15px;
     background: #28a745;
     color: white;
     padding: 8px 15px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 700;
     z-index: 10;
 }

.flb-badge-special i,
.flb-badge-new i {
    margin-right: 6px;
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 25px 0;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    border: 1px solid #eee;
}

.promo-banner-img {
    flex: 0 0 55%;
    max-width: 55%;
    line-height: 0;
}

.promo-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.promo-banner-content {
    flex: 0 0 45%;
    padding: 40px;
    box-sizing: border-box;
}

.promo-banner-content h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #222;
    line-height: 1.2;
    font-weight: 800;
}

.promo-banner-content h2 span {
    color: #e67e22;
}

.price-tag {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promo-banner-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.fl-btn-banner {
    display: inline-block;
    background-color: #2980b9;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-align: center;
    border: none;
}

.fl-btn-banner:hover {
    background-color: #1c5982;
}

@media (max-width: 800px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
    .promo-banner-img {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .promo-banner-content {
        flex: 0 0 100%;
        padding: 30px 20px;
    }
}

:root {
    --brand-orange: #ff6408;
    --brand-blue-light: #ff7e36;
    --brand-gradient: linear-gradient(135deg, #ff6408 0%, #e65100 100%);
    --accent-cyan: #ff9100;
    --text-main: #2d3748;
    --text-muted: #4a5568;
    --bg-soft: #fffaf8;
    --border-color: #fce8e0;
    --white: #ffffff;
}

.fl-main-container {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    box-sizing: border-box;
    padding: 10px;
}

.fl-section-title {
    text-align: center;
    margin: 50px 0 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 28px;
    color: var(--brand-orange);
    position: relative;
    letter-spacing: 1px;
}

.fl-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
    margin: 12px auto;
    border-radius: 2px;
}

.fl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.fl-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.fl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 100, 8, 0.1);
    border-color: var(--accent-cyan);
}

.fl-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.fl-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.fl-card-body h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--brand-orange);
    font-weight: 800;
}

.fl-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.fl-price-tag {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-orange);
    margin-bottom: 20px;
    padding: 5px 0;
    border-top: 1px solid var(--bg-soft);
}

.price-orange {
    color: var(--brand-orange);
}

.fl-btn {
    background: var(--brand-gradient);
    color: var(--white) !important;
    padding: 13px 6px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 100, 8, 0.2);
}

.fl-banner-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.fl-banner-row img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.seo-footer-text {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-soft);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

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

@media (max-width: 768px) {
    .fl-banner-row,
    .fl-grid {
        grid-template-columns: 1fr;
    }
    .fl-card-img {
        height: 280px;
    }
}

/* Newsletter subscription bar – continues footer tone */
.flb-newsletter-bar {
    background: #171717;
    color: #fff;
    padding: 42px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.flb-newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.flb-newsletter-left {
    flex: 1 1 auto;
    min-width: 0;
}
.flb-newsletter-right {
    flex: 0 0 auto;
}
.flb-newsletter-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}
.flb-newsletter-title i {
    color: #ff670d;
    margin-right: 8px;
}
.flb-newsletter-text {
    font-size: 14px;
    color: #a1a1aa;
}
.flb-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0;
}
.flb-newsletter-input {
    padding: 14px 20px;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    min-width: 280px;
    max-width: 100%;
    outline: none;
    background: #27272a;
    color: #fff;
}
.flb-newsletter-input::placeholder {
    color: #a1a1aa;
}
.flb-newsletter-btn {
    padding: 14px 26px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: #ff670d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.flb-newsletter-btn:hover {
    background: #e55a00;
}
.flb-newsletter-btn:active {
    transform: translateY(1px);
}
.flb-newsletter-msg {
    margin-top: 10px;
    font-size: 13px;
    min-height: 20px;
    text-align: right;
}
.flb-newsletter-msg.success { color: #4ade80; }
.flb-newsletter-msg.error { color: #fca5a5; }

/* Registration checkbox */
.form-group-checkbox {
    margin-bottom: 20px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .flb-newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .flb-newsletter-right {
        width: 100%;
    }
    .flb-newsletter-form {
        justify-content: center;
    }
    .flb-newsletter-input {
        min-width: 0;
        flex: 1 1 auto;
    }
    .flb-newsletter-msg {
        text-align: center;
    }
}
@media (max-width: 480px) {
    .flb-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    .flb-newsletter-input {
        border-radius: 10px;
        width: 100%;
    }
    .flb-newsletter-btn {
        border-radius: 10px;
        width: 100%;
    }
}

/* Cikk stúdió modulok (above_body stb.) — max-width + min-width:0 nélkül a hasábok szétesnek */
.flb-columns { display: grid; gap: 16px; margin: 1rem 0; align-items: start; }
.flb-col { min-width: 0; }
.flb-fig { margin: 1.1rem 0; max-width: 100%; }
.flb-fig.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.flb-fig__link { display: inline-block; max-width: 100%; }
.flb-fig__img { max-width: 100%; height: auto; display: block; }
.flb-fig__cap { margin-top: .55rem; font-size: .88rem; color: #64748b; line-height: 1.4; }
@media (max-width: 700px) {
    .flb-columns { grid-template-columns: 1fr !important; }
}
