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

/*************** ADD CUSTOM CSS HERE.   ***************/


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


}
body.home #ftwp-container-outer {
    display: none;
}

body. page-checkout #ftwp-container-outer {
    display: none;
}


/* Giao hàng */
.features {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  gap: 20px;
}

i.icon-angle-up {
    color: darkgreen;
}

body {
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000;
}

a {
    color: #fd5119;
    text-decoration: none;
}

.feature-item {
  flex: 1;
  background: #fff;
  text-align: center;
  padding: 30px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  cursor: pointer;
}

.feature-item .icon img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.feature-item h3 {
  margin: 15px 0 5px;
  font-size: 18px;
}

.feature-item p {
  color: #888;
  font-size: 14px;
}

.feature-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
  border-color: #ddd;
}

.feature-item:hover .icon img {
  transform: scale(1.2);
}

/*Review*/
.reviews {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.reviews h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.review-item {
  flex: 1 1 calc(25% - 20px);
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

.review-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.review-item h3 {
  margin: 10px 0 0;
  font-size: 16px;
}

.stars {
  color: #ff6600;
  font-size: 18px;
  margin: 5px 0;
}

.review-item p {
  padding: 0 10px 15px;
  font-size: 14px;
  color: #555;
}

/* section-header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 15px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin: 0;
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff6600, #ff3300);
  margin-top: 5px;
  border-radius: 2px;
}

.section-header a {
  display: inline-block; /* luôn trên 1 dòng */
  white-space: nowrap;   /* không cho xuống dòng */
  font-size: 14px;
  color: #ff5a3c;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
	margin-right: 20px;
}

.section-header a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: #ff5a3c;
  transition: width 0.3s ease;
}

.section-header a:hover::after {
  width: 0;
}

.section-header a:hover {
  color: #ff3300;
}

/* footer */
footer {
    color: white;
}
footer a{
    color: white;
}

footer h3{
    color: white;
}

footer h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff6600, #ff3300);
  margin-top: 5px;
  border-radius: 2px;
}

a.icon-circle:hover, a.remove:hover, a:hover {
    color: #ff7315;
}

:root{
  --bg: #0b0b0b;        /* nền vùng */
  --accent: #ff5a3c;    /* màu accent cam */
  --white: #ffffff;
  --muted-white: rgba(255,255,255,0.85);
}

/* Container (nếu bạn đã có background đen, có thể bỏ) */
footer .contact-list{
  background: var(--bg);
  padding: 18px;
  border-radius: 6px;
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Mỗi dòng thông tin */
footer .contact-item{
  display: flex;
  align-items: flex-start;  /* icon căn trên đầu hàng chữ nhiều dòng */
  gap: 12px;
  margin-bottom: 16px;
}

/* Vòng tròn chứa SVG */
footer .icon{
  width: 42px;
  height: 42px;
  min-width: 42px;         /* giữ không bị co khi container nhỏ */
  border-radius: 50%;
  background: var(--white); /* trắng như ảnh */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 14px rgba(0,0,0,0.55),            /* bóng nền */
    0 0 10px rgba(255,90,60,0.08);           /* glow nhẹ cam */
  transition: transform .18s ease, box-shadow .18s ease;
  flex-shrink: 0;
}

/* SVG inherits color: icon màu tối trên nền trắng */
footer .icon svg{
  width: 18px;
  height: 18px;
  fill: #222; /* màu icon bên trong vòng tròn */
  display: block;
}

/* Hover/effect (tuỳ chọn) */
footer .icon:hover{
  transform: translateY(-3px);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.6),
    0 0 18px rgba(255,90,60,0.12);
}

/* Text phần nội dung */
footer .contact-text p{
  margin: 0;
  color: var(--muted-white);
  font-size: 14px;
  line-height: 1.45;
}

/* Dòng địa chỉ / tiêu đề: có đường phân tách nhẹ phía dưới giống ảnh */
footer .contact-text .addr{
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 600;
}

