/* ==========================================
   КОНСТРУКТОР КАРТКИ ТОВАРУ — СТИЛІ
   ========================================== */

/* --- Загальні стилі блоків --- */
.product-block {
    margin-bottom: 30px;
    padding: 25px;
    background: #FFF;
    border-radius: 8px;
}
.block-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9e9e9;
    color: #333;
}

/* ==========================================
   ГАЛЕРЕЯ
   ========================================== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gallery-main {
    position: relative;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}
.gallery-main-image img {
    width: 100%;
    display: block;
}
.gallery-main-video {
    border-radius: 4px;
    overflow: hidden;
}
.gallery-main-video .embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.gallery-main-video .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.gallery-thumbnails ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.gallery-thumb {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    padding: 5px;
    transition: border-color 0.2s;
    background: #FFF;
}
.gallery-thumb:hover {
    border-color: #999;
}
.gallery-thumb.active {
    border-color: #346834;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    text-align: center;
}
.video-thumb-icon {
    font-size: 12px;
    color: #666;
}
.video-thumb-icon .fa {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
    color: #346834;
}

/* ==========================================
   ЦІНА ТА КУПІВЛЯ
   ========================================== */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
    color: #333;
}
.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #666;
}
.product-meta a {
    color: #555;
    text-decoration: none;
}
.product-meta a:hover {
    color: #346834;
}
.product-meta-separator {
    color: #d1d1d1;
}
.product-meta .fa-star,
.product-meta .fa-star-half-o {
    color: #FFD953;
}
.product-meta .fa-star-o {
    color: #ccc;
}

/* Ціни */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.price-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.old-price-value {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}
.product-discount-badge {
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

/* Промокод */
.product-promocode {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f9fafb 0%, #f0f4f0 100%);
    border: 2px dashed #346834;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-promocode:hover {
    border-color: #4d9d54;
    background: linear-gradient(135deg, #f0f4f0 0%, #e8f0e8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52,104,52,0.12);
}
.promocode-icon {
    font-size: 36px;
    flex-shrink: 0;
    animation: giftBounce 0.8s ease-in-out infinite;
}
@keyframes giftBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(-8deg);
    }
    50% {
        transform: scale(1) rotate(0deg);
    }
    75% {
        transform: scale(1.15) rotate(8deg);
    }
}
.promocode-text {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}
.promocode-text a {
    color: #346834;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    transition: color 0.2s;
}
.promocode-text a:hover {
    color: #4d9d54;
}

/* Наявність */
.product-stock {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
}
.in-stock {
    color: #28a745;
}
.low-stock {
    color: #e09f3e;
}
.out-of-stock {
    color: #e74c3c;
}

/* Кількість */
.product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.product-quantity label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin: 0;
}
.quantity-input-group {
    display: flex;
    align-items: center;
}
.quantity-input-group input {
    width: 55px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    height: 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0;
    background: #FFF;
}
.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
}
.qty-btn:hover {
    background: #eee;
}
.qty-minus {
    border-radius: 4px 0 0 4px;
}
.qty-plus {
    border-radius: 0 4px 4px 0;
}

/* Кнопки */
.product-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.btn-buy {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    background: var(--product_buy_button_background, #346834);
    border: 1px solid var(--product_buy_button_background, #346834);
    color: var(--product_buy_button_text, #fff);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-buy:hover {
    background: var(--product_buy_button_background_hover, #4d9d54);
    border-color: var(--product_buy_button_background_hover, #4d9d54);
    color: #fff;
}
.btn-quickbuy {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #346834;
    color: #346834;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-quickbuy:hover {
    background: #346834;
    color: #fff;
}
.product-secondary-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}
.product-secondary-buttons .btn-link {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
}
.product-secondary-buttons .btn-link:hover {
    color: #346834;
}
/* ==========================================
   СПОСОБИ ОПЛАТИ
   ========================================== */
.product-payment-methods {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid #e9e9e9;
}
.payment-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.payment-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.payment-row-icon svg {
    display: block;
    flex-shrink: 0;
}
.payment-row-icon i {
    font-size: 24px !important;
    line-height: 1;
}
.payment-row-text {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* ==========================================
   ДОСТАВКА
   ========================================== */
.product-price-block .product-delivery-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9e9e9;
    background: transparent;
    padding: 15px 0 0 0;
}
.product-price-block .delivery-icon-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.product-price-block .delivery-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.product-price-block .delivery-badges {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-price-block .delivery-badge {
    font-size: 12px;
    color: #28a745;
}

/* ==========================================
   ПЕРЕВАГИ ТОВАРУ
   ========================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.advantage-item {
    text-align: center;
    padding: 15px 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}
.advantage-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}
.advantage-title {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 3px;
}
.advantage-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* ==========================================
   ХАРАКТЕРИСТИКИ
   ========================================== */
.characteristics-table {
    width: 100%;
    border-collapse: collapse;
}
.characteristic-row td {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 13px;
}
.characteristic-name {
    color: #666;
    width: 40%;
}
.characteristic-value {
    color: #333;
    font-weight: 500;
}
.hidden-row {
    display: none;
}
.characteristics-toggle {
    margin-top: 10px;
    text-align: center;
}
.toggle-all-btn {
    color: #346834;
    text-decoration: none;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
}
.toggle-all-btn:hover {
    text-decoration: underline;
}

/* ==========================================
   ОПИС
   ========================================== */
.description-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}
.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.description-content h2,
.description-content h3,
.description-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}
.description-content ul,
.description-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}
.description-content li {
    margin-bottom: 5px;
}

/* ==========================================
   ВІДЕООГЛЯД
   ========================================== */
.video-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
}
.video-container .embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   ДОКУМЕНТИ
   ========================================== */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
}
.document-icon {
    font-size: 24px;
    color: #e74c3c;
}
.document-info {
    flex: 1;
}
.document-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.document-size {
    font-size: 11px;
    color: #999;
}
.btn-download {
    background: #346834;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.btn-download:hover {
    background: #4d9d54;
    color: #fff;
}

