:root {
    --primary-orange: #FF8A00;
    --primary-pink: #FF4DA6;
    --primary-gradient: linear-gradient(135deg, #FF8A00, #FF4DA6);
    --fullcolor: #ff9b32;
    --purple-dark: #4B0082;
    --yellow-accent: #FFD84D;
    --green-accent: #7ED957;
    --blue-accent: #00B8D9;
    --new-backgroun: linear-gradient(135deg,#ff7a00,#ff9a2f);
    --background-light: #F9FAFF;
    --sidebar-bg: #FFF4FA;
    --new-buttons:#e3483c;
    --feher-betuk:#FFFFFF;

    --card-shadow: 0 10px 30px rgba(0,0,0,0.06);
    --soft-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
html, body {
    overflow-x: hidden;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--background-light);
    margin: 0;
    color: #333;
}

/* ==================== Register form ===============*/
label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
    color: #333;
}

.required {
    color: red;
    margin-left: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */

.main-header {
    position: relative;
    background: var(--primary-gradient);
    padding: 50px 40px 80px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: var(--card-shadow);
}

.main-header::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--background-light);
    border-top-left-radius: 50% 50px;
    border-top-right-radius: 50% 50px;
}

.logo-wrapper {
    position: absolute;
    top: 10px;
    left: 40px;
}

.logo-wrapper img {
    height: 150px;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.cart-info {
    cursor: pointer;
    font-weight: 600;
}

.cart-info:hover {
    opacity: 0.8;
}

.quantity-wrapper {
    display: flex;
    align-items: center;   /* fontos */
    gap: 10px;
}

.quantity-wrapper input,
.quantity-wrapper select {
    height: 42px;
    box-sizing: border-box;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.quantity-wrapper input {
    width: 80px;
}

/* ================= MEGACANDY PREMIUM HEADER ================= */

.premium-header {
    position: relative;
    background: linear-gradient(
            135deg,
            #FF8A00,
            rgba(255, 77, 166, 0.38),
            #FFD84D,
            #FF8CC8
    );
    padding: 20px 40px;
    border-bottom-left-radius: 70px 40px;
    border-bottom-right-radius: 70px 40px;
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.18);

}

/* ❌ overflow: hidden törölve */

/* 🍭 Candy bubble minta */
.premium-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(circle at 20% 40%, rgba(255,255,255,0.25) 8%, transparent 9%),
            radial-gradient(circle at 70% 20%, rgba(255,255,255,0.18) 6%, transparent 7%),
            radial-gradient(circle at 85% 70%, rgba(255,255,255,0.15) 10%, transparent 11%);
    pointer-events: none;
}

/* 🎨 Lassan mozgó pasztel fény */
.premium-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            120deg,
            transparent 40%,
            rgba(255,255,255,0.25) 50%,
            transparent 60%
    );
    background-size: 200% 100%;
    animation: shimmer 6s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.layout {
    margin-top: 80px; /* hogy a logo ne takarjon ki semmit */
}
/* Header belső layout */
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* jobbra tol mindent */
    width: 100%;
    min-height: 70px;
    padding-left: 220px; /* helyet hagy a nagy logónak */
}

/* LOGO – kilóg a headerből */
.logo-area {
    position: absolute;
    left: -53px;
    top: -50px;   /* még jobban kilóg */
    z-index: 10;  /* a header felett */
}
.logo-area-login {
    position: absolute;
    left: 0px;
    top: 0px;   /* még jobban kilóg */
    z-index: 10;  /* a header felett */
}

.logo-area img {
    height: 250px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}
.logo-area-login img {
    height: 200px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}

/* Jobb oldali gombok */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* ez kényszeríti jobbra */
}

