@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #000;
    --accent: #ff6b00;
    --danger: #f44336;
    --success: #4CAF50;
    --text: #333;
    --white-text: #fff;
    --light-text: #777;
    --border: #ddd;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --card-bg: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
    color: var(--text);
    min-height: 100vh;
}

a {
    text-decoration: none !important;
    color: inherit;
}

/* a:visited {
    color: inherit;
} */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 200px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.user-menu-container {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.user-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: background 0.3s;
}

.user-btn:hover {
    background: #f0f0f0;
}

.user-avatar-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: bold;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: -80px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    min-width: 200px;
    padding: 10px 0;
    margin-top: 10px;
    display: none;
    z-index: 100;
}

.user-dropdown.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: var(--secondary);
}

.user-dropdown a.logout {
    color: var(--danger);
    border-top: 1px solid var(--border);
    margin-top: 5px;
    padding-top: 15px;
}

/* Main Content Styles */
.main-content {
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--light-text);
    font-size: 18px;
}

/* Store Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Добавлен контейнер для изображения товара */
.product-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.product-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
}

.buy-btn {
    background: var(--primary);
    color: white; /* Белый текст */
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.buy-btn:hover {
    background: #333;
    text-decoration: none; /* Убрать подчеркивание */
}

/* Cart Styles */
.cart-indicator {
    position: fixed;
    top: 20px;
    right: 100px;
    z-index: 101;
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.cart-indicator:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.cart-items {
    flex: 2;
}

.cart-summary {
    flex: 1;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 20px;
    height: fit-content;
}

.cart-item {
    display: flex;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    padding: 20px;
}

.item-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    margin-right: 20px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.item-details p {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.item-price {
    color: var(--accent);
    font-weight: 600;
}

.item-total {
    font-size: 18px;
    font-weight: 700;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-actions {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Старый стиль кнопки удаления */
.remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f8f8f8;
    border-radius: 50%;
    color: var(--danger); /* Более насыщенный красный */
    font-weight: bold;
    font-size: 24px; /* Увеличим размер */
    transition: all 0.3s;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2); /* Добавим тень для лучшей видимости */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Тень для объема */
}

.remove-btn:hover {
    background: var(--danger);
    color: var(--white-text) !important;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.summary-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white; /* Белый текст */
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #333;
    text-decoration: none; /* Убрать подчеркивание */
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Auth Box Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.auth-box {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 440px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--light-text);
}

.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    height: 55px;
    font-size: 16px;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: var(--accent);
    outline: none;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
}

.remember input {
    margin-right: 8px;
}

.forgot-link {
    color: var(--accent);
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #e65c00;
}

.submit-btn {
    width: 100%;
    height: 55px;
    background: var(--primary);
    color: white; /* Белый текст */
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #333;
    text-decoration: none; /* Убрать подчеркивание */
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #e65c00;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.flash-message {
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease-out, fadeOut 0.5s ease-in 2.5s forwards;
}

.flash-error {
    background: #f44336; /* Красный цвет */
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.flash-success {
    background: var(--success);
}

.flash-danger {
    background: var(--danger);
}

/* Profile Styles */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
}

.profile-box {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.user-avatar {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.user-details {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    font-weight: 600;
    width: 130px;
    color: var(--light-text);
}

.detail-value {
    flex: 1;
}

.profile-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-button {
    padding: 12px;
    background: var(--primary);
    color: white; /* Белый текст */
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.action-button:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0,0,0,0.1);
    text-decoration: none; /* Убрать подчеркивание */
}

/* Главная страница */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.3)"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    margin-top: 40px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
    border: 2px solid var(--primary);
}

.cta-primary {
    background: var(--primary) ;
    color: var(--white-text) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-primary:hover {
    background: var(--white-text);
    color: var(--primary) !important;
}

.cta-secondary {
    background: var(--white-text);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--white-text);
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-description {
    color: var(--light-text);
    line-height: 1.6;
}

.buy-btn, 
.submit-btn, 
.checkout-btn, 
.action-button {
    color: var(--white-text) !important;
}

.password-input-container {
    position: relative;
}

/* Стили для иконки переключения пароля */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 1;
}

/* Стили для сообщений об ошибках */
.error-messages {
    margin-top: 8px;
}

.error-message {
    color: var(--danger);
    font-size: 13px;
    margin-top: 5px;
    padding: 5px 10px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 5px;
    animation: fadeIn 0.3s;
}

/* Анимация появления ошибок */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-section, .templates-section, .pricing-section, .support-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--light-text);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.content-block {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-block h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Стили для страницы "О нас" */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

/* Стили для страницы поддержки */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-option {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.support-option .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Стили для страницы шаблонов */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 25px;
    background: #f0f0f0;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.category-btn.active {
    background: var(--primary);
    color: white;
}

/* Стили для страницы цен */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.pricing-price span {
    font-size: 18px;
    color: var(--light-text);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: "✓";
    color: var(--success);
    margin-right: 10px;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: var(--light-text);
}

.pricing-features li.disabled:before {
    content: "✕";
    color: var(--danger);
}

.support-section {
    padding: 60px 0;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-option {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.support-option:hover {
    transform: translateY(-5px);
}

.support-option .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.support-option h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.support-option p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.purchase-success {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.activation-keys {
    margin: 30px 0;
}

.activation-key-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 50px 20px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.activation-key-card.expired {
    opacity: 0.6;
    background: #f0f0f0;
}

.key-value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: monospace;
}

.key-info {
    color: var(--light-text);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Profile page */
.content-block {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.content-block h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

/* Add funds form */
.add-funds-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.add-funds-form .input-field {
    flex: 1;
}

.add-funds-form .submit-btn {
    width: auto;
    padding: 0 25px;
}

/* Geo Selection Styles */
/* Geo Multi-Select Container */
.geo-multi-select {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* Search Section */
.geo-search-container {
    position: relative;
    margin-bottom: 15px;
}

.geo-search {
    width: 100%;
    padding: 10px 35px 10px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.geo-search:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 0;
}

.clear-search:hover {
    color: var(--danger);
}

/* Selected Countries Section */
.selected-geos {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.selected-header {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 14px;
}

.selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 20px;
}

/* Individual Selected Country */
.selected-geo {
    background: #e9ecef;
    color: var(--text);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
}

.selected-geo-code {
    font-weight: bold;
    color: var(--primary);
    margin-right: 5px;
}

.remove-geo {
    margin-left: 8px;
    cursor: pointer;
    color: var(--danger);
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.no-geo {
    color: var(--light-text);
    font-style: italic;
    font-size: 14px;
}

/* Regions (Continents) */
.geo-regions {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 6px;
}

.geo-region {
    border-bottom: 1px solid #eee;
}

.geo-region:last-child {
    border-bottom: none;
}

.geo-region h5 {
    background: #f1f3f5;
    padding: 12px 15px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.toggle-region {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Country Options List */
.geo-options {
    padding: 5px 0;
    display: none;
}

.geo-region.active .geo-options {
    display: block;
}

.geo-option {
    display: flex;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
    transition: background 0.2s;
}

.geo-option:hover {
    background: #f8f9fa;
}

.geo-option input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.geo-code {
    font-weight: bold;
    color: var(--primary);
    width: 28px;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 940px){
    .nav-links{
        margin-left: 0px;
    }
}

@media (max-width: 768px) {
    .geo-multi-select {
        padding: 15px;
    }
    
    .geo-regions {
        max-height: 300px;
    }
    
    .geo-option {
        padding: 8px 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-block {
        padding: 30px 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px 10px;
    }
    
    .auth-box {
        width: 100%;
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cart-container {
        flex-direction: column;
    }
    
    .profile-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .product-image-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .user-dropdown{
        right: -40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* .user-btn span {
        display: none;
    } */
    
    .cart-indicator {
        top: 70px;
        right: 20px;
    }
    
    .flash-messages {
        top: 70px;
        left: 20px;
        right: 20px;
    }
    
    .flash-message {
        text-align: center;
        padding: 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .product-image-container {
        height: 160px;
    }
}