/* ==========================================
   КУПУЮТЬ РАЗОМ
   ========================================== */
.buy-together-products {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.together-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
}
.main-item {
    border: 2px solid #346834;
}
.together-plus {
    font-size: 22px;
    font-weight: 700;
    color: #346834;
}
.together-check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.together-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}
.together-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 100px;
}
.together-name a {
    color: #333;
    text-decoration: none;
}
.together-name a:hover {
    color: #346834;
}
.together-price {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.buy-together-summary {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
}
.together-prices {
    margin-bottom: 10px;
}
.together-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}
.together-total-label {
    font-size: 13px;
    color: #555;
}
.together-total-price {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}
.together-savings {
    font-size: 14px;
    color: #28a745;
    margin-bottom: 15px;
}
.btn-buy-all {
    background: var(--product_buy_button_background, #346834);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}
.btn-buy-all:hover {
    background: var(--product_buy_button_background_hover, #4d9d54);
}

/* ==========================================
   ТОВАРИ (загальні для схожих, супутніх, переглянутих)
   ========================================== */
.related-item,
.accessory-item,
.viewed-item {
    text-align: center;
    padding: 10px;
    background: #FFF;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.related-item:hover,
.accessory-item:hover,
.viewed-item:hover {
    box-shadow: 0 0 1.5rem 0 rgba(50,50,50,0.15);
}
.related-image img,
.accessory-image img,
.viewed-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 8px;
}
.related-name a,
.accessory-name a,
.viewed-name a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.related-name a:hover,
.accessory-name a:hover,
.viewed-name a:hover {
    color: #346834;
}
.related-rating {
    margin: 5px 0;
}
.related-rating .fa-star,
.related-rating .fa-star-half-o {
    color: #FFD953;
    font-size: 12px;
}
.related-rating .fa-star-o {
    color: #ccc;
    font-size: 12px;
}
.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}
.price-new {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}
.price {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

/* ==========================================
   ВІДГУКИ ТА ПИТАННЯ (вкладки)
   ========================================== */
.reviews-faq-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9e9e9;
}
.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}
.tab-btn:hover {
    color: #666;
}
.tab-btn.active {
    color: #346834;
    border-bottom-color: #346834;
}
.tab-panel {
    min-height: 100px;
}
.review-item,
.question-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.review-stars .fa-star {
    color: #FFD953;
    font-size: 13px;
}
.review-stars .fa-star-o {
    color: #ccc;
    font-size: 13px;
}
.review-author {
    font-weight: 600;
    color: #333;
}
.review-date {
    color: #999;
    font-size: 12px;
    margin-left: auto;
}
.review-text {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}
.review-footer {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}
.btn-like,
.btn-dislike {
    border: none;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    color: #999;
}
.btn-like:hover,
.btn-dislike:hover {
    background: #eee;
}
.empty-tab {
    text-align: center;
    padding: 30px;
    color: #999;
}
.write-review-btn,
.ask-question-btn {
    margin-top: 15px;
    background: #346834;
    border: 1px solid #346834;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}
.write-review-btn:hover,
.ask-question-btn:hover {
    background: #4d9d54;
    border-color: #4d9d54;
}
.show-more-btn {
    margin-top: 10px;
    color: #346834;
    font-weight: 600;
}

/* ==========================================
   ЧОМУ КУПУЮТЬ У НАС
   ========================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.why-us-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* ==========================================
   ХЛІБНІ КРИХТИ
   ========================================== */
.product-breadcrumbs {
    margin-bottom: 15px;
}
.breadcrumbs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.breadcrumbs-scroll::-webkit-scrollbar {
    display: none;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
}
.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: #346834;
}
.breadcrumb-home-icon {
    display: flex;
    align-items: center;
    color: #999;
    transition: color 0.2s;
}
.breadcrumb-item a:hover .breadcrumb-home-icon {
    color: #346834;
}
.breadcrumb-text {
    font-weight: 400;
}
.breadcrumb-item.active .breadcrumb-text {
    color: #333;
    font-weight: 500;
}
.breadcrumb-arrow {
    display: flex;
    align-items: center;
    margin: 0 10px;
    flex-shrink: 0;
}
.breadcrumb-item:last-child .breadcrumb-arrow {
    display: none;
}

@media (max-width: 768px) {
    .breadcrumb-item {
        font-size: 12px;
    }
    .breadcrumb-arrow {
        margin: 0 6px;
    }
    .breadcrumb-item a {
        gap: 4px;
    }
}

/* ==========================================
   ЛИПКА ПАНЕЛЬ
   ========================================== */
.sticky-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px 0;
}
.sticky-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}
.sticky-image img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}
.sticky-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.sticky-price {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}
.sticky-actions .btn {
    padding: 10px 20px;
    font-weight: 600;
    background: var(--product_buy_button_background, #346834);
    border-color: var(--product_buy_button_background, #346834);
    color: #fff;
    border-radius: 4px;
}

/* ==========================================
   НАВІГАЦІЯ ПО СТОРІНЦІ
   ========================================== */
.page-nav {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.page-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.page-nav-scroll::-webkit-scrollbar {
    display: none;
}
.page-nav-list {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    white-space: nowrap;
}
.page-nav-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.page-nav-link:hover {
    color: #346834;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.page-nav-link.active {
    color: #346834;
    border-bottom-color: #346834;
}

@media (max-width: 768px) {
    .page-nav {
        border-radius: 6px;
    }
    .page-nav-link {
        font-size: 13px;
        padding: 12px 14px;
    }
}

/* ==========================================
   ВЕРХНІЙ РЯД: ГАЛЕРЕЯ + ЦІНА
   ========================================== */
.product-top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
}
.product-gallery-col {
    flex: 0 0 45%;
    max-width: 45%;
}
.product-price-col {
    flex: 1;
}

/* ==========================================
   АДАПТИВНІСТЬ
   ========================================== */
@media (max-width: 768px) {
    .product-block {
        padding: 15px;
        margin-bottom: 15px;
    }
    .block-title {
        font-size: 17px;
    }
    .product-title {
        font-size: 20px;
    }
    .price-value {
        font-size: 22px;
    }
    .product-buttons {
        flex-direction: column;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .buy-together-products {
        flex-direction: column;
        align-items: stretch;
    }
    .together-plus {
        text-align: center;
        transform: rotate(90deg);
    }
    .sticky-panel {
        top: auto;
        bottom: 0;
        padding: 8px 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .sticky-name {
        display: none;
    }
    .page-nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
    .product-top-row {
        flex-direction: column;
        padding: 15px;
    }
    .product-gallery-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* ==========================================
   КНОПКА ПОДІЛИТИСЯ
   ========================================== */
.product-secondary-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.share-dropdown {
    position: relative;
    display: inline-block;
}
.share-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 13px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.share-toggle-btn:hover {
    color: #346834;
}
.share-toggle-btn svg {
    flex-shrink: 0;
}
.share-dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 100;
    padding: 8px 10px;
    margin-bottom: 10px;
    white-space: nowrap;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}
.share-dropdown.active .share-dropdown-menu {
    display: flex;
}
.share-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}
.share-icon-link:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.share-icon-link svg,
.share-icon-link i {
    font-size: 20px;
    color: #fff;
    display: block;
    line-height: 1;
}
.share-telegram {
    background: #0088cc;
}
.share-telegram:hover {
    background: #0088cc;
}
.share-viber {
    background: #7360f2;
}
.share-viber:hover {
    background: #7360f2;
}
.share-facebook {
    background: #1877f2;
}
.share-facebook:hover {
    background: #1877f2;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .share-dropdown-menu {
        bottom: auto;
        top: 100%;
        left: 0;
        transform: none;
        margin-bottom: 0;
        margin-top: 8px;
    }
}