/*
Theme Name: Blogsy Child
Theme URI: https://peregrine-themes.com/blogsy/
Description: Child theme của Blogsy – dùng để tuỳ chỉnh giao diện mà không mất khi theme cha cập nhật.
Author: Thu
Author URI: 
Template: blogsy
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blogsy-child
*/

/*
 * Thêm CSS tuỳ chỉnh của bạn bên dưới đây.
 * CSS này sẽ được load SAU CSS của theme cha,
 * nên bạn có thể ghi đè bất kỳ style nào.
 */
 @import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&display=swap');
 :root {
    --pt-soft-radius: 2px !important;
	    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--red: #ed1c23;
}
/* Sticky header */
#site-header .pt-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
#site-header .pt-header.is-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
button.btn-primary.btn-quote a {
    color: white;
}
.top-bar {
  color: #fff;
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.top-item {
  display: flex;
  align-items: center;
}

.icon {
  margin-right: 12px;
  font-size: 14px;
  display: flex;
}

.icon svg {
  fill: #fff;
}
.divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.5);
  margin: 0 15px;
  display: inline-block;
}

.text {
  white-space: nowrap;
}
div#blogsy-ticker {
    display: none;
}
#blogsy-pyml {
    display: none;
}
.blogsy-topbar>.pt-container>.pt-flex-row{
	padding-bottom: 3px;
	padding-top: 3px;
}
html:not([scheme="dark"]) .pt-header {
    color: #29294b;
    border-bottom: 2px solid #234391;
}
html:not([scheme="dark"]) .card-layout, html:not([scheme="dark"]) .card-layout-w {
    /* box-shadow: 0 2px 5px 0 rgba(14, 14, 19, 0.05); */
    box-shadow: none !important;
}

.single-page-outside {
    margin-top: 0px !important;
}
.page .single-content,
.page .single-content-inner,
.page article.single-content {
    padding: 0 !important;
    margin: 0 !important;
}

.page .content-wrapper,
.page .pt-container,
.page .page-content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.e-con-inner {
    padding-top: 0px !important;
}
html:not([scheme="dark"]) .pt-header-layout-1 .pt-header .pt-header-inner .pt-header-container::after, html:not([scheme="dark"]) .pt-header-layout-2 .pt-header .pt-header-inner, html:not([scheme="dark"]) .pt-header-layout-3 .pt-header .pt-header-inner > .pt-header-container{
	border-style: none !important;
	box-shadow: none !important;
}
.blogsy-header-nav .children li>a:before, .blogsy-header-nav .sub-menu li>a:before{
	display: none;
}
/* ANIMATIONS */
.fade-in {
  opacity: 0;                    /* ban đầu trong suốt */
  transform: translateY(30px);   /* ban đầu dịch xuống dưới 30px */
  transition: all 0.7s var(--transition);   /* thời gian chuyển động 0.7 giây */
}

.fade-in.visible {
  opacity: 1;                    /* hiện rõ */
  transform: translateY(0);      /* dịch về vị trí bình thường */
}

/* Có thể delay cho từng phần */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   ABOUT SECTION – HTML Widget in Elementor
   ============================================ */

/* Layout 2 cột do Elementor xử lý,
   CSS này style nội dung bên trong mỗi widget */

/* --- CỘT TRÁI --- */
.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
	line-height:68px;
	color: #234391 !important;
}
.section-title em {
    font-style: normal;
    color: var(--red);
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 32px;                   /* Độ dài thanh gạch */
    height: 2px;                   /* Độ dày thanh gạch */
    background: var(--red);
    flex-shrink: 0;                /* Không bị co lại */
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.pt-container .elementor-element-154b9b0 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}
.about-visual {
    position: relative;
    /*height: 656px;*/
}

.about-img-main {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a3270, #234491);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-main {
    overflow: hidden;
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.1);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: #ed1c23;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 10;
}

.about-badge-num {
    font-weight: 900;
    font-size: 42px;
    line-height: 1;
}

.about-badge-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 4px;
}

