*{margin:0;padding:0;box-sizing:border-box;}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Manrope", sans-serif;
    background:#ffffff;
    color:#111;
    overflow-x:hidden;
}

h1,h2,h3{
    font-family:"Cormorant Garamond", serif;
}

.container{
    width: 100%;
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}
@media (max-width:768px){
.benefits img{
    display: none;
}

    .benefits-wrapper{
        padding: 15px;
    }
    .nav{
        padding:15px;
    }

    .logo{
        max-width:90px;
    }

    .icons{
        gap:12px;
    }

    .icons svg{
        width:20px;
        height:20px;
    }
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    z-index: 5000;
    gap: 22px;
    position: relative;
}

.hero-buttons{
    display: flex;
    gap: 20px;
    flex-direction: row;
}
.logo{
    font-weight:700;
    max-width: 150px;
    flex:0 0 150px;
}
.logo img{
    width: 100%;
    height:auto;
}

.logo span{color:#06298b;}

.menu{
    display:flex;
    align-items:center;
    gap:24px;
}

.menu a{
    text-decoration:none;
    color: #ffffff;
    font-size:15px;
    font-weight: bold;
    text-transform: uppercase;
    line-height:1;
    letter-spacing:.03em;
    white-space:nowrap;
    transition: color .2s ease, background .2s ease;
}

.menu > a,
.menu-dropdown-link{
    position: relative;
}

.menu > a.is-active::after,
.menu-dropdown-link.is-active::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.menu a:hover{
    color: #000000;
}

.icons{
    color: #ffffff;
    display:flex;
    gap:18px;
    align-items:center;
    flex-shrink:0;
}

.icon-button{
    width:38px;
    height:38px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:inherit;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.icon-button svg{
    width:22px;
    height:22px;
}

.icon-button:hover{
    color: #000000;
    cursor: pointer;
    transform:translateY(-1px);
}

.menu-toggle{
    display:none;
}

.icons svg:hover{
    color: inherit;
    cursor: pointer;
}
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    padding: 60px 0 100px;
    overflow: hidden;
}

/* zoom background */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit; /* funguje pokud necháš background na hero */
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: heroZoom 12s ease-in-out forwards;
    z-index: 0;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 15%);
    z-index: 1;
}

/* obsah */
.hero > .container {
    position: relative;
    z-index: 3;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.footer-wave {
    position: absolute;
    top: -55px;
    left: 0;
    width: 100%;
    z-index: 2;
    transform: rotate(180deg);
}
.hero-text h1 {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}


.hero-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:40px;
}

.hero-text small{
    letter-spacing:2px;
}

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

.hero p{
    margin-bottom:25px;
}

/* HERO IMAGE */
.hero-img{
    background:url('https://images.unsplash.com/photo-1504609773096-104ff2c73ba4') center/cover;
    height:420px;
    border-radius:30px;
}

/* BUTTONS */
.btn{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border-radius:30px;
    font-size:14px;
    text-decoration:none;
}
.btn:hover svg{
    transform:translateX(5px);
    cursor: pointer;
}

.btn:hover{
    cursor: pointer;
}

.sidebar a.active{
    background:#4f46e5;
    color:#fff;
}

.sidebar a.active i{
    color:#fff;
}
.filter-bar{
    margin-bottom:20px;
}

.filter-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.filter-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:15px;
}

.filter-item label{
    font-size:12px;
    color:#64748b;
    display:block;
    margin-bottom:6px;
}

.filter-item input,
.filter-item select{
    width:100%;
    padding:10px 12px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    outline:none;
    background:#fff;
}

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

.btn-light{
    padding:10px 14px;
    border-radius:12px;
    background:#f1f5f9;
    color:#334155;
    text-decoration:none;
}

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

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 16px rgba(0,0,0,.06);
    transition:.2s;
    position:relative;
}

.product-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.product-card > a > img{
    width:100%;
    height:270px;
    object-fit:contain;
    padding:8px;
    background:#fff;
    display:block;
}

.product-image{
    position:relative;
    height:200px;
    overflow:hidden;
    background:#f1f5f9;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.product-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#4f46e5;
    color:#fff;
    font-size:11px;
    padding:4px 10px;
    border-radius:999px;
}

.product-stock-badge {
    position: absolute;
    top: 58px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #fee2e2;
    color: #991b1b;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.product-stock-badge.is-on-the-way {
    background: #dbeafe;
    color: #1d4ed8;
}

