/* Modern értesítési rendszer */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 500px;
}

.notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
    min-width: 350px;
    max-width: 480px;
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.notification.error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #ffe8e8 100%);
}

.notification.info {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
}

.notification-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #2c3e50;
}

.notification-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.notification-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
}

.notification-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    width: 100%;
    transition: width 0.1s linear;
}

.notification.error .notification-progress-bar {
    background: linear-gradient(90deg, #dc3545, #e74c3c);
}

.notification.info .notification-progress-bar {
    background: linear-gradient(90deg, #17a2b8, #3498db);
}

/* Mobil reszponzivitás */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 14px 16px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-message {
        font-size: 12px;
    }
}

/* Animációk */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.slide-in {
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.slide-out {
    animation: slideOut 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Header styles */
#top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-links li {
    padding: 0 10px;
}

.pull-left {
    justify-content: flex-start;
}

.pull-right {
    justify-content: flex-end;
}

@media only screen and (max-width: 1201px) {
    .container{
        width: auto !important;
    }
}

@media only screen and (min-width: 1170px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 91px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1170px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 90px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1158px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 88px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1146px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 87px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1134px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 86px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1122px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 85px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1110px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 84px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1098px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 83px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1086px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 82px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1074px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 81px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1062px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 80px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1050px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 79px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1038px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 78px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1026px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 77px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1014px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 76px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1002px) {
    .header-ctn > div > a {
        display: block !important;
        position: relative !important;
        width: 75px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 991px){
    .header-ctn {
        padding: 15px 0px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .header-ctn>div+div{
        margin-left: -15px !important;
        margin-right: -20px !important;
    }
}

/* Lapozó stílusok */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: block;
    padding: 10px 15px;
    background-color: #f4f4f4;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .active a {
    background-color: #007bff;
    color: white;
}

.pagination .disabled a {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* Logo styles */
.header-logo {
    text-align: center;
}

.header-logo .logo {
    display: inline-block;
}

.responsive-logo {
    width: 250px;
    height: 75px;
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .responsive-logo {
        width: 500px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .responsive-logo {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .responsive-logo {
        width: 300px;
        height: auto;
    }
}

/* Search bar styles */
#search-bar .header-search form {
    display: flex;
    width: 100%;
}

#search-bar .input {
    flex-grow: 1;
    max-width: 450px;
    width: 100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.search-btn {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

@media (max-width: 991px) {
    #search-bar .input {
        max-width: 100%;
    }
}

#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;
}

/* Modern Multi-Level Category Menu - Enhanced Responsive Design */
.mega-dropdown {
    position: relative;
    display: inline-block;
}

.mega-dropdown-content {
    display: none;
    position: absolute;
    top: 95%;
    left: -200px;
    background: #fff;
    min-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    padding: 5px 0 0 0;
    margin-top: 0;
    border: 1px solid #e1e5e9;
    overflow: hidden;
    max-height: 80vh;
    overflow-y: auto;
}

.mega-dropdown:hover .mega-dropdown-content {
    display: flex;
}

/* Remove hover effect on touch devices */
@media (hover: none) {
    .mega-dropdown:hover .mega-dropdown-content {
        display: none;
    }
    
    .mega-dropdown > a {
        cursor: pointer;
        position: relative;
    }
    
    .mega-dropdown > a::after {
        content: ' ▼';
        font-size: 12px;
        color: #007bff;
        margin-left: 5px;
    }
    
    .mega-dropdown > a.active::after {
        content: ' ▲';
    }
}

.category-menu {
    display: flex;
    width: 100%;
    min-height: 300px;
}

.main-categories {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #e1e5e9;
    overflow-y: auto;
    max-height: 400px;
}

.main-category-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e1e5e9;
    position: relative;
    font-weight: 500;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.main-category-item:hover {
    background: #fff;
    color: #007bff;
    transform: translateX(5px);
}

.main-category-item.active {
    background: #fff;
    color: #007bff;
    border-right: 3px solid #007bff;
}

.main-category-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.sub-categories {
    flex: 1;
    padding: 20px;
    background: #fff;
    display: none;
    overflow-y: auto;
    max-height: 400px;
}

.sub-categories.active {
    display: block;
}

.sub-category-section {
    margin-bottom: 25px;
}

.sub-category-title {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.sub-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.sub-category-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 13px;
    border: 1px solid transparent;
}

.sub-category-link:hover {
    background: #f8f9fa;
    color: #007bff;
    transform: translateX(3px);
    border-color: #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .mega-dropdown-content {
        min-width: 500px;
        left: -100px;
        top: 100%;
    }
    
    .category-menu {
        flex-direction: column;
        min-height: 250px;
    }
    
    .main-categories {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e1e5e9;
        max-height: 200px;
    }
    
    .main-category-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .sub-categories {
        padding: 15px;
        max-height: 300px;
    }
    
    .sub-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .sub-category-link {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Mobil kategória menü stílusok */
.mobile-categories-menu {
    display: none;
}

/* Asztali képernyőméreten mindig rejtve */
@media (min-width: 992px) {
    .mobile-categories-menu {
        display: none !important;
    }
}

.mobile-categories-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    color: #FFF;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
    background-color: #15161D;
}

.mobile-categories-toggle:hover {
    background-color: #333;
    color: #FFF;
    text-decoration: none;
}

.mobile-categories-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-categories-menu.active .mobile-categories-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-categories-dropdown {
    display: none;
    background: #15161D;
    border-top: 1px solid #333;
}

.mobile-categories-menu.active .mobile-categories-dropdown {
    display: block;
}

.mobile-category-item {
    border-bottom: 1px solid #333;
}

.mobile-category-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: #FFF;
    text-decoration: none;
    background: #15161D;
    transition: background-color 0.3s ease;
}

.mobile-category-item > a:hover {
    background: #333;
    color: #FFF;
    text-decoration: none;
}

.mobile-category-item > a i:first-child {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.mobile-category-item > a i.fa-chevron-right {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-category-item.active > a i.fa-chevron-right {
    transform: rotate(90deg);
}

.mobile-subcategories {
    display: none;
    background: #1a1a1a;
    border-top: 1px solid #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-category-item.active .mobile-subcategories {
    display: block;
    max-height: 500px;
}

.mobile-subcategories li {
    border-bottom: 1px solid #333;
}

.mobile-subcategories li:last-child {
    border-bottom: none;
}

.mobile-subcategories a {
    display: flex;
    align-items: center;
    padding: 10px 15px 10px 40px;
    color: #CCC;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-subcategories a:hover {
    background: #333;
    color: #FFF;
    text-decoration: none;
}

.mobile-subcategories a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* Mobil kategória menü finomhangolások */
@media (max-width: 991px) {
    .mobile-categories-menu {
        border-top: 1px solid #333;
    }
    
    .mobile-categories-toggle {
        font-weight: 600;
        font-size: 16px;
    }
    
    .mobile-category-item > a {
        font-size: 15px;
    }
    
    .mobile-subcategories a {
        font-size: 14px;
        padding: 12px 15px 12px 45px;
    }
}

@media (max-width: 768px) {
    .mobile-categories-toggle {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .mobile-category-item > a {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .mobile-subcategories a {
        font-size: 13px;
        padding: 10px 15px 10px 40px;
    }
}

@media (max-width: 991px) {
    /* Asztali kategória menü elrejtése mobil eszközökön */
    .mega-dropdown {
        display: none !important;
    }
    
    /* Mobil kategória menü megjelenítése csak mobil eszközökön */
    .mobile-categories-menu {
        display: block !important;
    }
    
    .mega-dropdown-content {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        min-width: 100%;
        max-width: 100%;
        border-radius: 0;
        z-index: 9999;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: #fff;
    }
    
    .category-menu {
        flex-direction: column;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }
    
    .main-categories {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #e1e5e9;
        max-height: 40vh;
        overflow-y: auto;
        background: #f8f9fa;
    }
    
    .main-category-item {
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 1px solid #e1e5e9;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .main-category-item::after {
        content: '▶';
        font-size: 12px;
        color: #007bff;
        transition: transform 0.3s ease;
    }
    
    .main-category-item.active::after {
        content: '▼';
        transform: rotate(0deg);
    }
    
    .main-category-item i {
        font-size: 16px;
        margin-right: 12px;
    }
    
    .sub-categories {
        flex: 1;
        padding: 20px;
        max-height: 60vh;
        overflow-y: auto;
        background: #fff;
    }
    
    .sub-category-section {
        margin-bottom: 30px;
    }
    
    .sub-category-title {
        font-size: 16px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 3px solid #007bff;
    }
    
    .sub-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .sub-category-link {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 10px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        text-align: center;
        justify-content: center;
    }
    
    .sub-category-link:hover {
        background: #007bff;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    }
    
    .category-icon {
        font-size: 16px;
        margin-right: 8px;
    }
    
    /* Mobile close button */
    .mega-dropdown-content::before {
        content: '✕';
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        z-index: 10000;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 50%;
        border: 1px solid #e9ecef;
    }
    
    .mega-dropdown-content::before:hover {
        background: #e9ecef;
        color: #333;
    }
}

@media (max-width: 768px) {
    .mega-dropdown-content {
        top: 0;
    }
    
    .main-categories {
        max-height: 35vh;
    }
    
    .main-category-item {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .sub-categories {
        max-height: 65vh;
        padding: 16px;
    }
    
    .sub-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .sub-category-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .sub-category-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {
    .main-categories {
        max-height: 30vh;
    }
    
    .main-category-item {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .main-category-item i {
        font-size: 14px;
        margin-right: 10px;
    }
    
    .sub-categories {
        max-height: 70vh;
        padding: 14px;
    }
    
    .sub-category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .sub-category-link {
        padding: 12px 14px;
        font-size: 14px;
        justify-content: flex-start;
    }
    
    .sub-category-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .main-categories {
        max-height: 25vh;
    }
    
    .main-category-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .sub-categories {
        max-height: 75vh;
        padding: 12px;
    }
    
    .sub-category-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .sub-category-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .mega-dropdown-content::before {
        top: 10px;
        right: 15px;
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 991px) and (orientation: landscape) {
    .main-categories {
        max-height: 25vh;
    }
    
    .sub-categories {
        max-height: 75vh;
    }
}

/* Smooth animations for mobile */
@media (max-width: 991px) {
    .mega-dropdown-content {
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(-20px);
    }
    
    .mega-dropdown-content.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .sub-categories {
        transition: opacity 0.3s ease;
    }
    
    .sub-categories.active {
        opacity: 1;
    }
}

/* Product styles */
.price-filter, .platform-filter, .type-filter {
    margin-bottom: 20px;
}

#productContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 0;
}

.product {
    flex: 0 0 calc(30% - 20px);
    box-sizing: border-box;
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(240, 240, 240, 0.8);
    z-index: 1;
    min-height: 520px;
}

.product:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.product-img {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.product-img img {
    height: 85%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.product:hover .product-img img {
    transform: scale(1.08);
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px 25px;
    background: #fff;
    position: relative;
    border-radius: 0 0 20px 20px;
    transition: border-radius 0.3s ease;
}

.product-category {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.8;
}

.product-name {
    word-wrap: break-word;
    white-space: normal;
    margin-bottom: 12px;
}

.product-name a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.product-name a:hover {
    color: #667eea;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.product-price::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.product-old-price {
    font-size: 14px;
    color: #adb5bd;
    margin-left: 10px;
    position: relative;
}

.product-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.add-to-wishlist, .quick-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 5;
}

.add-to-wishlist i, .quick-view i {
    font-size: 16px;
    color: white !important;
}

.add-to-wishlist:hover, .quick-view:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.add-to-cart {
    padding: 0 20px 20px;
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 15;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(240, 240, 240, 0.8);
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    display: block !important;
    z-index: 10;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    cursor: not-allowed;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.2);
}

.add-to-cart-btn i {
    margin-right: 8px;
    font-size: 14px;
}

/* Tooltip stílusok */
.tooltipp {
    visibility: hidden;
    width: auto;
    min-width: 180px;
    max-width: 220px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 15px;
    position: absolute;
    z-index: 1000;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.tooltipp::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.add-to-wishlist:hover .tooltipp,
.quick-view:hover .tooltipp {
    visibility: visible;
    opacity: 1;
    bottom: 65px;
}

/* Modernebb kiegészítők */
.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.product:hover::before {
    transform: scaleX(1);
}

@media (max-width: 992px) {
    .product {
        flex: 0 0 calc(45% - 20px);
    }
    
    .add-to-cart-btn {
        padding: 12px 18px;
        font-size: 13px;
    }
}

/* Alapértelmezett kosár gomb stílus */
.add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: all 0.4s ease;
}

@media (min-width: 769px) {
    /* Desktop hover effekt - gomb a termék alatt jelenik meg */
    .product .add-to-cart {
        opacity: 0;
        bottom: -80px;
        pointer-events: none;
    }
    
    .product:hover .add-to-cart {
        opacity: 1;
        bottom: -1px;
        pointer-events: auto;
    }
    
    .product:hover .add-to-cart-btn {
        box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
    }
    
    /* Hover-re eltávolítjuk a product-body lekerekítést */
    .product:hover .product-body {
        border-radius: 0 0 0 0;
    }
}

@media (max-width: 768px) {
    .product {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    #productContainer {
        gap: 20px;
    }
    
    .product-img {
        height: 240px;
    }
    
    /* Mobilon narancssárga kosár gomb - mindig látható */
    .product .add-to-cart {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        position: relative !important;
        bottom: auto !important;
        padding: 0 20px 20px !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
        border-top: none !important;
    }
    
    /* Mobilon a product-body megtartja a lekerekítést */
    .product .product-body {
        border-radius: 0 0 20px 20px !important;
    }
    
    .product .add-to-cart-btn {
        background: linear-gradient(135deg, #fd7e14 0%, #e83e8c 100%) !important;
        box-shadow: 0 6px 20px rgba(253, 126, 20, 0.3) !important;
        color: white !important;
        display: block !important;
    }
    
    .product .add-to-cart-btn:hover {
        box-shadow: 0 12px 30px rgba(253, 126, 20, 0.4) !important;
        transform: translateY(-2px) !important;
    }
}

@media (max-width: 480px) {
    .product-img {
        height: 220px;
    }
    
    .product-body {
        padding: 20px 15px 15px;
    }
    
    .add-to-cart {
        padding: 0 15px 15px;
    }
    
    .product-btns {
        margin-bottom: 12px;
    }
}

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

@media only screen and (max-width: 991px) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }
    
    .header-ctn .dropdown .qty {
        display: none !important;
    }
    .header-ctn .dropdown .fa-shopping-cart + span {
        display: none !important;
    }
    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }
    
    .header-ctn .dropdown .qty {
        display: none !important;
    }
    .header-ctn .dropdown .fa-shopping-cart + span {
        display: none !important;
    }
    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

@media only screen and (max-width: 480px) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }
    
    .header-ctn .dropdown .qty {
        display: none !important;
    }
    .header-ctn .dropdown .fa-shopping-cart + span {
        display: none !important;
    }
    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

/* Rainbow text animation */
.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%; }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.icon-container {
    margin-bottom: 20px;
}

.modal-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

#modalMessage {
    color: #34495e;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.btn-secondary:hover {
    background-color: #e9ecef;
}

.btn-primary {
    background-color: #28a745;
    color: white;
}

.btn-primary:hover {
    background-color: #218838;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 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;
} 