  .product-card1 {
            background-color: #fff;
            border-radius: 20px;
            max-width: 99%;
            margin: 20px auto;
            padding: 25px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .product-main-info {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
             margin-top: 10px;
        }
        .left-panel {
            flex: 1;
            min-width: 300px;
            text-align: center;
        }
        .right-panel {
            flex: 1.5;
            min-width: 350px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .product-images {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .main-image {
            width: 100%;
            max-width: 400px;
            border-radius: 15px;
                        cursor: zoom-in; /* Меняем курсор на "увеличить" */
        }
        .thumbnail-images {
            display: flex;
            gap: 10px;
            margin-top: 15px;
             margin-left: 0; 
    margin-right: auto;
            
        }
        .thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 5px; /* Добавлен внутренний отступ */
    box-sizing: border-box; /* Включает padding в общую ширину и высоту */
        }
        .thumbnail:hover, .thumbnail.active {
            border-color: #e9e6e6;
            transform: scale(1.1);
        }
        .product-title {
            font-size: 2.5em;
            color: #4CAF50;
            margin: 0;
            font-weight: 700;
        }
        .product-slogan {
            font-size: 1.2em;
            color: #666;
            font-style: italic;
        }
        .price {
            font-size: 30px;
            color: #f84147;
            font-weight: bold;
            margin-top: 10px;
            font-weight: 500;   /* Specifies font thickness (bold) */
  line-height: 1.0;     /* Sets the line height */
        }
        .product-details {
            font-size: 1em;
            color: #555;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .availability-box {
            background-color: #e8f5e9;
            color: #2e7d32;
            padding: 8px 12px;
            border-radius: 8px;
font-size: 14px;
            display: inline-block;
            margin-top: 5px;
            
        }
        .action-group {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
        }
       .action-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Промежуток между полем количества и кнопкой */
    margin-top: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px; /* Промежуток между меткой и полем ввода */
}

.quantity-control label {
    font-family: 'Roboto', sans-serif;
    font-size: 1.0em;
    color: #555;
    white-space: nowrap; /* Предотвращает перенос текста "Кол-во" */
}

.quantity-control input[type="text"],
.quantity-control input[type="number"] {
    width: 60px; /* Устанавливаем ширину поля ввода */
    padding: 8px 10px;
    font-size: 0.8em;
    text-align: center;
    border: 2px solid #ffefe1;
    border-radius: 8px;
    -moz-appearance: textfield; /* Скрывает стрелки в Firefox */
}

/* Стили для кнопки "Добавить в корзину" */
.buy-button { /* Замените '.buy-button' на фактический класс вашей кнопки */
    padding: 12px 25px;
    background-color: #FFC107;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 10px;
    font-size: 1.0em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #FFD54F;
}
        .buy-button {
            padding: 12px 40px;
            background-color: #FFC107;
            color: #fff;
            text-align: center;
            border: none;
            border-radius: 10px;
            font-size: 1.2em;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .buy-button:hover {
            background-color: #FFD54F;
           
        }
        .tab-section {
            width: 100%;
            margin-top: 20px;
        }
        .tabs {
            display: flex;
            gap: 5px;
            border-bottom: 2px solid #eee;
        }
        .tab-button {
            background-color: #f0f0f0;
            border: none;
            padding: 12px 25px;
            font-size: 1em;
            cursor: pointer;
            border-radius: 10px 10px 0 0;
            transition: background-color 0.3s ease, color 0.3s ease;
            position: relative;
            top: 2px;
        }
        .tab-button.active {
            background-color: #fff;
            color: #FF99CC;
            border-bottom: 2px solid #fff;
        }
        .tab-content {
            padding: 20px;
            background-color: #fff;
            border-top: none;
            border-radius: 0 0 10px 10px;
        }
        .hidden {
            display: none;
        }
        
        /* Стили для модального окна */
        .modal {
            display: none; /* Скрыто по умолчанию */
            position: fixed;
            z-index: 100; /* Поверх всего */
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.9);
        }
        .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 800px;
            border-radius: 15px;
        }
        .modal-content, #caption {
            animation-name: zoom;
            animation-duration: 0.6s;
        }
        @keyframes zoom {
            from {transform:scale(0)}
            to {transform:scale(1)}
        }
        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
        }
        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }
        
        
        
        .quantity-box {
  display: flex;
  align-items: center;
}

.quantity-box input {
  width: 50px;
  text-align: center;
  font-size: 14px;
  padding: 5px;
  border: 1px solid #ccc;
  margin: 0 5px;
  border-radius: 4px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ffefe1;
  background: #fffdf8;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #efe3d9;
}

