/* Shopper Frenzy Template CSS - #0140652025 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
    background: #e8e8e8;
    padding: 20px 0;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        background: #ffffff;
    }
    
    #template-wrapper {
        max-width: 100%;
    }
}

/* Main template wrapper with rounded border and shadow */
#template-wrapper {
    max-width: 95%;
    margin: 0 auto;
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

@media (min-width: 769px) {
    #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 */
#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 */
#header {
    background: #ffffff;
    border-bottom: none;
    padding: 20px 0;
    border-radius: 10px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

#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: 2px solid #b31217;
    border-radius: 25px 0 0 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.desktop-search input:focus {
    border-color: #b31217;
    box-shadow: 0 0 0 3px rgba(179, 18, 23, 0.16);
}

.desktop-search button {
    padding: 12px 25px;
    background: #b31217;
    border: 2px solid #b31217;
    border-left: none;
    border-radius: 0 25px 25px 0;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

#desktop-search-btn {
    background: #b31217;
    border-color: #b31217;
}

.desktop-search button:hover {
    background: #8f0f13;
    border-color: #8f0f13;
}

#desktop-search-btn:hover {
    background: #8f0f13;
    border-color: #8f0f13;
}

.desktop-search button i {
    font-size: 18px;
}

/* Desktop Search Dropdown */
.desktop-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #b31217;
    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: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: -2px;
}

.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: #b31217;
    border-radius: 4px;
}

.desktop-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #8f0f13;
}

.desktop-search-dropdown.active {
    display: block;
}

.desktop-search-item {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.desktop-search-item:hover {
    background: #fff1f2;
}

.desktop-search-item:last-child {
    border-bottom: none;
}

.desktop-search-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.desktop-search-info {
    flex: 1;
}

.desktop-search-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.desktop-search-price {
    color: #b31217;
    font-weight: 700;
    font-size: 16px;
}

.desktop-search-loading,
.desktop-search-empty {
    padding: 20px;
    text-align: center;
    color: #999;
}

.desktop-search-load-more {
    padding: 15px;
    text-align: center;
    background: #f5f5f5;
    color: #b31217;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.desktop-search-load-more:hover {
    background: #8f0f13;
    color: white;
}

/* 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;
}

#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: #b31217;
    color: white;
    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;
        background: #b31217;
    }
}

.header-icon:has(.user-greeting):hover {
    background: #8f0f13;
    box-shadow: 0 4px 12px rgba(179, 18, 23, 0.4);
}

.header-icon:hover {
    background: #8f0f13;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 18, 23, 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: #b31217;
    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: #8f0f13;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 18, 23, 0.4);
}

.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;
    }
    
    .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 .cart-link {
        background: #28a745 !important;
        color: #ffffff !important;
    }
}

#logo {
    flex: 0 0 auto;
}

#logo h1 {
    font-size: 32px;
    color: #0B55C4;
    margin: 0;
    line-height: 1;
}

#logo h1 a {
    color: #0B55C4;
    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: #b31217 !important;
    color: #fff;
    padding: 0 !important;
    border: none;
    position: relative;
    margin: 0 !important;
}

#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: #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;
}

#breadcrumb .container {
    max-width: 100% !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: #b31217;
    text-decoration: none;
}

#breadcrumb a:hover {
    text-decoration: underline;
}

#breadcrumb .breadcrumb-sep {
    color: #999;
    margin: 0 5px;
}

/* Scrollbar styling for breadcrumb */
#breadcrumb::-webkit-scrollbar {
    height: 6px;
}

#breadcrumb::-webkit-scrollbar-track {
    background: #e0e0e0;
}

#breadcrumb::-webkit-scrollbar-thumb {
    background: #b31217;
    border-radius: 3px;
}

#breadcrumb::-webkit-scrollbar-thumb:hover {
    background: #8f0f13;
}

/* Main Content */
#main-content {
    padding: 30px 0;
    background: transparent;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

#left-column {
    width: 220px;
    flex-shrink: 0;
}

#content-main {
    flex: 1;
    background: transparent;
}

 .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);
 }

 #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: #b31217;
    color: #ffffff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.module-content {
    padding: 5px;
}

/* Remove padding from breadcrumb module */
#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, #b31217 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: #b31217;
}

#main-content .content-wrapper #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: #b31217;
    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;
}

.article .read-more {
    color: #0B55C4;
    text-decoration: none;
    font-weight: bold;
}

.article .read-more:hover {
    text-decoration: underline;
}

/* Bottom Modules */
#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 */
#footer {
    background: #2c2c2c;
    color: #ffffff;
    padding: 24px 0 26px 0;
    margin-top: 10px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

#footer a {
    color: #fff;
    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: #bbb;
}

/* 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: 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'] #template-wrapper {
    background: #1e1e1e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
}

html[data-theme='dark'] #header {
    background: #1f1f1f;
}

html[data-theme='dark'] #breadcrumb {
    background: #1a1a1a;
    border-bottom-color: #333333;
}

html[data-theme='dark'] #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: #b31217;
}

html[data-theme='dark'] #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-dropdown {
    background: #1f1f1f;
    border-color: #b31217;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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: #ff8fa3;
}

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: #262626;
    color: #ff8fa3;
    border-top-color: #333333;
}

html[data-theme='dark'] .desktop-search-load-more:hover {
    background: #b31217;
    color: #ffffff;
}

html[data-theme='dark'] #footer {
    background: #111111;
    color: #dddddd;
}

html[data-theme='dark'] #footer a {
    color: #ffffff;
}

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'] .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--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--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 #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-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;
 }