/* Phone / email styling */
footer .contact-text .phone a,
footer .contact-text .email a{
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

footer .contact-text .hours{
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  margin-left: 6px;
  font-size: 13px;
}

/* Responsive nhỏ */
@media (max-width:420px){
  footer .contact-list{ width: 100%; padding: 12px; }
 footer .icon{ width: 36px; height: 36px; min-width:36px; }
 footer .icon svg{ width: 16px; height: 16px; }
 footer .contact-text .addr{ font-size: 14px; }
}

/* ===== Menu chính ===== */
.header-bottom-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-bottom-nav > li {
    position: relative;
}

.header-bottom-nav > li > a {
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    display: inline-block;
    border-radius: 6px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover đổi nền + đổi màu chữ */
.header-bottom-nav > li > a:hover {
    background-color: rgba(255, 102, 0, 0.15);
    color: #ff6600;
}

/* ===== Dropdown menu ===== */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 6px;
}

.nav-dropdown li a {
    padding: 8px 15px;
    display: block;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-dropdown li a:hover {
    background-color: rgba(255, 102, 0, 0.15);
    color: #ff6600;
}

/* Hiển thị dropdown khi hover */
.menu-item-has-children:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Khung ảnh sản phẩm --- */
.product-small .box-image {
    border: 2px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-small:hover .box-image {
    border-color: #ff6600; /* Màu cam nổi bật */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Vị trí nhãn giảm giá --- */
.badge-container {
    top: 10px !important; /* Cách viền trên */
    left: 10px !important; /* Cách viền trái */
}

/* --- Style nhãn giảm giá --- */
.badge-container .badge-inner.secondary.on-sale {
    background: linear-gradient(135deg, #ff6600, #ff3300);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    animation: swingBadge 1.2s infinite ease-in-out;
}

/* --- Hiệu ứng swing (rung nhẹ) --- */
@keyframes swingBadge {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* --- Hiệu ứng khi di chuột vào ảnh --- */
.product-small .box-image img {
    transition: transform 0.4s ease;
}
.product-small:hover .box-image img {
    transform: scale(1.05);
}

/* --- Nổi bật text khi hover --- */
.product-small .product-title a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.product-small:hover .product-title a {
    color: #ff6600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.badge-container {
    margin: 0px 0 0;
}
.badge {
    backface-visibility: hidden;
    display: table;
    height: auto;
    pointer-events: none;
    width: 2.8em;
    z-index: 20;
}

/*CSS thêm vào giỏ*/
/* --- Form giỏ hàng --- */
form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* --- Khung số lượng --- */
.ux-quantity.quantity {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* --- Nút cộng trừ --- */
.ux-quantity__button {
    background: #f5f5f5;
    border: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ux-quantity__button:hover {
    background: #ff6600;
    color: #fff;
}

/* --- Ô nhập số lượng --- */
.ux-quantity input.qty {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    outline: none;
}

/* --- Nút thêm vào giỏ hàng --- */
.single_add_to_cart_button {
    background: linear-gradient(135deg, #ff6600, #ff3300);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #ff3300, #cc0000);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* --- Khi hover ảnh thì hiện nút --- */
.image-fade_in_back:hover .image-tools.grid-tools {
    opacity: 1;
}

/* --- Nút Xem nhanh --- */
.image-tools.grid-tools .quick-view {
    background: linear-gradient(135deg, #ff6600, #ff3300);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

/* --- Hiệu ứng hover nút --- */
.image-tools.grid-tools .quick-view:hover {
    background: linear-gradient(135deg, #ff3300, #cc0000);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

/* View nhanh*/
/* Mô tả sản phẩm */
.product-lightbox .product-short-description {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
}
.product-lightbox .product-short-description h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.product-lightbox .product-short-description ul {
    padding-left: 18px;
    margin: 0;
}
.product-lightbox .product-short-description li {
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
    line-height: 1.4;
}
.product-lightbox .product-short-description li:last-child {
    border-bottom: none;
}
/* Tiêu đề sản phẩm */
.product-lightbox .product-lightbox-inner h1 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Giá sản phẩm */
.product-lightbox .price-wrapper .amount {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e53935;
}

.product-gallery-slider img, .product-thumbnails img {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
}
.product-lightbox.lightbox-content {
    border: 1px solid #eee;
    border-radius: 16px;
}

/*Mini giỏ hàng*/
/* ===========================
   MINI-CART (Scoped to dropdown)
   =========================== */
.nav-dropdown.nav-dropdown-default .widget_shopping_cart {
  box-sizing: border-box;
  width: 360px;             /* desired width */
  max-width: 100%;          /* responsive */
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* product link (image + title) - force it to take remaining width */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item > a:not(.remove) {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1 1 auto;           /* take available width */
  text-decoration: none;
  color: #222;
  line-height: 1.2;
  word-break: break-word;   /* long titles wrap */
  white-space: normal;      /* ensure no truncation */
}

/* image inside product link */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item > a img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ececec;
  flex-shrink: 0;
}

/* product title text styling */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item > a:not(.remove) {
  font-weight: 600;
  color: #222;
}

/* quantity row (put below the title, aligned with text area) */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item .ux-mini-cart-qty {
  display: block;
  margin-top: 6px;
  margin-left: 74px;       /* align under text (image width + gap) */
  color: #666;
  font-size: 13px;
  line-height: 1.2;
}

/* remove button: displayed below price/title, aligned with text area */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item .remove {
display: inline-block;
    margin-top: 6px;
    margin-left: 74px;
    color: #ff4d4d;
    background: repeating-radial-gradient(black, transparent 100px);
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease, transform .12s ease;
    padding: 0px 1px;
    border-radius: 4px;
}
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item .remove:hover {
  color: #c80000;
  background: rgba(255, 77, 77, 0.06);
  transform: translateY(-1px);
}

/* Footer: total + buttons */
.nav-dropdown.nav-dropdown-default .ux-mini-cart-footer {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 6px;
}

/* total */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart__total {
  font-weight: 700;
  color: #222;
  margin: 6px 0 10px;
  font-size: 14px;
}

/* buttons row */
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart__buttons {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart__buttons a {
  flex: 1 1 48%;
  padding: 9px 10px;
  text-align: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart__buttons .wc-forward {
  background: linear-gradient(180deg,#ff6b2b,#ff4a00);
}
.nav-dropdown.nav-dropdown-default .woocommerce-mini-cart__buttons .checkout {
  background: linear-gradient(180deg,#4caf50,#388e3c);
}

/* small screens: make width fluid */
@media (max-width: 420px) {
  .nav-dropdown.nav-dropdown-default .widget_shopping_cart {
    width: calc(100vw - 32px) !important;
    padding: 10px;
  }
  .nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item {
    gap: 10px;
    padding: 8px;
  }
  .nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item > a img {
    width: 56px;
    height: 56px;
  }
  .nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item .ux-mini-cart-qty,
  .nav-dropdown.nav-dropdown-default .woocommerce-mini-cart-item .remove {
    margin-left: 66px;
  }
}
.widget_shopping_cart_content {
    padding: 10px;
}

/*CSS giỏ hàng*/
/* ================================
   CSS Giỏ hàng WooCommerce - Hiệu ứng đẹp & Chỉ áp dụng giỏ hàng
   ================================ */

/* Bảng giỏ hàng */
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
    border-collapse: collapse;
    width: 100%;
    border: 2px solid #f1f1f1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeIn 0.6s ease;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table th {
    background: linear-gradient(45deg, #ff7a00, #ff4d00);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px;
    border-bottom: 2px solid #e2e2e2;
    letter-spacing: 0.5px;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    transition: background 0.3s ease;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr:hover td {
    background: #fff9f5;
}

/* Ảnh sản phẩm */
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
    max-width: 80px;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
    display: block;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
}

/* Tên sản phẩm */
body.woocommerce-cart .woocommerce-cart-form .product-name a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
body.woocommerce-cart .woocommerce-cart-form .product-name a:hover {
    color: #ff6600;
    text-shadow: 0 1px 2px rgba(255,102,0,0.2);
}

/* Ô số lượng */
body.woocommerce-cart .woocommerce-cart-form .quantity .qty {
    width: 60px;
    padding: 6px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty:focus {
    border-color: #ff6600;
    box-shadow: 0 0 5px rgba(255,102,0,0.5);
}

/* Nút bấm trong giỏ hàng */
body.woocommerce-cart .woocommerce-cart-form button.button,
body.woocommerce-cart .woocommerce-cart-form a.button {
    background: linear-gradient(45deg, #ff6600, #ff3300);
    background-size: 200% 200%;
    color: #fff !important;
    border: none;
    padding: 12px 22px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    animation: gradientMove 4s ease infinite;
}
body.woocommerce-cart .woocommerce-cart-form button.button:hover,
body.woocommerce-cart .woocommerce-cart-form a.button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,102,0,0.4);
}

/* Khung tổng tiền */
body.woocommerce-cart .cart_totals {
    border: 2px solid #ff6600;
    padding: 15px;
    background: #fff8f2;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255,102,0,0.15);
    animation: fadeInUp 0.7s ease;
}
body.woocommerce-cart .cart_totals h2 {
    color: #ff3300;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}
body.woocommerce-cart .cart_totals .order-total strong {
    color: #d40000;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(212,0,0,0.2);
}

/* Thông báo */
body.woocommerce-cart .woocommerce-message {
    background: #e0fbe0;
    border-left: 4px solid #2ecc71;
    padding: 10px;
    font-weight: 500;
    border-radius: 4px;
    animation: fadeIn 0.6s ease;
}
body.woocommerce-cart .woocommerce-error {
    background: #ffecec;
    border-left: 4px solid #e74c3c;
    padding: 10px;
    font-weight: 500;
    border-radius: 4px;
    animation: fadeIn 0.6s ease;
}

/* ========================
   Hiệu ứng Animation
   ======================== */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes gradientMove {
    0% {background-position: left center;}
    50% {background-position: right center;}
    100% {background-position: left center;}
}

/* ================================
   Tổng cộng giỏ hàng - WooCommerce
   ================================ */
body.woocommerce-cart .cart_totals {
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(to bottom right, #fff8f2, #fff);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Viền gradient bên ngoài */
body.woocommerce-cart .cart_totals::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #ff6600, #ff3300);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Hiệu ứng hover: phóng to nhẹ + sáng hơn */
body.woocommerce-cart .cart_totals:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Tiêu đề */
body.woocommerce-cart .cart_totals h2 {
    color: #ff3300;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px dashed #ff6600;
    padding-bottom: 5px;
}

/* Các dòng tổng cộng */
body.woocommerce-cart .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 8px 0;
    font-size: 16px;
    color: #333;
}

/* Tổng tiền cuối cùng nổi bật */
body.woocommerce-cart .cart_totals .order-total strong {
    color: #d40000;
    font-size: 20px;
    background: linear-gradient(90deg, #ffebd6, #ffd6d6);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Nút tiến hành thanh toán */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    background: linear-gradient(45deg, #ff6600, #ff3300);
    color: #fff !important;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 10px;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(45deg, #ff3300, #cc0000);
    transform: scale(1.03);
}


/*CSS thanh toán*/
/* ==== 1. Khung tổng thể ==== */
.checkout.woocommerce-checkout {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}
.checkout.woocommerce-checkout:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ==== 2. Form mã ưu đãi ==== */
.woocommerce-info.message-wrapper {
    background: linear-gradient(90deg, #fff8e1, #ffecb3);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ffe082;
    font-size: 14px;
    text-align: center;
}
.woocommerce-info.message-wrapper a.showcoupon {
    color: #ff6f00;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.woocommerce-info.message-wrapper a.showcoupon:hover {
    color: #e65100;
}

/* ==== 3. Bảng sản phẩm ==== */
.woocommerce table.shop_table {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce table.shop_table th {
    background: #fafafa;
    padding: 12px;
    font-weight: 600;
    color: #333;
}
.woocommerce table.shop_table td {
    padding: 12px;
    border-top: 1px solid #eee;
}
.woocommerce table.shop_table tr:hover {
    background: #fdfdfd;
}

/* ==== 4. Input & Select ==== */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #ff9800;
    box-shadow: 0 0 5px rgba(255,152,0,0.3);
    outline: none;
}

/* ==== 5. Nút đặt hàng ==== */
.woocommerce #place_order {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.woocommerce #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,87,34,0.3);
}

/*Căn chỉnh bảng*/
/* Style cho bảng */
.has-fixed-layout {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Header */
.has-fixed-layout thead tr,
.has-fixed-layout tr:first-child {
    background-color: #f57c00;
    color: white;
    font-weight: bold;
}

/* Ô dữ liệu */
.has-fixed-layout td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

/* Nền xen kẽ */
.has-fixed-layout tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover hàng */
.has-fixed-layout tr:hover {
    background-color: #ffe0b2;
    transition: 0.3s;
}

/* Căn trái cột đầu */
.has-fixed-layout td:first-child {
    text-align: left;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .has-fixed-layout {
        font-size: 14px;
    }
    .has-fixed-layout td {
        padding: 10px;
    }
}

/* Style bảng thông tin sản phẩm */
table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Cột tiêu đề bên trái */
table td:first-child {
    background-color: #f3f4f6;
    font-weight: bold;
    width: 35%;
    text-align: left;
    padding: 12px 15px;
}

/* Cột nội dung */
table td:last-child {
    padding: 12px 15px;
    text-align: left;
}

/* Viền ngăn */
table td {
    border-bottom: 1px solid #e5e7eb;
}

/* Hàng cuối không có viền */
table tr:last-child td {
    border-bottom: none;
}

/* Hover hàng */
table tr:hover td {
    background-color: #fef9c3;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 600px) {
    table {
        font-size: 14px;
    }
    table td {
        padding: 10px;
    }
}
/*CSS icon gọi điện*/
.icon-box-img {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Khoảng cách giữa icon và text */
    background: #f9f9f9; /* Nền nhạt */
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.icon-box-img:hover {
    background: #ffe9d6; /* Nền đổi màu khi hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.icon-box-img .icon-inner img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.icon-box-img:hover .icon-inner img {
    transform: scale(1.1) rotate(5deg);
}

.icon-box-img span,
.icon-box-img strong {
    font-size: 16px;
    color: #555;
}

.icon-box-img strong {
    color: #e67e22; /* Màu nổi bật cho số điện thoại */
}