/* Kosár design */
.cart-info {
    font-weight: 600;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.cart-info:hover {
    background: rgba(255,255,255,0.35);
}



/* Gombok */
.header-actions button {
    background: #e3483c;          /* egységes piros */
    color: white;
    border: none;
    border-radius: 8px;           /* kevésbé “cukorka” */
    padding: 8px 18px;
    font-weight: 600;
    transition: 0.25s ease;
}

.header-actions button:hover {
    background: #a93226;          /* sötétebb hover */
    transform: translateY(-2px);
}
.login-required {
    color: #999;
    font-style: italic;
}
/* ================= SIDEBAR BACKGROUND ÖSSZHANG ================= */

body {
    background: var(--sidebar-bg); /* nem fehér */
}

/* Mobil optimalizálás */
@media (max-width: 768px) {

    .logo-area {
        top: -20px;
    }

    .logo-area img {
        height: 120px;
    }

    .premium-header {
        padding: 15px 20px 25px 20px;
    }

    .header-actions {
        gap: 10px;
        font-size: 14px;
    }
}

/*=====================HOME===================*/
.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-section {
    margin-bottom: 20px;
}

.home-title {
    font-size: 20px;
    margin-bottom: 10px;
    border-left: 4px solid #ff7a00;
    padding-left: 10px;
}
@media(max-width: 1024px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= SIDEBAR ================= */

aside {
    background: var(--sidebar-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--soft-shadow);
}

.menu-item {
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.menu-item:hover {
    background: white;
    box-shadow: var(--soft-shadow);
    color: var(--primary-pink);
}

/* ================= PRODUCT GRID ================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* ================= PRODUCT CARD ================= */

.product-card {
    background: white;
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    transition: 0.25s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    min-height: 40px;
}

.product-image {
    height: 160px;
    background: #f3f4f9;
    border-radius: 16px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.product-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    min-height: 45px;
}

.product-stock {
    background: #ecffe5;
    color: #35c02b;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 10px;
}

.product-stock.out-of-stock {
    background: #ffe5e5;
    color: #c0392b;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
}

.product-stock.in-stock {
    color: green;
}

.product-stock.low-stock {
    color: #ff7a00;
}

.product-stock.out-of-stock {
    color: red;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.product-price-detail {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 20px;
    margin-top: 20px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions input {
    width: 65px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

/* ================= BUTTONS ================= */

.btn-default {
    background: #e3483c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-default:hover {
    background: #a93226;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ================= BADGES ================= */

.badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

/* Výpredaj – piros */
.badge.sale {
    background: #ff4d6d;
}

/* Top produkt – kékes */
.badge.top {
    background: #6c5ce7;
}

/* Novinka – zöld */
.badge.new {
    background: var(--green-accent);
}
/* ================= PAGINATION ================= */

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination button {
    min-width: 38px;
    height: 38px;

    border: none;
    border-radius: 8px;

    background: #f5f5f5;
    color: #333;

    font-weight: 600;
    font-size: 14px;

    cursor: pointer;

    transition: all 0.2s ease;
}

/* hover */
.pagination button:hover {
    background: #ff7a00;
    color: white;
}

/* aktív oldal */
.pagination button.active {
    background: #ff7a00;
    color: white;
}

/* disabled */
.pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ================= CART PANEL ================= */

.cart-panel {
    position: fixed;
    right: -420px;
    top: 0;
    width: 400px;
    height: 100vh;              /* TELJES MAGASSÁG */
    background: white;
    display: flex;
    flex-direction: column;     /* FONTOS */
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;   /* bal + jobb */
    align-items: center;              /* függőlegesen középre */
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

footer {
    background: var(--new-backgroun);
    color: white;
    text-align: center;
    padding: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

#cart-items {
    flex: 1;                 /* kitölti a középső részt */
    overflow-y: auto;        /* görgethető */
    padding-bottom: 10px;
}

.cart-item-left {
    width: 60px;
}

.cart-thumb {
    width: 50px;
    height: 50px;
    background: #f3f3f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-item-center {
    flex: 1;
    padding: 0 15px;
}

.cart-name {
    font-weight: 600;
    font-size: 14px;

}

.cart-price {
    font-size: 13px;
    color: #888;
    margin: 4px 0;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
}

.cart-qty input {
    width: 60px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cart-item-right {
    text-align: right;
}

.cart-line-total {
    font-weight: bold;
    margin-bottom: 8px;
}

.cart-delete {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    background: white;
    flex-shrink: 0;             /* FIX marad */
}

.cart-summary-line {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-submit-btn {
    width: 90%;
    max-width: 260px;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    /* a fő gomb stílus öröklése */
    background: var(--primary-gradient);
    color: white;
    border: none;

    transition: 0.25s ease;
}

.cart-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.cart-close-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: 0.2s ease;
}

.cart-close-btn:hover {
    color: #ff7a00;
    transform: scale(1.15);
}

@media(max-width: 768px) {
    .cart-panel {
        width: 100%;
        right: -100%;
    }

    .cart-panel.open {
        right: 0;
    }
}

/* ================= PREMIUM ADMIN UI ================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.25s;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

.dashboard-card h3 {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 28px;
    font-weight: 700;
    color: #ff7a00;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
#top-products,
#top-partners {
    font-size: 13px;
}

.top-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

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

.top-name {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-qty {
    font-weight: 600;
    color: #ff7a00;
    margin-left: 10px;
}
#business-insight {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.insight-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.insight-block {
    display: flex;
    flex-direction: column;
}

.insight-label {
    font-size: 13px;
    color: #777;
}

.insight-value {
    font-size: 18px;
    font-weight: 600;
    color: #ff7a00;
    margin-top: 5px;
}

.admin-body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
    color: #1f2937;
}
.btn-admin {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;

    background: linear-gradient(135deg, #006fff, #222020);
    color: white;

    font-weight: 600;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.25s ease;

    display: flex;
    align-items: center;
    gap: 6px;

    box-shadow: 0 4px 12px rgba(255,122,0,0.25);
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,122,0,0.35);
}

.btn-admin:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Layout */
.admin-layout {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: #111827;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.admin-logo h2 {
    margin: 0;
    color: white;
}

.admin-logo span {
    font-size: 12px;
    color: #9ca3af;
}

.admin-menu {
    margin-top: 40px;
    flex: 1;
}

.admin-menu-item {
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    color: #d1d5db;
    margin-bottom: 8px;
}

.admin-menu-item:hover {
    background: #1f2937;
    color: white;
}

.admin-sidebar-footer {
    border-top: 1px solid #374151;
    padding-top: 20px;
}

/* Main */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.admin-topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.admin-topbar h1 {
    font-size: 20px;
    margin: 0;
}

.admin-user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user-area button {
    background: #111827;
    color: white;
    border-radius: 8px;
    padding: 6px 12px;
}

.admin-user-area button:hover {
    background: #1f2937;
    transform: none;
}

/* Content */
.admin-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Dashboard cards későbbre */
.admin-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* ================= ADMIN BUTTON OVERRIDE ================= */

.admin-body button {
    background: #1f2937;       /* sötét profi */
    color: white;
    border-radius: 8px;
    padding: 8px 14px;
    box-shadow: none;
    transform: none;
}

.admin-body button:hover {
    background: #374151;
    transform: none;           /* kikapcsolja a webshop scale effektet */
}

/* ===================== PRODUCT======================== */

.product-detail-container {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 40px;
}

.product-gallery {
    background: white;
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.main-image {
    height: 400px;
    background: #f3f4f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.product-detail-info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.product-description-full {
    margin-top: 20px;
    line-height: 1.6;
    color: #555;
}

.product-detail-wrapper {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-btn {
    margin-bottom: 20px;
    background: white;
    color: #e3483c;
    border: 1px solid #e3483c;
}

.back-btn:hover {
    background: #e3483c;
    color: white;
}

.product-detail-wrapper {
    animation: fadeIn 0.2s ease;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.detail-gallery {
    background: white;
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.detail-main-image {
    height: 400px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;        /* 🔥 fontos */
    box-shadow: var(--card-shadow);
}

.detail-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;     /* 🔥 aránytartó */
}

.detail-info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.detail-description {
    margin: 20px 0;
    line-height: 1.6;
    color: #555;
}

.detail-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.detail-actions input {
    width: 80px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 6px;
}

.detail-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.detail-ean {
    font-size: 12px;
    margin-bottom: 1px;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= TOAST ================= */

#toast-container {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 9999;
}

.toast {
    min-width: 260px;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 18px;
    color: white;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateX(120%);
    opacity: 0;
    animation: slideIn 0.4s ease forwards;
}

.toast.success {
    background: linear-gradient(135deg, #7ED957, #00B8D9);
}

.toast.error {
    background: linear-gradient(135deg, #ff4d6d, #ff8a00);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ==================== admin users modal =============*/
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.admin-modal {
    background: white;
    width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 15px;
    padding: 20px;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-body label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
}

.admin-modal-body input {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
}

.admin-modal-footer {
    margin-top: 20px;
    text-align: right;
}

.modal-close {
    cursor: pointer;
    font-size: 18px;
}

.partner-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.partner-right {
    font-weight: bold;
    color: #ff7a00;
}

/* OVERLAY */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

/* MODAL */
.checkout-modal {
    width: 1100px;
    max-width: 95%;
    max-height: 90vh;
    background: white;
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

/* HEADER */
.checkout-header {
    background: var(--new-backgroun);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header h2 {
    margin: 0;
}

.checkout-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;              /* 🔥 */
    align-items: center;        /* 🔥 függőleges közép */
    justify-content: center;    /* 🔥 vízszintes közép */

    padding: 0;                 /* 🔥 fontos */
    line-height: 1;             /* 🔥 fontos */
}

.checkout-close:hover {
    background: rgba(255,255,255,0.35);
}

/* BODY */
.checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;   /* bal nagyobb */
    gap: 40px;
}
@media (max-width: 900px) {
    .checkout-body {
        grid-template-columns: 1fr;
    }
}
.checkout-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}
.checkout-left {
    flex: 2;
    overflow-y: auto;
}

.checkout-right {
    max-height: 100%;
    overflow-y: auto;
}

/* SUMMARY BOX */
.checkout-summary-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 14px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #ff7a00;
}

/* ADDRESS BLOCK */
.checkout-address-block {
    background: #fafafa;
    padding: 20px;
    border-radius: 14px;
}

/* BUTTONS */
.checkout-submit-btn {
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

.checkout-submit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(255,122,0,0.3);
}

.btn-secondary {
    background: var(--green-accent);
    color: white;
    font-size: 16px;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= MODERN CART ================= */

.cart-panel {
    position: fixed;
    right: -400px;   /* FONTOS */
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
}

.cart-panel.open {
    right: 0;
}

/* HEADER */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--new-backgroun);
    color: #f8f4f4;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cart-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;              /* 🔥 */
    align-items: center;        /* 🔥 függőleges közép */
    justify-content: center;    /* 🔥 vízszintes közép */

    padding: 0;                 /* 🔥 fontos */
    line-height: 1;             /* 🔥 fontos */
}

.cart-close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* SCROLLABLE ITEMS */

#cart-items {
    flex: 1;              /* kitölti a maradék helyet */
    overflow-y: auto;     /* görgethető */
    padding: 10px 15px;
}
/* ITEM CARD */
.cart-item {
    background: #f9fafc;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    transition: 0.2s;
}

.cart-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.cart-thumb {
    width: 70px;
    height: 70px;
    background: #f3f4f9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-center {
    flex: 1;
}

.cart-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.cart-price {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
    font-weight: bold;
    cursor: pointer;

    display: flex;              /* 🔥 */
    align-items: center;        /* 🔥 függőleges közép */
    justify-content: center;    /* 🔥 vízszintes közép */

    padding: 0;                 /* 🔥 fontos */
    line-height: 1;             /* 🔥 fontos */
}

.cart-qty input {
    width: 55px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* RIGHT SIDE */
.cart-item-right {
    text-align: right;
}

.cart-line-total {
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

/* FOOTER */
.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #ffffff;
}

.cart-summary-line {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

#cart-shipping-info {
    font-size: 14px;
    margin-bottom: 18px;
}

/* CHECKOUT BUTTON */
.cart-footer button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
    cursor: pointer;
    transition: 0.25s ease;
}

.cart-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,122,0,0.3);
}

/* =====test=====*/
/* ================= MODERN PAGE DESIGN ================= */
/* ================= MODERN PAGE ================= */

.modern-body {
    background: #fff7f2;
}

/* 🌈 Candy háttér csak a széleken */
.modern-background {
    min-height: calc(100vh - 120px);
    padding: 80px 0;



}

/* KÖZÉPSŐ WRAPPER */
.modern-wrapper {
    width: 1500px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

/* ================= SIDEBAR ================= */

.modern-sidebar {
    width: 270px;
    background: white;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    height: fit-content;
}

.modern-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Menü elemek */
.modern-sidebar .menu-item {
    padding: 10px 14px;
    border-radius: 14px;
    transition: 0.25s;
}

.modern-sidebar .menu-item:hover {
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
    transform: translateX(6px);
}

/* ================= MAIN CARD ================= */

.modern-main {
    flex: 1;
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
    min-height: 600px;
}

.modern-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modern-main h2 {
    margin: 0;
    font-size: 28px;
}


/* ================= HEADER ================= */

.main-header {
    position: relative;
    background: var(--primary-gradient);
    padding: 50px 40px 80px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: var(--card-shadow);
}

.main-header::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--background-light);
    border-top-left-radius: 50% 50px;
    border-top-right-radius: 50% 50px;
}

.logo-wrapper {
    position: absolute;
    top: 10px;
    left: 40px;
}

.logo-wrapper img {
    height: 150px;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.cart-info {
    cursor: pointer;
    font-weight: 600;
}

.cart-info:hover {
    opacity: 0.8;
}

/* ================= MEGACANDY PREMIUM HEADER ================= */

.premium-header {
    position: relative;
    background: linear-gradient(
            135deg,
            #FF8A00,
            #FF4DA6,
            #FFD84D,
            #FF8CC8
    );
    padding: 20px 40px;
    border-bottom-left-radius: 70px 40px;
    border-bottom-right-radius: 70px 40px;
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.18);

}

/* ❌ overflow: hidden törölve */
.premium-header::after {
    display: none;
}
/* 🍭 Candy bubble minta */
.premium-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(circle at 20% 40%, rgba(255,255,255,0.25) 8%, transparent 9%),
            radial-gradient(circle at 70% 20%, rgba(255,255,255,0.18) 6%, transparent 7%),
            radial-gradient(circle at 85% 70%, rgba(255,255,255,0.15) 10%, transparent 11%);
    pointer-events: none;
}

.premium-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
    );
    animation: shimmerMove 8s linear infinite;
    pointer-events: none;
}

@keyframes shimmerMove {
    0% { left: -50%; }
    100% { left: 120%; }
}
.layout {
    margin-top: 80px; /* hogy a logo ne takarjon ki semmit */
}
/* Header belső layout */
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 90px;
    padding: 0 60px;
    box-sizing: border-box;
}
.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;   /* 🔥 EZ tolja ki teljesen jobbra */
    white-space: nowrap;
}
#user-info {
    color:#555;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* LOGO – kilóg a headerből */
.logo-area {
    position: absolute;
    left: 10px;
    top: -15px;   /* még jobban kilóg */
    z-index: 10;  /* a header felett */

}
.logo-area-login {
    position: absolute;
    left: 0px;
    top: 0px;   /* még jobban kilóg */
    z-index: 10;  /* a header felett */
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    color: #555;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.contact-item a:hover {
    color: #ff7a00;
}

.contact-icon {
    font-size: 15px;
}
.logo-area img {
    height: 200px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}
.logo-area-login img {
    height: 200px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}

/* Jobb oldali gombok */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* ez kényszeríti jobbra */
}

/* Kosár design */
.cart-info {
    font-weight: 600;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.cart-info:hover {
    background: rgba(255,255,255,0.35);
}



/* Gombok */
.header-actions button {
    background: #c0392b;          /* egységes piros */
    color: white;
    border: none;
    border-radius: 8px;           /* kevésbé “cukorka” */
    padding: 8px 18px;
    font-weight: 600;
    transition: 0.25s ease;
}

.header-actions button:hover {
    background: #a93226;          /* sötétebb hover */
    transform: translateY(-2px);
}
.login-required {
    color: #999;
    font-style: italic;
}
/* ================= FOOTER ================= */

.modern-footer {
    background: linear-gradient(90deg,#ff7a00,#ff9a3c);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .modern-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .modern-sidebar {
        width: 100%;
    }

    .modern-main {
        padding: 30px;
    }
}

.b2b-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 70px;

    background: var(--new-backgroun);

    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}



.header-contact {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #555;
    margin-left: 200px;
}

.header-contact span {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-info {
    font-weight: 600;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    transition: 0.3s;
    color: #555;
    font-weight: 700;
}

.cart-info:hover {
    background: rgba(255,255,255,0.35);
}

/* ================ Kepek ===================*/
.detail-main-image {
    display: flex;
    flex-direction: column;   /* 🔥 EZ teszi alá */
    align-items: center;
}

.detail-main-image img {
    max-width: 100%;
    border-radius: 12px;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: 0.2s;
}

.thumbnail:hover {
    border-color: #ff7a00;
    transform: scale(1.05);
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* közös kártya stílus */
.image-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* fő kép */
.main-image-card img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

/* thumbnail kártya */
.thumbnail-card {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: var(--card-shadow);
}

/* kis képek */
.thumbnail {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.thumbnail:hover {
    border-color: #ff7a00;
    transform: scale(1.05);
}


/* ================= MOBILE CATEGORY BAR ================= */

@media (max-width: 1000px) {

    .modern-sidebar {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
    }

    .modern-sidebar #category-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .modern-sidebar #category-list::-webkit-scrollbar {
        display: none;
    }

    .modern-sidebar #category-list {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .modern-sidebar .menu-item {
        flex: 0 0 auto;
        background: #f4f4f4;
        padding: 8px 14px;
        border-radius: 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .modern-sidebar .menu-item:hover {
        background: linear-gradient(135deg, #ff7a00, #ff9a2f);
        color: white;
        transform: none;
    }
}
    .btn-cart-icon {
        width: 42px;
        display: flex;
        align-items: center;
        justify-content: center;

        background: #c0392b;
        color: white;
        border: none;
        border-radius: 8px;

        cursor: pointer;
        transition: 0.2s ease;
    }

    .btn-cart-icon:hover {
        background: #a93226;
        transform: translateY(-2px);
    }

    /* ================= PREMIUM FOOTER LAYOUT ================= */

    .modern-footer {
        width: 100%;
        background: linear-gradient(90deg,#ff7a00,#ff9a3c);
        color: white;
        padding: 60px 8%;
        box-sizing: border-box;
    }

    .footer-grid {
        display: flex;
        justify-content: space-between;
        gap: 80px;
    }

    .footer-map,
    .footer-info {
        flex: 1;
    }

    .footer-map iframe {
        width: 60%;
        height: 200px;
        border-radius: 16px;
        border: none;
    }

    @media (max-width: 900px) {
        .footer-grid {
            flex-direction: column;
        }
    }

/* OVERLAY */
.premium-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6000;
    backdrop-filter: blur(4px);
}

/* MODAL CARD */
.premium-modal {
    width: 520px;
    max-width: 95%;
    max-height: 90vh;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
    animation: modalFade 0.25s ease;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.premium-modal-header {
    background: var(--new-backgroun);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* BODY */
.premium-modal-body {
    padding: 25px;
    overflow-y: auto;
}

/* FORM STYLE */
.premium-modal-body input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 14px;
    font-size: 14px;
    transition: 0.2s;
}

.premium-modal-body input:focus {
    border-color: #ff7a00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,122,0,0.15);
}

/* SAVE BUTTON */
.premium-modal-body .btn-save {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.premium-modal-body .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,122,0,0.3);
}

/* ANIMATION */
@keyframes modalFade {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.manufacturer-filter {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.manufacturer-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: #f1f1f1;
    transition: 0.25s;
}

.manufacturer-btn:hover {
    background: #ff7a00;
    color: white;
}

.manufacturer-btn.active {
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
}

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: #fff;
    font-size: 14px;
}

.footer-contact-trigger {
    position: absolute;
    left: 20px;
    cursor: pointer;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.2s;
}

.footer-contact-trigger:hover {
    opacity: 1;
}

/* ============================ */
/* CONTACT PANEL */
/* ============================ */

.contact-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: flex-end;
    z-index: 9999;
}

.contact-panel {
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 40px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.contact-close {
    text-align: right;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 15px;
}

.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    font-weight: 500;
}

.user-menu {
    position: absolute;
    right: 0;
    top: 35px;
    background: white;
    color: black;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none;
    min-width: 180px;
    z-index: 1000;
}

.user-menu div {
    padding: 12px 15px;
    transition: 0.2s;
}

.user-menu div:hover {
    background: #f5f5f5;
}

.my-orders {
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.order-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.order-date {
    font-size: 13px;
    color: #777;
}

.order-detail {
    padding: 0 20px 20px 20px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.order-items {
    margin-bottom: 15px;
}

.btn-primary {
    background: linear-gradient(135deg,#ff7a00,#ff9a2f);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

.order-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.order-header:hover {
    opacity: 0.8;
}

.order-arrow {
    font-size: 20px;      /* nagyobb */
    transition: transform 0.3s ease;
}

.order-arrow.rotate {
    transform: rotate(180deg);
}

.order-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.order-detail.open {
    max-height: 500px;
    margin-top: 15px;
}

.order-item {
    padding: 6px 0;
}

.empty-category {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-category h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-category p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-back-home {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-back-home:hover {
    background: #e96d00;
}

.product-price-piece {
    font-size: 14px;
    color: #ff7a00;
    margin-top: 4px;
}

.header-search{
    position:relative;
    width:320px;
    margin-left: 50px;
}

#product-search{
    width:100%;
    padding:10px 15px;
    border-radius:25px;
    border:1px solid #ddd;
    font-size:14px;
}

#search-results{
    position: absolute;
    top: 45px;
    left: 0;

    width: 550px;
    max-width: 90vw;

    background: white;
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    z-index: 999;

    max-height: 400px;
    overflow-y: auto;
}

.search-item{
    display:flex;
    align-items:center;
    padding:10px;
    cursor:pointer;
    border-bottom:1px solid #eee;
}

.search-item:hover,
.search-item.active{
    background:#f6f6f6;
}

.search-img{
    width:50px;
    height:50px;
    object-fit:contain;
    margin-right:10px;
}

.search-info{
    flex:1;
}

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

.search-price{
    color:#ff7a00;
    font-size:13px;
}

.search-stock{
    font-size:12px;
    color:#666;
}

@media (max-width:768px){

    .header-search{
        width:100%;
    }

    #search-results{
        top:50px;
    }

}

.header-search-wrapper{
    display:flex;
    align-items:center;
    margin-left: 50px;
}

.search-toggle{
    display:none;
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
}

.search-container{
    position:relative;
}

@media (max-width:768px){

    .search-toggle{
        display:block;
    }

    .search-container{
        display:none;
        position:absolute;
        top:60px;
        left:0;
        right:0;
        background:white;
        padding:10px;
        z-index:2000;
        box-shadow:0 10px 30px rgba(0,0,0,0.15);
    }

    .search-container.active{
        display:block;
    }

    #product-search{
        width:100%;
        padding:10px;
        border-radius:20px;
        border:1px solid #ddd;
    }

}

@media (max-width:768px){

    .header-contact{
        display:none !important;
    }
    .logo-area{
        display:flex;
        align-items:center;
        left: 10px;
        top: -5px;
    }

    .logo-area img{
        height:120px;
        width:auto;
    }

}




