/* Shopper Frenzy Template CSS - FÃ©nykÃ©plabor Board 2025 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 :root {
     --bg: #F9F9F9;
     --surface: #FFFFFF;
     --surface-2: #F3F4F6;
     --text: #2D2D2D;
     --muted: #6B7280;
     --border: #E5E7EB;
     --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
     --shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.06);

     --brand-deep: #052c3e;
     --brand-deep-2: #07384f;
     --brand-primary: #0892d2;
     --brand-primary-rgb: 8, 146, 210;
     --brand-primary-2: #0c5374;
     --brand-on-primary: #ffffff;
     --brand-mint: #4fd1c5;
     --brand-mint-2: #80cbc4;
     --brand-on-deep: #e0f2f1;

     --accent: var(--brand-mint);
     --accent-2: var(--brand-mint-2);
     --accent-contrast: #052c3e;
     --link: var(--brand-primary);
     --testimonials-accent-color: var(--brand-primary);
     --ring: rgba(8, 146, 210, 0.18);
     --focus-ring: 0 0 0 4px var(--ring);
     --danger: #ef4444;
     --success: #22c55e;

     --radius-sm: 10px;
     --radius-md: 14px;
     --radius-lg: 18px;

     --container-max: 1200px;
 }

body {
    font-family: Saira, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    padding: 20px 0;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        background: var(--bg);
    }
    
    #template-wrapper {
        max-width: 100%;
    }
}

/* Main template wrapper with rounded border and shadow */
#template-wrapper {
    max-width: 100%;
    margin: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

@media (min-width: 769px) {
    #template-wrapper {
        padding: 0;
        border-radius: var(--radius-lg);
        box-shadow: none;
    }
}

.container {
    margin: 0 auto;
    max-width: 100%;
    /* padding: 0 16px; */
}

/* No padding for menu container */
#top-menu .container {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

a {
    color: var(--link);
    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 */
#header {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 14px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 3000;
    backdrop-filter: blur(8px);
}

#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 input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 25px 0 0 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    background: var(--surface);
    color: var(--text);
}

.desktop-search input:focus {
    border-color: var(--brand-primary);
    box-shadow: var(--focus-ring);
}

.desktop-search button {
    padding: 12px 25px;
    background: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    border-left: none;
    border-radius: 0 25px 25px 0;
    color: var(--brand-on-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.desktop-search button:hover {
    background: var(--brand-primary-2);
    border-color: var(--brand-primary-2);
}

.desktop-search button i {
    font-size: 18px;
}

/* Desktop Search Dropdown */
.desktop-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow);
    margin-top: -2px;
    scroll-behavior: smooth;
}

/* Custom scrollbar for search dropdown */
.desktop-search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.desktop-search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 15px 0;
}

.desktop-search-dropdown::-webkit-scrollbar-thumb {
    background: var(--link);
    border-radius: 4px;
}

.desktop-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary-2);
}

.desktop-search-dropdown.active {
    display: block;
}

.desktop-search-item {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.desktop-search-item:hover {
    background: var(--surface-2);
}

.desktop-search-item:last-child {
    border-bottom: none;
}

.desktop-search-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.desktop-search-info {
    flex: 1;
}

.desktop-search-title {
    font-weight: 600;
    color: var(--text);
    margin: 0 0 5px 0;
    font-size: 14px;
}

.desktop-search-price {
    color: var(--brand-primary-2);
    font-weight: 700;
    font-size: 16px;
}

.desktop-search-loading,
.desktop-search-empty {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.desktop-search-load-more {
    padding: 15px;
    text-align: center;
    background: var(--surface);
    color: var(--brand-primary-2);
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}

.desktop-search-load-more:hover {
    background: var(--brand-primary);
    color: var(--brand-on-primary);
}

/* 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 */
#header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 45px;
}

#header-right .module {
    display: inline-flex;
    align-items: center;
    height: 100%;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#header-right .module-content {
    padding: 0 !important;
    display: flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 100%;
}

