.footer-extended {
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.footer-extended .container { padding: 40px 20px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .sell { color: #dc3545; }
.footer-logo .wise { color: #28a745; }

.footer-contact .contact-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact a { color: #333; text-decoration: none; }
.footer-contact i { color: #007bff; }

.footer-social { display: flex; gap: 14px; margin-top: 12px; }
.social-btn {
    width: 44px; height: 44px; border: 1px solid #e9ecef; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0d6efd; background: #fff; text-decoration: none;
}
.social-btn:hover { background: #f8f9fa; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { margin: 0 0 8px 0; font-size: 18px; color: #333; }
.footer-links a { color: #0d6efd; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-copy { text-align: center; color: #666; font-size: 14px; margin-top: 24px; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-extended .container { padding: 28px 16px; }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Убираем только фон у подписи */
.region-title {
    background: transparent !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 60px;
}
.faq-hero {
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('image/faq-hero.jpg') center/cover no-repeat;
    color: #fff;
    padding: 60px 0;
    border-radius: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.faq-hero h2 { font-size: 44px; font-weight: 800; margin: 0 0 8px; }
.faq-hero p { margin: 0; opacity: .9; }

.faq-list {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-list .faq-item { border-bottom: 1px solid #e3e7ee; }
.faq-list .faq-item:last-child { border-bottom: none; }

.faq-list .faq-question {
    padding: 20px 24px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0b2559;
    font-weight: 600;
}

.faq-list .faq-question i { color: #0b2559; transition: transform .2s ease; }

.faq-list .faq-answer { padding: 20px 24px; }
.faq-list .faq-answer p { 
    color: #475569; 
    margin: 0 0 12px 0;
    line-height: 1.6;
}
.faq-list .faq-answer p:first-child { margin-top: 0; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }
.faq-list .faq-answer div {
    color: #475569;
}
.faq-list .faq-answer div p {
    color: #475569;
    margin: 0 0 12px 0;
    line-height: 1.6;
}
.faq-list .faq-answer div p:first-child { margin-top: 0; }
.faq-list .faq-answer div p:last-child { margin-bottom: 0; }
.faq-list .faq-answer strong { color: #0b2559; font-weight: 600; }

.faq-kb-title { font-size: 28px; font-weight: 700; color: #0b2559; margin: 24px 0; }


.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.language-switch {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.language-switch a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.language-switch .lang-divider {
    color: #c0c4cc;
    font-size: 14px;
    line-height: 1;
}

.language-switch a.active {
    color: #007bff;
    font-weight: bold;
}

.header-main {
    padding: 15px 0;
}

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

.header-content .logo {
    flex-shrink: 0;
}

.header-content .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
}

.header-content .header-actions {
    flex-shrink: 0;
    margin-left: auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    text-decoration: none;
}

.logo .sell {
    color: #dc3545 !important;
}

.logo .wise {
    color: #28a745 !important;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #007bff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section h4 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 14px;
}

.dropdown-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-section a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.dropdown-section a:hover {
    color: #007bff;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Normalize header icons (search and cart) to consistent size and color */
/* revert to previous minimal header action styling; icon specifics handled by defaults */

.search-trigger {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.search-trigger:hover { background: transparent !important; }
.search-trigger i { color: #007bff; font-size: 20px; }

/* Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.search-overlay.open { display: flex; }

.search-modal {
    width: min(960px, 96%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.search-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.search-modal-body { padding: 20px 24px 28px; }

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: #f8f9fa;
}

.cart-icon i {
    font-size: 20px;
    color: #007bff;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.login-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 100%; /* Занимает всю ширину auth-section */
    max-width: 100px;
    text-align: center;
    box-sizing: border-box;
}

.login-btn:hover {
    background: #0056b3;
}

.google-signin-wrapper {
    width: 100%;
}

.google-signin-placeholder {
    min-height: 48px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-signin-hint {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.google-warning {
    font-size: 14px;
    color: #dc3545;
    text-align: center;
    padding: 8px 0;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    min-width: 100px; /* Минимальная ширина для кнопки "Войти" */
    flex-shrink: 0; /* Не сжимается */
    justify-content: flex-end; /* Выравнивание содержимого вправо */
    overflow: visible; /* Разрешаем dropdown выходить за границы */
}

#userInfo {
    display: none;
}

.user-profile-dropdown {
    position: relative;
    display: block !important;
    width: auto; /* Ширина по содержимому */
    overflow: visible; /* Разрешаем dropdown выходить за границы */
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    box-sizing: border-box;
    justify-content: center;
    width: auto; /* Ширина по содержимому */
    min-width: 100px; /* Минимальная ширина как у кнопки "Войти" */
}

.profile-btn #userName {
    white-space: nowrap;
    display: inline-block;
    /* Убираем все ограничения на ширину */
}

.profile-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.profile-btn i.fa-user-circle {
    font-size: 20px;
    color: #007bff;
}

.profile-btn i.fa-chevron-down {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.user-profile-dropdown:hover .profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto; /* Явно указываем, что меню должно быть справа */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    min-width: 220px;
    max-width: 300px;
    width: max-content; /* Ширина по содержимому */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible; /* Разрешаем выход за границы */
    transform-origin: top right; /* Точка трансформации справа */
}

.user-profile-dropdown:hover .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-email {
    font-size: 14px;
    color: #666;
    word-break: break-word;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    width: 18px;
    color: #666;
}

.dropdown-item.logout-item {
    color: #dc3545;
}

.dropdown-item.logout-item i {
    color: #dc3545;
}

.dropdown-item.logout-item:hover {
    background: #fff5f5;
}

#userName {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.logout-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}

/* Скрытие/показ элементов авторизации */
.auth-section .login-btn {
    display: inline-block !important;
}

.auth-section #userInfo {
    display: none !important;
}

.auth-section.logged-in .login-btn {
    display: none !important;
}

.auth-section.logged-in #userInfo {
    display: block !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-box button {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #0056b3;
}

/* Autocomplete dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    overflow: hidden;
    max-height: min(420px, calc(100vh - 220px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1100;
    display: none;
}

.search-suggestions.open { display: block; }

.search-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.search-suggestion-thumb {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.search-suggestion-text {
    font-size: 14px;
    color: #333;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.country-section {
    margin-bottom: 60px;
}

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

.section-header h3 {
    font-size: 2rem;
    color: #333;
}

.view-all {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.package-card.featured {
    border-color: #007bff;
    position: relative;
}

.package-card.featured::before {
    content: "Featured";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.package-info {
    margin-bottom: 20px;
}

.data-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.duration {
    color: #666;
    font-size: 14px;
}

.package-price {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #007bff;
}

.add-to-cart {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background: #218838;
}

/* Footer minimal (как у travelsim) */
.footer-minimal {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 30px 0;
}

.footer-minimal__links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-minimal__links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.footer-minimal__links a:hover { text-decoration: underline; }

.footer-minimal__copy {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cart-items {
    padding: 20px;
    min-height: 300px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    position: sticky;
    bottom: 0;
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.view-cart-btn, .checkout-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-cart-btn {
    background: #6c757d;
    color: white;
}

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

.view-cart-btn:hover {
    background: #5a6268;
}

.checkout-btn:hover {
    background: #218838;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    color: #666;
}

/* Privacy Policy */
.policy-section {
    margin: 40px 0 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.policy-updated {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.policy-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #f0f0f5;
}

.policy-card h3 {
    margin-bottom: 16px;
    color: #0f172a;
}

.policy-card p,
.policy-card ul {
    color: #364152;
    line-height: 1.65;
    margin-bottom: 10px;
}

.policy-card ul {
    padding-left: 20px;
    list-style: disc;
}

.policy-card ul li {
    margin-bottom: 6px;
}

/* Contact Section */
.contact-section {
    margin-bottom: 60px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

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

.modal-footer a {
    color: #007bff;
    text-decoration: none;
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
}

.notification {
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    color: #007bff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
}

/* Login Required Modal Styles */
.login-required-content {
    max-width: 800px !important;
    width: 95% !important;
}

.login-required-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cart-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.cart-summary h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.cart-items-summary {
    margin-bottom: 20px;
}

.cart-summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.cart-summary-thumb {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.cart-summary-info {
    flex: 1;
}

.cart-summary-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cart-summary-duration {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.cart-summary-type {
    font-size: 12px;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.cart-summary-price {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.cart-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 2px solid #e0e0e0;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.login-required-section {
    text-align: center;
}

.login-required-section h4 {
    margin: 0 0 24px 0;
    font-size: 20px;
    color: #333;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.login-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.login-option-btn.phone-login {
    background: #007bff;
}

.login-option-btn.phone-login:hover {
    background: #0056b3;
}

.login-option-btn.google-login {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
}

.login-option-btn.google-login:hover {
    background: #f8f9fa;
}

.login-option-btn.facebook-login {
    background: #1877f2;
}

.login-option-btn.facebook-login:hover {
    background: #166fe5;
}

.login-links {
    margin-top: 20px;
}

.login-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Phone Login Modal Styles */
.phone-login-content {
    max-width: 400px !important;
}

.phone-login-form {
    text-align: center;
}

.phone-login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.phone-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.phone-login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.phone-login-form input:focus {
    outline: none;
    border-color: #007bff;
}

.phone-login-form .btn-primary {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.phone-login-form .btn-primary:hover {
    background: #0056b3;
}

.code-input-form {
    text-align: center;
}

.code-input-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.code-input-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    transition: border-color 0.3s;
}

.code-input-form input:focus {
    outline: none;
    border-color: #007bff;
}

.resend-code {
    margin-top: 16px;
}

.resend-code a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.resend-code a:hover {
    text-decoration: underline;
}

/* Responsive Design for Login Modal */
@media (max-width: 768px) {
    .login-required-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .login-required-content {
        margin: 20px;
        width: calc(100% - 40px) !important;
    }
    
    .cart-summary {
        padding: 16px;
    }
    
    .cart-summary-item {
        gap: 12px;
        padding: 12px 0;
    }
    
    .cart-summary-thumb {
        width: 50px;
        height: 35px;
    }
}

/* Анимации для модальных окон */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #444;
    color: white;
}

.newsletter-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #0056b3;
}


/* Стили для тарифов в стиле Travelsim */
.tariffs-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
}

.region-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Стили для Popular eSIMs секции */
.popular-section {
    margin-bottom: 60px;
}

.popular-section {
    margin-bottom: 60px;
}

.popular-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px; /* Учитываем padding контейнера для выравнивания */
}

.popular-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-arrow {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    padding-right: 40px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    padding-right: 48px; /* ensure last card has breathing room */
}

/* extra safety: space after the last card so it doesn't clip */
.carousel-track .region-card:last-child {
    margin-right: 24px;
}

.carousel-track .region-card {
    flex-shrink: 0;
    width: 250px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.carousel-track .region-image {
    width: 250px;
    height: 160px;
    max-width: 100%;
}

/* Стили для eSIM секции */
.esim-section {
    margin-bottom: 60px;
}

.esim-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.continent-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.continent-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.continent-tab:hover,
.continent-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.continent-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Стили для категорий теперь применяются к .main-nav */

.region-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.region-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.region-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    display: block;
}

.region-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.region-image {
    position: relative;
    height: 220px;
    width: 100vw;
    max-width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.region-card:hover .region-image {
    transform: scale(1.05);
}

.region-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: center;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    display: block;
    margin-top: 0;
}

.region-card:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.region-card:hover .region-image {
    transform: scale(1.05);
}

.region-card:hover .region-title {
    background: transparent;
    color: #007bff;
    font-weight: 600;
}

.region-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.view-all-btn {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.view-all-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.product-card:hover .product-info {
    transform: scale(1.05);
}

.product-card:hover .region-name {
    background: rgba(0,0,0,0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.product-info {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.product-link:hover {
    transform: translateY(-2px);
}

.data-amount {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.duration {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.region-name {
    font-size: 16px;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}







/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .region-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .region-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .region-header h3 {
        font-size: 20px;
    }
    
    .products-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 0;
    }
    
    .product-info {
        height: 160px;
        padding: 15px;
    }
    
    .region-name {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .region-card {
        max-width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .region-image {
        height: 160px;
        padding: 15px;
    }
    
    .region-title {
        font-size: 14px;
        padding: 12px 15px;
        background: transparent;
        color: #333;
    }
    
    .region-card:hover {
        transform: none;
    }
    
    .region-card:hover .region-image {
        transform: none;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    /* Мобильные стили для категорий */
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav a {
        padding: 8px 16px;
        text-align: center;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-carousel {
        flex-direction: column;
        gap: 15px;
        padding-right: 30px;
    }
    
    .carousel-track {
        gap: 10px;
    }
    
    .carousel-track .region-card {
        width: 260px;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .carousel-track .region-image {
        width: 260px;
        height: 140px;
        max-width: 100%;
    }
    
    .continent-tabs {
        gap: 10px;
    }
    
    .continent-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .continent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 3000;
    animation: slideIn 0.3s ease;
}

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

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #000;
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.tariff-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-plan {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    text-align: center;
}

.detail-plan-data {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.detail-plan-duration {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.detail-plan-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .tariff-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-box input,
    .search-box button {
        border-radius: 0;
    }
    
    .region-title {
        font-size: 13px;
        padding: 10px 12px;
        background: transparent;
        color: #333;
    }
    
    .region-image {
        height: 140px;
    }
}

/* Стили для модального окна региона */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background: #f8f9fa;
}

.modal-body {
    padding: 20px;
}

/* Стили для карточек продуктов в модальном окне */
.modal-product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.modal-product-card:hover {
    border-color: #007bff;
    background: white;
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

.modal-product-info {
    flex: 1;
}

.modal-product-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.modal-product-spec {
    margin: 0 0 5px 0;
    color: #007bff;
    font-weight: 500;
    font-size: 16px;
}

.modal-product-coverage {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.modal-product-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.modal-product-price {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

.modal-product-duration {
    color: #666;
    font-size: 14px;
}

.modal-add-to-cart {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-add-to-cart:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .modal-product-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-product-pricing {
        align-items: center;
        text-align: center;
    }
}

/* Дополнительные стили для корзины и форм */
.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #444;
    color: white;
}

.newsletter-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #0056b3;
}

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

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

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.cart-item-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cart-item-price {
    font-weight: bold;
    color: #007bff !important;
}

/* New cart layout (Travelsim-like) */
.cart-items { padding: 8px 0; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #eef2f5; }
.cart-thumb { width: 72px; height: 72px; border-radius: 8px; background-size: cover; background-position: center; flex: 0 0 72px; }
.cart-info { flex: 1; }
.cart-row { display: flex; justify-content: space-between; align-items: center; }
.cart-badge { background:#0b2559; color:#fff; border-radius: 16px; font-size:12px; padding:6px 10px; display:inline-block; }
.cart-title { margin:6px 0; color:#0b2559; font-weight:600; }
.cart-spec { color:#667085; font-size:13px; }
.cart-remove { color:#dc3545; cursor:pointer; text-decoration:none; font-weight:600; }
.cart-price { color:#0b2559; font-weight:600; }
.cart-quantity-controls { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn { width: 28px; height: 28px; border: 1px solid #e9ecef; border-radius: 6px; background: #fff; color: #0b2559; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cart-qty-btn:hover:not(:disabled) { background: #f8f9fa; border-color: #0b2559; }
.cart-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-qty-value { min-width: 30px; text-align: center; font-weight: 600; color: #0b2559; }
.cart-item-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-price-unit { font-size: 12px; color: #667085; }
.cart-price-total { font-size: 16px; font-weight: 700; color: #0b2559; }
.cart-edit-btn { display: inline-block; padding: 8px 16px; background: #f8f9fa; color: #0b2559; border: 1px solid #e9ecef; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.cart-edit-btn:hover { background: #e9ecef; border-color: #0b2559; }

.cart-footer { padding: 16px; border-top: 1px solid #eef2f5; }
.cart-total { display:flex; justify-content: space-between; align-items:center; font-weight:700; color:#0b2559; margin-bottom: 14px; }
.cart-agree { display:flex; align-items:center; gap:8px; color:#0b2559; font-size:14px; margin-bottom:14px; }
.cart-agree a { color:#0b2559; }
.checkout-primary { width:100%; background:#0b2559; color:#fff; border:none; border-radius:8px; padding:14px 18px; font-weight:700; cursor:pointer; }
.checkout-primary:disabled { opacity:.5; cursor:not-allowed; }
.continue-note { text-align:center; color:#475569; font-size:14px; margin-top:12px; }

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #c82333;
}

.empty-cart {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 0;
}

.package-card {
    cursor: pointer;
}

.package-card:hover .add-to-cart {
    transform: scale(1.05);
}

.add-to-cart {
    transition: all 0.3s ease;
}

/* Product Page Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb .separator {
    color: #666;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.product-details {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: #007bff;
}

.product-image img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.pricing-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.plan-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

.plan-header {
    margin-bottom: 15px;
}

.plan-duration {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
}

.features-section {
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    line-height: 1.5;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

.error-message p {
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