/* --- CỘT PHẢI --- */
.about-content {
    padding-left: 16px;
}

.about-content .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #ed1c23;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-content .section-tag::before {
    content: '';
    width: 32px;
    height: 1px;
    background: #ed1c23;
    flex-shrink: 0;
}

.about-content .section-title {
	font-family: var(--font-display) !important;
    font-weight: 900;
    font-size: clamp(30px, 3.5vw, 40px); !important
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #234391 !important;
    margin: 0 0 16px;
}

.about-content .section-title em {
    font-style: italic;
    color: #ed1c23;
}

.about-content .section-subtitle {
    font-size: 15px;
    color: #5a6070;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 0 32px;
}

/* --- FEATURE GRID --- */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    padding: 18px;
    border: 1px solid rgba(35, 68, 145, 0.25);
    border-radius: 4px;
    background: rgba(35, 68, 145, 0.04);
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: #ed1c23;
    background: rgba(237, 28, 35, 0.04);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(237, 28, 35, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.about-feature-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: #1a2238;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: #7a8097;
    line-height: 1.5;
    margin: 0;
}

/* --- NÚT CTA --- */
.about-content .btn-primary {
    background: #ed1c23;
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: default;
}

.about-content .btn-primary:hover {
    background: #c4151b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(237, 28, 35, 0.35);
}


/* Grid chính */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);           /* 4 cột như code cũ của bạn */
    gap: 1px;                                        /* Giữ gap 1px tạo đường viền mỏng */
    background: rgba(35,68,145,0);                 /* Nền grid màu xanh nhạt */
    border: 1px solid rgba(35,68,145,0.2);
    overflow: hidden;
    border-radius: var(--pt-soft-radius, 4px);
}

/* Card item */
.why-card {
    background: #ffffff;                             /* Nền trắng như yêu cầu mới */
    padding: 40px 32px;
    transition: all 0.35s var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

/* Hover effect giống code cũ của bạn */
.why-card:hover {
    background: rgba(35,68,145,0.05);                /* Hover nhẹ */
    transform: translateY(-8px);
}

/* Border bottom đỏ khi hover */
.why-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition);
    transform-origin: left;
}

.why-card:hover::before {
    transform: scaleX(1);
}

/* Icon */
.why-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(35,68,145,0.15);
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

/* Tiêu đề */
.why-title  {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #1e2235;
    text-align: center;
}

/* Mô tả */
.why-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

}
/* ===== SERVICES SECTION ===== */
.hav-services {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    font-family: inherit;
}

/* Lớp hình nền – 4 hình chồng nhau, chuyển bằng opacity */
.hav-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hav-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hav-bg-img.active {
    opacity: 1;
}

/* Overlay tối nhẹ cho toàn section */
.hav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Grid 4 ô */
.hav-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100%;
}

/* Từng ô */
.hav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    cursor: default;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background 0.4s ease;
    overflow: hidden;
}

.hav-item:last-child {
    border-right: none;
}

/* Lớp màu xanh khi hover */
.hav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #234492;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.hav-item:hover::before,
.hav-item.active::before {
    opacity: 0.88;
}

/* Đường viền trên khi hover */
.hav-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #ed1c23;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.hav-item:hover::after,
.hav-item.active::after {
    transform: scaleX(1);
}

/* Nội dung trong ô */
.hav-item-inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

/* Icon */
.hav-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hav-item:hover .hav-icon,
.hav-item.active .hav-icon {
    transform: translateY(-4px);
    opacity: 1;
}


.hav-title {
     font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #fff;
    text-align: left;
}

/* Mô tả – ẩn mặc định, hiện khi hover */
.hav-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
    margin: 12px 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.hav-item:hover .hav-desc,
.hav-item.active .hav-desc {
    max-height: 120px;
    opacity: 1;
}

/* Nút xem thêm */
.hav-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, background 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.hav-item:hover .hav-btn,
.hav-item.active .hav-btn {
    opacity: 1;
    transform: translateY(0);
}