/* Header utility icon styling */
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    gap: 8px;
}

#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);
}

#theme-toggle i {
    color: #ffffff;
    font-size: 18px;
}

#theme-toggle:hover {
    background: #777777;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-extra-row {
    margin-top: 10px;
        padding: 10px 8px 4px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #dddddd;
}

.footer-payments i {
    font-size: 22px;
}

.header-icon .user-greeting {
    display: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 769px) {
    .header-icon .user-greeting {
        display: inline-block;
    }
    
    .header-icon:has(.user-greeting) {
        width: auto;
        padding: 0 20px;
        border-radius: 25px;
    }
}

.header-icon:hover {
    background: var(--surface-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.header-icon i {
    font-size: 20px;
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    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(--accent);
    color: var(--accent-contrast);
    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(--accent-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.header-phone i {
    font-size: 16px;
}

@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 */
    #header {
        padding: 15px 0 !important;
    }
    
    #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 */
    #logo {
        flex: 0 0 auto !important;
        max-width: 60% !important;
    }
    
    #logo h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
    
    #logo img {
        max-height: 80px !important;
        width: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* Header icons - properly aligned */
    #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;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !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-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        top: -3px !important;
        right: -3px !important;
    }
    
    .cart-total {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .cart-module {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .cart-module .cart-link {
        background: var(--brand-primary) !important;
        color: var(--brand-on-primary) !important;
    }
}

#logo {
    flex: 0 0 auto;
}

#logo h1 {
    font-size: 32px;
    color: #f3f4f6;
    margin: 0;
    line-height: 1;
}

#logo h1 a {
    color: #f3f4f6;
    text-decoration: none;
}

#logo img {
    max-height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

#search-box {
    float: right;
    margin-top: 10px;
}

/* Top Menu - Orange theme with mobile support */
#top-menu {
    background: transparent !important;
    color: var(--text);
    padding: 0 !important;
    border: none;
    position: relative;
    margin: 0 !important;
    border-top: 0;
    border-bottom: 0;
}

#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 */
#breadcrumb {
    background: var(--surface);
    padding: 8px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#breadcrumb .container {
    max-width: none !important;
    padding: 0 15px !important;
    white-space: nowrap;
}

#breadcrumb .breadcrumb-nav {
    display: inline-block;
    white-space: nowrap;
}

/* Mobile breadcrumb */
@media (max-width: 768px) {
    #breadcrumb {
        padding: 8px 0;
        font-size: 10px;
    }
    #breadcrumb .container {
        padding: 0 10px !important;
    }
}

#breadcrumb a {
    color: var(--link);
    text-decoration: none;
}

#breadcrumb a:hover {
    text-decoration: underline;
}

#breadcrumb .breadcrumb-sep {
    color: #4b5563;
    margin: 0 5px;
}

/* Scrollbar styling for breadcrumb */
#breadcrumb::-webkit-scrollbar {
    height: 6px;
}

#breadcrumb::-webkit-scrollbar-track {
    background: var(--surface);
}

#breadcrumb::-webkit-scrollbar-thumb {
    background: var(--link);
    border-radius: 3px;
}

#breadcrumb::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary-2);
}

/* Main Content */
#main-content {
    padding: 30px 0;
    background: #ffffff;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

#left-column {
    width: 220px;
    flex-shrink: 0;
}

#content-main {
    flex: 1;
    background: #ffffff;
    /* padding: 20px; */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#right-column {
    width: 220px;
    flex-shrink: 0;
}

