/*
 * Single product page — trang chi tiết sản phẩm (woocommerce/single-product/layouts/product.php)
 * Copy 1:1 giá trị CSS từ demo pcsaaam.netlify.app/saam_face_cream (khối .pd-info),
 * chỉ đổi tên selector sang saam-pd-* để không đụng CSS khác của Flatsome.
 */
.saam-product-summary {
    text-align: left;
}

.saam-pd-title {
    font-weight: 700;
    font-size: 27px;
    color: #1a1a1a;
    line-height: 1.25;
    margin: 0;
}

.saam-pd-subtitle {
    font-weight: 800;
    font-size: 25px;
    color: #1a1a1a;
    margin-top: 2px;
    line-height: 1.25;
}

.saam-pd-desc {
    font-size: 15px;
    color: #9a9a9a;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 580px;
}

.saam-pd-rate {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.saam-pd-stars {
    color: #ffc107;
    font-size: 21px;
    letter-spacing: 2px;
}

.saam-pd-rev {
    font-size: 14px;
    color: #333333;
    font-style: italic;
}

.saam-pd-sep {
    width: 1px;
    height: 16px;
    background: #dddddd;
}

.saam-pd-spec-inline {
    font-size: 14px;
    color: #888888;
}

.saam-pd-spec-inline b {
    color: #333333;
    font-weight: 700;
    font-style: italic;
}

.saam-pd-price {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 46px;
    flex-wrap: wrap;
}

.saam-pd-price-now {
    font-weight: 900;
    font-size: 60px;
    color: #e91c6a;
    line-height: 0.9;
}

.saam-pd-price-cur {
    font-size: 27px;
    vertical-align: top;
    margin-left: 2px;
}

.saam-pd-price-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.saam-pd-price-off {
    background: #e8202a;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 11px;
    border-radius: 6px;
}

.saam-pd-price-old {
    font-weight: 700;
    font-size: 23px;
    color: #bbbbbb;
    text-decoration: line-through;
}

.saam-pd-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.saam-pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #dddddd;
    border-radius: 30px;
    overflow: hidden;
}

.saam-pd-qty-btn {
    width: 42px;
    height: 48px;
    background: #ffffff;
    color: #555555;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.saam-pd-qty-btn:hover,
.saam-pd-qty-btn:focus {
    background: #0ff4de;
    color: #ffffff;
}

.saam-pd-qty-value {
    min-width: 42px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #333333;
}

.saam-pd-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 15px 32px;
    border-radius: 30px;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s, filter 0.2s;
}

.saam-pd-btn:hover,
.saam-pd-btn:focus {
    transform: translateY(-2px);
    filter: brightness(1.05);
    color: #ffffff !important;
}

.saam-pd-btn-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.saam-pd-btn--cart {
    background: #e91c6a;
    box-shadow: 0 8px 20px rgba(233, 28, 106, 0.3);
}

.saam-pd-btn--buynow {
    background: #f5a623;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}

/* toast "Added to cart!" */
.saam-pd-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 10px;
}

.saam-pd-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.saam-pd-toast svg {
    width: 18px;
    height: 18px;
    stroke: #0ff4de;
    stroke-width: 3;
    fill: none;
}

@media (max-width: 560px) {
    .saam-pd-price-now {
        font-size: 46px;
    }

    .saam-pd-actions {
        gap: 12px;
    }

    .saam-pd-btn {
        padding: 13px 22px;
        font-size: 15px;
    }
}
