/*
Theme Name: Wootech Daoplathanoi
Description: Child theme for Daoplathanoi based on Wootech Theme
Author: Wootech Team
Template: wootech-theme
Version: 1.0.0
*/

:root {
    --color-primary: #c49a5b;
    /* Màu vàng marble */
    --color-primary-hover: #b08a50;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-text: #4a4a4a;
    --color-border: #eaeaea;
    
    /* Parent Theme Overrides */
    --wt-color-primary: #c49a5b;
    --wt-color-primary-hover: #b08a50;
    --wt-color-primary-muted: rgba(196, 154, 91, 0.1);
    
    --wt-font-heading: 'Inter', sans-serif;
    --wt-font-body: 'Inter', sans-serif;
    
    --font-heading: 'Inter', sans-serif;
    /* Giả định font Inter */
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--color-text);
}

a:hover {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid #ddd;
}

.btn-outline:hover {
    background-color: #f1f1f1;
}

/* -----------------------------------------
   HERO BANNER
----------------------------------------- */
.hero-banner {
    position: relative;
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Tuỳ chọn lớp phủ mờ bên trái để làm nổi text nếu ảnh quá sáng */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-banner .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 50px 0 60px 0;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-overlay {
        width: 100%;
        background: rgba(255, 255, 255, 0.88);
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.35;
        margin-bottom: 15px;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
}

/* -----------------------------------------
   FEATURES BAR
----------------------------------------- */
.features-bar {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eaeaea;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 32px;
    color: var(--color-primary);
    width: 45px;
    text-align: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 14px;
    margin: 0;
    color: #666;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* -----------------------------------------
   SECTION COMMON
----------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.project-header-left .section-title::after,
.why-us-left .section-title::after {
    left: 0;
    transform: none;
}

/* -----------------------------------------
   CATEGORIES SECTION
----------------------------------------- */
.home-categories {
    padding: 60px 0;
    background-color: var(--color-light);
}

.category-swiper {
    padding-bottom: 50px !important;
    /* For pagination */
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    margin: -15px;
    /* Offset padding so items align with container */
}

.category-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

.category-card-6 {
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-6:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card-6 .category-img {
    position: relative;
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* Để có hiệu ứng zoom ảnh mượt mà khi hover mà không trồi ra ngoài */
.category-card-6-img-wrapper {
    overflow: hidden;
    width: 100%;
    height: 190px;
}

.category-card-6:hover .category-img {
    transform: scale(1.1);
}

.category-card-6 .category-info {
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    background-color: #0a0a0a;
}

.category-card-6 .category-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.category-card-6 .category-more {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
}

/* -----------------------------------------
   PROJECTS SECTION
----------------------------------------- */
.home-projects {
    padding: 60px 0;
    background-color: #fff;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.project-header-left {
    max-width: 70%;
    text-align: left;
}

.project-header-left .section-title {
    margin-bottom: 20px;
}

.project-header-right .btn-view-all {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #ddd;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-header-right .btn-view-all:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: #fff;
    color: #c49a45;
    border: 1px solid #c49a45;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-info {
    padding: 0 5px 5px 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--color-primary);
}

.project-desc {
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .project-header-left {
        max-width: 100%;
        text-align: center;
    }

    .project-header-left .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.visible-mobile {
    display: none;
}

@media (max-width: 768px) {

    .home-categories,
    .home-projects,
    .home-why-us,
    .home-testimonials,
    .home-news {
        padding: 35px 0;
    }
    
    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 22px;
    }
    
    .section-title::after {
        width: 40px;
        bottom: -8px;
    }

    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block;
        text-align: center;
        margin-top: 20px;
    }
}

/* ==========================================================================
   PRODUCT ARCHIVE (DANH MỤC ĐÁ)
   ========================================================================== */

.wt-stone-header {
    text-align: center;
    padding: 40px 0;
}

.wt-stone-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

.wt-stone-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.wt-stone-desc {
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 30px auto 0;
}

.wt-stone-section {
    padding: 20px 0 80px;
}

.stone-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stone-product-card {
    display: block;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 0;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.stone-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.stone-product-card__img {
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 0;
    background-color: #f5f5f5;
}

.stone-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stone-product-card:hover .stone-product-card__img img {
    transform: scale(1.05);
}

.stone-product-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    padding: 20px 15px;
    transition: color 0.3s ease;
}

.stone-product-card:hover .stone-product-card__title {
    color: var(--color-primary);
}

/* Giữ nguyên 4 cột cho đến màn hình 992px */
@media (max-width: 992px) {
    .stone-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .wt-stone-header {
        padding: 20px 0 10px;
    }

    .wt-stone-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .wt-stone-title::after {
        bottom: -10px;
        height: 2px;
    }

    .wt-stone-section {
        padding: 10px 0 40px;
    }

    .stone-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stone-product-card__title {
        font-size: 14px;
        padding: 15px 10px;
    }

    /* Fix Pagination Mobile */
    .posts-pagination .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .posts-pagination .page-numbers {
        margin: 0 !important;
        min-width: 34px;
        height: 34px;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .posts-pagination .page-numbers.prev,
    .posts-pagination .page-numbers.next {
        font-size: 0 !important;
        /* Ẩn chữ Trước/Sau */
        width: 34px;
    }

    .posts-pagination .page-numbers.prev::before {
        content: '←';
        font-size: 16px;
    }

    .posts-pagination .page-numbers.next::before {
        content: '→';
        font-size: 16px;
    }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE (CHI TIẾT ĐÁ)
   ========================================================================== */

.stone-single-page {
    background-color: #fcfcfc;
}

/* Fallback Grid for Swipers before initialization */
.related-product-swiper:not(.swiper-initialized) .swiper-wrapper,
.product-thumb-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .related-product-swiper:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-product-swiper:not(.swiper-initialized) .swiper-wrapper,
    .product-thumb-swiper:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stone-single-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.stone-single-gallery {
    flex: 1 1 50%;
    max-width: 60%;
    min-width: 300px;
}

.stone-single-info {
    flex: 1 1 30%;
    min-width: 300px;
}

/* Gallery Styling with Swiper */
.product-main-swiper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb-swiper {
    box-sizing: border-box;
}

.product-thumb-swiper .swiper-slide {
    aspect-ratio: 4/3;
    opacity: 0.5;
    transition: opacity 0.3s;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}

.product-thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb-swiper .swiper-slide-thumb-active,
.product-thumb-swiper .swiper-slide:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Info Styling */
.stone-single-cat a {
    display: inline-block;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.stone-single-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.stone-single-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: 25px;
}

.stone-single-short-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stone-single-short-desc p {
    margin-bottom: 10px;
}

.stone-single-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Modern Buttons */
.wt-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

.wt-btn-modern svg,
.wt-btn-modern img {
    transition: transform 0.3s ease;
}

.wt-btn-modern:hover svg,
.wt-btn-modern:hover img {
    transform: scale(1.1);
}

.wt-btn-modern.hotline-btn {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(196, 154, 91, 0.2), 0 2px 4px -1px rgba(196, 154, 91, 0.1);
}
.wt-btn-modern.hotline-btn strong {
    color: #ffffff;
}
.wt-btn-modern.hotline-btn:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(196, 154, 91, 0.3), 0 4px 6px -2px rgba(196, 154, 91, 0.15);
}

.wt-btn-modern.zalo-btn {
    background-color: #ffffff;
    color: #0068ff;
    border: 1px solid #0068ff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.wt-btn-modern.zalo-btn:hover {
    background-color: #f0f6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 104, 255, 0.1), 0 2px 4px -1px rgba(0, 104, 255, 0.06);
}

/* Content Area */
.stone-single-content-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.stone-section-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-primary);
    padding-left: 15px;
}

.stone-single-content {
    color: #444;
    line-height: 1.8;
}

.stone-single-content h1,
.stone-single-content h2,
.stone-single-content h3,
.stone-single-content h4,
.stone-single-content h5,
.stone-single-content h6 {
    color: var(--color-dark);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.stone-single-content h2 {
    font-size: 24px;
}

.stone-single-content h3 {
    font-size: 20px;
}

.stone-single-content h4 {
    font-size: 18px;
}

.stone-single-content p {
    margin: 8px;
}

.stone-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 5px;
    display: inline-block;
    vertical-align: middle;
}

/* Related */
.stone-related-products {
    margin-top: 40px;
}

/* Related */
.stone-related-products {
    margin-top: 40px;
}

.related-product-swiper {
    padding-bottom: 40px !important;
}

.related-product-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.related-product-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .stone-single-gallery,
    .stone-single-info {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .stone-single-hero {
        padding: 12px;
        gap: 20px;
    }
    
    .stone-single-content-wrapper {
        padding: 15px;
    }
    
    .stone-single-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    
    .stone-single-short-desc {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .stone-service-commitments ul {
        grid-template-columns: 1fr !important;
    }
}

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

    .home-projects,
    .home-categories,
    .home-why-us,
    .home-testimonials,
    .home-news {
        padding: 40px 0;
    }
}

/* -----------------------------------------
   WHY US SECTION
----------------------------------------- */
.home-why-us {
    padding: 60px 0;
    background-color: var(--color-light);
}

.why-us-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-us-left {
    flex: 1;
}

.why-us-right {
    width: 450px;
    flex-shrink: 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
}

.wu-icon {
    width: 50px;
    height: 50px;
    background-color: #fcf8f2;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.wu-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
}

.wu-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.quote-form-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.quote-form-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.quote-form-card p {
    margin: 0 0 25px 0;
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form input,
.quote-form select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.quote-form input:focus,
.quote-form select:focus {
    border-color: var(--color-primary);
}

.quote-form .btn-submit-quote {
    padding: 15px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .why-us-layout {
        flex-direction: column;
    }

    .why-us-right {
        width: 100%;
        max-width: 500px;
    }

    .why-us-left .project-header {
        text-align: center !important;
        justify-content: center !important;
    }

    .why-us-left .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

    .quote-form-card {
        padding: 25px;
    }
}

/* -----------------------------------------
   TESTIMONIALS SECTION
----------------------------------------- */
.home-testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.testimonial-swiper {
    padding-bottom: 50px !important;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

.testi-card {
    background-color: var(--color-light);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.testi-content {
    flex-grow: 1;
    margin-bottom: 20px;
    position: relative;
}

.testi-content i {
    font-size: 30px;
    color: rgba(196, 154, 91, 0.2);
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1;
}

.testi-content p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.testi-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
}

.testi-info span {
    font-size: 13px;
    color: #666;
}

/* -----------------------------------------
   NEWS SECTION
----------------------------------------- */
.home-news {
    padding: 60px 0;
    background-color: var(--color-light);
}

.news-swiper {
    padding-bottom: 50px !important;
}

.news-swiper .swiper-slide {
    height: auto;
}

.news-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

.post-card {
    height: 100%;
    border: none; /* Consider 1px solid rgba(0,0,0,0.04) if shadow isn't enough, but user asked for shadow */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.post-card__title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.post-card__title a:hover {
    color: var(--color-primary);
}

.post-card__read-more {
    color: var(--color-primary) !important;
}

.post-card__date-box {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.post-card__date-box * {
    color: #fff !important;
}

.post-card__category {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.post-card__footer {
    border-top: 1px solid rgba(0,0,0,0.03) !important;
}

/* Content Styling (News & Products) */
.entry-content img,
.stone-single-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6,
.stone-single-content h1,
.stone-single-content h2,
.stone-single-content h3,
.stone-single-content h4 {
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--color-dark);
}

.entry-content p,
.stone-single-content p {
    margin: 8px 0;
    line-height: 1.6;
}

/* Lists styling for both News and Products */
.entry-content ul,
.entry-content ol,
.stone-single-content ul,
.stone-single-content ol {
    margin: 12px 0 12px 25px;
    padding-left: 0;
}

.entry-content li,
.stone-single-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.entry-content ul,
.stone-single-content ul {
    list-style-type: disc;
}

.entry-content ul li::marker,
.stone-single-content ul li::marker {
    color: var(--color-primary);
}

.entry-content ol,
.stone-single-content ol {
    list-style-type: decimal;
}

.entry-content ol li::marker,
.stone-single-content ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================================================
   DAOPLATHANOI CUSTOM FOOTER (Styling Parent Theme Structure)
   ========================================================================== */

#site-footer {
    background-color: #161616;
    color: #cccccc;
    padding-top: 60px;
    border-top: none;
    --wt-footer-text: #888888;
}

#site-footer a {
    color: #cccccc;
    transition: color 0.3s ease;
    text-decoration: none;
}

#site-footer a:hover {
    color: var(--color-primary);
}

#site-footer p,
#site-footer .textwidget {
    color: #888888;
    font-size: 14px;
    line-height: 1.6;
}

#site-footer p {
    margin-bottom: 15px;
}