/* Modules */
.module {
    background: var(--surface);
    border: 1px solid var(--border);
    /* margin-bottom: 20px; */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.module-title {
    background: var(--brand-deep);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.module-content {
    /* padding: 15px; */
    background: #ffffff;
    color: #374151;
}

/* Remove padding from breadcrumb module */
#breadcrumb .module-content {
    padding: 0;
}

.module-content ul {
    list-style: none;
    padding: 0;
}

.module-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.module-content ul li:last-child {
    border-bottom: none;
}

.module-content ul li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.module-content ul li a:hover {
    color: var(--brand-primary-2);
    padding-left: 5px;
}

/* Homepage - Additional Articles */
 .home-articles {
     margin-top: 22px;
     padding: 18px;
     background: var(--surface);
     border: 1px solid var(--border);
     border-radius: var(--radius-lg);
     box-shadow: var(--shadow-sm);
 }

 .home-articles-head {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     gap: 12px;
     margin-bottom: 14px;
 }

 .home-articles-title {
     margin: 0;
     font-size: 18px;
     letter-spacing: -0.2px;
     color: var(--brand-deep);
 }

 .home-articles-subtitle {
     margin-top: 6px;
     color: var(--muted);
     font-size: 12px;
 }

 .home-articles-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 12px;
 }

 .home-articles-full {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-bottom: 14px;
 }

 .home-articles .home-article-full {
     margin-bottom: 0;
 }

 .home-articles .home-article-full .article-title {
     font-size: 20px;
 }

 .home-articles .home-article-full .content {
     line-height: 1.8;
 }

 .home-articles .home-article-full .article-footer {
     margin-top: 12px;
 }

 @media (max-width: 980px) {
     .home-articles-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
     }
 }

 @media (max-width: 560px) {
     .home-articles {
         padding: 14px;
         border-radius: var(--radius-md);
     }
     .home-articles-grid {
         grid-template-columns: 1fr;
     }
 }

 .home-article-card {
     display: flex;
     flex-direction: column;
     min-height: 180px;
     border-radius: var(--radius-lg);
     border: 1px solid var(--border);
     background: linear-gradient(180deg, rgba(8, 146, 210, 0.08) 0%, rgba(5, 44, 62, 0.02) 60%, #ffffff 100%);
     box-shadow: var(--shadow-sm);
     text-decoration: none;
     color: inherit;
     overflow: hidden;
     transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
 }

 .home-article-card:hover {
     transform: translateY(-3px);
     box-shadow: var(--shadow);
     border-color: rgba(8, 146, 210, 0.35);
     text-decoration: none;
 }

 .home-article-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
     padding: 12px 12px 0;
 }

 .home-article-badge {
     display: inline-flex;
     align-items: center;
     padding: 6px 10px;
     border-radius: 999px;
     background: rgba(8, 146, 210, 0.12);
     border: 1px solid rgba(8, 146, 210, 0.18);
     color: var(--brand-primary-2);
     font-weight: 800;
     font-size: 11px;
     letter-spacing: 0.3px;
     text-transform: uppercase;
 }

 .home-article-date {
     color: var(--muted);
     font-weight: 600;
     font-size: 12px;
 }

 .home-article-body {
     padding: 12px;
     flex: 1;
 }

 .home-article-title {
     font-size: 14px;
     font-weight: 800;
     color: var(--brand-deep);
     line-height: 1.35;
     letter-spacing: -0.1px;
 }

 .home-article-excerpt {
     margin-top: 8px;
     color: var(--muted);
     font-size: 12px;
     line-height: 1.55;
 }

 .home-article-cta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
     padding: 12px;
     border-top: 1px solid rgba(229, 231, 235, 0.7);
     background: rgba(255, 255, 255, 0.85);
     color: var(--brand-primary-2);
     font-weight: 800;
 }

 .home-article-cta:after {
     content: '→';
     font-weight: 900;
 }