/* Стилізація випадаючого списку всередині модуля */
.malukamy-article-container select {
    width: 100px;
    height: 40px; /* Додано для коректного відображення з padding */
    padding: 8px 10px;
    font-size: 0.9em;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #5a5450;
    
    /* Центрування тексту */
    text-align: center;
    text-align-last: center; 
    
    /* Оформлення рамки */
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    
    /* Скидання системних стилів */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    cursor: pointer;
    outline: none;
}

/* Стилізація самих пунктів списку */
.malukamy-article-container select option {
    background-color: #fff; /* Фон випадаючого вікна */
    color: #674630;         /* Колір тексту */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 10px;          /* Працює лише в деяких браузерах (Firefox) */
}

/* Стилізація вибраного пункту (обмежена підтримка) */
.malukamy-article-container select option:checked {
    background-color: #f8f5f4; /* Світлий відтінок коричневого */
    color: #8d6e63;            /* Ваш основний колір тексту */
    font-weight: bold;
}

/* Ефект при кліку (використовуємо колір #8d6e63) */
.malukamy-article-container select:focus {
    border-color: #8d6e63;
}

/* Прибираємо стрілку в IE */
.malukamy-article-container select::-ms-expand {
    display: none;
}

/* Центрируем блок количества только на мобильных */
@media (max-width: 768px) {
  .quantity-control {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px; /* небольшой отступ снизу */
  }

  .quantity-box {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .buy-button1 {
    display: flex;
    justify-content: center; /* центрируем кнопку */
    margin-top: 15px;
  }
}



 /* Таблица в карточке товара */
.kigurumi-styles-container {
        margin: 24px 0;
        overflow-x: auto;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(111, 78, 55, 0.1);
        border: 1px solid #efe3d9;
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    }

    .kigurumi-styles-table {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
        min-width: 600px;
        color: #3e2723;
    }

    .kigurumi-styles-table thead th {
        background: linear-gradient(135deg, #6f4e37 0%, #8d6e63 100%);
        color: #ffffff;
        font-weight: 500;
        padding: 16px;
        text-align: center;
        font-size: 15px;
        border: none;
    }

    /* Скругление углов шапки */
    .kigurumi-styles-table thead th:first-child { border-top-left-radius: 16px; }
    .kigurumi-styles-table thead th:last-child { border-top-right-radius: 16px; }

    .kigurumi-styles-table td {
        padding: 14px 16px;
        text-align: center;
        border-bottom: 1px solid #f3ece7;
        font-size: 14px;
    }

    /* Названия параметров слева */
    .kigurumi-styles-table td:first-child {
        text-align: left;
        font-weight: 600;
        background-color: #faf7f5;
        color: #5d4037;
        width: 35%;
    }

    /* Эффект при наведении на строку */
    .kigurumi-styles-table tr:hover td {
        background-color: #fff9f5;
        transition: background-color 0.2s ease;
    }

    /* Выделение последнего ряда */
    .kigurumi-styles-table tr:last-child td {
        border-bottom: none;
    }

    /* Акцент на числах роста */
    .kigurumi-styles-growth {
        font-size: 16px;
        font-weight: 700;
        display: block;
    }




/* Радиокнопки выбора размера */
/* Радиокнопки выбора размера */
.options-container {
    margin: 20px 0;
    font-family: 'Segoe UI', sans-serif;
    text-align: left; /* Весь контейнер прижат влево */
}

/* Обертка для заголовка и кнопок */
.options-inner {
    display: block;   /* Растягиваем на всю ширину */
    text-align: left; 
    max-width: 100%;
}

.option-title {
    display: block;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* Сетка для радио-кнопок */
.radio-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start; /* Кнопки начинают строиться слева */
    gap: 8px;
    max-width: 100%;
}

/* Плитка (label) */
.radio-tile {
    cursor: pointer;
    position: relative;
    display: block;
    min-width: 55px;
}

/* Скрываем стандартный кружок радио */
.hidden-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Тело плитки */
.tile-body {
    background-color: #fffdf8;
    border: 1px solid #feb889;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Картинка внутри плитки */
.tile-img {
    margin-bottom: 8px;
}

.tile-img img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 6px;
}

/* Текст и цена */
.tile-text {
    display: block;
    font-weight: 600;
    color: #5d4037;
    font-size: 14px;
    line-height: 1.2;
}

/* Скрытая надбавка для скрипта */
.tile-price {
    display: none;
}

.tile-desc {
    display: block;
    font-size: 11px;
    color: #a1887f;
    margin-top: 4px;
    line-height: 1.3;
}

/* Состояние "Выбрано" */
.hidden-radio:checked + .tile-body {
    border-color: #4c9550;
    background-color: #e8f5e9;
}

/* Эффект при наведении */
.radio-tile:hover .tile-body {
    border-color: #4c9550;
}