.product-stock-badge.is-sold-out,
.product-stock-badge.is-out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.product-body{
    padding:14px;
}

.product-title{
    font-weight:600;
    margin-bottom:4px;
}

.product-meta{
    font-size:12px;
    color:#94a3b8;
}

.product-price{
    margin-top:8px;
    font-weight:700;
    color:#111827;
}

.product-stock{
    margin-top:6px;
}

.stock.ok{
    font-size:12px;
    color:#16a34a;
}

.stock.bad{
    font-size:12px;
    color:#dc2626;
}

.product-actions{
    position:absolute;
    top:10px;
    right:10px;
}

.product-actions a{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
    color:#334155;
}

.empty-state{
    text-align:center;
    padding:60px;
    color:#94a3b8;
} .table-toolbar{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:15px;
      margin-bottom:15px;
  }

.search-box{
    display:flex;
    align-items:center;
    gap:10px;
    background:#f8fafc;
    padding:10px 14px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    width:320px;
}

.search-box input{
    border:none;
    outline:none;
    background:transparent;
    width:100%;
}

.filter-select{
    padding:10px 12px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    background:#fff;
}

.table-wrapper{
    overflow:auto;
}

.admin-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 10px;
}

.admin-table thead th{
    text-align:left;
    font-size:12px;
    text-transform:uppercase;
    color:#94a3b8;
    padding:10px 12px;
}

.admin-table tbody tr{
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
    border-radius:14px;
    transition:.2s;
}

.admin-table tbody tr:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.admin-table td{
    padding:14px 12px;
    vertical-align:middle;
}

.product-cell{
    display:flex;
    align-items:center;
    gap:12px;
}

.product-thumb{
    width:52px;
    height:52px;
    border-radius:12px;
    object-fit:cover;
    background:#f1f5f9;
}

.product-name{
    font-weight:600;
}

.product-sub{
    font-size:12px;
    color:#94a3b8;
}

.price{
    font-weight:600;
}

.price small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:12px;
    font-weight:400;
    line-height:1.25;
}

.price-sale{
    font-size:12px;
    color:#ef4444;
    text-decoration:line-through;
}

.stock{
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
}

.stock.in{
    background:#dcfce7;
    color:#166534;
}

.stock.out{
    background:#fee2e2;
    color:#991b1b;
}

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

.actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
}

.btn-icon{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#f1f5f9;
    color:#334155;
    transition:.2s;
}

.btn-icon:hover{
    background:#4f46e5;
    color:#fff;
}

.badge.warning{
    background:#fef3c7;
    color:#92400e;
}

.mono{
    font-family:monospace;
    font-size:13px;
}

.empty{
    text-align:center;
    padding:40px;
    color:#94a3b8;
}.filter-bar form{
     display:flex;
     gap:10px;
     flex-wrap:wrap;
     align-items:center;
 }

.filter-bar input,
.filter-bar select{
    padding:10px 12px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
    outline:none;
}

.table-card{
    padding:0;
    overflow:hidden;
}

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

.admin-table thead th{
    text-align:left;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#94a3b8;
    background:#f8fafc;
    padding:14px;
    position:sticky;
    top:0;
    z-index:1;
}

.admin-table tbody tr{
    border-bottom:1px solid #f1f5f9;
    transition:.15s;
}

.admin-table tbody tr:hover{
    background:#f9fafb;
}

.admin-table td{
    padding:14px;
    vertical-align:middle;
}

.product-cell{
    display:flex;
    align-items:center;
    gap:12px;
}

.thumb{
    width:46px;
    height:46px;
    border-radius:10px;
    object-fit:cover;
    background:#f1f5f9;
}

.name{
    font-weight:600;
}

.sub{
    font-size:12px;
    color:#94a3b8;
}

.price{
    font-weight:600;
}

.sale{
    font-size:12px;
    color:#ef4444;
    text-decoration:line-through;
}

.mono{
    font-family:monospace;
    font-size:13px;
}

.stock.ok{
    color:#16a34a;
    font-weight:600;
}

.stock.bad{
    color:#dc2626;
    font-weight:600;
}

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

.btn-icon{
    width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#f1f5f9;
    transition:.2s;
}

.btn-icon:hover{
    background:#4f46e5;
    color:#fff;
}

