/*
Theme Name: Quoc Thao Fashion Theme
Theme URI: https://localhost:8085
Author: TQT Global
Description: Theme thời trang cao cấp Quoc Thao Fashion - TQT Global
Version: 1.0.0
*/

/* Đảm bảo khung container WooCommerce luôn căn giữa và có khoảng cách lề thoáng, rộng rãi như hình mẫu Elise */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-products-header,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce ul.products,
.woocommerce nav.woocommerce-pagination {
    max-width: 1600px;
    width: 95%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Thanh công cụ: Kết quả và Sắp xếp cùng 1 dòng */
.elise-shop-toolbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    width: 100% !important;
}

.woocommerce .woocommerce-result-count,
.elise-shop-toolbar .woocommerce-result-count {
    float: none !important;
    margin: 0 !important;
    line-height: normal !important;
    font-size: 14px !important;
    color: #666 !important;
    padding: 0 !important;
    width: auto !important;
}

.woocommerce .woocommerce-ordering,
.elise-shop-toolbar .woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    clear: none !important;
}

.woocommerce .woocommerce-ordering select.orderby,
.elise-shop-toolbar .woocommerce-ordering select.orderby {
    height: 40px !important;
    line-height: 38px !important;
    padding: 0 35px 0 15px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 2px !important;
    font-size: 13px !important;
    color: #222 !important;
    background-color: #fff !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    min-width: 220px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23666%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
}

.woocommerce .woocommerce-ordering select.orderby:hover,
.woocommerce .woocommerce-ordering select.orderby:focus,
.elise-shop-toolbar .woocommerce-ordering select.orderby:hover,
.elise-shop-toolbar .woocommerce-ordering select.orderby:focus {
    border-color: #111 !important;
}
/* Giá Sale và Giá gốc gạch ngang chuẩn thời trang */
.price del,
.product-card-price del {
    color: #888 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 6px !important;
}

.price ins,
.product-card-price ins {
    color: #ec0101 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Toàn bộ danh sách sản phẩm chuẩn chỉ phong cách thời trang gốc Elise (Hình 2) */
.woocommerce ul.products {
    justify-content: center !important;
}
.woocommerce ul.products li.product {
    text-align: left !important;
    align-items: flex-start !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    text-decoration: none !important;
}
.woocommerce ul.products li.product .product-image-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 2/3 !important;
    background: #f8f8f8 !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    border-radius: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin: 4px 0 6px 0 !important;
    min-height: 22px !important;
    text-align: left !important;
    width: 100% !important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: #a68242 !important;
}
.woocommerce ul.products li.product .price {
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000 !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Theo đúng giao diện gốc Elise (Hình 2): Không hiển thị nhãn SALE đè lên ảnh và không hiển thị nút chọn */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product span.onsale {
    display: none !important;
}
.woocommerce ul.products li.product .button {
    display: none !important;
}

/* Định dạng hình ảnh và bảng cho các trang giới thiệu / chính sách */
.entry-content img,
.page-main img {
    max-width: 100% !important;
    height: auto !important;
}

/* =======================================================
   1. VỀ CHÚNG TÔI / CÂU CHUYỆN THƯƠNG HIỆU (.tqt-about-wrapper)
   ======================================================= */
.tqt-about-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
}

.tqt-about-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.tqt-about-hero .hero-text {
    flex: 1 1 55%;
}

.tqt-about-hero .hero-text .lead-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.tqt-about-hero .hero-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
}

.tqt-about-hero .hero-img {
    flex: 1 1 45%;
    text-align: center;
}

.tqt-about-hero .hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tqt-about-section {
    margin: 45px 0;
}

.tqt-about-section h2.section-heading {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    border-left: 4px solid #a68242;
    padding-left: 15px;
    margin-bottom: 20px;
}

.tqt-about-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.85;
    margin-bottom: 18px;
}

.tqt-about-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.tqt-about-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.tqt-about-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #a68242;
    font-weight: 700;
    font-size: 16px;
}

.tqt-about-contact-box {
    background: #fbfbfb;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 25px 30px;
    margin: 30px 0;
}

.tqt-about-contact-box h3 {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #111;
}

.tqt-about-contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tqt-about-contact-box ul li {
    padding-left: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

.tqt-about-contact-box ul li::before {
    display: none;
}

.tqt-about-contact-box ul li a {
    color: #a68242;
    text-decoration: none;
    font-weight: 600;
}

/* 3 Cột: Tầm nhìn - Sứ mệnh - Giá trị cốt lõi */
.tqt-three-pillars {
    display: flex;
    gap: 25px;
    margin: 45px 0;
}

.tqt-pillar-card {
    flex: 1;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tqt-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: #a68242;
}

.tqt-pillar-card .pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tqt-pillar-card .pillar-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tqt-pillar-card h4.pillar-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    margin-bottom: 15px;
}

.tqt-pillar-card p,
.tqt-pillar-card ul {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    text-align: left;
    margin: 0;
    padding: 0;
}

.tqt-pillar-card ul {
    list-style: none;
}

.tqt-pillar-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

.tqt-pillar-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #a68242;
    font-weight: 700;
}