/* Articles */
.article {
    margin-bottom: 30px;
    /* padding: 25px; */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

 .article .article-inner {
     padding: 22px 22px 18px;
 }

 .article .article-header {
     margin-bottom: 14px;
 }

 .article .article-title {
     font-size: 26px;
     line-height: 1.2;
     margin: 0 0 10px 0;
     color: #052c3e;
     letter-spacing: -0.2px;
 }

 .article .meta {
     margin: 6px 0 0;
     color: #6b7280;
     font-size: 12px;
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
 }

 .article .meta span {
     margin-right: 0;
 }

 .article .article-quicklinks {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin-top: 12px;
 }

 .article .article-quicklink {
     display: inline-flex;
     align-items: center;
     padding: 8px 12px;
     border-radius: 999px;
     border: 1px solid #e5e7eb;
     background: #f9fafb;
     color: #052c3e;
     font-weight: 600;
     font-size: 12px;
     text-decoration: none;
     transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
 }

 .article .article-quicklink:hover {
     background: #eef2ff;
     border-color: rgba(12, 83, 116, 0.35);
     text-decoration: none;
     transform: translateY(-1px);
 }

 .article .content {
     line-height: 1.85;
     margin-bottom: 0;
     color: #374151;
 }

 .article .content a {
     color: #0c5374;
     text-decoration: none;
 }

 .article .content a:hover {
     text-decoration: underline;
 }

 .article .article-lead {
     background: linear-gradient(135deg, rgba(5, 44, 62, 0.06) 0%, rgba(12, 83, 116, 0.04) 100%);
     border: 1px solid rgba(12, 83, 116, 0.16);
     border-radius: 14px;
     padding: 16px 16px;
     margin: 0 0 16px 0;
 }

 .article .article-lead p {
     margin: 0;
     font-size: 15px;
     color: #052c3e;
 }

 .article .article-block {
     margin: 16px 0;
 }

 .article .article-block h3 {
     margin: 0 0 10px 0;
     font-size: 18px;
     color: #052c3e;
 }

 .article .article-block h4 {
     margin: 0 0 8px 0;
     font-size: 15px;
     color: #052c3e;
 }

 .article .article-block p {
     margin: 0 0 10px 0;
 }

 .article .article-list {
     margin: 10px 0 0 0;
     padding-left: 18px;
 }

 .article .article-list li {
     margin: 6px 0;
 }

 .article .article-callout {
     margin: 14px 0 0;
     border-radius: 14px;
     padding: 14px 14px;
     border: 1px solid rgba(12, 83, 116, 0.16);
     background: #f9fafb;
 }

 .article .article-callout p {
     margin: 0;
     color: #052c3e;
 }

 .article .article-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 12px;
     margin-top: 12px;
 }

 @media (max-width: 900px) {
     .article .article-grid {
         grid-template-columns: 1fr;
     }
 }

 .article .article-card {
     border-radius: 14px;
     border: 1px solid #e5e7eb;
     background: #ffffff;
     padding: 14px 14px;
     box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
 }

 .article .article-card p {
     margin: 8px 0 0;
     color: #374151;
 }

 .article .article-extras {
     margin-top: 18px;
     padding-top: 16px;
     border-top: 1px solid #e5e7eb;
     display: grid;
     grid-template-columns: 1.2fr 0.8fr;
     gap: 14px;
 }

 @media (max-width: 900px) {
     .article .article-extras {
         grid-template-columns: 1fr;
     }
 }

 .article .article-extras-block {
     border: 1px solid #e5e7eb;
     background: #ffffff;
     border-radius: 14px;
     padding: 14px;
     box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
 }

 .article .article-extras-title {
     margin: 0 0 10px 0;
     font-size: 15px;
     color: #052c3e;
     letter-spacing: -0.1px;
 }

 .article .article-product-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 10px;
 }

 @media (max-width: 1100px) {
     .article .article-product-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
     }
 }

 @media (max-width: 520px) {
     .article .article-product-grid {
         grid-template-columns: 1fr;
     }
 }

 .article .article-product-card {
     display: grid;
     grid-template-columns: 68px 1fr;
     gap: 10px;
     align-items: center;
     border-radius: 14px;
     border: 1px solid #e5e7eb;
     background: #f9fafb;
     padding: 10px;
     text-decoration: none;
     color: inherit;
     transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
 }

 .article .article-product-card:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 22px rgba(17, 24, 39, 0.10);
     border-color: rgba(12, 83, 116, 0.28);
     text-decoration: none;
 }

 .article .article-product-media {
     width: 68px;
     height: 68px;
     border-radius: 12px;
     border: 1px solid #e5e7eb;
     background: #ffffff;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
 }

 .article .article-product-media img {
     width: 100%;
     height: 100%;
     object-fit: contain;
 }

 .article .article-product-media-placeholder {
     font-size: 22px;
     color: #9ca3af;
 }

 .article .article-product-name {
     font-weight: 700;
     color: #052c3e;
     font-size: 13px;
     line-height: 1.25;
 }

 .article .article-product-price {
     margin-top: 4px;
     font-size: 13px;
     font-weight: 700;
     color: #0c5374;
 }

 .article .article-related-list {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .article .article-related-item {
     display: block;
     border-radius: 12px;
     border: 1px solid #e5e7eb;
     background: #f9fafb;
     padding: 10px 12px;
     font-weight: 600;
     color: #052c3e;
     text-decoration: none;
     transition: border-color 0.2s ease, transform 0.2s ease;
 }

 .article .article-related-item:hover {
     border-color: rgba(12, 83, 116, 0.28);
     transform: translateY(-1px);
     text-decoration: none;
 }

 .article .article-footer {
     margin-top: 16px;
 }

.article h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1f2937;
}

