/*
Theme Name: Print
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* ===== FORM TÍNH GIÁ CƠ BẢN (giữ nguyên nếu bạn đã có) ===== */
.price_calculator { max-width: 687px; margin: 0 auto; }
.title-slider2 h4 { padding: 7px 0; text-align: center; background: #c70404; color: #fff; }
.for-mobile { padding: 10px; border: 1px dashed #e31b00; border-top: none; }
.for-mobile input { width: 100%; }
.btn-price { background-color: #2cb0ef; color: #fff; display: block; width: 100%; font-size: 20px; border: 0; border-radius: 4px; padding: 8px 0; cursor: pointer; }
.d-flex { display: flex; justify-content: space-between; }
.d-flex .col-6 { width: 49%; }
#sticker-calculate { margin: 0; }
#result_1 { margin: 20px 0; }
#result_1 .for-mobile { border: 1px dashed #e31b00; }

/* ===== GIÁ ƯỚC TÍNH NỔI BẬT ===== */
#view_total {
  text-align: center; width: 100%; display: block;
  font-size: 20px; font-weight: 700; color: #d93025;
  background: #fff7f6; border: 1px solid #f1c4bf;
  padding: 10px 18px; border-radius: 8px; margin: 10px auto 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: transform .2s ease-in-out, background .2s;
}
#view_total:hover { background: #ffe9e5; transform: scale(1.02); }

/* Ghi chú dưới giá + icon đầu dòng */
.price-note { text-align: center; font-size: 13px; color: #666; margin-top: 6px; font-style: italic; position: relative;}
.price-note::before { content: "💡 "; font-style: normal; margin-right: 4px; }

/* ===== CỤM 3 NÚT: FLEX RESPONSIVE ===== */
.contact-buttons {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: stretch;
  background: #f9f9f9; padding: 12px 16px; border-radius: 10px; margin-top: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Định dạng chung cho 3 nút */
.contact-buttons > a,
.contact-buttons > button {
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  color: #fff; border: 0; border-radius: 6px;
  font-weight: 500; font-size: 16px; line-height: 1.2;
  padding: 12px 0; min-height: 44px; /* đủ lớn cho mobile */
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  cursor: pointer;
  /* Mobile mặc định: xếp dọc, full width */
  flex: 1 1 100%;
}

/* Màu nút (giữ như bạn đang dùng) */
.btn-contact { background-color: #bb1b1b; }  /* Điện thoại */
.btn-zalo    { background-color: #7c91dd; }  /* Zalo */
.btn-reset   { background-color: #3b88c3; }  /* Reset */

/* Hover & Focus */
.contact-buttons > a:hover,
.contact-buttons > button:hover { transform: translateY(-2px); opacity: .92; }
.contact-buttons > a:focus-visible,
.contact-buttons > button:focus-visible { outline: 2px solid #2cb0ef; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(44,176,239,.2); }

/* ≥ 480px: 2 nút trên chia đôi, nút reset full hàng dưới */
@media (min-width: 480px) {
  .contact-buttons > :nth-child(1),
  .contact-buttons > :nth-child(2) {
    flex: 1 1 calc(50% - 4px);   /* mỗi nút 1/2 hàng */
  }
  .contact-buttons > :nth-child(3) {
    flex: 1 1 100%;              /* nút reset chiếm cả hàng dưới */
    max-width: 360px;            /* tùy chọn để cân đối; bỏ nếu muốn full */
    margin-top: 2px;
  }
}

/* ≥ 768px: có thể nới nhẹ chiều ngang nút reset (tùy chọn) */
@media (min-width: 768px) {
  .contact-buttons > :nth-child(3) { max-width: 420px; }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}