.hav-btn:hover {
    border-color: #ed1c23;
    background: rgba(237, 28, 35, 0.04);
}
/* ===== MOBILE: 1 cột dọc, mỗi ô có hình riêng ===== */
@media (max-width: 767px) {
    .hav-services {
        height: auto;
        overflow: visible;
    }
 
    /* Ẩn lớp hình nền chung – mỗi ô tự có hình */
    .hav-bg-layer,
    .hav-overlay {
        display: none;
    }
 
    .hav-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
 
    .hav-item {
        position: relative;
        min-height: 220px;
        padding: 28px 20px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        justify-content: center;
        align-items: center;
        text-align: center;
        /* Mỗi ô tự có hình nền */
        background-size: cover;
        background-position: center;
        overflow: hidden;
    }
 
    /* Overlay tối cho từng ô */
    .hav-item::before {
        background: rgba(0,0,0,0.45);
        opacity: 1 !important;
    }
 
    /* Ô active: overlay xanh */
    .hav-item.active::before {
        background: #234492;
        opacity: 0.88 !important;
    }
 
    /* Đường viền trái thay vì trên */
    .hav-item::after {
        top: 0; bottom: 0; right: auto;
        width: 4px; height: 100%;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s ease;
    }
 
    .hav-item.active::after {
        transform: scaleY(1);
    }
 
    .hav-item-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 
    .hav-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        transform: none !important;
    }
 
    .hav-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
 
    /* Mô tả luôn hiển thị trên mobile */
    .hav-desc {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 10px !important;
        font-size: 13px;
        text-align: center;
        display: none;
    }
 
    .hav-item.active .hav-desc {
        display: block;
    }
 
    /* Nút luôn hiển thị trên mobile */
    .hav-btn {
        opacity: 0 !important;
        transform: none !important;
        margin-top: 14px;
        padding: 9px 24px;
        display: none;
    }
 
    .hav-item.active .hav-btn {
        opacity: 1 !important;
        display: inline-block;
    }
}
 
/* Tablet: 2 cột */
@media (min-width: 768px) and (max-width: 1023px) {
    .hav-services {
        height: auto;
        overflow: visible;
    }
 
    .hav-bg-layer,
    .hav-overlay {
        display: none;
    }
 
    .hav-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
    }
 
    .hav-item {
        min-height: 260px;
        padding: 28px 20px;
        border-right: 1px solid rgba(255,255,255,0.15);
        border-bottom: 1px solid rgba(255,255,255,0.15);
        background-size: cover;
        background-position: center;
        justify-content: flex-end;
    }
 
    .hav-item:nth-child(2n) {
        border-right: none;
    }
 
    .hav-item:nth-child(3),
    .hav-item:nth-child(4) {
        border-bottom: none;
    }
 
    /* Overlay tối cho từng ô */
    .hav-item::before {
        background: rgba(0,0,0,0.45);
        opacity: 1 !important;
    }
 
    .hav-item.active::before,
    .hav-item:hover::before {
        background: #234492;
        opacity: 0.88 !important;
    }
 
    /* Desc luôn hiển thị khi active */
    .hav-item.active .hav-desc,
    .hav-item:hover .hav-desc {
        max-height: 100px;
        opacity: 1;
    }
 
    .hav-item.active .hav-btn,
    .hav-item:hover .hav-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 4 THÔNG SỐ - LIGHT THEME === */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spec-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: var(--pt-soft-radius, 2px);
    padding: 8px 8px;
    transition: all 0.3s var(--transition);
}

.spec-box:hover {
    background: #ffffff;
    border-color: var(--red, #ed1c23);
    box-shadow: 0 4px 12px rgba(237, 28, 35, 0.08);
}

.spec-label {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.spec-value {
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: #1e2937;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.product-card {
  min-width: 340px;
  max-width: 340px;
  background: var(--black);
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  border: 1px solid rgba(35,68,145,0.2);
  transition: all 0.35s;
}
.product-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  /*box-shadow: 0 20px 60px rgba(237,28,35,0.15);*/
}
.product-img {
  height: 220px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
}
.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-icon { font-size: 64px; opacity: 0.4; }
.product-body { padding: 24px; }
.product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}
.product-spec {
  background: rgba(35,68,145,0.1);
  border-radius: 3px;
  padding: 8px 12px;
}
.product-spec-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-spec-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}
.product-desc { font-size: 13px; color: var(--gray-400); line-height: 1.6; margin-bottom: 20px; }
.product-actions { display: flex; gap: 10px; }
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  transition: all 0.25s;
}
.btn-sm-red { background: var(--red); color: white; }
.btn-sm-red:hover { background: var(--red-dark); }
.btn-sm-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-sm-outline:hover { border-color: var(--white); }