.article h2 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article h2 a:hover {
    color: #0c5374;
    text-decoration: none;
}

.article .meta {
    color: #6b7280;
    font-size: 11px;
    margin-bottom: 15px;
}

.article .meta span {
    margin-right: 15px;
}

.article .content {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #374151;
}

.article .read-more {
    color: #0c5374;
    text-decoration: none;
    font-weight: bold;
}

.article .read-more:hover {
    text-decoration: underline;
}

/* Bottom Modules */
#bottom-modules {
    background: transparent;
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.bottom-module {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
#footer {
    background: var(--brand-deep);
    color: var(--brand-on-deep);
    padding: 24px 0 26px 0;
    margin-top: 0;
    box-shadow: none;
    border-top: none;
}

#footer a {
    color: var(--brand-on-deep);
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

.footer-menu {
    margin-bottom: 15px;
}

.footer-menu .nav-menu {
    list-style: none;
    padding: 0;
}

.footer-menu .nav-menu li {
    display: inline-block;
    margin-right: 15px;
}

.copyright {
    text-align: center;
    font-size: 11px;
    color: rgba(224, 242, 241, 0.65);
}

 body:has(.oc-footer-premium) #footer {
     display: none;
 }

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    #left-column,
    #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). */
#main-content .content-wrapper #content-main > .component-content > article.article > .content {
    padding-left: 0;
    padding-right: 0;
}

/* CRITICAL: Force remove menu padding - must be at end of file */
#top-menu,
#top-menu .container,
div#top-menu,
div#top-menu .container,
body #top-menu,
body #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;
}

#top-menu .container {
    max-width: none !important;
    width: 100% !important;
}

/* Submenu styles removed - menu.css handles all submenu behavior */

html[data-theme='dark'] body {
    background: var(--bg);
}

html[data-theme='dark'] #template-wrapper {
    background: transparent;
    box-shadow: none;
}

html[data-theme='dark'] #header {
    background: var(--surface);
}

html[data-theme='dark'] #breadcrumb {
    background: var(--surface);
    border-bottom-color: var(--border);
}

html[data-theme='dark'] #breadcrumb a {
    color: var(--accent-2);
}

html[data-theme='dark'] .module {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

html[data-theme='dark'] .module-title {
    background: var(--accent);
}

html[data-theme='dark'] #bottom-modules {
    background: var(--bg);
    border-top-color: var(--border);
}