/* =======================================================
   HƯỚNG DẪN MUA HÀNG TRỰC TUYẾN (.shopping-guide-wrapper)
   ======================================================= */
.shopping-guide-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.guide-step-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 45px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.guide-step-badge {
    display: inline-flex;
    align-items: center;
    background: #111;
    color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 20px;
}

.guide-step-badge span {
    color: #a68242;
    margin-right: 6px;
}

.guide-step-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    margin-bottom: 15px;
}

.guide-step-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 25px;
}

.guide-step-desc ul {
    margin-top: 10px;
    padding-left: 20px;
}

.guide-step-desc li {
    margin-bottom: 8px;
}

.guide-screenshot-frame {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    background: #fafafa;
}

.guide-screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-screenshot-caption {
    background: #f7f7f7;
    padding: 10px 15px;
    font-size: 13px;
    color: #777;
    text-align: center;
    border-top: 1px solid #eaeaea;
    font-style: italic;
}

@media (max-width: 991px) {
    .tqt-about-hero {
        flex-direction: column;
    }
    .tqt-three-pillars {
        flex-direction: column;
    }
}

/* =======================================================
   2. CƠ HỘI NGHỀ NGHIỆP & TUYỂN DỤNG (.recruitment)
   ======================================================= */
.recruitment {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
}

.recruitment .hero-banner {
    position: relative !important;
    min-height: 480px !important;
    height: 480px !important;
    margin: 0 0 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.recruitment .hero-banner:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.45) !important;
    z-index: 1 !important;
    display: block !important;
}

.recruitment .hero-banner .image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.recruitment .hero-banner .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.recruitment .hero-banner .content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    color: #fff !important;
    width: 90% !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.recruitment .hero-banner .title,
.recruitment .hero-banner .content .title {
    font-size: 38px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
}

.btn-elise-white {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-elise-white:hover {
    background: #fff;
    color: #111 !important;
}

.recruitment .section {
    margin: 40px auto;
    max-width: 1000px;
}

.recruitment .section .section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
    text-align: inherit;
}

.recruitment .section p {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 12px;
}

.recruitment .section.image-left,
.recruitment .section.image-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    margin: 60px auto !important;
    max-width: 1200px !important;
}

.recruitment .section.image-left {
    flex-direction: row !important;
}

.recruitment .section.image-right {
    flex-direction: row-reverse !important;
}

.recruitment .section.image-left .text,
.recruitment .section.image-right .text {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 320px !important;
}

.recruitment .section.image-left img,
.recruitment .section.image-right img,
.recruitment .section.image-left > p > img,
.recruitment .section.image-right > p > img {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    display: block !important;
}

.recruitment .section.image-left > p,
.recruitment .section.image-right > p {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

.recruitment .apply-wrapper {
    position: relative !important;
    margin-top: 60px !important;
    min-height: 440px !important;
    height: 440px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.recruitment .apply-wrapper:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1 !important;
    display: block !important;
}

.recruitment .apply-wrapper .image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.recruitment .apply-wrapper .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.recruitment .apply-wrapper .content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    color: #fff !important;
    width: 85% !important;
    max-width: 800px !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.recruitment .apply-wrapper .title,
.recruitment .apply-wrapper .content .title {
    font-size: 32px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 18px !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

.recruitment .apply-wrapper p,
.recruitment .apply-wrapper .content p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    color: #f5f5f5 !important;
    max-width: 650px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
}

.recruitment .apply-wrapper .btn-elise-white,
.recruitment .apply-wrapper a.action {
    display: inline-block !important;
    margin-top: 10px !important;
}

/* =======================================================
   3. HƯỚNG DẪN MUA HÀNG & ƯU ĐÃI SINH NHẬT
   ======================================================= */
.birthday-policy {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.8;
}

.birthday-policy p,
.birthday-policy li {
    font-size: 14px;
    line-height: 1.8;
}

.birthday-policy table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
    background: #fff;
    font-size: 14px;
}

.birthday-policy table th {
    background: #111;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px !important;
    border: 1px solid #111 !important;
    text-align: center;
}

.birthday-policy table td {
    padding: 14px 16px !important;
    border: 1px solid #e0e0e0 !important;
    vertical-align: middle;
}

.birthday-policy table tr:nth-child(even) td {
    background: #fafafa;
}

/* Sidebar trợ giúp phong cách Elise */
.sidebar.sidebar-help {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}

.sidebar.sidebar-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar.sidebar-help ul li {
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.sidebar.sidebar-help ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar.sidebar-help ul li a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    transition: all 0.2s;
}

.sidebar.sidebar-help ul li a:hover {
    color: #a68242;
    padding-left: 6px;
}

@media (max-width: 768px) {
    .about-banner-2columns {
        flex-direction: column !important;
    }
    .recruitment .section.image-left,
    .recruitment .section.image-right {
        flex-direction: column !important;
    }
    .recruitment .section.image-left img,
    .recruitment .section.image-right img {
        max-width: 100% !important;
    }
    .recruitment .hero-banner .title {
        font-size: 22px;
    }
    .introdution-wrapper .about-banner-main .about-title {
        font-size: 20px;
    }
}


