.custom-product-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #1e1b4b, #2e1065);
}

.container {
    background: rgba(30, 27, 75, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.product-image {
    aspect-ratio: 1/1;
    /* Hình vuông */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 27, 75, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to right, #22d3ee, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.product-title::after {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    color: #22d3ee;
    filter: blur(3px);
    z-index: -1;
}

.price {
    font-size: 20px;
    color: #22d3ee;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.quantity-cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity .qty {
    width: 60px;
    padding: 8px;
    border: 1px solid #3b82f6;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    background: rgba(30, 27, 75, 0.8);
    color: #e5e7eb;
}

.single_add_to_cart_button,
.buy-now {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single_add_to_cart_button {
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.single_add_to_cart_button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
}

.single_add_to_cart_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.single_add_to_cart_button:hover::after {
    left: 100%;
}

.buy-now {
    background: linear-gradient(to right, #a855f7, #ec4899);
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.buy-now:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
}

.product-details {
    background: rgba(30, 27, 75, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.5;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

.woocommerce-tabs ul.tabs li {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #d1d5db;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li:hover {
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    color: white;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.woocommerce-tabs .panel {
    padding: 15px;
    color: #d1d5db;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .quantity-cart {
        align-items: stretch;
    }

    .single_add_to_cart_button,
    .buy-now {
        width: 100%;
    }
}