/* Header stílusok már a header.css-ben vannak definiálva */

/* Search results styles */
#search-results {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000; 
    position: absolute;
    top: 100%; 
    left: 0;
}

/* Dropdown menu styles */
.dropdown-menu {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    border: none;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f8f8;
}

.balance {
    font-weight: bold;
}

/* Navigation dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive cart styles */
@media only screen and (min-width: 991px) {
    #responsive-nav .cart-menu-item {
        display: none !important;
    }
}

/* Header cart visibility styles - már a header.css-ben vannak definiálva */

/* Rainbow text styles */
.rainbow-text a {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-animation 10s linear infinite;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Product styles */
.product-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 20px;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    object-fit: contain;
}

.product-img img.fade {
    opacity: 0;
}

/* Card styles */
.card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 275px;
    width: 100%;
}

@media only screen and (width: 1920px) {
    .card {
        display: flex;
        margin-bottom: 20px !important;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 991px) {
    .card {
        display: flex;
        margin-bottom: 20px !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: auto;
        margin: 0 auto;
    }

    .card-body,
    .card-title,
    .card-text {
        justify-content: center;
        align-items: center;
        margin: 0;
        text-align: center;
    }
}

.card-body {
    padding: 20px;
}

.card-title {
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    color: gray;
    font-size: 14px;
}

/* Hover card styles */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    margin: 0 auto;
}

/* Footer payment styles */
.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px;
}

.footer-payments li a img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Trustpilot widget styles */
.trustpilot-widget-container {
    position: fixed;
    bottom: -8px;
    left: 20px;
    z-index: 1000;
    padding: 10px;
}

/* Kategória menü CSS már a category_menu.css-ben van definiálva */

/* ============================================
   PRODUCT WIDGET STYLES (Főoldal szekciók)
   Legtöbbet eladott / Napi akciók / Heti akciók
   ============================================ */
.product-widget {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.product-widget:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px) !important;
}

.product-widget + .product-widget {
    margin-top: 15px !important;
}

.product-widget .product-img {
    position: relative !important;
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.product-widget .product-img > img {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    padding: 5px !important;
}

.product-widget .product-body {
    flex: 1 !important;
    padding-left: 0 !important;
    min-height: auto !important;
}

.product-widget .product-body .product-category {
    font-size: 11px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

.product-widget .product-body .product-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.product-widget .product-body .product-name a {
    color: #2B2D42 !important;
    text-decoration: none !important;
}

.product-widget .product-body .product-name a:hover {
    color: #D10024 !important;
}

.product-widget .product-body .product-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #D10024 !important;
}

.product-widget .product-body .product-price .euro-price {
    display: block !important;
    font-size: 13px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
}