.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 2px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  font-size: 18px;
}
.carousel-btn:hover { border-color: var(--red); color: var(--red); }

/* === BUTTONS BÁO GIÁ & CHI TIẾT === */
.product-action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--pt-soft-radius, 2px);
    cursor: default;
    transition: all 0.3s var(--transition);
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

/* Nút BÁO GIÁ - Đỏ */
.global-quote-btn {
    background: var(--red, #ed1c23);
    color: #ffffff;
    border: 2px solid var(--red, #ed1c23);
}

.global-quote-btn:hover {
    background: #c4171d;
    border-color: #c4171d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(237, 28, 35, 0.3);
}

/* Nút CHI TIẾT - Viền trắng */
.btn-detail {
    background: transparent;
    color: #1e2937;
    border: 1px solid #d3dae9;
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--red);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 640px) {
    .product-action-buttons {
        flex-direction: column;
    }
    .btn {
        min-height: 48px;
        font-size: 15px;
    }
}

.woocommerce div.product {
    box-shadow: none !important;
    padding: 10px !important;
}
.product_title.entry-title.elementor-heading-title.elementor-size-default {
    font-family: var(--font-display);
    font-weight: 800;
	color: #29294B;
    /*font-size: 18px;*/
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
	line-height: 25px;
}
.elementor img {
    max-width: 100% !important;
}
/* ===== FIX LOOP PRODUCT CARD – căn đều chiều cao ===== */

/* Container card dùng flex column để các phần tử căn đều */
.product-card > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Tên sản phẩm – giới hạn 2 dòng, không bị đẩy layout */
.DUP_product-name {
    min-height: 60px !important;
}

.DUP_product-name .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
    min-height: 2.6em !important;
}

/* Mô tả ngắn – giới hạn 2 dòng */
.elementor-widget-woocommerce-product-short-description .woocommerce-product-details__short-description p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.8em !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Specs grid và buttons đẩy xuống cuối */
.elementor-element-07e2988,
.elementor-element-0593a70 {
    margin-top: auto !important;
}
footer#site-footer {
    display: none;
}

/* ===== CLIENTS SLIDER - CHẠY LIÊN TỤC GIỐNG INDEX.HTML ===== */
.elementor-image-carousel-wrapper {
    overflow: hidden;
}

.elementor-image-carousel .swiper-wrapper {
    animation: scrollClients 35s linear infinite !important;
    transition: all 0.3s;
}

.elementor-image-carousel:hover .swiper-wrapper {
    animation-play-state: paused !important;
}

/* Animation chạy từ phải sang trái */
@keyframes scrollClients {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Làm logo sáng hơn khi hover */
.elementor-image-carousel .swiper-slide img {
    opacity: 0.75;
    transition: all 0.4s ease;
    filter: grayscale(30%);
}

.elementor-image-carousel .swiper-slide:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .elementor-image-carousel .swiper-wrapper {
        animation-duration: 28s;
    }
}

/* ===== THÔNG TIN DỰ ÁN - KIỂU ĐƠN GIẢN ===== */
.project-info-simple {
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #f97316;           /* Màu cam như mẫu */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15.5px;
    color: #1f2937;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-info-simple {
        padding: 24px 20px;
    }
}

.elementor-element.elementor-element-1e7cc76.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.product-name a{
  display: -webkit-box;
  -webkit-line-clamp: 2; /* số dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px; 
}

.product-action-buttons{
  margin-top: auto;
}