.empty{
    text-align:center;
    padding:40px;
    color:#94a3b8;
}
.header.scrolled{
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.header.scrolled .search-box svg{
    stroke: #ffffff;
}
.header.scrolled .menu a{
    color: #06298b;
}

.header.scrolled .icon-button{
    color:#06298b;
}

.header.search-open .menu{
    display:none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.benefit{
    animation: float 6s ease-in-out infinite;
}

.benefit:nth-child(2){ animation-delay: .5s; }
.benefit:nth-child(3){ animation-delay: 1s; }
.benefit:nth-child(4){ animation-delay: 1.5s; }

.header.scrolled .icons svg{
    stroke: #06298b;
}

.primary{
    background:#06298b;
    color:white;
}

.secondary{
    background:white;
    color:#06298b;
}

.cart-back{
    background:white;
    border:solid 1px  #06298b;
    color:#06298b;
}


.light{
    background:white;
    border:1px solid #ddd;
}

/* BENEFITS BAR */
.benefits-wrapper{
    position:relative;
    top:-85px;
}

.benefits{
    background:white;
    border-radius:16px;
    padding:35px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.benefit {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.benefit i {
    font-size: 34px;
    color: #06298b; /* můžeš změnit na brand barvu */
}
.benefit .line1 {
    color: #000;
}

.benefit .line2 {
    color: #06298b;
}

.benefit p {
    margin: 0;
    font-size: 16px;
    display: flex;
    gap: 2px;
    font-weight: 600;
    line-height: 1.2;
    text-align: start;
    flex-direction: column;
}


/* SECTION */
.section{
    padding:40px 0 80px;
}

.sub{
    color:#9aa7bd;
    text-align: center;
    font-size:12px;
    letter-spacing:2px;
}

.section h2{
    font-size:46px;
    text-align: center;
    margin:10px 0 30px;
}

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

.card{
    background:white;
    border-radius:18px;
    padding:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    cursor: pointer;
}

.card:hover span{
    transform:translateY(-5px);
}

.card .img{
    height:250px;
    border-radius:15px;
    margin-bottom:15px;
    background-size:cover;
}

/* images */

/* PROMO */
.promo{
    background:#0b2c66;
    color:white;
    border-radius:24px;
    margin:60px auto;
    padding:50px 0;
}

.promo-grid{
    background: #0b2c66;
    padding: 50px;
    border-radius: 24px;;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:30px;
    position: relative;
}

.white{color:white;}

.promo-img{
    max-width: 398px;
    border-radius: 0 24px 24px 0;
}
.text-aling-start{
    text-align: start !important;
}


/* RESPONSIVE */
@media(max-width:900px){

    .hero-grid,
    .promo-grid{
        grid-template-columns:1fr;
        padding: 15px;
    }
.nav{
    padding: 15px
}
    .cards{
        grid-template-columns:repeat(2,1fr);
    }

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

}
a{
    text-decoration: none;
    color: #06298b;
}
@media(max-width:600px){
    .promo-grid img{
        display: none;
    }

    .section {
        padding: 15px !important;
    }

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

    .benefits{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .menu{
        display:none;
    }
}

.instagram-section{
    margin:80px 0;
}

.instagram-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:20px;
    padding: 0 !important;
}

.instagram-card{
    background:#eef3fb;
    border-radius:24px;
    padding:40px;
}

.instagram-card h2{
    font-size:42px;
    margin-bottom:15px;
}

.instagram-card p{
    margin-bottom:20px;
}

.instagram-image{
    display:block;
    overflow:hidden;
    border-radius:24px;
    min-height:260px;
    background-size:cover;
    background-position:center;
    text-decoration:none;
}

.instagram-image img{
    display:block;
    width:100%;
    min-height:260px;
    height:100%;
    object-fit:cover;
}

.instagram-image:nth-child(2){
    background-image:url('../img/homepage/koření.png');
}

.instagram-image.oil{
    background-image:url('../img/homepage/olivy.png');
}

.instagram-image.santorini{
    background-image:url('../img/homepage/džemy.png');
}
.footer-items{
    display: flex;
    flex-direction: column;
    text-align: start;
}

.footer-items span{
    display:block;
    margin-bottom:10px;
    color:white;
    opacity:.85;
    line-height:1.55;
}
.footer{
    background:#0b2c66;
    color:white;
    border-radius:0;
    margin-top:100px;
    position: relative;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
    padding: 85px 0 !important;
}

.footer-brand img{
    max-width:180px;
    height:auto;
    margin-bottom:20px;
}

.footer h4{
    margin-bottom:20px;
    font-size:18px;
}

.footer a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:12px;
    opacity:.85;
    transition:.2s;
}

.footer a:hover{
    opacity:1;
}

.footer-socials{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-socials a{
    display:inline-flex;
    margin-bottom:0;
}

.footer-socials svg{
    width:22px;
    height:22px;
}

.footer-trust{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:0 0 28px !important;
}

.footer-trust > div:first-child{
    display:grid;
    gap:4px;
}

.footer-trust strong{
    color:white;
    font-size:16px;
}

.footer-trust span{
    color:rgba(255,255,255,.82);
    line-height:1.45;
}

.payment-badges{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.payment-badges span{
    min-height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:8px;
    background:rgba(255,255,255,.1);
    color:white;
    font-size:12px;
    font-weight:800;
    letter-spacing:0;
    white-space:nowrap;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
    padding:20px;
    text-align:center;
    font-size:14px;
}
/* TABLET */
@media (max-width: 992px) {

    /* PROMO */
    .promo-grid{
        grid-template-columns:1fr;
        text-align:center;
        padding:40px 30px;
    }

    .promo-img{
        max-width:100%;
        width:100%;
        border-radius:24px;
        margin:auto;
    }

    /* INSTAGRAM */
    .instagram-grid{
        grid-template-columns:1fr 1fr;
    }

    .instagram-card{
        grid-column:1/-1;
    }

    .instagram-card h2{
        font-size:34px;
    }

    /* FOOTER */
    .footer-grid{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    /* PROMO */
    .promo{
        margin:40px auto;
    }

    .promo-grid{
        padding:25px;
        gap:25px;
    }

    .promo-img{
        width:100%;
        max-width:none;
        padding: 15px;
        border-radius:20px;
    }

    .promo-grid h2{
        font-size:32px;
    }

    /* INSTAGRAM */
    .instagram-section{
        margin:50px 0;
    }

    .instagram-grid{
        grid-template-columns:1fr;
        padding: 0 15px;
    }

    .instagram-card{
        padding:30px;
    }

    .instagram-card h2{
        font-size:30px;
        line-height:1.1;
    }

    .instagram-image{
        min-height:220px;
    }

    .instagram-image img{
        min-height:220px;
    }

    /* FOOTER */
    .footer{
        margin-top:60px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
        gap:35px;
        padding:60px 0 !important;
    }

    .footer-brand{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .footer-brand img{
        margin:auto;
        margin-bottom:20px;
    }

    .footer-items{
        text-align:center;
    }

    .footer-socials{
        justify-content:center;
    }

    .footer-trust{
        align-items:stretch;
        flex-direction:column;
        text-align:center;
        padding:0 16px 28px !important;
    }

    .payment-badges{
        justify-content:center;
    }

    .footer-wave{
        top:-30px;
    }

    .footer-wave svg{
        height:40px;
    }
}

/* MALÉ TELEFONY */
@media (max-width: 480px) {

    .instagram-card{
        padding:25px;
    }

    .instagram-card h2{
        font-size:26px;
    }

    .promo-grid{
        padding:20px;
    }

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

    .footer-grid{
        gap:25px;
    }

    .footer h4{
        margin-bottom:12px;
    }

    .footer a{
        margin-bottom:8px;
    }
}



.search-box{
     display:none;
     align-items:center;
     gap:15px;
     width:100%;
     min-width:0;
 }

.search-box.active{
    display: flex;
    margin-right: 15px;
    align-items: center;
    justify-content: flex-end;
}

.search-submit,
.search-close{
    width:38px;
    height:38px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:#06298b;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
    flex:0 0 auto;
}

.search-submit:hover,
.search-close:hover{
    background:#eef3fb;
}

.search-box input{
    width:100%;
    max-width: 350px;
    padding:12px 18px;
    border:1px solid #ddd;
    border-radius:12px;
}
.search-box svg{
    stroke: #ffffff;
}

.search-box.active svg{
    stroke:#06298b;
}

.products-search-summary{
    color:#06298b;
    font-size:14px;
    font-weight:700;
}

/* Homepage responsive polish */
@media (max-width: 1100px) {
    .menu{
        gap:16px;
    }

    .menu a{
        font-size:14px;
    }
}

@media (max-width: 992px) {
    .header,
    .header.menu-open{
    }

    .nav{
        min-height:70px;
        padding:12px 0;
    }

    .header .menu a,
    .header .icon-button{
        color:#06298b;
    }

    .menu-toggle{
        display:inline-flex;
    }

    .menu{
        position:absolute;
        top:calc(100% + 10px);
        left:20px;
        right:20px;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        padding:10px;
        background:#ffffff;
        border:1px solid rgba(6,41,139,.08);
        border-radius:16px;
        box-shadow:0 18px 45px rgba(6,41,139,.16);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transform:translateY(-8px);
        transition:opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    .header.menu-open .menu{
        height: 550px;
        overflow-x: hidden;
        overflow-y: auto;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateY(0);
    }

    .menu a{
        width:100%;
        padding:13px 14px;
        border-radius:12px;
        font-size:14px;
    }

    .menu > a.is-active::after,
    .menu-dropdown-link.is-active::after{
        left:14px;
        right:auto;
        bottom:7px;
        width:42px;
    }

    .menu a:hover{
        color:#06298b;
        background:#eef3fb;
    }

    .header.search-open .menu{
        opacity:0;
        visibility:hidden;
        pointer-events:none;
    }

    .search-box.active{
        position:absolute;
        top:calc(100% + 10px);
        left:20px;
        right:20px;
        width:auto;
        margin:0;
        padding:12px;
        background:#ffffff;
        border:1px solid rgba(6,41,139,.08);
        border-radius:16px;
        box-shadow:0 18px 45px rgba(6,41,139,.16);
        z-index:2;
    }

    .search-box input{
        max-width:none;
    }

    .hero{
        min-height:760px;
        padding:128px 0 90px;
        background-position:center top;
    }

    .hero::before{
        background:linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,.08));
    }

    .hero-grid{
        grid-template-columns:1fr;
        gap:24px;
        align-content:center;
        padding:0;
    }

    .hero-text{
        max-width:560px;
        gap:16px;
    }

    .hero h1{
        font-size:52px;
        line-height:.95;
    }

    .hero p{
        max-width:430px;
        line-height:1.6;
        margin-bottom:10px;
    }

    .benefits-wrapper{
        top:-60px;
    }

    .benefits{
        padding:24px;
        gap:10px;
        box-shadow:0 18px 45px rgba(6,41,139,.12);
    }

    .benefit{
        min-width:calc(50% - 10px);
        padding:14px;
    }

    .cards{
        gap:16px;
    }

    .card .img{
        height:auto;
        aspect-ratio:4 / 3;
        background-position:center;
    }

    .promo-grid{
        overflow:hidden;
    }
}

@media (max-width: 768px) {
    .container{
        padding:0 16px;
    }

    .logo{
        max-width:110px;
        flex-basis:110px;
    }

    .icons{
        gap:6px;
    }

    .icon-button{
        width:36px;
        height:36px;
        background:rgba(6,41,139,.06);
    }

    .hero{
        min-height:700px;
        padding:118px 0 76px;
    }

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

    .hero p{
        font-size:15px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
        align-items:stretch;
        max-width:320px;
    }

    .btn{
        min-height:52px;
        justify-content:center;
        padding:14px 18px;
    }

    .section{
        padding: 15px !important;
    }

    .section h2{
        font-size:34px;
        line-height:1.05;
    }

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

    .benefits{
        flex-direction:column;
        align-items:stretch;
        padding:18px;
        border-radius:14px;
    }

    .benefit{
        min-width:0;
        width:100%;
        padding:12px;
        gap:14px;
    }

    .benefit p{
        font-size:15px;
    }

    .promo-grid{
        padding:28px 22px;
        border-radius:18px;
    }
}

@media (max-width: 560px) {
    .menu,
    .search-box.active{
        left:16px;
        right:16px;
    }

    .hero{
        min-height:660px;
        padding-top:110px;
    }

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

    .hero-text small{
        letter-spacing:1.4px;
    }

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

    .card{
        border-radius:14px;
        padding:12px;
    }

    .card .img{
        border-radius:12px;
    }

    .promo-grid h2{
        font-size:30px;
    }
}

@media (max-width: 390px) {
    .logo{
        max-width:96px;
        flex-basis:96px;
    }

    .icon-button{
        width:34px;
        height:34px;
    }

    .icon-button svg{
        width:20px;
        height:20px;
    }

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


.header-categories {
    padding: 10px;
    background: #06298b;
    border-radius: 1rem;
}

.menu-cat{
    padding: 10px;
    background: #06298b;
    border-radius: 1rem;
    color: white;
}

.product-card {
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    transition: .25s ease;
}

.favorite-btn:hover {
    transform: scale(1.08);
}

.favorite-btn.active {
    background: #c0392b;
    color: #ffffff;
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
}

.favorite-btn.active svg {
    fill: currentColor;
}

.categories-list {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    padding: 8px 14px;
    border-radius: 50px;
    background: #f8f8f8;
    text-decoration: none;
    color: #222;
    transition: all .25s ease;
}

.category-item:hover {
    background: #e9e9e9;
    transform: translateY(-2px);
}

.category-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-item span {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Mobil */
@media (max-width: 768px) {
    .categories-list {
        gap: 8px;
        padding: 10px 0;
    }

    .category-item {
        padding: 6px 12px;
    }

    .category-image {
        width: 30px;
        height: 30px;
    }

    .category-item span {
        font-size: 13px;
    }
}


.categorySwiper {
    padding: 20px 0 60px;
}

.categorySwiper .swiper-slide {
    height: auto;
}

.categorySwiper .card {
    display: block;
    height: 100%;
}

.categorySwiper .img {
    height: 325px;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 1rem;
    background-position: center;
}

@media (max-width: 768px) {
    .categorySwiper .img {
        height: 220px;
        background-size: contain;
    }
}

.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev {
    color: #06298b;
}

.categorySwiper .swiper-pagination {
    bottom: 0;
}


.floating-menu {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-item {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #ffffff;
    color: #222;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 12px 35px rgba(0,0,0,.12),
        0 2px 8px rgba(0,0,0,.06);

    transition: .3s ease;
}

.floating-item:hover {
    width: 220px;
    justify-content: flex-start;
    padding-left: 22px;
}

.floating-item:hover .floating-label {
    opacity: 1;
    transform: translateX(0);
}

.floating-item svg {
    width: 24px;
    height: 24px;
}

.floating-label {
    position: absolute;
    left: 70px;
    white-space: nowrap;

    opacity: 0;
    transform: translateX(10px);

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

    transition: .3s ease;
}

.floating-item:hover svg {
    color: #c0392b;
}

.floating-item-gold:hover svg {
    color: #d4a017;
}

.floating-badge {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #c0392b;
    color: #fff;

    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 768px) {

    .floating-menu {
        right: 12px;
        bottom: 90px;
        top: auto;
        transform: none;
    }

    .floating-item {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .floating-item:hover {
        width: 54px;
        padding-left: 0;
    }

    .floating-label {
        display: none;
    }
}


.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    text-decoration: none;
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-dropdown-link svg {
    width: 16px;
    height: 16px;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 150%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    padding-top: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s ease;
    z-index: 1000;
}

.menu-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .16);
}

.mega-category {
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 12px;
    border-radius: 18px;
    background: #fafafa;
    color: #222 !important;
    transition: .25s ease;
}

.mega-category:hover {
    background: #fff3ea;
    transform: translateY(-3px);
}

.mega-category-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    flex-shrink: 0;
}

.mega-category h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.mega-category span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c0392b;
    font-size: 13px;
    font-weight: 700;
}

.mega-category span svg {
    width: 14px;
    height: 14px;
}

/* aby dropdown nezmizel mezi odkazem a boxem */
.menu-dropdown::after {
    content: "";
    position: absolute;
    left: -30px;
    right: -30px;
    top: 100%;
    height: 36px;
}

/* mobil */
@media (max-width: 900px) {
    .menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .menu-dropdown {
        width: 100%;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        padding-top: 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .menu-dropdown:hover .mega-menu {
        transform: none;
    }

    .menu-dropdown:hover .mega-menu,
    .menu-dropdown:focus-within .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 18px;
        box-shadow: none;
    }

    .mega-category {
        min-height: 74px;
    }

    .mega-category-img {
        width: 56px;
        height: 56px;
    }
}
