.variation-card {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 280px;
    min-width: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-image-container {
    width: 100%;
    height: 190px;
    margin: 0 auto 20px;
    display: block;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hoặc contain nếu muốn không cắt ảnh */
    display: block;

}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: capitalize !important;
}

.card-price {
    font-size: 18px;
    font-weight: 700;
    color: #666;
}

.variation-card.digital .card-title {
    color: #ff6b6b;
}

.variation-card.digital .card-price {
    color: #ff6b6b;
}

/* Icon cho PDF/Digital */
.pdf-icon {
    width: 60px;
    height: 60px;
}

/* Demo buttons */
.demo-controls {
    margin-top: 30px;
    text-align: center;
}

.demo-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.demo-button:hover {
    background: #005a87;
}

/* Responsive */
@media (max-width: 600px) {
    .card-container {
        flex-direction: column;
        gap: 15px;
    }

    .variation-card {
        min-height: 240px;
    }

    .card-image-container {
        width: 100px;
        height: 100px;
    }
}

/* Code display */
.code-section {
    margin-top: 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.code-section h3 {
    margin-top: 0;
    color: #333;
}

.code-block {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    margin: 10px 0;
}

.variable-items-wrapper {
    all: unset;
    display: block;
}

.variable-items-wrapper2 {
    display: inline-block !important;
    white-space: nowrap;
    height: auto !important;
}

.variable-item {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap;
    height: auto !important;
    border: 1px solid #c2c2c2;
    border-radius: 15px !important;
    margin-left: 10px !important;
}

.variable-item:first-child {
    margin: 0px !important;
}

/* Ẩn đi phần giá khi chọn biến thể */
.woocommerce-variation-price {
    display: none !important;
}

/* Ẩn đi phần tên biến thể khi chọn biến thể */
.woo-selected-variation-item-name {
    display: none !important;
}

/* Ẩn đi phần giá  */
.price-wrapper {
    /* display: none !important; */
    margin-bottom: 10px;
}

.summary-btn button {
    white-space: nowrap;

}


.single_buy_amazon_button {
    width: 90% !important;
    background-color: #ffb649 !important;
    border-color: #ffb649 !important;
}


.button-action button {
    text-transform: math-auto;
}


.button-action .add_to_cart_button {
    background-color: #ff4c3b !important;
    border-color: #ff4c3b !important;
    color: white !important;
}

.buy-on-amazon-area button {
    font-size: 17px;
    text-transform: math-auto;
}

/* Ẩn đi phần nút thêm vào giỏ hàng */
.woocommerce-variation-add-to-cart {
    display: none !important;
}

.woocommerce-Price-amount {
    color: gray !important;
}

.product-page-price span {
    font-size: 19px !important;
}

.product-page-price span bdi span {
    font-size: 16px !important;
}
th {
    padding:0px !important;
}
.label label {
    font-size: 15px !important;
    text-transform: math-auto !important;
    white-space: nowrap !important;

}

.product-page-price {
    margin: 0px !important;
}

.selected {
    border: 2px solid #ff4c3b;
    color: #ff4c3b !important;
}

.selected .card-title {
    border: none !important;
    color: #ff4c3b !important;
}

.btn-external-bg {
    background-color: #e0afaf !important;
    border: none !important;
}

.btn-product {
    margin: 0px;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(12px, 2vw, 15px) !important;
}

.btn-buy-now {
    background-color: #ffab0f !important;
    border-color: #ffab0f !important;
    color: black !important;
}

.btn-add-to-cart {
    background-color: #ff4c3b !important;
    border-color: #ff4c3b !important;
    color: white !important;
}