/* Titles */
.footer-widget__title,
#site-footer h3,
#site-footer h4,
#site-footer .widget-title {
    color: var(--color-primary) !important;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Footer Brand (Logo & Desc) */
.wt-cpw-desc, .wt-cpw-desc p {
    color: #888888 !important;
}

/* Widget Lists (Navigation, Explore) */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #cccccc;
}

/* Fix Contact Icons (Location, Phone) */
#site-footer .wt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}

#site-footer .wt-contact-icon {
    color: #3b82f6 !important; /* Xanh sáng hơn thay vì xanh đen */
    margin-top: 2px;
}

#site-footer .wt-contact-icon i {
    color: #3b82f6 !important;
}

/* Social icons */
#site-footer .wt-csw-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

#site-footer .wt-csw-icon {
    color: #ffffff !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#site-footer .wt-csw-icon:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}

#site-footer .wt-csw-zalo b {
    font-family: Arial, sans-serif;
    font-weight: 800;
    font-size: 16px;
}

/* Fix strong / bold texts inside widgets */
#site-footer strong,
#site-footer b {
    color: #aaaaaa;
}

/* Footer Bottom (Copyright, Designer, Socials) */
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888888;
    margin-top: 40px;
}

.footer-copyright {
    color: #888888;
}

.footer-designer {
    color: #888888;
}