html[data-theme='dark'] .bottom-module {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme='dark'] .desktop-search-dropdown {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

html[data-theme='dark'] .desktop-search-item {
    border-bottom-color: #333333;
}

html[data-theme='dark'] .desktop-search-item:hover {
    background: #262626;
}

html[data-theme='dark'] .desktop-search-title {
    color: #f0f0f0;
}

html[data-theme='dark'] .desktop-search-price {
    color: var(--accent-2);
}

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: var(--surface);
    color: var(--accent-2);
    border-top-color: var(--border);
}

html[data-theme='dark'] .desktop-search-load-more:hover {
    background: var(--accent);
    color: var(--accent-contrast);
}

html[data-theme='dark'] #footer {
    background: var(--surface);
    color: var(--text);
}

html[data-theme='dark'] #footer a {
    color: var(--text);
}

html[data-theme='dark'] .copyright {
    color: #999999;
}
 
html[data-theme='dark'] .module .module-content {
    color: #e8e8e8;
}

html[data-theme='dark'] #logo h1,
html[data-theme='dark'] #logo h1 a {
    color: #ffffff;
}

html[data-theme='dark'] .module-content ul li {
    border-bottom-color: #333333;
}
 
html[data-theme='dark'] #content-main .module-content a {
    color: #ef4444;
}
 
html[data-theme='dark'] #content-main .module-content a:hover {
    color: #f87171;
}

.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.1);
     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.15);
 }

 .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 #e5e7eb;
 }

 .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: #6b7280;
 }

 .order-success-page .os-card-actions {
     margin-top: auto;
     padding-top: 16px;
     border-top: 1px solid #e5e7eb;
 }

 .order-success-page .os-card--status {
     grid-column: span 4;
     background: #f9fafb;
 }

 .order-success-page .os-card--payment {
     grid-column: span 4;
     background: #f9fafb;
 }

 .order-success-page .os-card--invoice {
     grid-column: span 4;
     background: #f9fafb;
 }

 .order-success-page .os-card--addresses {
     grid-column: span 8;
     background: #f9fafb;
 }

 .order-success-page .os-card--coupon {
     grid-column: span 4;
     background: #f9fafb;
 }

 .order-success-page .os-card--totals {
     grid-column: span 4;
     background: #f9fafb;
 }

 .order-success-page .os-card--cancel {
     grid-column: span 8;
     background: #ffffff;
 }

 .order-success-page .os-card--items {
     grid-column: span 12;
     background: #ffffff;
 }

 @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--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--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 #e5e7eb;
 }

 .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: #1f2937;
     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: #0c5374;
 }

 .order-success-page .os-muted {
     color: #6b7280;
 }

 .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: #374151;
     color: #fff;
     box-shadow: 0 1px 3px rgba(55, 65, 81, 0.3);
 }

 .order-success-page .os-btn--primary:hover {
     background: #1f2937;
     text-decoration: none;
     transform: translateY(-1px);
     box-shadow: 0 4px 8px rgba(31, 41, 55, 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: #0c5374;
     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-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: #1f2937;
     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: #1f2937;
 }

 .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 #e5e7eb;
     vertical-align: middle;
     color: #374151;
 }

 .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: #f9fafb;
     cursor: zoom-in;
     display: block;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

 .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: #9ca3af;
     background: #f9fafb;
 }

 .order-success-page .os-item-name {
     font-weight: 600;
     color: #1f2937;
     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.3);
     position: relative;
     overflow: auto;
     padding: 14px;
     border: 1px solid #e5e7eb;
 }

 .order-image-modal img {
     display: block;
     max-width: 100%;
     max-height: calc(90vh - 28px);
     width: auto;
     height: auto;
     object-fit: contain;
 }

 .order-image-modal-close {
     position: absolute;
     top: 10px;
     right: 12px;
     font-size: 26px;
     line-height: 1;
     color: #1f2937;
     cursor: pointer;
     background: rgba(249,250,251,0.95);
     border-radius: 10px;
     padding: 4px 10px;
     border: 1px solid #e5e7eb;
 }
