/* Extracted from src/pages/termek.php */

/* Header layout and responsive 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 { width: 88px !important; } }
@media only screen and (max-width: 1146px) { .header-ctn > div > a { width: 87px !important; } }
@media only screen and (max-width: 1134px) { .header-ctn > div > a { width: 86px !important; } }
@media only screen and (max-width: 1122px) { .header-ctn > div > a { width: 85px !important; } }
@media only screen and (max-width: 1110px) { .header-ctn > div > a { width: 84px !important; } }
@media only screen and (max-width: 1098px) { .header-ctn > div > a { width: 83px !important; } }
@media only screen and (max-width: 1086px) { .header-ctn > div > a { width: 82px !important; } }
@media only screen and (max-width: 1074px) { .header-ctn > div > a { width: 81px !important; } }
@media only screen and (max-width: 1062px) { .header-ctn > div > a { width: 80px !important; } }
@media only screen and (max-width: 1050px) { .header-ctn > div > a { width: 79px !important; } }
@media only screen and (max-width: 1038px) { .header-ctn > div > a { width: 78px !important; } }
@media only screen and (max-width: 1026px) { .header-ctn > div > a { width: 77px !important; } }
@media only screen and (max-width: 1014px) { .header-ctn > div > a { width: 76px !important; } }
@media only screen and (max-width: 1002px) { .header-ctn > div > a { width: 75px !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; } }

/* Logo */
.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 */
#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 */
.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 mega menu and responsive */
.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; }
@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; }
@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; } }
/* Mobile categories menu */
.mobile-categories-menu { display: none; }
@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; }
@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) { .mega-dropdown { display: none !important; } .mobile-categories-menu { display: block !important; } }

/* Responsive nav cart visibility */
@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 link */
.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 details modern styles */
.modern-product-details { padding: 20px; background: #fff; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); margin-top: 15px; }
.product-title-section { margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.product-title { font-size: 24px; font-weight: 700; color: #2c3e50; margin: 0 0 8px 0; line-height: 1.3; }
.product-rating { display: flex; align-items: center; gap: 8px; }
.rating-stars { color: #ffa500; font-size: 18px; }
.rating-count { color: #7f8c8d; font-size: 14px; }
.product-info-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.info-card { display: flex; align-items: center; padding: 12px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 10px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.info-icon { font-size: 24px; margin-right: 15px; width: 40px; text-align: center; }
.info-content { display: flex; flex-direction: column; }
.info-label { font-size: 12px; color: #7f8c8d; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.info-value { font-size: 16px; color: #2c3e50; font-weight: 600; margin-top: 2px; }
.tooltip-trigger { position: relative; cursor: help; display: inline-flex; align-items: center; gap: 5px; }
.tooltip-icon { font-size: 12px; color: #3498db; opacity: 0.7; transition: opacity 0.2s ease; }
.tooltip-trigger:hover .tooltip-icon { opacity: 1; }
.tooltip-trigger::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.95); color: white; padding: 12px 16px; border-radius: 10px; font-size: 12px; font-weight: 500; white-space: normal; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; max-width: 220px; min-width: 180px; text-align: center; line-height: 1.4; word-wrap: break-word; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); }
.tooltip-trigger::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(0, 0, 0, 0.9); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; }
.tooltip-trigger:hover::after, .tooltip-trigger:hover::before { opacity: 1; visibility: visible; bottom: calc(100% + 8px); }
@media (hover: none) { .tooltip-trigger:active::after, .tooltip-trigger:active::before { opacity: 1; visibility: visible; bottom: calc(100% + 8px); } }
.category-link { color: #3498db !important; text-decoration: none; transition: color 0.2s ease; }
.category-link:hover { color: #2980b9 !important; }
.price-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; border-radius: 12px; margin-bottom: 20px; color: white; position: relative; overflow: hidden; }
.price-section::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; }
.price-container { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.price-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-secondary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.current-price { font-size: 28px; font-weight: 800; color: #fff; }
.original-price { font-size: 18px; text-decoration: line-through; color: rgba(255,255,255,0.7); }
.discount-badge { background: #e74c3c; color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.price-info { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.vat-info { font-size: 12px; color: rgba(255,255,255,0.8); }
.availability-status { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
.availability-status.in-stock { color: #2ecc71; }
.availability-status.out-of-stock { color: #e74c3c; }
.purchase-section { margin-bottom: 20px; }
.quantity-selector { margin-bottom: 15px; }
.quantity-label { display: block; font-size: 13px; font-weight: 600; color: #2c3e50; margin-bottom: 8px; }
.qty-limit { color: #7f8c8d; font-weight: 400; font-size: 11px; }
.quantity-controls { display: flex; align-items: center; width: fit-content; border: 2px solid #e9ecef; border-radius: 12px; overflow: hidden; }
.qty-btn { background: #f8f9fa; border: none; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #495057; cursor: pointer; transition: all 0.2s ease; }
.qty-btn:hover { background: #e9ecef; color: #2c3e50; }
.qty-input { border: none; width: 60px; height: 45px; text-align: center; font-size: 16px; font-weight: 600; color: #2c3e50; background: white; }
.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-add-to-cart, .btn-buy-now { flex: 1; min-width: 120px; padding: 12px 16px; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.btn-add-to-cart { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: white; }
.btn-add-to-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3); }
.btn-buy-now { background: linear-gradient(135deg, #fd7e14 0%, #e83e8c 100%); color: white; }
.btn-buy-now:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(253, 126, 20, 0.3); }
.services-section { padding-top: 15px; border-top: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 10px; }
.service-item { display: flex; align-items: center; gap: 12px; color: #6c757d; font-size: 14px; }
.service-item i { color: #28a745; font-size: 16px; width: 20px; }
@media (max-width: 768px) { .modern-product-details { padding: 15px; margin-top: 10px; } .product-title { font-size: 22px; } .current-price { font-size: 24px; } .action-buttons { flex-direction: column; } .btn-add-to-cart, .btn-buy-now { min-width: 100%; padding: 14px 16px; } .price-container { flex-direction: column; align-items: flex-start; gap: 6px; } .price-main { flex-direction: column; align-items: flex-start; gap: 4px; } .price-secondary { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 6px; } .info-card { padding: 10px; } .price-section { padding: 15px; } }

/* Footer payment logos */
.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; }

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

/* Product images extracted from inline styles */
#product-main-img .product-preview img { max-width: 100%; max-height: 480px; margin: 0 auto 15px auto; display: block; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
#product-imgs .product-preview img { max-width: 100%; max-height: 120px; margin: 0 auto 8px auto; display: block; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }

/* Image disclaimer extracted from inline styles */
.image-disclaimer { margin: 15px 0; text-align: center; }
.image-disclaimer p { font-size: 12px; color: #6c757d; margin: 0; padding: 10px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #007bff; }

/* Search results default hidden */
#search-results { display: none; }

/* Language dropdown specific padding */
.header-ctn .dropdown-menu { padding: 7px; } 