/* ============================================
   AIRDOG - Custom Product Blocks
   File: airdog-product.css
   ============================================ */

/* ----------------------------------------
   BLOCK A — KEY FEATURES GRID
   ---------------------------------------- */
.airdog-key-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.airdog-key-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.airdog-key-feature:hover {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.06);
}

.airdog-kf-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.airdog-kf-icon.blue   { background: #EEF2FF; color: #0066FF; }
.airdog-kf-icon.green  { background: #ECFDF5; color: #10B981; }
.airdog-kf-icon.orange { background: #FFF7ED; color: #F97316; }
.airdog-kf-icon.purple { background: #F3E8FF; color: #8B5CF6; }
.airdog-kf-icon.red    { background: #FEF2F2; color: #EF4444; }
.airdog-kf-icon.teal   { background: #F0FDFA; color: #14B8A6; }

.airdog-kf-icon svg {
    width: 18px;
    height: 18px;
}

.airdog-kf-text {
    display: flex;
    flex-direction: column;
}

.airdog-kf-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

.airdog-kf-sub {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 400;
    margin-top: 2px;
}

/* ----------------------------------------
   BLOCK B — USP LIST
   ---------------------------------------- */
.airdog-usp-list {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.airdog-usp-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F1923;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.airdog-usp-title svg {
    color: #0066FF;
    flex-shrink: 0;
}

.airdog-usp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.airdog-usp-item + .airdog-usp-item {
    border-top: 1px solid #F3F4F6;
}

.airdog-usp-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ECFDF5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.airdog-usp-check svg {
    color: #10B981;
}

.airdog-usp-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.airdog-usp-text strong {
    font-weight: 700;
    color: #0F1923;
}

/* ----------------------------------------
   BLOCK C — POLICIES
   ---------------------------------------- */
.airdog-policies {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.airdog-policy {
    text-align: center;
    padding: 16px 10px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.airdog-policy:hover {
    border-color: #0066FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.airdog-policy-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airdog-policy-icon.p-blue   { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.airdog-policy-icon.p-green  { background: linear-gradient(135deg, #10B981, #059669); }
.airdog-policy-icon.p-orange { background: linear-gradient(135deg, #F59E0B, #D97706); }

.airdog-policy-icon svg {
    color: #fff;
    stroke: #fff;
}

.airdog-policy-label {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.airdog-policy-sub {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 768px) {
    .airdog-key-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-add-to-cart .ux-quantity.quantity.buttons_added{
        display: none;
    }

    .airdog-usp-list {
        padding: 16px 18px;
    }

    .airdog-policies {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .airdog-key-feature {
        padding: 12px 14px;
    }

    .airdog-usp-title {
        font-size: 13px;
    }

    .airdog-usp-text {
        font-size: 13px;
    }
}
/* ----------------------------------------
   STICKY GALLERY - Cố định bên trái
   ---------------------------------------- */

/* Container cha - flex align top */
.row.content-row.mb-0 {
    align-items: flex-start !important;
}

/* Bên trái - Gallery cố định */
.product-gallery.col.large-6 {
    position: sticky;
    top: 135px; /* header sticky khoảng ~70-80px, để 90 cho an toàn */
    align-self: flex-start;
}

/* ----------------------------------------
   RESPONSIVE — bỏ sticky trên mobile/tablet
   ---------------------------------------- */
@media (max-width: 849px) {
    .product-gallery.col.large-6 {
        position: static;
    }
}
.product{
    background-color: #f9fafb;
}
.price-wrapper{
    background: linear-gradient(135deg, rgb(8 49 112), rgb(8 81 198) 55%, rgb(2 5 158));
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.price-wrapper .price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;}

/* Giá sale (ins) — chiếm full hàng 1 */
.price-wrapper .price ins {
    width: 100%;
    order: 1;
    font-size: 36px;
}
ins .woocommerce-Price-amount {
    color: white !important;
}
.price del, .product_list_widget del, del .woocommerce-Price-amount{
    font-size: 18px;
    color: white !important;}
/* Giá gốc (del) — hàng 2, bên trái */
.price-wrapper .price del {
    order: 2;
    display: inline !important;
}

/* Badge tiết kiệm — hàng 2, bên phải del */
.airdog-price-save {
    order: 3;
    display: inline-flex;
    padding: 9px 14px;
    background: linear-gradient(135deg, rgb(195, 0, 0), rgb(255, 2, 2) 55%, rgb(158, 2, 2));
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 0;
}
.vat-note-text{
    color: white;
}
/* ============================================
   CTA BUTTONS — BẢN TIÊU CHUẨN
   ============================================ */

/* --- Container form --- */
.product-info.summary form.cart {
    display: flex !important;}
.ux-quantity.quantity.buttons_added{
    flex: 0 0 100%;
    order: 0;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}
/* Chữ "Số lượng:" phía trước */
.product-info.summary form.cart .ux-quantity.quantity.buttons_added::before {
    content: "Số lượng:";
    margin-right: 12px;
    padding-left: 14px;
}
.ux-buy-now-button{
    flex: 1 1 0% !important;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4D2D, #FF6B4D);
    color: #fff;
    font-size: 17px;
    box-shadow: 0 4px 20px rgba(255, 77, 45, 0.35);
    height: 56px;
    border-radius: 16px !important;
}
.product-info.summary form.cart button.single_add_to_cart_button {
    flex: 0 0 90px;
    order: 2;
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 0;
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.product-info.summary form.cart button.single_add_to_cart_button::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    text-indent: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") no-repeat center / 22px;
}
.form-sdt-container{
    border-radius: 10px;
    width: 100%;
    margin-bottom: 21px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F0F9FF 100%);
    border: 1px solid #DBEAFE;
}
.free-consultation{
    text-align: left;
    margin: 12px 0 0 12px;
    font-weight: 700;
}
.form-sdt-sp-container .wpcf7-submit{
    background: linear-gradient(135deg, rgb(8 49 112), rgb(8 81 198) 55%, rgb(2 5 158));
    color: white !important;
}
#popmake-40619{
    background: white;
    border-radius: 10px;
}
.popmake-40619.pum-trigger{
    text-transform: inherit;
    font-weight: 500;
    margin: 0;
}
.showroom-box{
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Icon vị trí trước nút Showroom */
.showroom-box .pum-trigger::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / 18px;
}
.product-gallery-slider img {
    border-radius: 24px !important;
}
.attachment-woocommerce_thumbnail{    
    border-radius: 12px !important;}
.product-gallery.col.large-6{
    padding-bottom: 30px !important;
}
.product-thumbnails a{
    border: none !important;
    border-radius: 12px;
}
.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    border: 1px solid #0066ff !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15)!important;
    transform: none!important;
}
.sticky-add-to-cart .single_add_to_cart_button{
    display: none;
}
.sticky-add-to-cart button.ux-buy-now-button {
    flex: 0 0 auto !important;
    padding: 8px 47px !important;
    height: 48px;
}
.sticky-add-to-cart .ux-quantity.quantity.buttons_added {
    flex: 0 0 auto !important;
}
.sticky-add-to-cart--active .cart{
    left: 0 !important;
    justify-content: end;
}