.footer-designer a {
    color: var(--color-primary);
}

/* Custom Grid Layout */
#site-footer .footer-grid--cols-3 {
    display: grid;
    grid-template-columns: 3.5fr 5fr 2.5fr;
    gap: 40px;
}

@media (max-width: 992px) {
    #site-footer .footer-grid--cols-3 {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    #site-footer .footer-grid--cols-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Back to Top Button Customization */
.back-to-top {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 999;
    bottom: 30px;
    right: 30px;
}

.back-to-top:hover {
    background-color: #fff !important;
    color: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   CONTACT PAGE CUSTOM STYLING
   ========================================================================== */
.contact-page-header {
    text-align: center;
    padding: 60px 0 40px;
    margin-bottom: 20px;
}

.contact-subtitle {
    color: #888888;
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

.contact-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Info Card */
.contact-info-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-list .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff7ed; /* Màu nền cam siêu nhạt */
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-list .ci-text {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-list .ci-text strong {
    display: block;
    color: #222222;
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 14px;
}

.contact-info-list .ci-text a {
    color: #444444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-list .ci-text a:hover {
    color: var(--color-primary);
}

/* Socials */
.contact-socials {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
}

.contact-socials h3 {
    color: #222222;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cs-links {
    display: flex;
    gap: 12px;
}

.cs-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #444444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cs-links a:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cs-zalo b {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 18px;
}

/* Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-card .wt-contact-form-wrap {
    margin: 0;
}

.contact-form-card label {
    color: #444444;
    font-weight: 600;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    color: #333333;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    background: #ffffff;
    border-color: var(--color-primary);
}

.wootech-contact-form .btn-submit {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease;
    border-radius: 6px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    width: 100%;
}

.wootech-contact-form .btn-submit:hover {
    background-color: #222222 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bản đồ */
.contact-map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-layout-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Ẩn nhãn Chuyên mục ở trang lưu trữ (archive) */
.archive-header__type {
    display: none !important;
}

/* Đồng bộ tiêu đề thẻ bài viết (Related Posts & Archives) */
.post-card__title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    min-height: calc(18px * 1.4 * 2) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__title a {
    font-size: inherit !important;
    line-height: inherit !important;
}

@media (max-width: 768px) {
    .post-card__title {
        font-size: 16px !important;
        min-height: calc(16px * 1.4 * 2) !important;
    }
}